Explainer

FBR e-invoicing in Pakistan: what it is and how it works

FBR e-invoicing, as most people search for it, means FBR Digital Invoicing: the data of each sales invoice is sent to FBR through a web API in real time, FBR validates it, and a valid invoice gets an FBR invoice number. The printed invoice carries the Digital Invoicing logo and a QR code. FBR’s own technical documentation uses the name Digital Invoicing, so that is the name to look for on FBR’s website. This page explains what changes compared with an ordinary invoice, what FBR checks, and what you need in place to get started.

Last updated 21 November 2026

E-invoicing compared with an ordinary invoice

Table: Point, Ordinary invoice, FBR digital invoice
PointOrdinary invoiceFBR digital invoice
Where the data goesYour records and your customer’s copyAlso to FBR, in real time, through a web API
Who validates itWhoever prepares itFBR validates it and answers valid or invalid
Invoice numberYour own numberingFBR issues an invoice number when the invoice is valid
On the printoutWhatever your layout showsThe Digital Invoicing logo and a QR code (version 2.0, 1.0 by 1.0 inch)
A wrong HS code, rate or dateHandled by your own checksRejected with an error code and message; no FBR invoice number is issued
CorrectionsYour own processDebit or credit notes that refer to the original invoice; FBR’s error list allows a note only within 180 days of the original

Emailing a PDF is therefore not what FBR’s documentation describes. It describes invoice data shared through a web API, with FBR’s answer coming back to your software.

What happens between saving and printing

  1. Your software builds one request: the header (invoice type, date, seller and buyer details) once, then each item with its HS code, rate, quantity, values and sale type.
  2. It sends the request to FBR’s web API, with a security token in the header. The token is issued by PRAL and is valid for 5 years.
  3. FBR validates the invoice in real time.
  4. FBR answers with a status code: 00 for valid, with an invoice number, or 01 for invalid, with an error code and message. Each item line also has its own status.
  5. The software keeps the result. For a valid invoice, the printout carries the logo and QR code.

For a worked example with amounts, see how to make an FBR digital invoice, step by step.

What FBR checks

FBR’s error list shows what a rejection looks like. Typical checks include:

  • Registration numbers: the seller must be registered for sales tax (0001), and a buyer number must be in a proper format, a registration number of 13 digits or an NTN of 7 or 9 digits (0002).
  • Dates: the invoice date must be in YYYY-MM-DD format, for example 2025-05-25 (0005 and 0113).
  • Item data: the HS code must match the sale type (0052), the rate must be valid for the sale type (0046), the tax must follow from the rate (0104) and the unit must suit the HS code (0099).
  • Self-invoicing: an invoice is rejected when the buyer and seller registration numbers are the same (0058).
  • Notes: a debit or credit note needs a reference to the original invoice (0026), a reason (0027), a date no earlier than the original (0035) and values that do not exceed it where FBR applies that check (0036).

Every code is explained in FBR Digital Invoicing error codes explained.

What e-invoicing changes in daily work

  • Product data has to be right. HS code, unit, rate and sale type belong in the product record, not retyped on each sale. See product master data for clean invoices.
  • Every buyer has a registration type. FBR’s fields are Registered or Unregistered. For an unregistered buyer the NTN or CNIC is optional, but the type must still be set.
  • Rejections need a routine. A rejected invoice gets no FBR number, so the team reads the message, fixes the record and sends it again.
  • Testing comes before live use. FBR provides a sandbox with 28 scenarios, SN001 to SN028. See the sandbox testing guide.
  • The print layout needs space for the logo and a QR code of the required size.

Do you have to do it?

Whether e-invoicing applies to your business, and from when, is decided by FBR through its notifications, so this page cannot tell you. Our plain-language summary of what FBR has published is on which businesses must use FBR Digital Invoicing. Confirm your own position with FBR or your tax adviser. Retailers should also read FBR POS integration for retailers, and smaller businesses FBR Digital Invoicing for small businesses.

What you need to get started

  1. Integrated software. FBR’s documentation describes ERP or equivalent software registering in FBR’s system, with the taxpayer then integrating it with the Digital Invoicing system.
  2. Your token and addresses, issued by PRAL.
  3. Clean master data: products, customers, provinces and registration types.
  4. Sandbox testing of the scenarios that match your business activity. See scenarios by business type.
  5. A print layout with the logo and QR code.

The FBR integration checklist turns this into a working list, and the FBR Digital Invoicing guide explains the integration steps in more detail.

Where Billora fits

Billora is cloud business software that connects its sales invoicing to FBR Digital Invoicing, in the same system as stock and accounts. The Billora team, based in Karachi, configures it for your business and runs the sandbox testing with you before go-live. Plans start from Rs. 1,999 per month, and a one-time FBR integration fee of Rs. 15,000 per account applies only if you want Billora to integrate your FBR profile with FBR; it covers any module, and if you are already integrated with FBR there is no integration fee. See FBR Digital Invoicing in Billora and the pricing page.

Billora is an independent private product and is not affiliated with or endorsed by FBR. This page is general information, not legal or tax advice. FBR sets and changes the rules, so check FBR’s current notifications.

FAQ

Common questions

People use the terms for the same system. FBR’s technical documentation calls it Digital Invoicing, so look for that name on FBR’s website and in its notifications.
Yes, according to FBR’s technical documentation, invoice data is shared with FBR in real time through a web API, and FBR answers with a valid or invalid result.
FBR’s documentation describes sharing invoice data through a web API from integrated software, not emailing a PDF. Ask FBR if you are unsure what applies to your business.
Not necessarily. FBR decides which businesses must use it and from when. See our summary of which businesses must use FBR Digital Invoicing and confirm with FBR or your tax adviser.
FBR returns an error code and message, and no invoice number is issued. You correct the invoice or the underlying record and send it again.
Plans start from Rs. 1,999 per month, and a one-time FBR integration fee of Rs. 15,000 per account applies only if you want Billora to integrate your FBR profile with FBR; it covers any module, and if you are already integrated with FBR there is no integration fee.

Talk to us about your business.

Start your 15-day trial, or message the team on WhatsApp at +92 333 7788853. Billora is an independent private product and is not affiliated with or endorsed by FBR.

Start Your 15-Day Trial