Offline URL for Sales

GET/api/v1/sales/{businessId}/{traderInvoiceNo}/offline-url

Generate a Kenya Revenue Authority verification URL for an invoice. Customers and auditors can use this link to verify the invoice at Kenya Revenue Authority's eTIMS portal without needing access to your systems.

Requires x-api-key

http://localhost:8100/api/v1/sales/{businessId}/{traderInvoiceNo}/offline-url

Path Parameters

FieldTypeRequiredDescription
businessIdstringRequiredYour Kenya Revenue Authority taxpayer PIN (11 characters).
traderInvoiceNostringRequiredThe trader invoice number (trdInvcNo) from the original sale submission.

Response

{
  "success": true,
  "data": {
    "url": "https://etims.kra.go.ke/verify?tin=A000000000Z&invcNo=INV-2024-001",
    "traderInvoiceNo": "INV-2024-001"
  }
}
curl http://localhost:8100/api/v1/sales/A000000000Z/INV-2024-001/offline-url \\
  -H "x-api-key: YOUR_API_KEY"