跳至主要内容
产品详细信息以英文显示。翻译即将推出。
FBR Digital Invoicing (Pakistan) — A build-to-order Magento 2 / Adobe Commerce extension that posts your sales-tax invoices t — 1/1示意预览

A build-to-order Magento 2 / Adobe Commerce extension that posts your sales-tax invoices to Pakistan's FBR

(IRIS) digital invoicing API in real time, registers FBR invoice numbers and QR codes, and handles submission status and retries. Built, installed and supported by

ECOSIRE on your store.

什么是 FBR Digital Invoicing (Pakistan)?

A build-to-order Magento 2 / Adobe Commerce extension that posts your sales-tax invoices to Pakistan's FBR (IRIS) digital invoicing API in real time, registers FBR invoice numbers and QR codes, and handles submission status and retries. Built, installed and supported by ECOSIRE on your store. Built to order by ECOSIRE for Magento 2 / Adobe Commerce (build-to-order) — indicative price from $999.00 USD; request a quote for a scoped proposal.

核心功能

Generates and submits FBR digital sales-tax invoices to the IRIS API in real time as Magento invoices are created
Maps Magento line items to FBR sales-tax categories using a dedicated product attribute, kept separate from ordinary VAT/tax classes
Registers and stores the FBR invoice number (IRN) and QR code returned by IRIS back onto the Magento order and PDF invoice
Authenticated REST client to the FBR/IRIS endpoints built on Magento's HTTP ClientInterface with configurable sandbox and production base URLs
Observer on sales_order_invoice_save_after triggers submission without overriding core sales classes (upgrade-safe)
Service contract FbrInvoiceSubmitterInterface wired via di.xml so the transport and payload builder are independently testable and swappable
Submission status tracking (pending / submitted / failed) on a custom entity with full request and response logging for audit
Cron-based retry queue with exponential backoff for transient FBR API failures and timeouts, plus manual resubmit
Admin grid under an ACL resource (Ecosire_FbrEInvoicing::manage) to inspect payloads, FBR responses, QR codes and resubmit invoices
Supports FBR sandbox testing and seller STRN / NTN configuration per store view via system.xml store config
Handles debit and credit note (refund / credit memo) reporting scenarios as agreed during scoping
Optional REST/GraphQL endpoint to expose FBR invoice status to your POS, ERP or downstream reconciliation tooling

按需定制,全程代劳

无需自行搭建——由 ECOSIRE 构建、安装并提供支持的可用应用。

  1. 1

    您下单

    以一次性构建价格开始。我们在启动时与您共同确定范围。

  2. 2

    我们构建与安装

    ECOSIRE 在您的 Magento 2 上构建、配置并安装。

  3. 3

    上线 + 支持

    约一个工作周内上线,并包含两周上线支持。我们交付的代码中的缺陷免费修复。

关于此产品

FBR Digital Invoicing (Pakistan) connects your Magento 2 Open Source or Adobe Commerce store directly to the Federal Board of Revenue's IRIS digital invoicing system, so every taxable sale is reported in real time instead of being reconciled by hand at month end.

This is not an instant Adobe Commerce Marketplace download. It is a build-to-order extension: ECOSIRE builds it as a proper module under app/code/Ecosire/FbrEInvoicing, then installs, configures and supports it on your Magento install. We tailor the field mapping, scenario IDs and tax rules to how your catalog and Pakistan sales-tax classes are actually set up.

Technically, the module hooks Magento's invoice lifecycle with an observer on sales_order_invoice_save_after, transforms the invoice into the FBR payload via a service contract (FbrInvoiceSubmitterInterface), and posts it to the FBR/IRIS REST API over an authenticated client built with Magento's Guzzle-based HTTP\ClientInterface. On success it persists the FBR invoice number, IRN and QR code back onto the order, ready to render on the PDF invoice and order grid.

Sales-tax item mapping is kept separate from generic VAT, using a dedicated attribute and di.xml virtual types so a single catalog can carry both FBR sales-tax categories and ordinary tax classes. A cron job sweeps any invoices left in pending/failed and retries them with backoff, and an admin ACL-gated grid lets your finance team inspect payloads, FBR responses and resubmit on demand.

Because it is custom-built, scope and edge cases (POS-04 scenarios, debit/credit notes, multi-store sales-tax registration numbers) are agreed up front and covered by ongoing support. You get a maintainable, upgrade-safe module — not a brittle core hack.

你得到什么

  • A namespaced Magento 2 module (Ecosire_FbrEInvoicing) delivered under app/code, Composer-installable and compatible with Magento Open Source and Adobe Commerce
  • Installation, configuration and smoke-testing on your Magento environment against the FBR IRIS sandbox, then production cutover
  • Mapping of your catalog and Pakistan sales-tax classes to the correct FBR sales-tax categories and scenario IDs
  • Admin configuration of seller STRN/NTN, IRIS credentials and base URLs per store view, with credentials stored in encrypted config
  • Technical handover document covering the di.xml wiring, observers, cron schedule, ACL and retry behaviour
  • Post-deployment support window for FBR API changes, bug fixes and field-mapping adjustments per the agreed support terms

