This checklist walks you through setting up FBR Digital Invoicing in Odoo with the TBS FBR E-Invoicing module, from the first token to the first accepted invoice with its FBR number and QR code. It works on Odoo 18, 19 and 20, Community and Enterprise.
New to Digital Invoicing? Read FBR Digital Invoicing explained first.
Checklist before you start
- Registered for FBR Digital Invoicing in IRIS.
- Security token from the Digital Invoicing portal (sandbox first, then production).
- The HS code and unit for each product you invoice.
- Customer details: NTN or CNIC, and whether each customer is registered for sales tax.
- Odoo Invoicing set up with your sales taxes.
Step 1: Install the module
Install FBR Digital Invoicing from the Odoo Apps Store build for your Odoo version (18, 19 or 20).
Step 2: FBR settings
Open Settings → FBR Digital Invoicing:
- Choose Sandbox.
- Paste the security token (visible to administrators only).
- Enter a scenario ID. This is for sandbox testing only: use one of the scenarios FBR documents, and leave it empty in production.
- Choose the default sale type, for example goods at standard rate.
Step 3: Products
On each product, set the HS code and the HS unit of measure. FBR checks invoice lines against these.
Step 4: Customers
On each customer, check:
- the NTN in the tax ID field, or the CNIC when there is no NTN (on Odoo 20 the Pakistan consumer identification field is used when the tax ID is empty);
- the FBR registration type: registered or unregistered.
Step 5: Post and send a test invoice
- Create and post a customer invoice. Posting alone sends nothing.
- Click Queue for FBR. This freezes the exact request, so you can review what will be sent.
- Click Send to FBR.
- Open the FBR Digital Invoicing tab: it shows the status, the FBR invoice number and FBR's last response.
- Print the invoice and check it shows the FBR number and QR code.
Step 6: Go live
Switch to Production, paste the production token, clear the scenario ID and send your first real invoice.
If something goes wrong
- FBR rejects the invoice: the reason appears in the FBR tab. Fix the data (usually an HS code, unit, tax or buyer detail) and send again.
- FBR doesn't answer clearly: the invoice keeps its frozen request and is never sent twice. A manager checks the result with FBR and records the confirmed FBR number on the reconciliation screen.
Limits to know
This version supports standard-rate PKR customer invoices. Credit notes, debit notes, refunds and foreign-currency invoices are not supported, and an accepted invoice cannot be changed or reset to draft.
Need help? Talk to TBS.