Status tracking
Get async document processing status
Poll after submitting via send-document-async or send-document-async-json.
| Property | Value |
|---|---|
| Endpoint | /invoice/document-status/:trackingId |
| Method | GET |
| Authorization | Bearer {token} |
Response
{
"trackingId": "550e8400-e29b-41d4-a716-446655440000",
"status": "COMPLETED",
"invoiceId": "uuid",
"invoiceNumber": "INV-2025-001",
"peppolSendingResult": "SENT",
"errorMessage": null,
"createdAt": "2025-04-01T10:00:00",
"updatedAt": "2025-04-01T10:00:05"
}
Status values
| Status | Description |
|---|---|
PENDING | Queued, not yet processed |
PROCESSING | Currently being processed |
COMPLETED | Successfully processed and sent |
FAILED | Failed — check errorMessage |
| Code | Description |
|---|---|
200 | Status returned |
404 | Tracking ID not found |
500 | Internal server error |
Search processing history
| Property | Value |
|---|---|
| Endpoint | /invoice/document-process/search |
| Method | POST |
| Authorization | Bearer {token} |
{
"companyId": "uuid",
"status": "FAILED",
"startDate": "2025-01-01",
"endDate": "2025-04-30"
}
Get invalid Peppol documents
| Property | Value |
|---|---|
| Endpoint | /peppol/invalid-documents |
| Method | GET |
| Authorization | Bearer {token} |
Query parameters: companyId, pageNumber (default 0), pageSize (default 20)
Get document status (simple)
| Property | Value |
|---|---|
| Endpoint | /invoice/get-document-status/:documentId |
| Method | GET |
| Authorization | Bearer {token} |