Free ERP assessments for GCC, European and Pakistani businesses. Book yours
Bizloom

Bizloom Team · Nov 26, 2026

Odoo FBR Digital Invoicing in Pakistan: How It Works, What You Need and How to Set It Up (2026-27 Guide)

FBR digital invoicing has changed how businesses in Pakistan issue sales tax invoices. Instead of printing an invoice and reporting it later, invoices are now sent to FBR in real time, and FBR returns an invoice number and QR code.

For businesses using Odoo, this raises practical questions:

  • Does Odoo support FBR digital invoicing out of the box?

  • Do we need PRAL or a licensed integrator?

  • What data must be set up in Odoo?

  • How does sandbox testing work?

  • What happens when an invoice is rejected or needs correcting?

  • Who in our team needs training?

This guide answers each of these, step by step.

Important: FBR rules, technical specifications and timelines change. Always confirm the latest requirements with FBR, PRAL or your tax adviser. This guide is general information, not tax or legal advice.


What is FBR digital invoicing?

FBR digital invoicing is Pakistan's mandatory system for transmitting sales tax invoices electronically. Under SRO 709(I)/2025, every sales-tax-registered person in Pakistan must transmit invoices to FBR in real time via the Digital Invoicing API operated by PRAL (Pakistan Revenue Automation). dev

In simple terms:

  1. You create and confirm an invoice in your software (such as Odoo)

  2. The invoice data is sent to FBR's digital invoicing system

  3. FBR validates it

  4. If valid, FBR returns an FBR invoice number and QR code that appear on the printed invoice

  5. If invalid, FBR returns an error, which must be fixed before resubmitting

You register in IRIS, select PRAL (free) or another licensed integrator, whitelist your server IPs, pass sandbox scenarios, and then every invoice is validated and posted so FBR returns an invoice number and QR code. taxora

For a broader overview of FBR digital invoicing, see FBR Integration in Pakistan: Complete Guide to Digital Invoicing and ERP Integration.


Who must integrate?

According to published guides, the rollout applied to corporate registered persons from 1st May 2025 and non-corporate registered persons (individual businesses, AOPs) from 1st June 2025, covering businesses such as manufacturers, importers, distributors, wholesalers, retail chains, e-commerce businesses and sales tax registered companies. ConSerIC Accountants

Coverage has also expanded over time. For example, digital invoicing now extends to federal excise and Islamabad Capital Territory services. See FBR E-Invoicing Now Covers Federal Excise and Islamabad Services.

For details on who is covered and the penalties, read Which Businesses Must Integrate with FBR? Deadlines and Penalties.


Does Odoo support FBR digital invoicing out of the box?

Not as a standard built-in feature. Odoo businesses in Pakistan typically use either:

  • A third-party Odoo app from the Odoo Apps Store, or

  • A custom integration built by an Odoo partner or developer

Several apps exist for different Odoo versions. For example, one listing describes its app as able to submit customer invoices and credit notes to Pakistan's Federal Board of Revenue (FBR) from Odoo — with QR codes, reference data sync, and compliant PDF reports. Another says it helps configure PRAL API credentials, synchronize FBR reference data, validate invoices, and submit sales invoices directly from Odoo. odooodoo

An important distinction: an Odoo app is software that connects Odoo to FBR. It isn't the same as being a licensed integrator. One app provider states clearly: "We are not a licensed FBR integrator and we are not PRAL; the digital-invoicing relationship is strictly between you, the registered taxpayer, and FBR." odoo


PRAL vs licensed integrators vs your own integration

