Back to Blog
FBR Compliance📖 8 min read

FBR Invoice QR Code: Complete Guide for Pakistani Businesses (2026)

Tax It TeamJune 7, 2026

Key Takeaway

Every FBR-compliant sales invoice in Pakistan must carry a QR code that encodes a verification URL pointing to FBR's servers. The QR must print at a minimum of 7mm by 7mm, must be scannable by the free FBR Tax Asaan mobile app, and must appear alongside the 22-digit FBR invoice number and verification code. Missing or distorted QR codes are one of the easiest things for FBR auditors to flag. This guide covers everything you need to print the QR code correctly.

Where the QR Code Mandate Comes From

The QR code requirement is set out in SRO 69(I)/2025 and reinforced by SRO 709(I)/2025. These SROs require every printed or electronic sales invoice issued under the FBR Digital Invoicing System to include three pieces of identifying information: the FBR-assigned 22-digit invoice number, the verification code returned by the FBR gateway, and a QR code that links a customer or auditor directly to FBR's online verification page.

The intent is simple. A customer holding a printed invoice should be able to verify in seconds that the invoice was actually submitted to and accepted by FBR. That accountability protects the buyer, protects the seller, and makes input tax claims auditable end-to-end. The QR code is the visible part of that accountability.

What the QR Code Actually Encodes

When you scan an FBR invoice QR code, your phone opens a verification URL on FBR's servers. The URL contains identifying parameters such as the FBR invoice number, the seller NTN, the invoice date, and the verification hash. FBR's server reads those parameters and returns a verification page showing:

  • Whether the invoice number is valid and registered in FBR's system
  • The seller's NTN and business name
  • The buyer's NTN or CNIC (where applicable)
  • The invoice date and total value
  • The applicable sales tax and any further tax or FED

The QR code itself does not contain the invoice data. It contains a pointer to FBR's verified record. That is an important security distinction. A forged QR code cannot show a fake verification page because the page is rendered from FBR's database, not from the QR itself.

The 7mm Minimum Size Rule

FBR specifies that the printed QR code must be at least 7mm by 7mm at the smallest dimension. This is roughly the size of a fingernail. Smaller than that and the QR code becomes unreliable to scan, especially on lower-quality printers or after a photocopy.

In practice, most invoice templates use 25mm to 35mm for the QR to give the camera plenty to work with. The QR must be printed in solid black ink on white background. Coloured backgrounds, photo-grade printing, or low-toner output can all reduce scan reliability.

Practical sizing guide for invoice PDFs:

  • Minimum (rule): 7mm by 7mm (about 20 pixels at 72 DPI)
  • Recommended: 25mm to 35mm (about 70 to 100 pixels at 72 DPI)
  • Position: footer or bottom-right corner, alongside the FBR invoice number and verification code
  • Contrast: solid black on white, no background image or watermark behind it

How Customers Verify with the Tax Asaan App

FBR publishes a free mobile app called Tax Asaan available on the Google Play Store and the Apple App Store. The app includes a QR scanner specifically designed to read FBR invoice QR codes. The workflow for a customer is:

  • Open the Tax Asaan app and tap the QR scanner icon
  • Point the camera at the QR code on the printed invoice
  • The app opens FBR's verification page
  • The page confirms the invoice details or flags it as invalid

Verification typically takes 2 to 5 seconds with a mobile data connection. The app works on both Android and iOS. Any standard QR scanner will also work, but Tax Asaan presents the verification page in a format optimized for FBR invoices.

Why Tax Asaan Matters for Your Customers

Registered B2B buyers in Pakistan increasingly insist on scanning the QR code before accepting a sales tax invoice for input tax claim. If the QR fails to scan or returns an "invalid invoice" message, the buyer cannot reliably claim the input tax. That puts pressure on the seller to fix the issue immediately. Getting the QR right the first time avoids the back-and-forth.

Common QR Printing Failures and How to Avoid Them

Failure 1: QR Code Too Small

Some invoice templates shrink the QR to fit a busy footer. If it goes below 7mm it stops scanning reliably and is technically non-compliant. The fix is to give the QR its own dedicated area in the PDF layout with no other content overlapping.

Failure 2: Low-Contrast Printing

