A build-to-order ERPNext application that submits your sales and purchase invoices to the FBR Invoice Management System (IMS) in real time, stamps each document with a verified IRN and QR code, and keeps an audit-ready trail. ECOSIRE builds, installs, and supports it for your ERPNext v15/v16 instance. Built to order by ECOSIRE for ERPNext v15, v16 — indicative price from $499.00 USD; request a quote for a scoped proposal.

A build-to-order ERPNext application that submits your sales and purchase invoices to the FBR Invoice Management System (IMS) in real time, stamps each document with a verified IRN and QR code, and keeps an audit-ready trail. ECOSIRE builds, installs, and supports it for your ERPNext v15/v16 instance.
Sem pagamento agora. Isto envia um pedido de orçamento à nossa equipe — responderemos por e-mail com preços e próximos passos.
If you are a Pakistani retailer or distributor who has received an FBR notice to integrate your POS or ERP with the Invoice Management System (IMS), stock ERPNext leaves you exposed. ERPNext core generates a perfectly good tax invoice, but it has no concept of FBR real-time submission, no IRN (Invoice Reference Number) field, no compliant QR code, and no way to reconcile which of your Sales Invoices have actually been accepted by FBR versus rejected or still pending. Bolting this on with a few print-format tweaks does not survive an audit, and a missed or malformed submission can mean penalties.
Real-time submission of Sales Invoice and POS Invoice to the FBR Invoice Management System (IMS) on document submit
Unique IRN and FBR-compliant QR code written back to each invoice via custom fields (`irn`, `fbr_qr_code`, `fbr_status`)
Background submission through `frappe.enqueue` so cashiers and billing users are never blocked by network latency
`FBR Settings` single DocType for NTN/STRN, environment (sandbox/production) endpoints, integrator token and certificate references
`FBR Invoice Log` DocType capturing request payload, raw FBR response, IRN and timestamp for every attempt
hooks.py `on_submit` / `on_cancel` doc events wire submission and status handling into native ERPNext transactions
ECOSIRE builds this as a proper Frappe app (its own installable module with a versioned git repo), not a pile of loose customizations. We add custom DocTypes such as FBR Settings (single DocType holding your NTN/STRN, environment endpoints, licensed-integrator token, and certificate references) and an FBR Invoice Log child/linked DocType that records every request payload, FBR response, returned IRN, and status per invoice. Custom fields for irn, fbr_qr_code, fbr_status, and fbr_submission_datetime are attached to Sales Invoice, POS Invoice, and Purchase Invoice so the data lives on the native documents you already work in.
Technically, submission is driven by hooks.py document events — on_submit of a Sales Invoice enqueues a background job (via frappe.enqueue, so the cashier is never blocked) that calls the FBR IMS endpoint through a whitelisted server-side method and stores the IRN and QR on the document. Failed or offline submissions are caught, logged, and retried by a scheduler_events hook (a periodic worker that sweeps fbr_status = "Pending" records), so a dropped connection at the counter never means a lost invoice. B2B and B2C, sale and purchase flows are all recorded in real time. Client scripts surface the FBR status and QR directly in the form, and the QR is embedded in the ERPNext print format for the customer receipt. Access is governed by a dedicated role profile so only authorized users can change FBR Settings or re-submit. Everything is reachable over the Frappe REST API for your own reporting, and we integrate cleanly with a licensed integrator / PRAL-style gateway where your rollout requires one.
Because this is build-to-order, nothing is auto-downloaded. We start with a short scoping call to confirm your FBR notice category, integrator, invoice types, and ERPNext version, then build against a staging copy of your instance. Typical delivery is 2 to 4 weeks from confirmed scope. You get UAT sign-off on staging with a documented rollback plan before we touch production, followed by installation, a training session, and a post-go-live support window. You keep the full source in a git repository we hand over — no black box, no lock-in.
A retail business formally notified by FBR to integrate its POS with the IMS. Needs every counter sale stamped with an IRN and QR in real time, and proof that submissions are being accepted.
A distributor handling high volumes of B2B sales and purchases who needs both directions recorded to FBR in real time, with buyer NTN validation and a reconciliation report for their tax consultant.
The person accountable at audit time. Wants an audit-ready log of accepted, rejected and pending invoices, retry visibility, and clean data reachable over the REST API without touching production code.
Runs the ERPNext v15/v16 instance and cares that FBR logic ships as a proper versioned app with role-based access, staging UAT and a rollback plan — not ad-hoc customizations that break on upgrade.
Compre a licença em ecosire.com e baixe o ZIP do aplicativo Pakistan FBR Digital Invoicing (IMS) no painel da sua conta.
Extraia o ZIP na pasta de aplicativos do seu banco ou execute `bench get-app` com o caminho para o aplicativo extraído.
Execute `bench --site SITE_NAME install-app APP_NAME` seguido de `bench Migra` para instalar Pakistan FBR Digital Invoicing (IMS) e aplicar seu esquema.
Abra as configurações de licença ECOSIRE em seu site e ative sua chave de licença. Requer os aplicativos gratuitos ecosire_connect e ecosire_license_client.
| Critério | ECOSIRE | Construção personalizada | Concorrente | Odoo nativo |
|---|---|---|---|---|
| FBR IMS real-time submission | Built in via on_submit doc events + background jobs | Possible but you design the whole integration yourself | Sometimes, often built for another country's tax regime | |
| IRN + compliant QR on invoice | Custom fields written back and shown on print format | Depends entirely on your developer's scope | Generic QR, may not match FBR spec | |
| Retry on connectivity failure | Scheduler worker auto-resubmits Pending records | Only if you build and test a retry queue | Rarely handled; often fails silently | |
| Audit-ready submission log | FBR Invoice Log DocType + accepted/rejected/pending report | Must be specified and built from scratch | Basic status field at best | |
| Licensed-integrator compatibility | Configured for your integrator/PRAL gateway | You research and wire the gateway yourself | Fixed to one integrator, hard to change | |
| Fits ERPNext v15/v16 as a proper app | Versioned Frappe app, role profile, upgrade-safe | Quality varies; often loose customizations | May lag ERPNext versions | |
| Ownership of source code | Full git repo handed over, no lock-in | You own it but carry all build risk | Usually licensed/closed, subscription-gated | |
| Delivery and support | 2-4 weeks build + UAT + post-go-live support window | Timeline and support depend on your hire | Instant install but limited local FBR support |
This is a build-to-order product, not an instant download. After a short scoping call to confirm your FBR notice, integrator and invoice types, typical delivery is 2 to 4 weeks from confirmed scope. We build against a staging copy of your instance and only go to production after UAT sign-off.
Every build includes a post-go-live support window for fixes and FBR submission issues. Because you receive the full source in your own git repository, you are never locked in. When FBR changes its IMS schema or endpoints, we can quote a scoped update, and you or another team can also maintain the code yourselves.
Yes. The submission layer is built to be compatible with a licensed integrator / PRAL-style gateway. During scoping we confirm which integrator you are using and configure the request signing, credentials and endpoints in `FBR Settings` accordingly.
We build and test for Frappe/ERPNext v15 and v16. Tell us your exact version and hosting (Frappe Cloud, self-hosted, or our managed hosting) during scoping so we build and UAT against a matching staging copy.
No. Submission runs as a background job via `frappe.enqueue`, so the invoice submits immediately and the FBR call happens asynchronously. If connectivity drops, a scheduler-driven retry worker re-submits pending invoices automatically, so nothing is lost.
Yes. Sales and POS invoices (B2B and B2C) are recorded in real time, with buyer registration and invoice-type handling per FBR rules. Purchase-side real-time recording is included where your notice and integrator require it — we confirm the exact scope on the call.
Yes. You receive the complete Frappe app in a private git repository with full commit history. There is no black box and no vendor lock-in — you own your version of the code.
A build-to-order ERPNext application that submits your sales and purchase invoices to the FBR Invoice Management System (IMS) in real time, stamps each document with a verified IRN and QR code, and keeps an audit-ready trail. ECOSIRE builds, installs, and supports it for your ERPNext v15/v16 instance.