Skip to main content

Generate IRN

base_url: https://firseinvoice.etranzactng.com/

Description: This endpoint generates an IRN (Invoice Reference Number) using three critical data points - the taxpayers’ internal invoicing system/ERP/accounting system (invoice number), FIRS-assigned credentials (service Id) and the exact date the invoice was issued in numeric format: YYYYMMDD. The business id is issued by the regulator. The IRN is unique for each transaction, ensures generated digital invoices are secure and traceable.

Request Parameters

ParameterTypeDescriptionRequired?
invoice_numberstringTaxpayer’s Invoice/transaction reference value (transaction id)Yes
service_idstringFIRS issued/assigned credentialYes
issuance_datedateDate invoice was issuedYes
business_idstringUnique alphanumeric ID generated when the business is registered on the e-invoicing platform. It allows the system recognize all invoices generated by the companyYes

Request Parameters

POST {base_url}/api/v1/si/invoice/generate-irn
curl -X POST
-H "X-API-Key: {{CLIENT_API_KEY}}"
-H "X-API-Signature: {{HMAC_SHA256_SIGNATURE}}"
-H "X-API-Timestamp: {{ISO_20022_TIMESTAMP}}"
-H "Content-Type: application/json"
-d '{
"invoice_number": "INV285",
"service_id": "47AT78FN",
"issuance_date": "20250417",
"business_id": "6f19a0f0-c8f3-4d2b-8a8b-1b2c45e89d0f"
}
'