FBR Digital Invoicing
Pakistan FBR Digital Invoicing for Odoo 19: customer invoices and debit notes go to the FBR / PRAL DI API, and the FBR invoice number is printed on the invoice with its QR code.
What it does
Sales tax registered businesses in Pakistan must share every sale invoice with FBR in real time through the Digital Invoicing (DI) API run by PRAL. This module connects Odoo Invoicing to that API: when you confirm a customer invoice, Odoo checks it with FBR, posts it, stores the FBR invoice number and prints it on the invoice with the QR code FBR asks for.
Who it is for
- Sales tax registered manufacturers in Pakistan. Every sale invoice has to be shared with FBR through the PRAL Digital Invoicing API. This app sends confirmed customer invoices from Odoo Invoicing, stores the FBR invoice number and prints it with the QR code.
- Importers and distributors with mixed tax treatments. Each product carries its HS code, FBR unit of measure, sale type, rate text and SRO details, and each tax is mapped to sales tax, further tax, extra tax, FED or tax withheld. Standard, reduced, exempt and third schedule lines can sit on the same system.
- Wholesalers who issue debit notes. A debit note goes to FBR as a Debit Note with the FBR number of the original invoice as its reference, so the adjustment is tied to the sale it corrects.
- Accounts teams that need to see what FBR said. Every validate and post call is kept in the FBR Log with the JSON sent and the JSON returned. A rejected invoice shows the error code, FBR's message and a short hint on what to change.
Features
Setting it up
- Register your software for Digital Invoicing with FBR and get the sandbox and production security tokens from PRAL.
- Go to Invoicing > Configuration > Settings and find the Pakistan FBR Digital Invoicing block. Turn on FBR Digital Invoicing.
- Set FBR DI Environment to Sandbox, paste the Sandbox Security Token, and fill Seller NTN/CNIC and Seller Province. Pick a Default Sandbox Scenario and upload the FBR Digital Invoicing Logo.
- Decide on Send on Confirm and Validate Before Posting, then click Test Connection and Download Reference Data.
- On each product, open the FBR tab and fill FBR HS Code, FBR Unit of Measure (or press From FBR), FBR Sale Type and FBR Rate Description. On each sales tax, set FBR Digital Invoicing Field.
- On customers, open the Accounting tab, enter FBR NTN/CNIC and FBR Province, and press Check with FBR to read their registration type and active taxpayer status.
- Confirm invoices and run the sandbox scenarios for your business. When that's done, switch the environment to Production and enter the production token.
FBR Digital Invoicing: questions
Do I need anything from FBR before installing?
Yes. You need a PRAL security token for each environment, which comes with your Digital Invoicing registration. Without a token nothing can be sent, and the invoice tells you which setting is missing.
What happens when FBR can't be reached?
The invoice stays confirmed in Odoo and is marked Queued for Retry. A scheduled action sends queued invoices again every 10 minutes. An invoice FBR has already accepted is never sent twice.
Can I edit an invoice after FBR accepted it?
No. It can't be reset to draft. You issue a debit note, or a credit note if your profile allows it, instead.
Are credit notes sent?
Only if you fill Credit Note Document Type with the document type FBR lists for your profile. Left empty, credit notes stay out of Digital Invoicing.
Is this the FBR POS integration for retailers?
No. It covers invoices and debit notes made in Odoo Invoicing, not the separate FBR system for point of sale. It runs on Community or Enterprise and includes an Urdu translation.
Will it tell me the correct sales tax treatment?
No. It sends the rates, sale types and HS codes you configure. Which treatment applies to your goods is something to confirm with your tax adviser or FBR.
Related apps

Estonia VAT Return KMD and KMD INF XML for e-MTA
Estonia VAT return for Odoo Community: KMD and KMD INF XML for e-MTA from posted invoices and bills, part A and part B annex, 1000 euro partner limit, official XSD check. Estonia tax, Estonian VAT, kaibedeklaratsioon, EE VAT annex.
Localization & compliance
Ethiopia Payroll
Ethiopia Payroll for Odoo 19: Employment Income Tax 1395/2025, Pension 7% / 11% and Transport Allowance
Localization & compliance
Finland Finvoice 3.0 e-Invoice
Finland Finvoice 3.0 for Odoo 19: verkkolasku XML for every invoice and credit note, checked against the official Finvoice schema, ready for your operator or bank.
Localization & compliance
FNE Cote d'Ivoire
FNE Cote d'Ivoire: certify invoices with the DGI platform from Odoo
Localization & compliance