Developer-First FBR Invoicing API

Connect your custom PHP, Laravel, C#, or legacy desktop billing POS with FBR in minutes using our REST JSON API.

JSON REST API

Integrate Any POS or Custom ERP

FBR's direct integration uses complex encryption, custom XML packets, and SOAP protocols that are notoriously slow and difficult to build.

Invoice2IRIS abstracts that complexity. Send us a simple JSON POST request; we handle validation, formatting, encryption, FBR submission, and return the printable FBR Stamp URL and QR string.

Why Developers Love Invoice2IRIS:

  • 100% sandbox staging environment
  • Simple authentication headers (Bearer tokens)
  • SDKs in PHP, JavaScript, Python, C#

Are you a POS Vendor or Software House?

Join our Integration Partner Program. Earn monthly recurring revenue splits for every customer you onboard. Get access to our developers' Slack channel and customized co-branding.

Apply for Partner Program
POST /api/v1/invoices
curl -X POST https://api.invoice2iris.com/v1/invoices \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "buyer_name": "Corporate Client Ltd",
    "buyer_ntn": "1234567-8",
    "items": [
      {
        "name": "Industrial Cotton Roll",
        "hs_code": "5208.1100",
        "quantity": 10,
        "unit_price": 5000.00,
        "tax_rate": 18.0
      }
    ]
  }'

Explore Our Comprehensive API Reference

Get instant sandbox credentials, read through error code tables, verify retry guidelines, and check our service level agreements.