One API, one auth model, one set of docs. Get sandbox credentials, post a test invoice, read the logs and go to production — all from one platform.
Runnable samples in cURL, JavaScript, PHP, Python, C# and Java.
curl -X POST https://taxbridge.themetasum.com/api/v1/invoices \
-H "Authorization: Bearer tbk_test_9f3a21c7b4d6e8f0_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 0b6d1c4e-7f9a-4a51-8d3c-2e5f7a91b204" \
-H "X-Tax-Authority: PRA" \
-d '{
"invoiceNumber": "INV-10001",
"invoiceDate": "2026-08-10T10:30:00",
"invoiceType": "Sale",
"currency": "PKR",
"paymentMode": "Cash",
"customer": { "name": "Walk-in Customer" },
"items": [{
"description": "Chicken Karahi Full", "hsCode": "11001010",
"quantity": 1, "unitPrice": 1500.00,
"taxRate": 16, "taxAmount": 240.00, "total": 1740.00
}],
"subTotal": 1500.00, "tax": 240.00, "total": 1740.00
}'Register your company and verify your email.
Group your keys and settings under one app.
Choose FBR, PRA, SRB or KPRA — or several.
Store authority credentials, or switch on the simulator to build with no network call.
Auth, the canonical payload, the response envelope and error codes — all in one place.
POST your first invoice to /api/v1/invoices with a test key.
Inspect status, authorityInvoiceNumber, qrCode and quota.
Every request/response is logged; normalized errors point at the exact field.
Provide real credentials and complete company/branch configuration.
Issue a live key and switch your endpoint. Production and sandbox stay fully separate.
Every request carries a scoped bearer key. Keys are environment-specific and optionally pinned to one authority.
tbk_test_... for sandbox, tbk_live_... for productionIdempotency-Key on every POST to make retries safecurl -X POST https://taxbridge.themetasum.com/api/v1/invoices \
-H "Authorization: Bearer tbk_test_9f3a21c7b4d6e8f0_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 0b6d1c4e-7f9a-4a51-8d3c-2e5f7a91b204" \
-H "X-Tax-Authority: PRA" \
-d '{
"invoiceNumber": "INV-10001",
"invoiceDate": "2026-08-10T10:30:00",
"invoiceType": "Sale",
"currency": "PKR",
"paymentMode": "Cash",
"customer": { "name": "Walk-in Customer" },
"items": [{
"description": "Chicken Karahi Full", "hsCode": "11001010",
"quantity": 1, "unitPrice": 1500.00,
"taxRate": 16, "taxAmount": 240.00, "total": 1740.00
}],
"subTotal": 1500.00, "tax": 240.00, "total": 1740.00
}'Documentation with runnable cURL, JavaScript, PHP, Python, C# and Java samples.
Try requests against the simulator before touching production.
Signed webhook payloads for async status (Business and above).
Live usage dashboards, quota, and full request/response logs.
Clear per-plan request rates with Retry-After on 429.
One error vocabulary across all four authorities.
Create a sandbox key and post your first test invoice in minutes.
Just register your business with Sum Cloud POS — it already files fiscal invoices to FBR, PRA, SRB and KPRA for you. No API, no development, nothing to connect or maintain. Start selling with compliant invoices out of the box.