Mon–Fri 9:00 AM–6:00 PM · Sat 10:00 AM–4:00 PM PKT

WhatsApp +92 337 865 2735
Support

FBR digital invoicing help

IRIS tokens, sandbox vs production, validation, official FBR references, and GetFBR product answers — in one place.

Four easy steps for FBR digital invoicing — upload, validate, report, download
Upload → validate → report to FBR → download
Four easy steps for FBR digital invoicing — upload, validate, report, download
Upload → validate → report to FBR → download
Sample FBR-compliant sales tax invoice with QR code and FBR invoice number
IRN, 18% sales tax, and verifiable QR on PDF
FBR digital invoicing system logo
FBR digital invoicing system

How PRAL integration works with GetFBR

PRAL (Pakistan Revenue Automation Private Limited) operates the FBR Digital Invoicing API gateway. FBR’s published guidance requires notified registered persons to integrate through a licensed integrator; PRAL is commonly offered in IRIS as that integrator path. GetFBR is application software that calls the same API using your IRIS bearer token — it does not replace IRIS registration or category-specific FBR rules.

  1. 1. Enrol in IRIS Digital Invoicing Log in to IRIS with your NTN/CNIC, open Digital Invoicing, and complete FBR’s registration screens (including licensed integrator / PRAL where IRIS asks for it).
  2. 2. Generate a bearer token Create a sandbox token first, run the invoice scenarios FBR lists for your sector, then generate the production token when IRIS enables live billing.
  3. 3. Connect GetFBR Paste the token under Settings → FBR API tokens. GetFBR validates and submits invoice JSON to the PRAL-operated Digital Invoicing API on gw.fbr.gov.pk — you do not host your own PRAL client.
  4. 4. Validate, submit, archive Each accepted invoice returns IRN, USIN, and QR data. Download branded PDFs, sync from IRIS when needed, and issue debit/credit notes for adjustments.

Deep dive: FBR integration guide, register in IRIS, API integration.

Official FBR & PRAL references

Summaries below paraphrase themes from FBR’s public Digital Invoicing FAQ and IRIS screens. Labels and requirements change — always confirm on current FBR notices and in IRIS before go-live.

Primary sources

What the official FAQ covers

Who must integrate?

Sales-tax-registered persons covered by FBR’s digital invoicing rules must transmit invoices electronically in real time through the approved integration route — not only manual IRIS entry.

See: Federal Board of Revenue (FBR) · IRIS taxpayer portal

Licensed integrator & PRAL

FBR’s FAQ describes integration through a licensed integrator. PRAL may provide integration services under FBR’s prescribed rules; many taxpayers select PRAL inside IRIS when enrolling.

See: Federal Board of Revenue (FBR) · PRAL corporate site · IRIS taxpayer portal

Sandbox scenarios before production

IRIS typically requires successful sandbox invoice scenarios (including debit/credit note cases where applicable) before a production token is issued.

See: IRIS taxpayer portal · Federal Board of Revenue (FBR)

IRN, USIN, and QR verification

Accepted digital invoices receive an Invoice Registration Number (IRN), USIN, and QR code buyers can verify — these identifiers define a compliant FBR e-invoice.

See: Federal Board of Revenue (FBR) · IRIS taxpayer portal

Returns & Annexure C

FBR states that validated digital invoice data may flow into sales tax return / Annexure C workflows; filing remains the taxpayer’s responsibility in IRIS.

See: Federal Board of Revenue (FBR)

API technical reference

Validate and post endpoints are documented for software integrators on the gw.fbr.gov.pk Digital Invoicing API — GetFBR implements those calls with your bearer token.

See: FBR Digital Invoicing API gateway · Federal Board of Revenue (FBR)

FBR compliance FAQ

Answers summarise themes from FBR’s published Digital Invoicing materials and IRIS screens. Tax law, SROs, and portal wording change — confirm obligations with your tax adviser and on https://www.fbr.gov.pk/ and https://iris.fbr.gov.pk/ before relying on them for filing decisions.

Integron Technologies provides invoicing software only — not tax advice, and not FBR or PRAL. Primary sources: IRIS taxpayer portal · Federal Board of Revenue (FBR) .

Can a taxpayer use PRAL for FBR integration?

FBR’s public Digital Invoicing FAQ states that notified registered persons must integrate through a licensed integrator, not only by re-keying invoices in IRIS. PRAL (Pakistan Revenue Automation Private Limited) is identified in official materials as a licensed integrator that may provide integration services under rules prescribed by FBR, and many taxpayers select PRAL when enrolling in IRIS Digital Invoicing.

Using PRAL for integration does not replace IRIS registration, bearer tokens, or sector-specific invoice scenarios. Taxpayers still complete Digital Invoicing setup in IRIS, generate sandbox and production API tokens, and meet FBR’s go-live checks. Third-party invoicing software then calls the PRAL-operated Digital Invoicing API on gw.fbr.gov.pk with that token — the software vendor is not PRAL or FBR.

