This is the Omnizon Platform Public REST API specification. For access and API Keys please contact your Omnizon Platform representative.
- Get Inbox Documents
Omnizon Public REST API (v1.0.0)
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getByNumber
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getByNumber
- 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/getByNumber?pageNumber=1&pageSize=200&sortBy=created&sortDirection=desc' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"documentNumber": "1_2_3",
"companyVatNumber": "HR12345678910",
"issueYear": "2024"
}'{ "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
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/inbox
- 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?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"
}'Get inbox documents.
List of enhanced inbox documents.
The unique identifier of the invoice document.
The name of the sender of the document.
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 }
- 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": [ { … } ] }