Document status
Check the processing and delivery status of a submitted invoice.
Endpoint
| Property | Value |
|---|---|
| URL | GET /invoice/document-status/{trackingId} |
| Method | GET |
| Auth | R-Auth: <company-jwt> |
Example Request
curl --location '{{baseUrl}}/invoice/document-status/{{trackingId}}' \
--header 'R-Auth: {{companyJwt}}'
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
trackingId | UUID | Yes | Tracking ID returned from Send invoice |
Response
{
"trackingId": "550e8400-e29b-41d4-a716-446655440000",
"companyId": "f5e6d7c8-1234-5678-9abc-def012345678",
"direction": "OUTGOING",
"documentType": "UBL",
"status": "COMPLETED",
"filename": "invoice-001.xml",
"invoiceNumber": "INV-2026-001",
"documentId": "aabbccdd-1234-5678-9abc-112233445566",
"sendingResult": "AS4_DELIVERED",
"errorType": null,
"createdAt": "2026-06-01T10:00:00",
"statusUpdatedAt": "2026-06-01T10:00:45",
"completedAt": "2026-06-01T10:00:45",
"errors": null
}
Response fields
| Field | Description |
|---|---|
trackingId | Tracking UUID returned from invoice submission |
companyId | Company UUID associated with the submitted document |
direction | Document direction, for example OUTGOING |
documentType | Document type, for example UBL |
status | Current processing or delivery status |
filename | Generated or submitted invoice file name |
invoiceNumber | Invoice number from the submitted document |
documentId | Internal document UUID |
sendingResult | Delivery result, for example AS4_DELIVERED |
errorType | Error category if the document failed |
createdAt | Timestamp when the document was created |
statusUpdatedAt | Timestamp of the latest status update |
completedAt | Timestamp when processing was completed |
errors | Error details if available |
Status values
| Status | Description |
|---|---|
PENDING | Accepted and queued for processing |
PROCESSING | Currently being processed |
COMPLETED | Successfully delivered |
FAILED | Delivery failed. Check errorType and errors for details |