In FBR Digital Invoicing: GetFBR is application software only: you complete IRIS/PRAL enrolment yourself, paste your IRIS bearer token into Settings, and GetFBR validates/submits invoice JSON to the same public API.

See: Federal Board of Revenue (FBR) · PRAL corporate site · IRIS taxpayer portal

What happens when an invoice submission fails?

When validate or post returns a rejection, FBR does not register the invoice. There is no valid IRN/USIN for that attempt until errors are corrected and a successful post is accepted. Common causes include buyer NTN/province mismatches, HS code or UOM issues, tax calculation differences, or token/environment problems — the API response includes FBR error codes and messages.

A failed attempt does not replace a previously accepted invoice. Each successful post is a distinct registration event. Taxpayers should fix data, validate again where appropriate, and submit once the payload matches FBR rules for the invoice type and sale scenario.

In FBR Digital Invoicing: GetFBR stores the FBR error on the invoice, sends an email alert to the account owner, and can notify your systems via an invoice.failed webhook. Correct the draft and validate/submit again. Invoices already accepted by FBR are locked in GetFBR to prevent accidental duplicate posts.

See: Federal Board of Revenue (FBR) · FBR Digital Invoicing API gateway

Can an invoice be edited after submission?

After FBR accepts a digital invoice, it is treated as a registered tax document with IRN/USIN and QR verification data. FBR’s digital invoicing framework is built around real-time registration; you should not treat a posted invoice like an editable paper draft. Material corrections or reversals are handled through the adjustment document types FBR defines (such as debit and credit notes) that reference the original registered invoice.

If an invoice was posted in error, follow FBR’s prescribed adjustment or cancellation process for your scenario rather than editing the registered payload informally.

In FBR Digital Invoicing: Once GetFBR records a successful FBR post, invoice body fields are permanently locked. Create a Debit Note or Credit Note linked to the original FBR invoice number, then validate and submit the adjustment through the API.

See: Federal Board of Revenue (FBR) · IRIS taxpayer portal

When should a debit note or credit note be issued?

Debit and credit notes are used when a sales tax invoice was already registered with FBR and the transaction must be adjusted — for example additional charges, price reductions, returns, or other corrections covered by your sector’s digital invoicing rules. FBR’s sandbox scenario lists include debit/credit note cases; production use requires referencing the original invoice identifier FBR returned (IRN / invoice number).

Issue adjustment documents in the tax period and with the line/detail accuracy FBR expects for the relevant sale type, rate, and buyer registration status. Your tax adviser can confirm which adjustments require a note versus a new sale invoice.

In FBR Digital Invoicing: In GetFBR, choose invoice type Debit Note or Credit Note, link the original submitted invoice, copy line items as needed, validate, then submit. Bulk CSV import supports invoice_type and original_fbr_invoice_id columns.

See: Federal Board of Revenue (FBR) · IRIS taxpayer portal

How can a business verify an invoice's submission status?

FBR’s FAQ describes verification using the IRN, USIN, and QR code returned when an invoice is accepted. Buyers and auditors can use QR verification and IRIS/FBR lookup tools published for digital invoices, subject to what FBR exposes for your environment.

Internally, match your ERP or billing reference to the FBR invoice number stored at submission time and retain the API response (including QR payload) as evidence of registration.

In FBR Digital Invoicing: GetFBR shows FBR status, IRN/USIN, and QR on the invoice page and PDF. Use Sync from IRIS or FBR Archive tools to refresh status when FBR lookup endpoints are available for your token; otherwise rely on the saved submission response and IRIS portal checks.

See: Federal Board of Revenue (FBR) · IRIS taxpayer portal

What information should be retained for an audit?

FBR’s digital invoicing guidance expects taxpayers to maintain a reliable trail of registered invoices: seller and buyer identifiers, invoice date, line descriptions, HS codes, tax rates and amounts, sale types/SRO references where applicable, and the FBR registration outcome (IRN/USIN/QR). Official materials also describe integration of accepted invoice data with sales tax return / Annexure C workflows in FBR systems — underlying source documents and integration logs support audit and reconciliation.

Retention periods and exact record formats follow the Sales Tax Act, applicable SROs, and current FBR notices. Keep sandbox and production environments clearly separated in your records.

In FBR Digital Invoicing: GetFBR keeps submitted invoices in your archive, downloadable PDFs with IRN/QR, compliance CSV export, per-invoice FBR request logs, and optional monthly summary email. Export regularly and align with your accountant’s record-keeping policy.

See: Federal Board of Revenue (FBR) · IRIS taxpayer portal

GetFBR product FAQ

