Confirm Invoice
Confirm an already-generated IRN with eTranzact.
Endpoint
POST /api/v1/nrs/confirm/{irn}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
irn | string | Invoice Reference Number to confirm. |
Response
{
"endpoint": "string",
"status_code": 0,
"ok": true,
"timestamp": "string",
"attempts": 1,
"retried": false,
"request_payload": {
"additionalProp1": {}
},
"response_body": "string"
}
Status Codes
| Code | Description |
|---|---|
| 200 | Confirmation request completed |
| 400 | Validation or upstream request error |
| 422 | Validation error |
| 500 | Local proxy failure |
Validation Error Example
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string",
"input": "string",
"ctx": {}
}
]
}
Server Error Example
{
"endpoint": "string",
"status_code": 0,
"ok": false,
"error": "string"
}
Notes
irnmust reference an existing generated invoice.- The confirmation request is forwarded to eTranzact.
- Validation errors are returned for invalid or missing IRNs.
- A successful response confirms the invoice upstream.