PRAL Digital Invoicing: How the Free FBR Route Works (2026)
PRAL digital invoicing explained (Dec 2026): who does what (FBR, PRAL, IRIS, your software), the free 5-year token, sandbox tests and real costs.
The short answer
PRAL digital invoicing means sending your sales tax invoices to FBR through PRAL, FBR's own technology company. The PRAL route is free. It gives you the connection to FBR, but not the billing software. Updated: December 2026.
Four facts to remember. PRAL charges Rs 0. Your sandbox and production tokens last 5 years. PRAL whitelists 1 to 3 IP addresses by hand (more by an uploaded sheet). A private licensed integrator may charge at most Rs 10 per invoice instead (FBR Digital Invoicing User Manual v1.6, 16 April 2026).
By the Digi Invoice team at S.M. Raheel & Company — tax advocates, Faisalabad.
What is PRAL in FBR digital invoicing?
PRAL stands for Pakistan Revenue Automation (Pvt.) Ltd. It is owned by the government and runs FBR's computer systems. That includes the Digital Invoicing (DI) system. DI is the system that receives every sales tax invoice in real time.
When your software sends an invoice, PRAL's system checks it against FBR's rules. If it passes, FBR gives back an IRN (Invoice Reference Number — the unique number FBR gives every invoice) and a QR code (a square barcode anyone can scan to check the invoice). You print both on the invoice.
PRAL also runs the PRAL DI CRM (the support ticket portal for digital invoicing problems). Official manuals are on FBR's DI technical assistance page.
How do I connect to FBR through PRAL?
Connecting to FBR through PRAL takes six steps: check your NTN and STRN, enrol on IRIS, give PRAL your IP addresses, get a sandbox token, pass the scenario tests, and go live with a production token. PRAL charges Rs 0 for all six steps, and each token lasts 5 years (FBR DI API v1.12).
- Check your NTN and STRN. NTN is your National Tax Number. STRN (Sales Tax Registration Number) shows you are registered for sales tax. Both must be active.
- Enrol on IRIS. IRIS is FBR's online tax portal. Open the Digital Invoicing tab and choose PRAL as your integrator. Full steps: how to register for FBR digital invoicing.
- Give your IP addresses. An IP address is the internet address of the computer or server that will send invoices. PRAL must whitelist it (allow it) before it can connect. This usually takes a few working hours.
- Get your sandbox token. The sandbox is FBR's free practice system, where test invoices do not count. A token is a secret key your software uses to log in. See how to get the sandbox and production token.
- Pass the scenario tests. FBR gives you test cases (scenarios) for your type of business. Your software must post each one without errors. Help: FBR sandbox testing scenarios.
- Go live. Once the tests pass, you get the production token. From now on, every real invoice goes to FBR.
What does my software send to the PRAL API, step by step?
On the PRAL route, your billing software talks to FBR through a Web API (a link that lets two computer systems swap data). FBR's Technical Documentation for the DI API, version 1.12, lists 2 web methods for invoices, 12 reference APIs for codes, and a security token that lasts 5 years. Every call carries that token.
"This security token will be issued by PRAL and given to Supply Chain Operators along with all URLs to access the web API." — FBR / PRAL, Technical Documentation for DI API, version 1.12
Here is what happens for each invoice:
- Add the token to the request. Your software puts the word "Bearer" and the token in the Authorization header (the hidden label sent with every request).
- Look up the codes. The reference APIs return province codes, document types, HS codes (Harmonized System codes — the number for each kind of product), units of measure, sales tax rates and SRO items. Good software saves these lists and refreshes them.
- Validate first. The software sends the invoice to
validateinvoicedata. FBR checks it but does not save it. AstatusCodeof "00" means valid; "01" means invalid, with an error code such as 0046 or 0052. - Post the invoice. If it is valid, the software sends the same data to
postinvoicedata. FBR saves it and returns the IRN in theinvoiceNumberfield. - Print and store. The software prints the IRN, the QR code and the FBR logo, and keeps FBR's reply as proof.
| Web method | Sandbox link (practice) | Production link (real invoices) |
|---|---|---|
| Validate (check only) | gw.fbr.gov.pk/di_data/v1/di/validateinvoicedata_sb | gw.fbr.gov.pk/di_data/v1/di/validateinvoicedata |
| Post (save and get IRN) | gw.fbr.gov.pk/di_data/v1/di/postinvoicedata_sb | gw.fbr.gov.pk/di_data/v1/di/postinvoicedata |
Sandbox invoices use the sandbox token and do not count. The same code switches to production once PRAL issues the production token. A full list of error codes is in FBR digital invoicing error codes explained. Digi Invoice already does all five steps for you, so you only fill in the invoice. Source: FBR Technical Documentation for DI API v1.12.
What are the most common mistakes when connecting to PRAL?
Most PRAL digital invoicing problems come from five setup mistakes, not from FBR itself. The PRAL connection is free under FBR's rules, and PRAL usually accepts or rejects an IP whitelisting request within about 2 working hours. So when invoices will not post, check these five points before you call anyone.
"shall provide free of cost integration services to the registered persons on demand."
Source: FBR Digital Invoicing FAQs (question 6, on PRAL).
- Wrong IP address. PRAL needs the public IP (the address the internet sees) of the computer or server that sends invoices. You can give one to three addresses on IRIS. Many shop broadband lines change their IP, so ask your internet provider for a static (fixed) IP first. Steps: how to whitelist your IP and get the token.
- Changing server or internet line without telling PRAL. A new IP is not on PRAL's list, so posting stops. Add the new address on IRIS before you switch.
- Mixing up the two tokens. The sandbox token only posts test invoices; the production token posts real ones. Each is reported to be valid for 5 years. Using the wrong one gives error 0401 or 0402 (no valid access token).
- Leaving the scenario ID in live invoices. Sandbox tests (scenarios SN001 to SN028) need a scenarioId field. Live invoices must not have it. See the FBR digital invoicing error codes list for what each rejection means.
- Fixing a wrong invoice too late. Under STGO 01 of 2026 (a Sales Tax General Order, an FBR instruction), a posted invoice can be cancelled or corrected within 72 hours without approval. After that, you need the Commissioner's approval.
Digi Invoice checks each invoice against FBR's DI API v1.12 rules before it is sent, keeps the sandbox and production tokens apart, and shows a plain reason for any rejection. If PRAL rejects your IP, open a case on the PRAL CRM (PRAL's support portal); see PRAL helpline and support.
Is PRAL digital invoicing free, and what is the catch?
The PRAL connection is free. The catch is that PRAL gives you a pipe, not a program. Somebody still has to build the software that makes each invoice in FBR's format, sends it, stores the IRN and prints the QR code with the FBR logo.
That leaves three real choices. The table shows what each one costs and who does the work.
| Route | FBR / integrator fee | Who builds the software | Best for |
|---|---|---|---|
| PRAL + your own developers | Rs 0 | You (a real project) | Firms with an ERP and an IT team |
| PRAL + a ready platform | Rs 0 to FBR; software plan only | Already built for you | Most shops, traders and SMEs |
| Private licensed integrator | Up to Rs 10 per invoice, Rs 100,000 a month or Rs 1 million a year | The integrator | Large firms wanting full service |
Compare the routes in more depth: licensed integrator vs PRAL and free FBR digital invoicing software: PRAL vs paid. Check any private company on FBR's list of licensed integrators before you pay.
A worked example: one invoice on the PRAL route
Ali Traders in Faisalabad sells 20 cartons of cooking utensils to a registered buyer. Each carton costs Rs 2,500.
- Value before tax: 20 × Rs 2,500 = Rs 50,000
- Sales tax at 18%: Rs 9,000
- Invoice total: Rs 59,000
The software sends this invoice to FBR through PRAL. It uses sale type SN001 (the sandbox code for a standard-rate sale to a registered buyer). FBR checks that 18% of Rs 50,000 is Rs 9,000. It then returns the IRN and QR code in a few seconds. PRAL charges nothing for this. On a private integrator at the Rs 10 cap, the same invoice could cost up to Rs 10.
What is the deadline for PRAL digital invoicing?
There is no open deadline left. The final dates came from SRO 1852(I)/2025 (an SRO is a Statutory Regulatory Order — a legal notice FBR issues), dated 24 September 2025. The last group of registered businesses had to go live by 31 December 2025.
- Public companies, all importers, companies with turnover above Rs 1 billion, and individuals or AOPs (associations of persons, such as partnerships) above Rs 100 million: 1 November 2025.
- Companies with turnover from Rs 100 million to Rs 1 billion: 15 November 2025.
- Companies with turnover up to Rs 100 million: 1 December 2025.
- All other registered persons: 31 December 2025.
The PRAL route has no separate deadline. It is only the free way to meet the FBR deadline. A business that is still not live today can face the Rs 1 million non-integration penalty. See FBR digital invoicing penalty and the full FBR e-invoicing deadline timeline.
What does a PRAL digital invoice contain?
A digital invoice is a sales tax invoice that your software sends to FBR the moment you make it. FBR checks it and gives it an IRN. A paper or PDF invoice without an IRN is not a digital invoice.
Under the DI API v1.12 rules, each invoice carries these details:
- Seller NTN and STRN, and the seller's province.
- Buyer NTN or CNIC, buyer province, and whether the buyer is registered or unregistered.
- For each item: HS code (the customs code that says what the goods are), sale type, unit, quantity, value before tax, tax rate and sales tax.
- Invoice date and your own invoice number.
When FBR accepts the invoice, you print the IRN, the Version 2.0 QR code and the FBR Digital Invoicing logo on it. Details: the FBR invoice QR code explained and sales tax invoice format in Pakistan.
Where can I get PRAL help in person?
FBR opened a PRAL front desk at the Large Taxpayers Office (LTO) in Karachi on 5 June 2026. It helps with IRIS, registration, sales tax returns, refunds and other digital tax services (source: FBR press release, 9 June 2026).
On 22 September 2026, the FBR Chairman agreed in principle to a PRAL liaison office in Lahore. No opening date has been announced yet. Online, digital invoicing problems still go to the PRAL DI CRM at dicrm.pral.com.pk. FBR's national helpline is 051-111-772-772.
Who does what in PRAL digital invoicing: FBR, PRAL, IRIS or my software?
In PRAL digital invoicing, four parties each do one job. FBR makes the rules and keeps the record. PRAL is the free licensed integrator that carries each invoice to FBR. IRIS (FBR's online tax portal) is where you get your token and file Annexure-C. Your invoicing software, such as Digi Invoice, makes the invoice. FBR's own FAQ (number 11, fbr.gov.pk) says any software may be used.
"registered persons notified by the Federal Board of Revenue may install any electronic invoicing software and integrate it with FBR through a licensed integrator having a valid license granted by FBR."
Source: FBR Digital Invoicing FAQs, read 2 November 2026. The same page says "There is no downloadable software." So PRAL is the road, not the car. You still choose the software that drives on it.
| Party | Its job | What it costs you | Where you deal with it |
|---|---|---|---|
| FBR (Federal Board of Revenue) | Makes the rules (SRO 709 of 22 April 2025) and stores every invoice | No fee to FBR (FAQ 8) | fbr.gov.pk and the Tax Asaan app |
| PRAL | Free licensed integrator; checks and carries the invoice | Rs 0 (FAQ 6) | Sandbox tests and the PRAL DI CRM help desk |
| IRIS | Where you apply for your DI token and file Annexure-C | Rs 0 | iris.fbr.gov.pk, with your NTN login |
| Your invoicing software | Makes the invoice, sends it, saves the IRN, prints the QR code | Its own plan (Digi Invoice: Rs 1,000 a month, unlimited invoices) | Your shop or office counter |
How one invoice travels, in five steps:
- You make the sale in your invoicing software.
- The software sends the invoice to PRAL with your IRIS token.
- PRAL checks it against FBR's rules, such as NTN, HS code and tax rate.
- FBR returns an IRN (Invoice Reference Number) in seconds. The software prints it with the QR code and FBR logo.
- The invoice then shows in Annexure-C of your sales tax return on IRIS.
Why this matters when you ask "which software for PRAL?" Lists of licensed integrators name companies that carry invoices. They do not tell you which billing app is easiest at your counter. Compare software on price, invoice limit and support. Our best FBR digital invoicing software comparison lists prices with dates. For the IRIS side, read IRIS vs digital invoicing. For developers, see FBR digital invoice integration.
Which software should I use for PRAL digital invoicing?
For PRAL digital invoicing, use software that already follows FBR's DI API v1.12 (the rule book for invoice data sent to FBR) and works on the free PRAL route. PRAL itself is only the connection, and it costs Rs 0. So the real choice is the app that makes, checks, sends and prints each invoice. The best fit depends on how you make invoices today.
| How you invoice today | Software to choose | Why |
|---|---|---|
| By hand, in Word or in Excel | A ready FBR digital invoicing app on the PRAL route | No coding. You type or upload the invoice; the app checks it and posts it. |
| In an ERP or accounting system | Your ERP's FBR module, or a link built on the PRAL API | Invoices flow from your books, so nobody types them twice. |
| At a shop counter (POS — point of sale till) | POS software linked to FBR | Tier-1 retailers follow FBR's separate POS rules, so check which system applies first. |
| With your own IT team | Direct PRAL API connection | Rs 0 to FBR, but you build, test and maintain it yourself. |
Before you pay for any app, check these five things:
- It checks every invoice against the DI v1.12 rules before sending.
- It runs the free sandbox (FBR's practice system) test scenarios.
- It saves the IRN (Invoice Reference Number) and FBR's reply with each invoice.
- It prints the Version 2.0 QR code and the FBR logo on the invoice.
- It has local support you can call or WhatsApp.
More detail: bulk upload from Excel, connect an ERP to FBR digital invoicing and POS integration vs digital invoicing. Any private company that says it is licensed should be on FBR's list of licensed integrators.
Where does Digi Invoice fit?
Digi Invoice is FBR digital invoicing software for Pakistan, made by S.M. Raheel & Company (tax advocates, Faisalabad, since 2010). It works on the free PRAL route and posts in real time. It checks every invoice against the DI v1.12 rules before sending, so fewer invoices are rejected. It supports the sandbox and production, and prints the IRN and QR code for you.
The price is PKR 1,000 per month with unlimited invoices, PKR 5,000 for 6 months or PKR 10,000 per year. There is no setup fee and no per-invoice fee. See Digi Invoice pricing or compare tools in best FBR digital invoicing software in Pakistan.
Stuck with a PRAL token or IP problem? Read PRAL digital invoicing helpline and support. Need help? Contact Digi Invoice — WhatsApp 0300 8680363. Ready to start? Register for Digi Invoice.
Difficult words in this guide
- PRAL: Pakistan Revenue Automation (Pvt.) Ltd, FBR's own technology company.
- Integrator: the company that connects your software to FBR — PRAL or a licensed private firm.
- Token: a secret key your software uses to send invoices to FBR.
- IP whitelisting: PRAL allowing only your computer's internet address to connect.
- IRN: Invoice Reference Number, the unique number FBR gives every invoice.