- Home
- Apps
- SaaS Tools
- Pakistan FBR Digital Invoicing & Sales Tax
Illustrative previewA build-to-order Odoo module that connects your accounting to Pakistan's FBR for real-time digital invoice
transmission, STRN/NTN validation, and provincial plus federal sales-tax handling.
ECOSIRE builds, installs, and supports it for your Odoo 17/18/19 instance.
What is Pakistan FBR Digital Invoicing & Sales Tax?
A build-to-order Odoo module that connects your accounting to Pakistan's FBR for real-time digital invoice transmission, STRN/NTN validation, and provincial plus federal sales-tax handling. ECOSIRE builds, installs, and supports it for your Odoo 17/18/19 instance. Built to order by ECOSIRE for Odoo 17, 18, 19 — indicative price from $999.00 USD; request a quote for a scoped proposal.
Key Features
Built to order, done for you
No DIY setup — a working app, built, installed and supported by ECOSIRE.
- 1
You order
Start with a one-time build price. We scope it with you at kickoff.
- 2
We build & install
ECOSIRE builds, configures and installs it on your Odoo.
- 3
Go live + support
You go live in about one working week, with two weeks of go-live support. Defects in the code we deliver are fixed free of charge.
Technical Specifications
- Odoo Compatibility
- Odoo 17, Odoo 18, Odoo 19
- Editions
- Enterprise & Community
- License
- Licence confirmation required
- Python Requirement
- Python 3.10+
- Database
- PostgreSQL 12+
About this Product
Businesses under Pakistan's FBR digital-invoicing mandate face a hard compliance wall that Odoo core does not address. When you post a customer invoice in native Odoo, account.move computes tax lines and generates a QWeb PDF — but nothing transmits that invoice to FBR's IRIS/e-invoicing endpoint, embeds the FBR invoice reference number (IRN) and QR code, or validates the buyer's STRN and NTN against registration status. There is no field to map a line to the correct provincial jurisdiction (SRB, PRA, KPRA, BRA) versus federal sales tax, no withholding-sales-tax logic on the payable side, and no structured extract that matches the Annex-C / sales-tax return format. Teams end up re-keying every invoice into the FBR portal by hand, which does not scale and invites penalties for late or non-compliant transmission.
ECOSIRE builds a dedicated Odoo module that closes this gap end to end. We extend account.move and account.move.line with the FBR-required fields (invoice type, buyer registration type, HS code, jurisdiction, IRN, QR payload) via models.Model inheritance, and add @api.depends compute methods that classify each tax line as federal or provincial and calculate withholding sales tax where the buyer is a withholding agent. On posting — or through a configurable automated action / ir.cron batch — the module authenticates to FBR's digital-invoicing REST API using your issued token, serializes the invoice to the mandated JSON schema, transmits it, and writes back the returned IRN and QR code onto the record so they render on a customized QWeb invoice report. STRN and NTN entered on res.partner are validated against FBR's online verification service, with results cached and surfaced as a status badge in the form view (XML/OWL).
Access is governed properly through ir.model.access.csv and record rules so that only authorized accounting and tax roles can transmit or void invoices, and every transmission attempt, response code, and error is logged for audit. We build a sales-tax return workspace that aggregates posted, FBR-accepted invoices into the return line structure (taxable value, output tax by rate and jurisdiction, input tax, withholding) and exports a reconciled dataset your filer can lodge against the FBR return — turning month-end from manual re-keying into a review-and-submit step. The module is delivered against the standard Odoo XML-RPC/JSON-RPC surface so external systems or a POS front end can trigger transmission programmatically.
Because this is build-to-order, nothing ships until we understand your exact registration profile. We start with a scoping call to confirm your Odoo edition (Community or Enterprise), version (17.0, 18.0, or 19.0), which provincial authorities apply to you, your withholding obligations, and your current FBR API credentials and sandbox access. We then develop against your requirements, validate in FBR's sandbox on a staging copy of your database, run UAT with your team, and deploy to production with a rollback plan. Typical delivery is one working week from confirmed scope. You receive the full installable source, and we support it through go-live and beyond as FBR's schema and endpoints evolve.
What you get
- Installable Odoo module source code targeted to your exact edition and version (17.0 / 18.0 / 19.0)
- Installation and configuration on your instance, including FBR sandbox-to-production endpoint switchover
- Technical documentation: data model, field mapping, API integration and configuration reference
- User guide plus a live training session for your accounting and tax team
- UAT on a staging copy of your database against FBR's sandbox, with a documented rollback plan
- Post-go-live support window covering defects and FBR schema/endpoint adjustments
- Git repository handover with full commit history and tagged release
- Configuration workbook mapping your STRN, provincial jurisdictions and withholding rules
Who this is for
Pakistani business under FBR mandate
Finance leads at registered manufacturers, distributors and service firms who must transmit sales-tax invoices to FBR in real time and can no longer re-key them into the portal by hand.
South-Asia Odoo implementation partner
Partners who need a reliable, source-available FBR localization to deploy across multiple Pakistani clients on 17/18/19, with clean model inheritance and access rules they can maintain.
Tax and compliance manager
Owns STRN/NTN validity, provincial vs federal classification and withholding accuracy, and needs an auditable transmission log plus a return-ready extract for monthly filing.
Multi-province wholesaler or trader
Sells across jurisdictions and must map each line to the correct authority (SRB, PRA, KPRA, BRA) and handle withholding agents without manual spreadsheets.
How Pakistan FBR Digital Invoicing & Sales Tax Compares
| Criterion | ECOSIRE | Custom Build | Competitor | Odoo Native |
|---|---|---|---|---|
| FBR real-time transmission | Built into invoice posting with IRN/QR write-back | Possible but you design the whole integration | Often partial or region-generic, rarely FBR-current | Not available — Odoo posts locally only |
| STRN / NTN validation | Live check against FBR verification, cached with badge | Must be coded and maintained yourself | Usually a plain text field, no verification | No concept of STRN/NTN validity |
| Provincial + federal mapping | SRB/PRA/KPRA/BRA and federal per line | Requires deep local tax knowledge to build | Typically federal-only or generic tax groups | Generic tax groups, no jurisdiction logic |
| Withholding sales tax | Computed automatically for withholding agents | Hand-rolled compute methods and testing | Rarely handled | Not modeled |
| Return preparation | Aggregated, FBR-return-aligned export | Bespoke reporting effort | Limited or absent | Manual export and re-keying |
| Version fit (17/18/19) | Built to your exact edition and version | You own version compatibility | May lag Odoo releases | N/A |
| Support & schema updates | Post-go-live window + source + git handover | Your team maintains it entirely | Depends on vendor's roadmap | None |
| Audit & access control | Full transmission log + `ir.model.access` record rules | Build and secure it yourself | Varies, often minimal | Standard accounting access only |
Frequently Asked Questions about Pakistan FBR Digital Invoicing & Sales Tax
How long does delivery take?
This is a build-to-order module, so it is not an instant download. After a confirmed scope from our initial call, typical delivery is one working week depending on how many provincial jurisdictions and withholding scenarios you need and your FBR sandbox readiness. We validate in FBR's sandbox on a staging copy before touching production.
How is the module supported and updated as FBR changes its schema?
Every build includes a post-go-live support window for defects, and you receive the full source plus git repo so your team can maintain it. FBR periodically revises its JSON schema, endpoints and validation rules; we handle those adjustments during the support window and can continue under an ongoing support arrangement afterward.
Does it work on Odoo Community or only Enterprise?
It works on both. The FBR integration is built on standard `account.move` accounting, `ir.cron`, QWeb and the ORM, which exist in Community and Enterprise. We confirm your edition and version (17.0, 18.0 or 19.0) during scoping and target the build precisely to it.
How does it handle provincial versus federal sales tax?
Each tax line is classified by jurisdiction so federal sales tax and the relevant provincial authority (SRB, PRA, KPRA, BRA) are mapped correctly, using your tax configuration. Withholding sales tax is computed via `@api.depends` where the buyer is a withholding agent, and the return workspace aggregates output tax by rate and jurisdiction.
Do you validate STRN and NTN?
Yes. Buyer STRN and NTN entered on the partner record are checked against FBR's online verification service, with the result cached and shown as a status badge in the form. This catches unregistered or invalid registrations before an invoice is transmitted and rejected.
Can external systems or our POS trigger FBR transmission?
Yes. The module exposes its transmission and IRN read-back over Odoo's standard XML-RPC / JSON-RPC API, so a POS front end, e-commerce backend or external ERP can post an invoice and retrieve the FBR invoice reference number programmatically.
What do we need to provide before you start?
Your Odoo edition and version, FBR digital-invoicing API credentials and sandbox access, your STRN/NTN, the provincial authorities that apply to you, and your withholding obligations. We gather these in the scoping call and translate them into the configuration workbook that drives the build.
Related Modules

