Quick answer
What are FBR's QR code requirements for digital invoices?
A printed FBR digital invoice must show the FBR invoice number returned by FBR's system, a QR code and the FBR Digital Invoicing logo. PRAL's DI API specification prescribes a Version 2.0 QR code (25×25 modules) printed at 1.0 × 1.0 inch. Buyers verify the invoice by scanning the QR code with FBR's Tax Asaan app.
Key takeaways
- Three mandatory elements: FBR invoice number, QR code and Digital Invoicing logo.
- QR code: Version 2.0 (25×25), printed at 1 × 1 inch, per PRAL's specification.
- The QR code is generated from the FBR invoice number — so it can only be printed after FBR accepts the invoice.
- Anyone can verify an invoice with FBR's Tax Asaan app.
The three elements every FBR digital invoice needs
| Element | Where it comes from | Print requirement |
|---|---|---|
| FBR invoice number (IRN) | Returned by FBR's system when the invoice is accepted | Printed clearly on the invoice |
| QR code | Encodes the FBR invoice number | Version 2.0 (25×25 modules), 1.0 × 1.0 inch |
| Digital Invoicing logo | Official FBR artwork | Printed alongside the QR code, clearly visible |
These sit on top of the normal particulars of a sales tax invoice — seller and buyer details, NTN/CNIC, description, quantity, value and tax.
QR code specification
PRAL's Technical Documentation for the DI API specifies a Version 2.0 QR code — a 25×25 module grid — printed at 1.0 × 1.0 inch. Keeping the prescribed size matters: shrinking the code to save space is the most common reason invoices fail to scan.
- Print in dark ink on a light background with a clear quiet zone around the code.
- Don't overlay the logo on the QR code — place it beside the code.
- Test scans from an actual printout, not just the screen, especially on thermal printers.
- Never generate a QR code before FBR has accepted the invoice — it must encode the number FBR returns.
The FBR Digital Invoicing logo
The logo signals that an invoice was issued through FBR's digital invoicing system. Use the official artwork from FBR's resources — don't recreate or restyle it — and keep it legible next to the QR code. FBR's Digital Invoicing technical assistance page is the starting point for official material.
How to verify an FBR invoice
- 1
Install Tax Asaan
FBR's official Tax Asaan mobile app includes invoice verification.
- 2
Scan the QR code
Point the app's scanner at the QR code on the printed or PDF invoice.
- 3
Compare the details
Check that the seller, date and amounts shown match the invoice in your hand.
How DInvoice handles it
DInvoice submits the invoice, receives the FBR invoice number and renders the QR code automatically on every invoice — so the printed or shared invoice is complete the moment FBR accepts it.
Frequently asked questions
What size should the FBR QR code be?
PRAL's DI API specification prescribes a Version 2.0 QR code (25×25 modules) printed at 1.0 × 1.0 inch.
Can I generate the FBR QR code myself?
Your software renders the image, but its content must be the FBR invoice number returned by FBR's system. A QR code made before the invoice is accepted, or from your own invoice number, is not valid.
Which app verifies FBR invoices?
FBR's official Tax Asaan app. Scan the invoice's QR code and compare the details shown with the invoice.
Is the IRN the same as the FBR invoice number?
Yes. "IRN" (invoice reference number) is the common name for the unique FBR invoice number returned by the system.
Sources
- PRAL — Technical Documentation for DI API v1.12 (PDF)
- FBR — Digital Invoicing Technical Assistance
- FBR — Digital Invoicing FAQs
Published by DInvoice (Digital Invoice Integrator), FBR digital invoicing software for Pakistan. This page is general information, not legal or tax advice; rules and penalty amounts change, so confirm current requirements with FBR or your tax advisor. Last reviewed 26 September 2026.