Open 24/7 | اردو – پشتو – بلوچی

JAHASOFT LTDSOFTWARE COMPANY BASED IN USA, UK, PK
  • SECP Registered CUIN: 0144811
  • FBR Compliant Registered NTN / STRN
  • UK Companies House 14653641
  • State of Texas Charter #0805128038
  • Global Delivery UNGM Vendor Active
REGULATORY COMPLIANCE & PILLAR GUIDE

The Complete Guide to FBR Digital Invoicing in Pakistan

An exhaustive, practical guide for retailers, wholesalers, and corporate enterprises navigating the Federal Board of Revenue (FBR) mandatory electronic invoicing integration, digital POS sandbox compliance, and fiscal QR code generation.
Regulatory Body
Federal Board of Revenue (FBR)
Requirement
Tier-1 Retailers & Integrated POS
Core Technology
REST API, JSON, Encrypted QR
Target Sectors
Marts, Pharmacies, Retailers
✓ Tier-1 Criteria ✓ Real-Time API Sync ✓ QR Code Verification ✓ Offline-Safe Queueing
CHAPTER 01

Who Is Required to Integrate? (Tier-1 Retailer Criteria)

Under Section 2(43A) of the Sales Tax Act 1990 and subsequent Sales Tax General Orders (STGO), the Federal Board of Revenue mandates real-time fiscal integration for businesses qualifying as Tier-1 Retailers. If your business satisfies any of the four statutory conditions below, integration with the FBR computerized system is a mandatory legal requirement.

Commercial Mall Retail

Air-Conditioned Shopping Plazas & Malls

Any retailer operating an outlet, kiosk, or storefront located inside an air-conditioned shopping plaza, commercial shopping mall, or organized retail center is automatically classified as a Tier-1 Retailer, regardless of square footage or annual turnover.

Area Threshold

Storefronts Exceeding Area Thresholds

Retail stores and commercial outlets whose physical floor space exceeds statutory thresholds (typically 1,000 square feet for general merchandise or 2,000 square feet for furniture showrooms) must install integrated point-of-sale software.

Multi-Branch Chains

Chains with Multiple POS Terminals

Retail businesses, pharmacies, and supermarket chains operating two or more branches, franchises, or a shared centralized point-of-sale inventory network are required to connect every register directly to FBR gateway servers.

Utility & Revenue

High Utility Consumption & Gross Turnover

Enterprises whose annual electricity bill surpasses statutory billing brackets (e.g., PKR 1,200,000+ per annum) or whose gross sales turnover crosses the Sales Tax Act threshold must connect billing software to the FBR NEIS portal.

CHAPTER 02

How FBR Digital Invoicing Works (Technical Architecture)

The FBR electronic invoicing architecture operates on an active RESTful transaction pipeline connecting local checkout registers to the central Federal Board of Revenue National Electronic Invoicing System (NEIS). Here is the technical sequence executed on every customer purchase:

01

Invoice Creation

Cashier rings up products on the POS. The software tallies retail prices, applicable sales tax rates (e.g. 18%), discounts, and buyer NTN/CNIC if required.

POS Counter Event
02

Encrypted API Transmission

POS serializes the transaction into an FBR-compliant JSON payload, signing it with Bearer token authentication over TLS 1.3 HTTPS to the NEIS gateway.

POST /api/v1/postinvoices
03

FBR Verification Token

FBR server validates tax calculations, logs the record in fiscal ledger, and returns a verified 16-character alphanumeric FBR Invoice Tracking Number.

HTTP 200 OK Token Response
04

Fiscal QR Code Printing

POS embeds the 16-character FBR code and generates an encrypted verification QR code printed on the receipt for scanning via the consumer Asaan Tax app.

ESC/POS Thermal Print
STANDARD FBR JSON INVOICE PAYLOAD STRUCTURE TLS 1.3 REST / JSON
{
  "InvoiceNumber": "JS-POS-89410",
  "POSID": 104291,
  "USIN": "104291-008941",
  "DateTime": "2026-10-08 14:32:10",
  "BuyerNTN": "1234567-8",
  "BuyerCNIC": "54400-1234567-1",
  "TotalSaleValue": 15000.00,
  "TotalQuantity": 4,
  "TotalTaxCharged": 2700.00,
  "TotalBillAmount": 17700.00,
  "PaymentMode": 1,
  "InvoiceType": 1,
  "Items": [
    { "ItemCode": "SKU-992", "ItemName": "Engine Oil 4L", "Quantity": 2, "TotalAmount": 8000.00, "TaxCharged": 1440.00 }
  ]
}
CHAPTER 03
🛡️

Handling Internet Downtime During Mandatory Compliance (The JahaSoft Offline Buffer)

FBR mandates continuous compliance, but real-world retail faces internet downtime. JahaSoft ERP and POS systems feature an automated compliance buffer queue. If internet connection drops at the cash counter, invoices continue printing with internal serial numbers. The moment internet is restored, the queue transmits transactions to FBR servers in chronological order without double-taxing or dropping records.

Local SQLite Buffer

Every transaction is securely signed and indexed on the cash terminal's local encrypted storage.

Chronological Auto-Drain

Automated background daemon detects internet restoration and transmits batches in FIFO order.

Zero Checkout Delay

Cashier checkout time remains under 2 seconds per customer regardless of FBR cloud latency.

CHAPTER 04

Integration Checklist & Penalties for Non-Compliance

Navigating the onboarding procedure systematically protects retail enterprises against sudden regulatory enforcement and statutory business closure.

✓ Mandatory Integration Checklist

  • 01
    POS Software Registration: Register your business NTN and store location on the official FBR Iris / POS portal.
  • 02
    Digital Sandbox Testing: Run end-to-end invoice generation, discount tests, and void scenarios inside the FBR test environment.
  • 03
    Bearer Token Acquisition: Retrieve POSID credentials, cryptographic authorization keys, and store branch identifiers.
  • 04
    Production Key Authorization: Shift from sandbox to live production FBR gateway with live receipt QR verification.

⚠ Penalties for Non-Compliance

  • STGO
    Denial of Input Tax Credit: Businesses failing to integrate lose the statutory legal right to claim sales tax input adjustments.
  • FINE
    Compounded Withholding Taxes: Unintegrated Tier-1 retailers face punitive non-compliance withholding taxes on electricity and revenue.
  • SEAL
    Premises Sealing: FBR enforcement squads are authorized under law to seal retail counters and premises for repeated refusal to integrate.
  • LEGAL
    Statutory Audit Notices: Heightened scrutiny, surprise tax inspections, and penalty recovery proceedings under the Sales Tax Act.
  • SECP Registered CUIN: 0144811
  • FBR Compliant Registered NTN / STRN
  • UK Companies House 14653641
  • State of Texas Charter #0805128038
  • Global Delivery UNGM Vendor Active
CERTIFIED FISCAL COMPLIANCE

Achieve 100% FBR Compliance Without Checkout Delays

Connect your cash counters to the FBR National Electronic Invoicing System with guaranteed offline buffer protection. Zero lost sales during internet outages.