这是给谁的

Pakistani Magento merchant under FBR mandate

An online retailer registered for sales tax whose Magento 2 store now falls under FBR's digital invoicing requirement and needs IRIS submission to happen automatically at the point of invoice, not as a manual month-end task.

Finance / tax compliance manager

Owns sales-tax filing and audit readiness. Needs every Magento invoice to carry a valid FBR invoice number and QR code, with a clear audit trail of what was sent to IRIS and a way to resubmit anything that failed.

Magento solution partner / in-house developer

Maintains the store and wants FBR integration delivered as a clean, upgrade-safe module using observers, service contracts and di.xml, rather than a core override they will have to untangle at the next Magento upgrade.

FBR Digital Invoicing (Pakistan) 如何比较

标准伊科西尔定制建造竞争对手Magento 2 原生
Real-time submission to FBR IRIS API on invoice creation包含部分支持部分支持不包括在内
Pakistan sales-tax mapping kept separate from generic VAT/tax classes包含部分支持不包括在内不包括在内
FBR invoice number (IRN) and QR code stored and printed on PDF invoice包含部分支持部分支持不包括在内
Cron retry queue with backoff and manual resubmit for failed submissions包含不包括在内部分支持不包括在内
Built, installed and supported on your store by the vendor包含部分支持不包括在内不包括在内
Tailored to your exact catalog, scenarios and registration setup包含包含不包括在内不包括在内
Instant self-service download from Adobe Commerce Marketplace不包括在内不包括在内包含不包括在内
Upgrade-safe module (observers/service contracts, no core overrides)包含部分支持部分支持不包括在内

关于FBR Digital Invoicing的常见问题

How long does delivery take, since this is build-to-order?

Typical delivery is around one working week from kickoff, depending on scope (number of FBR scenarios, credit/debit notes, multi-store registration). After a short scoping call we confirm the timeline, build the module, validate it against the FBR IRIS sandbox, then install and cut over to production on your store. This is a custom build installed by ECOSIRE, not an instant Adobe Commerce Marketplace download.

Do you provide ongoing support and updates when FBR changes its API?

Yes. Every build includes a post-deployment support window for bug fixes and field-mapping adjustments. FBR periodically revises IRIS payload formats, scenario IDs and validation rules; we offer ongoing maintenance so the module is kept compliant. Because it is a clean module using observers and service contracts rather than core overrides, updates are applied without destabilising your Magento upgrades.

Does this work on Magento Open Source as well as Adobe Commerce?

Yes. The module is built against standard Magento 2 APIs (service contracts, di.xml, observers, cron, admin ACL) so it runs on both Magento Open Source and Adobe Commerce. Adobe Commerce specifics such as additional store-view scoping or B2B flows are handled during scoping if they apply to your setup.

How are sales-tax invoices actually submitted to FBR?

When a Magento invoice is created, an observer on sales_order_invoice_save_after builds the FBR payload through a service contract and posts it to the IRIS REST API over an authenticated HTTP client. On success the FBR invoice number and QR code are written back to the order and rendered on the PDF invoice. Failures are logged and retried by a cron-driven queue, with manual resubmit available from an ACL-gated admin grid.

What do you need from us to build and deploy it?

We need your FBR IRIS sandbox and production credentials (or help obtaining them), your seller STRN/NTN, SSH or deployment access to a staging environment, and a short session to confirm how your catalog and Pakistan sales-tax classes map to FBR sales-tax categories. We build and test against sandbox first, then schedule the production cutover with you.

申请报价

FBR Digital Invoicing

A build-to-order Magento 2 / Adobe Commerce extension that posts your sales-tax invoices to Pakistan's FBR (IRIS) digital invoicing API in real time, registers FBR invoice numbers and QR codes, and handles submission status and retries. Built, installed and supported by ECOSIRE on your store.

  • Generates and submits FBR digital sales-tax invoices to the IRIS API in real time as Magento invoices are created
  • Maps Magento line items to FBR sales-tax categories using a dedicated product attribute, kept separate from ordinary VAT/tax classes
  • Registers and stores the FBR invoice number (IRN) and QR code returned by IRIS back onto the Magento order and PDF invoice
  • Authenticated REST client to the FBR/IRIS endpoints built on Magento's HTTP ClientInterface with configurable sandbox and production base URLs

申请报价

告诉我们您对 FBR Digital Invoicing 的需求,我们将发送价格、许可选项和量身定制的方案,通常在一个工作日内。

现在无需付款。此操作会向我们的团队发送报价请求——我们会通过邮件跟进价格和后续步骤。