This is the Omnizon Platform Public REST API specification. For access and API Keys please contact your Omnizon Platform representative.
- Get Outbox Document Statuses
Omnizon Public REST API (v1.0.0)
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getStatus
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getStatus
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getStatus \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8",
"companyVatNumber": "HR12345678910"
}'Successfully retrieved document statuses.
The unique identifier of the invoice document.
The name of the sender of the document.
The name of the receiver of the document.
The VAT number of the sender without country prefix.
The VAT number of the receiver without country prefix.
The external status of the document.
Details from the latest fiscalization attempt (optional)
{ "documentId": "6787a98e15306d37eed688a8", "documentSenderName": "Example Sender Ltd.", "documentReceiverName": "Example Receiver Ltd.", "documentSenderVatNumber": "12345678910", "documentReceiverVatNumber": "98765432100", "documentNumber": "INV-2023-001", "internalStatus": "NEW|OK|FAILED", "externalStatus": "SENT|DELIVERED|ACKNOWLEDGED", "fiscalizationDetails": { "successful": true, "errorMessage": "Invalid tax rate", "errorCode": "TAX_RATE_ERROR", "shouldRetry": false, "timestamp": "2024-01-15T10:30:00Z", "fiscalizationRequestId": "FISK-2024-001234", "fiscalizationResponseId": "12345678-1234-1234-1234-123456789012", "fiscalizationType": "FISCALIZATION" }, "reportingDetails": { "successful": true, "errorMessage": "Invalid reporting format", "errorCode": "FORMAT_ERROR", "shouldRetry": false, "timestamp": "2024-01-15T10:30:00Z", "reportingRequestId": "RPT-2024-001234", "reportingResponseId": "REF-12345678-2024", "fiscalizationType": "FISCALIZATION" }, "internalStatusDetails": [ { … } ] }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/outbox/status
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/outbox/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/outbox/status?pageNumber=1&pageSize=200' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"companyVatNumber": "HR12345678910",
"dateFrom": "2019-08-24T14:15:22Z",
"dateTo": "2019-08-24T14:15:22Z"
}'Successfully retrieved outbox document statuses with pagination metadata.
List of outbox document status responses.
The unique identifier of the invoice document.
The name of the document supplier/sender.
The name of the receiver of the document.
The external status of the document.
The GLN (Global Location Number) of the document supplier organization.
The GLN (Global Location Number) of the document customer organization.
The business unit of the supplier organization.
The business unit of the customer organization.
The document creation timestamp.
The document last modification timestamp.
{ "items": [ { … } ], "totalElements": 47, "totalPages": 2, "size": 25, "number": 1, "numberOfElements": 25, "first": true, "last": false, "empty": false }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/inbox/status
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/inbox/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/inbox/status?pageNumber=1&pageSize=200' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"companyVatNumber": "HR12345678910",
"dateFrom": "2019-08-24T14:15:22Z",
"dateTo": "2019-08-24T14:15:22Z"
}'Successfully retrieved outbox document statuses.
List of documents inbox statuses return model.
The unique identifier of the invoice document.
The name of the sender of the document.
Response returned by the fiscalization service.
Identifier of the response received from the fiscalization service.
Identifier of the fiscalization request sent.
Timestamp from the fiscalization response.
Indicates if the fiscalization was successful.
Error code returned if the fiscalization failed.
Error message returned if the fiscalization failed.
Index of the invalid record in the request.
The VAT number of the document supplier (optional).
The GLN (Global Location Number) of the document supplier organization (optional).
The GLN (Global Location Number) of the document customer organization (optional).
The business unit of the supplier organization (optional).
The business unit of the customer organization (optional).
The document creation timestamp.
The document last modification timestamp.
The VAT number of the document customer (optional).
{ "items": [ { … } ], "totalElements": 150, "totalPages": 6, "size": 25, "number": 1, "numberOfElements": 25, "first": true, "last": false, "empty": false }