Get Invoice by IRN
Retrieve a previously submitted invoice by its Invoice Reference Number.
Endpoint
GET api/v1/invoice/{irn}
Headers
Content-Type:application/json
x-api-key: <your_api_key>
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| irn | string | Invoice Reference Number to update. |
Success Response
{
"success": true,
"message": "Invoices fetched successfully",
"data": {
"count": 0,
"page": 1,
"page_size": 20,
"pages": 0,
"items": []
}
}
Error Example
{
"detail": "Invoice not found",
}