Sibyl Compute — Elastic Cloud Servers◆Autonomous DB — Self-Managing SQL/NoSQL◆AI Vision & Voice APIs — Production Ready◆Sibyl Commerce — Headless E-Commerce◆ERP Suite — Finance, Supply Chain, HCM◆Sibyl Sentinel — DDoS + WAF Protection◆Sibyl Connect — 200+ Payment & API Integrations◆Sibyl Flow — Serverless Functions at Scale◆Insight Engine — Real-Time Business Analytics◆Human Capital — Payroll & HR AutomationSibyl Compute — Elastic Cloud Servers◆Autonomous DB — Self-Managing SQL/NoSQL◆AI Vision & Voice APIs — Production Ready◆Sibyl Commerce — Headless E-Commerce◆ERP Suite — Finance, Supply Chain, HCM◆Sibyl Sentinel — DDoS + WAF Protection◆Sibyl Connect — 200+ Payment & API Integrations◆Sibyl Flow — Serverless Functions at Scale◆Insight Engine — Real-Time Business Analytics◆Human Capital — Payroll & HR Automation
Tax Compliance

FBR Digital Invoicing Integration: Complete 2026 Guide for Pakistani Businesses

Sibyl ERP Team November 25, 2026 4 min read
FBR Digital Invoicing Integration: Complete 2026 Guide for Pakistani Businesses — Sibyl Technologies
Short answer

FBR digital invoicing requires sales-tax-registered businesses to send each invoice to FBR (through PRAL's API) at the moment of sale and print the FBR invoice number and QR code on it. The cleanest way to comply is to integrate your ERP directly, test every scenario in the sandbox, then switch to the production token.

FBR digital invoicing integration: how FBR digital invoicing (PRAL e-invoicing) works, who must comply, the API flow, sandbox testing and how to connect.

Pakistan's Federal Board of Revenue (FBR) has moved sales tax from "file a return at month end" to "report every invoice in real time". If you are a sales-tax-registered business, your invoices now need an FBR-issued number and QR code. This guide explains the rules in plain language and shows how to connect an ERP so compliance happens automatically. Read on for a clear, practical guide to FBR digital invoicing integration.

What is FBR digital invoicing?

FBR digital invoicing is a real-time e-invoicing system operated through PRAL (Pakistan Revenue Automation Limited). When you issue a sales tax invoice, your software sends the invoice data (buyer, items, HS codes, quantities, values, tax rates) to FBR's API. FBR validates it and returns a unique FBR invoice number. That number, plus a QR code, must appear on the invoice you give the customer.

It is different from the older POS integration used by Tier-1 retailers: digital invoicing covers business-to-business and business-to-consumer invoices of registered persons, including manufacturers, importers, distributors and wholesalers.

Who has to comply?

FBR has applied digital invoicing in phases through SROs, starting with corporate and large registered persons and widening to other sales-tax-registered persons. Because deadlines and categories have been revised more than once, always confirm your own status on the latest SRO and on the IRIS portal. As a rule of thumb:

  • If you file monthly sales tax returns, plan for digital invoicing.
  • If you sell to registered buyers who claim input tax, they will increasingly insist on FBR-validated invoices, because unverified invoices put their input claims at risk.

How the integration works (step by step)

  1. Register for digital invoicing on IRIS and choose whether you integrate directly or through a licensed integrator.
  2. Get sandbox credentials. FBR provides a test environment and a set of scenarios (standard rate, reduced rate, exempt, zero-rated, third schedule retail price items, further tax for unregistered buyers, and so on).
  3. Map your data. Each item needs a correct HS code, unit of measure, sale type and rate. Each customer needs NTN/CNIC and registration status. This mapping is where most projects slow down.
  4. Pass the scenarios. Submit test invoices for every scenario that applies to your business until FBR marks them successful.
  5. Whitelist your server IP and request the production token.
  6. Go live. From now on, every posted invoice is submitted automatically, and the returned FBR number and QR code print on the invoice.

ERP integration vs manual portal entry

Approach Good for Risk
Manual entry on the portal A handful of invoices a month Typing errors, slow, no audit trail in your books
Excel upload tools Short-term stopgap Data drifts away from accounts
Direct ERP integration Anyone issuing invoices daily Needs correct item and customer master data

With direct integration, the invoice is validated before it leaves your system. If FBR rejects it (wrong HS code, missing buyer NTN), the user sees the reason immediately and fixes it, instead of finding out at return time.

What a good integration should handle

  • Retry and queue: if FBR's API is down, invoices queue and resend; sales should not stop.
  • Credit and debit notes linked to the original FBR invoice number.
  • Further tax and extra tax for unregistered buyers, applied automatically from the customer master.
  • Third Schedule items taxed on retail price, not sale price.
  • A clear log of every request and response for audits.
  • Separate sandbox and production settings, so testing never pollutes live data.

Common mistakes

  • Using one generic HS code for everything. FBR validates codes against rates.
  • Leaving customer registration status blank, which breaks further-tax calculations.
  • Printing invoices before the FBR number comes back.
  • Treating integration as an IT task only. Your tax adviser should sign off the scenario mapping.

How Sibyl helps

Sibyl Technologies builds FBR digital invoicing into ERPNext and Odoo, the same ERPs we implement for manufacturers, distributors and traders across Pakistan. We map your items and customers, pass the sandbox scenarios with you and keep sales running during the switch. You can try a live ERPNext demo or read our ERP in Pakistan FAQ for the tax questions we hear most.

Further reading on FBR digital invoicing integration

Frequently asked questions

Is FBR digital invoicing mandatory?

For sales-tax-registered persons covered by FBR's notifications, yes. Coverage has been extended in phases, so check the latest SRO and your IRIS profile for your exact date.

Do I need new software for FBR digital invoicing?

Not necessarily. If your current ERP or accounting software can call FBR's API (directly or through an integrator), you can keep it. Spreadsheet-based invoicing usually has to be replaced or connected.

What happens if FBR's system is down when I make a sale?

A properly built integration queues the invoice and resubmits it automatically, then updates the invoice with the FBR number once accepted.

How long does integration take?

For a clean ERP with correct item and customer data, two to four weeks including sandbox testing. Most of the time goes into fixing HS codes and customer tax data.

Tags: fbrdigital invoicingsales taxerp pakistanpral
Start Today

Ready to Transform Your Enterprise?

Join 500+ enterprises already running on the Sibyl Ecosystem. Try it live right now, or get a personalised demo within 24 hours.

No credit card required Setup in 24 hours Cancel anytime