Order Line Sequences & Line Numbers for Odoo
A build-to-order Odoo module that adds stable, human-readable sequence numbers to sales, purchase and delivery order lines — on screen and in printed QWeb documents. ECOSIRE scopes, builds, installs and supports it for your specific workflow.

Overtime Rules & Calculation
Configure weekday, weekend and holiday overtime rules and auto-compute overtime hours from attendance in Odoo 17/18/19.

Partner Statement Report
A build-to-order Odoo module that generates polished customer and vendor account statements — open balances, aging, and full transaction history — as branded QWeb PDFs you can email or batch-send. ECOSIRE scopes, builds, installs, and supports it for your Odoo 17/18/19.

Password Manager for Odoo
A made-to-order encrypted credential vault built natively inside Odoo, with per-user and per-group access control, audit logging, and record-rule isolation. ECOSIRE designs, builds, installs, and supports it after your scoping call — this is not an off-the-shelf download.
Pakistan FBR Digital Invoicing & Sales Tax
A build-to-order Odoo module that connects your accounting to Pakistan's FBR for real-time digital invoice transmission, STRN/NTN validation, and provincial plus federal sales-tax handling. ECOSIRE builds, installs, and supports it for your Odoo 17/18/19 instance.
- FBR real-time digital invoice transmission on `account.move` posting, with IRN and QR code written back onto the record
- STRN and NTN validation against FBR's online verification service, cached on `res.partner` with a form-view status badge
- Buyer registration-type classification (registered / unregistered / withholding agent) driving the correct invoice schema
- Provincial vs federal sales-tax mapping across SRB, PRA, KPRA and BRA jurisdictions on each tax line