Photo-grade colour printers and low-toner monochrome printers both produce QR codes that lack the sharp black-on-white contrast a scanner needs. The fix is to print on a standard office printer with adequate toner, or to render the QR as a vector in the PDF so the printer reproduces it cleanly.

Failure 3: QR Overlaid With Watermarks

If your invoice template has a "DUPLICATE" or "ORIGINAL" watermark that crosses the QR area, the scanner often fails. The fix is to mask the watermark out of the QR's bounding box.

Failure 4: Stretched or Distorted QR

A QR code must be square. If the template renders it as a rectangle (often by accident in HTML-to-PDF conversion), it stops being scannable. The fix is to lock the aspect ratio at 1:1 in the template.

Failure 5: Wrong QR Content

The QR must encode the verification URL returned by the FBR gateway. Some in-house implementations accidentally encode the invoice number alone, or a different URL format. The fix is to use the exact fbrQrCode field returned by the FBR API and pass it untouched to the QR renderer.

Auditor signal: a QR code that does not scan is one of the easiest items for an FBR auditor to flag. They can do it on the spot with a phone. Make sure every invoice template you use has been physically printed and scanned with Tax Asaan at least once before going to production.

What Fails If the QR Is Missing or Distorted

  • Customer rejection: a registered B2B buyer may refuse the invoice and ask for a re-issue.
  • Input tax dispute: the buyer's input tax claim may be challenged during their own audit because the invoice cannot be verified.
  • FBR audit finding: auditors document the absence as a compliance breach under SRO 69(I)/2025.
  • Penalty exposure: the Sales Tax Act allows penalties per non-compliant invoice. Our penalty calculator can give you a rough estimate.

None of these outcomes are catastrophic on a single invoice, but they compound quickly. A small business issuing 50 non-compliant invoices a month can build a significant penalty exposure over a year.

How Tax It Handles QR Code Generation

Cloud platforms like Tax It handle the QR end-to-end automatically. When an invoice is approved by FBR, the platform reads the verification URL from the FBR response, generates the QR at the required size, embeds it in the PDF template, and stores everything for audit. The platform also handles the FBR branding requirement: a small FBR badge appears alongside the QR so the printed invoice clearly identifies itself as FBR-verified.

If you are building this in-house, the QR generation itself is straightforward (any modern PDF library can render a QR from a URL string), but the layout, sizing, and audit trail are easy to get wrong. See how Tax It handles invoice PDF generation.

Frequently Asked Questions

What is the minimum size for an FBR invoice QR code?

7mm by 7mm. Most professional templates use 25mm to 35mm to give scanners a comfortable target.

Where should the QR code be placed on the invoice?

There is no fixed position in the SRO, but the conventional placement is the bottom-right corner of the invoice footer, alongside the 22-digit FBR invoice number and the verification code. This keeps all the FBR-mandated identifiers together.

Can I use a coloured QR code instead of black on white?

You can, but you increase the risk of scan failure on lower-end printers and after photocopies. Solid black on white is the safest choice and matches FBR's intent.

Does the customer need the Tax Asaan app to verify?

No. Any QR scanner that can open URLs will work. Tax Asaan presents the verification page in a friendlier format, so customers who deal with many invoices tend to prefer it.

What if my invoice is sent by email instead of printed?

The QR code in a PDF works the same way. The customer can scan the screen directly, or print the PDF and scan the printout. Make sure the PDF renders the QR at the recommended size so the customer can scan it from their monitor or phone screen if needed.

What happens if I reprint an invoice, does the QR change?

No. The QR code is fixed at the moment of FBR approval. Reprinting the same invoice produces the same QR pointing to the same FBR record. If you issue a credit note or correction, that becomes a new invoice with its own QR.

Print-Ready, Audit-Ready Invoices Every Time

Tax It generates FBR-compliant PDFs with the QR code, FBR invoice number, and verification code positioned and sized correctly out of the box. No template tweaks, no QR sizing headaches, no failed scans at the customer's office. Plans from PKR 2,999 per month.

See Tax It pricing →   or   estimate the penalty for non-compliant invoices →

Share this article:

Follow us:

TT

About Tax It Team

The Tax It team consists of expert professionals specializing in FBR compliance, digital invoicing systems, and Pakistani tax regulations. We're dedicated to helping businesses navigate complex tax requirements with ease and confidence.

Ready to Streamline Your Invoicing?

Tax It makes FBR compliance simple. Get started with our free trial today.