There are three common routes. You can do it through PRAL (FBR's own technology company), a licensed integrator, or your own developers. digi-invoice

Route

What it means

Things to consider

PRAL

You select PRAL as your integrator in IRIS. PRAL will provide Free of Cost Licensed Integrator Services along with Sandbox Testing

Your Odoo app or custom integration connects using your PRAL token

Private licensed integrator

A company on FBR's licensed integrator list provides the connection

Some charge fees. One guide notes that a private licensed integrator may charge at most Rs 10 per invoice. Confirm current terms

Your own developers

A developer builds the connection to the API

Requires technical skill, testing and ongoing maintenance consericdigi-invoice

For a cost comparison, see FBR Integration Cost in Pakistan.


What you need before you start

Business and IRIS requirements

  • An active IRIS account for the business (NTN, and STRN where applicable)

  • Access to the Digital Invoicing section in IRIS

  • A decision on your integration route (PRAL, licensed integrator or custom)

Technical requirements

  • A supported Odoo version for the app you choose

  • Hosting that allows the app to be installed. Odoo Online has restrictions on third-party and custom modules, so confirm compatibility with the app provider. See Odoo Online vs Odoo.sh

  • A fixed public IP address for the server that sends invoices. FBR's DI user manual requires the public IPs of the system that will send validate and post requests to be whitelisted before sandbox or production tokens work. taxora

Data requirements in Odoo

This is where most problems begin, and it's covered in detail in the next section.

People requirements

  • Someone who understands sales tax (rates, buyer types, schedules)

  • Someone who understands Odoo invoicing and accounting

  • Billing staff trained on the new process


Preparing your Odoo data for FBR

FBR validates every invoice field by field. Clean master data is the single biggest factor in avoiding rejections.

1. Company details

  • Business name, NTN and STRN

  • Province and address

  • Correct sales tax registration status

2. Customer (buyer) details

  • Buyer type: registered or unregistered

  • NTN or CNIC, as required

  • Province of the buyer

  • Correct name and address

Common problem: missing or incorrect buyer NTN or province details cause rejections. Duplicate customers make it worse.

3. Product details

  • HS code for each product

  • Sale type that matches the HS code and tax treatment

  • Unit of measure as expected by FBR

  • Correct tax rate, including reduced rates or special schedules where applicable

Common problem: an HS code that doesn't match the sale type. For example, error 0052 ("HS Code does not match with provided sale type"). See FBR Error Codes List.

4. Taxes in Odoo

  • Taxes must be set up correctly in Odoo and mapped to FBR's expected values in the app

  • Fiscal positions may be needed for exempt, zero-rated or special customers

5. Invoice sequences and documents

  • Clear invoice numbering

  • Support for credit notes and debit notes that reference the original invoice

For how invoices, taxes and credit notes work in Odoo, see Odoo Accounting for Beginners and Odoo Sales to Invoice: The Complete Flow.


Step-by-step setup: Odoo and FBR digital invoicing

Step 1: Choose your integration route in IRIS

Log in to IRIS, open Digital Invoicing, and choose PRAL or a licensed integrator. Developer guides describe how you navigate to Digital Invoicing → Integration Mode, select "Proceed with PRAL as Licensed Integrator", and the portal generates a bearer token tied to that NTN. dev

Step 2: Choose your Odoo app or integration

Check version support, hosting compatibility, scenario coverage, credit and debit notes, error logging and support quality before you buy.

Step 3: Whitelist your server IP

Register the public IP address of the server that will send invoices.

Step 4: Prepare master data in Odoo

Company, customer and product data, as described above. This step usually takes the most time.

Step 5: Configure the app with your sandbox token

Enter the sandbox token and connection settings in the Odoo app.

Step 6: Pass sandbox scenario testing

FBR requires testing before you go live. Guides note that every sector-assigned sandbox scenario must pass before you go live, with at least one invoice per scenario validating successfully. For details, see FBR Sandbox Scenario Testing: How to Pass Every Scenario and Go Live. asksol

Step 7: Receive your production token

According to PRAL's user manual, once all required scenario-based test invoices are submitted and validated, a Production Token is automatically generated. conseric

Step 8: Switch Odoo to production

Replace the sandbox token with the production token and confirm the connection.

Step 9: Go live carefully

  • Start with a small number of invoices

  • Check that the FBR invoice number and QR code appear correctly on printed invoices

  • Monitor every submission for errors in the first days

Step 10: Train your team and monitor daily

Assign responsibility for checking failed submissions every day.


How the daily invoicing flow works in Odoo

Step

What happens

1

Sales order confirmed and goods delivered

2

Invoice created from the sales order

3

Invoice checked (customer, products, taxes) and confirmed

4

The app sends the invoice to FBR for validation and posting

5

Success: FBR invoice number and QR code saved in Odoo and printed on the invoice

6

Failure: error message shown, data corrected and invoice resubmitted


Corrections, credit notes and debit notes

Once an invoice is reported to FBR, you can't simply edit or delete it in Odoo. Corrections must follow FBR's rules:

  • Use credit notes to reduce or reverse invoices

  • Use debit notes to increase amounts

  • Credit and debit notes typically reference the original invoice

  • Follow FBR's time limits for corrections and cancellations

For the correction rules and time limits, see How to Correct or Cancel an FBR Digital Invoice: The 72-Hour Rule.


Common problems Odoo users face with FBR

Problem

Likely cause

Invoice rejected for HS code or sale type

Product HS code doesn't match the sale type

Buyer details rejected

Missing or wrong NTN/CNIC, buyer type or province

Wrong tax amount

Wrong tax setup or mapping in Odoo

Token or connection errors

IP not whitelisted, expired or wrong token, sandbox token used in production

Invoice posted in Odoo but not in FBR

Submission failed and nobody checked

Duplicate submission

Invoice resubmitted after a timeout without checking status

Correction not accepted

Credit or debit note doesn't follow FBR's rules or time limits

For more, see Common FBR Integration Errors and How to Fix Them.


Odoo POS and FBR

Retailers using Odoo Point of Sale must also consider FBR's POS requirements, and restaurants and services may fall under PRA (Punjab) or SRB (Sindh). POS-specific apps exist. One describes how it submits sales data to FBR in real-time, generates an FBR invoice number and QR code, and stores the response securely within the POS order. odoo

See FBR POS Integration for Retailers, PRA POS Integration and SRB POS Integration.


Why training matters as much as the integration

Many businesses install an FBR app, pass sandbox testing and go live, then struggle for months with rejections. The integration usually isn't the problem. The data and the people entering it are.

Your team needs to understand:

  • Buyer types and what details each requires

  • HS codes and sale types, and why they must match

  • Tax rates and special cases

  • How to read and fix FBR error messages

  • When and how to use credit and debit notes

  • Correction time limits

  • How to check failed submissions daily


How Bizloom can help

Train your team with Bizloom Academy

Bizloom Academy offers live online Odoo training with your own practice account, practical exercises and a practical assessment:

Course

Fee

Best for

Odoo Fundamentals

PKR 10,000

Staff new to Odoo

Odoo Accounting & Finance

PKR 15,000

Accountants and billing staff handling invoices, taxes and credit notes

Odoo Functional Consultant Program

PKR 40,000

Staff who will own the Odoo system

Corporate training

Quote-based

Billing, accounts and sales teams together

Request a corporate training quote or join a free live Odoo demo class.

Get help with setup and problems

Bizloom ERP also supports businesses with FBR digital invoicing: data preparation, sandbox testing, go-live and fixing rejected invoices. See FBR Integration Services or book a free ERP assessment.

Message us on WhatsApp with your Odoo version, hosting and the problem you're facing.


Frequently asked questions

Does Odoo have built-in FBR digital invoicing?
Not as a standard feature. Odoo businesses in Pakistan typically use a third-party Odoo app or a custom integration built by a partner.

Is PRAL free for FBR digital invoicing?
Yes. PRAL provides licensed integrator services and sandbox testing free of cost. Private licensed integrators may charge fees.

Is an Odoo FBR app the same as a licensed integrator?
No. An app connects Odoo to FBR's system. The licensed integrator relationship (PRAL or another licensed integrator) is set up by the taxpayer in IRIS.

Do I need sandbox testing before going live?
Yes. You must pass the sandbox scenarios assigned to your business before a production token is issued.

Why do I need IP whitelisting?
FBR requires the public IP addresses of the systems sending invoices to be whitelisted before sandbox or production tokens work.

Can I use FBR digital invoicing on Odoo Online?
It depends on whether your chosen app supports Odoo Online. Odoo Online has restrictions on third-party and custom modules, so confirm with the app provider before buying.

What's the most common reason Odoo invoices get rejected?
Data problems: HS codes that don't match sale types, missing buyer details, wrong tax rates or incorrect units.

How do I correct an invoice already reported to FBR?
Use credit or debit notes that reference the original invoice, following FBR's rules and time limits. Don't edit or delete the posted invoice.

Does my team need training for FBR digital invoicing in Odoo?
Yes. Most ongoing problems come from data entry and process errors, not the integration itself.

Want this working for your business?

CallWhatsApp