Skip to main content
Pakistan FBR Digital Invoicing & Sales Tax — A build-to-order Odoo module that connects your accounting to Pakistan's FBR for — 1/1Illustrative preview

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.

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

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
Withholding sales-tax computation via `@api.depends` for buyers acting as withholding agents
HS-code and unit-of-measure fields required by the FBR JSON schema, mapped from product records
Customized QWeb invoice report embedding the FBR IRN, QR code and mandated compliance annotations
Sales-tax return workspace aggregating FBR-accepted invoices into taxable value, output tax by rate/jurisdiction and input tax
Reconciled return dataset export aligned to FBR's sales-tax return / Annex-C structure
Configurable `ir.cron` batch retransmission for failed or queued invoices, with backoff
Full transmission audit log capturing request payload, FBR response code, IRN and error reason per attempt
Role-based access through `ir.model.access.csv` and record rules restricting transmit / void to authorized tax users
FBR sandbox and production endpoint switching driven by `ir.config_parameter` settings
XML-RPC / JSON-RPC hooks so POS or external systems can trigger transmission and read back the IRN
Debit/credit note (return invoice) handling that references the original IRN per FBR rules

Built to order, done for you

No DIY setup — a working app, built, installed and supported by ECOSIRE.

  1. 1

    You order

    Start with a one-time build price. We scope it with you at kickoff.

  2. 2

    We build & install

    ECOSIRE builds, configures and installs it on your Odoo.

  3. 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

CriterionECOSIRECustom BuildCompetitorOdoo Native
FBR real-time transmissionBuilt into invoice posting with IRN/QR write-backPossible but you design the whole integrationOften partial or region-generic, rarely FBR-currentNot available — Odoo posts locally only
STRN / NTN validationLive check against FBR verification, cached with badgeMust be coded and maintained yourselfUsually a plain text field, no verificationNo concept of STRN/NTN validity
Provincial + federal mappingSRB/PRA/KPRA/BRA and federal per lineRequires deep local tax knowledge to buildTypically federal-only or generic tax groupsGeneric tax groups, no jurisdiction logic
Withholding sales taxComputed automatically for withholding agentsHand-rolled compute methods and testingRarely handledNot modeled
Return preparationAggregated, FBR-return-aligned exportBespoke reporting effortLimited or absentManual export and re-keying
Version fit (17/18/19)Built to your exact edition and versionYou own version compatibilityMay lag Odoo releasesN/A
Support & schema updatesPost-go-live window + source + git handoverYour team maintains it entirelyDepends on vendor's roadmapNone
Audit & access controlFull transmission log + `ir.model.access` record rulesBuild and secure it yourselfVaries, often minimalStandard 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.

Request a quote

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

Request a Quotation

Tell us about your Pakistan FBR Digital Invoicing & Sales Tax requirements and we'll send pricing, licensing options and a tailored proposal — usually within one business day.

No payment now. This sends a quote request to our team — we'll follow up by email with pricing and next steps.