Is FBR digital invoicing mandatory, and who has to comply?
Yes. Under SRO 709(I)/2025 and the Sales Tax Act 1990, sales-tax-registered persons in Pakistan must transmit sales tax invoices to FBR electronically in real time through the FBR Digital Invoicing API. Both corporate and non-corporate registered persons are covered. If you are registered for sales tax, you need an integrated digital invoicing setup rather than manual IRIS entry.
How do I get an FBR sandbox token from the IRIS portal?
Log in to the IRIS portal at iris.fbr.gov.pk with your business NTN or CNIC, open the digital invoicing section, and generate a sandbox token for your registered NTN. The token is a Bearer credential you paste into Settings here, and it is what authorises every API call while you test. Generate the production token the same way once your scenarios pass.
What are IRN, USIN and the invoice QR code?
When FBR accepts a digital invoice it returns an IRN (Invoice Registration Number) and a USIN (Unique Sales Invoice Number), plus a QR code your buyer can scan to verify the invoice. These identifiers are what make the invoice valid for sales tax purposes, and they are printed automatically on the branded PDFs this app generates.
What is a licensed integrator, and do I need one?
FBR’s public Digital Invoicing FAQ requires notified registered persons to integrate through a licensed integrator. PRAL (Pakistan Revenue Automation Private Limited) is commonly offered in IRIS as that path and operates the gw.fbr.gov.pk API gateway. GetFBR connects to the same API with your IRIS bearer token — see “Official FBR & PRAL references” above for primary source links and the PRAL integration explainer on this page.
What is scenario testing and how do I go live?
Before FBR enables production, you work through the sales and debit/credit note scenarios that apply to your business in the sandbox environment, confirming each one returns a valid response. Once your scenarios pass, generate your production token in IRIS, switch the environment in Settings, and your invoices start going to the live FBR system.
What is the difference between Validate and Submit?
Validate checks your invoice with FBR without posting it. Submit sends the invoice to FBR for a permanent invoice number. Always validate first when you are unsure about buyer or line-item details.
Sandbox vs production — which should I use?
Use sandbox while testing tokens, HS codes, and flows. Switch to production only when you are ready to issue live invoices. You can set the default environment in Settings.
Where do I add my FBR token?
Go to Settings and open FBR configuration for sandbox and/or production. Paste the token from IRIS, save, then try Validate on a draft invoice.
Why do I need buyer companies?
Saved buyers store NTN/CNIC, address, province, and registration type. On the invoice form you can pick a buyer in one click instead of retyping details that often cause FBR rejections.
When do I use further tax, fixed rates, or detailed line tax fields?
Most invoices only need tax rate and sales tax. Open “Detailed tax, fixed rates & SRO” on a line when FBR expects fixed notified/MRP values (3rd Schedule or reduced-rate SRO lines), further tax, extra tax, FED in ST mode, sales-tax withheld at source, or a line discount. Those values are sent to FBR on validate/submit and roll into the invoice total. Bulk CSV import supports the same optional columns — see Import Invoices for the header list.
Can I import Excel files and run recurring invoices automatically?
Yes. Use Invoices → Import CSV/Excel to upload .csv, .xls, or .xlsx (same columns as the template). Recurring schedules live under Invoices → Recurring; set frequency and next run date, then activate. A daily server job generates draft invoices on the due date — your host must run `bundle exec rake scheduler:daily` (see deploy docs).
How do IRIS lookup, webhooks, and monthly summary emails work?
After submit, use Sync from IRIS on an invoice or bulk sync from FBR Archive. Fbr::IrisInvoiceService calls FBR get-invoice endpoints when your token allows; otherwise you still see saved submission data. Outbound webhooks fire on submit/fail (Settings → Webhooks). Validation/submit failures also email the account owner. Monthly CSV summaries run on the 1st via `scheduler:monthly_reports` when enabled under Team & reports.
Can one login cover multiple seller NTNs?
Yes — add legal entities under Settings → Legal entities. Each entity has its own NTN, business details, and sandbox/production IRIS tokens. Pick the seller entity on the invoice form before validate/submit. Buyer companies remain unlimited per account.
What are HS codes and UOM?
HS code classifies the product for FBR. UOM is the unit of measure (for example Nos or KG). Use the lookups on the invoice form — wrong HS/UOM pairs are a common rejection reason.
My account says pending approval. What next?
An administrator must approve new taxpayer accounts. After approval you complete a short onboarding (business profile + FBR token), then you can create invoices.
I got a cryptic FBR error. What should I do?
Open the invoice — we show plain-language tips under the raw FBR message when we recognize common codes. Fix the listed fields, save, validate again, then submit. If it still fails, open a Support ticket with the invoice number.
How do branded PDFs work?
After FBR accepts an invoice you can download a PDF. Add your business name, address, and logo in Settings so the PDF matches your company.
What does the monthly subscription cover?
An active subscription keeps taxpayer access open for creating, validating, and submitting invoices. If it expires, contact your administrator to record payment.
How do I contact support?
Use Support in the app to open a ticket, or email subhani.lhr57@gmail.com. Include your account email and invoice number when reporting FBR failures.