Skip to main content

Generate IRN

Generate an Invoice Reference Number (IRN).

Endpoint​

POST /api/v1/generate-irn

Headers​

Content-Type:application/json
x-api-key: <your_api_key>

Example Request​

curl --location -g '{{BASE_URL}}/api/v1/generate-irn' \
--header 'Content-Type: application/json' \
--header 'x-client-key: "<your_api_key>"' \
--data '{
"invoice_id":"INV001"
}'

Request Body​

{
"invoice_id":"INV001"
}

Response​

{
"success": true,
"irn": "INV001-75094D27-20260710"
}