E-Khata Cloud
FBR Digital Invoicing

Pass FBR Digital Invoicing Scenarios. Free.

Run FBR's mandatory sandbox test scenarios (SN001 to SN028), see live pass/fail results, and clear sandbox certification before you go live.

Your details

From the FBR IRIS portal, Sandbox Environment. Sent only to FBR's sandbox to run your tests. Never stored.

Select your assigned scenarios

0 of 28 selected

Suggestions only. FBR assigns your exact scenario list in the IRIS portal based on your business activity and sector. Always confirm there and select what you were assigned.

Sandbox only. Never touches FBR production. Never creates a real invoice.

Built to clear FBR sandbox certification

Sandbox only. Always safe.

This tool calls FBR's sandbox endpoint and nothing else. It can never reach production and can never create a real fiscal invoice, so you test with zero risk to your tax records.

All 28 scenarios covered

Run any of the full SN001 to SN028 scenario set, or just the subset FBR assigned to your business activity and sector. You decide exactly which scenarios to fire.

Real pass or fail results

Each run posts to FBR's sandbox and shows the actual FBR response with its test IRN. You see a clear pass or fail for every scenario, with the validation message when something is wrong.

How it works

  1. Get your sandbox token. Register for FBR Digital Invoicing in the IRIS portal and copy the sandbox bearer token FBR issues to you.
  2. Enter your seller details. Add your business name, sales tax registration number, and address exactly as registered with FBR.
  3. Select your assigned scenarios. Pick the scenarios FBR assigned to you, from SN001 to SN028, based on your business activity and sector.
  4. Run and watch pass/fail. Fire each scenario at the FBR sandbox and watch results come back live, with a pass, a fail, or the exact FBR validation error.

What FBR scenario testing is

FBR Digital Invoicing requires sales-tax-registered persons to post every invoice to FBR in real time. Before you are allowed to do that, FBR makes you prove your system works. It does this through a set of 28 sandbox test scenarios, numbered SN001 to SN028. Each scenario represents a specific kind of taxable supply, for example standard rate goods to a registered buyer, reduced rate goods under the 8th Schedule, zero-rated supplies, 3rd Schedule MRP goods, or sector-specific cases like steel, telecom, and petroleum.

You do not have to pass all 28. FBR assigns you a subset, typically around 9 to 15 scenarios, based on your registered Business Activity (such as Manufacturer, Importer, Distributor, Wholesaler, Exporter, Retailer, or Service Provider) and your Sector (such as Steel, FMCG, Textile, Telecom, Petroleum, or Pharma). You must pass every scenario in your assigned list. Once all assigned scenarios pass in the sandbox, FBR issues your production token and you can go live. Select the scenarios FBR assigned to you in the IRIS portal and test until each one returns a pass.

Which scenarios apply to your business

Your scenario list depends on what you sell and how you are registered. The mapping below shows the kinds of scenarios each business type typically sees. Treat it as a guide, not a guarantee, because the exact list is set by FBR at assignment.

  • Manufacturers and importers: typically includes standard rate (SN001, SN002), reduced rate (SN005), exempt (SN006), zero-rated (SN007), 3rd Schedule (SN008), and FED-in-ST-mode cases (SN017, SN018).
  • Retailers: typically includes the retail scenarios (SN026, SN027, SN028) plus the standard scenarios for the goods you sell.
  • Steel sector: typically includes melting and re-rolling, ship-breaker scrap, and toll manufacturing (SN003, SN004, SN011).
  • Textile: typically includes purchases from cotton ginners (SN009).
  • Telecom: typically includes telecom services (SN010).
  • Petroleum: typically includes petroleum products (SN012).
  • Pharma: typically includes exempt goods and fixed-rate drugs (SN006, SN025).
  • Services: typically includes services under FED-in-ST mode and the ICT Ordinance (SN018, SN019).
  • EV and auto: typically includes electric vehicles (SN020).
  • CNG and gas: typically includes gas to CNG stations and CNG sales (SN014, SN023).

Always confirm the exact list FBR assigned you in the IRIS portal.

The FBR Digital Invoicing onboarding flow

  1. Register and get your sandbox token. Sign up for FBR Digital Invoicing in IRIS and receive your sandbox bearer token.
  2. Pass your assigned scenarios. Run every scenario FBR assigned to you in the sandbox until each one returns a pass. This is the gate to everything that follows.
  3. Get your production token. Once all assigned scenarios pass, FBR issues your production token.
  4. Go live. Switch from the sandbox endpoint to the production endpoint and start posting real invoices to FBR in real time.
  5. Every invoice is fiscalised. Each live invoice you post gets a unique FBR invoice reference number (IRN) and a QR code.

Frequently asked questions

No. This tool only ever calls FBR's sandbox endpoint (postinvoicedata_sb), and it cannot reach the production endpoint. The sandbox is an isolated test environment that returns a test IRN and does not create a real fiscal invoice or touch your real tax records. It exists purely so you can pass your scenario tests safely.

Pass once. Then never look back.

E-Khata Cloud does FBR Digital Invoicing automatically once you are live, so every invoice posts to FBR with its IRN and QR and you never hand-build scenario JSON again. Clear your scenarios with the free tester, then sign up and let E-Khata Cloud run your e-invoicing for good.

Sign up free →