This is the Omnizon Platform Public REST API specification. For access and API Keys please contact your Omnizon Platform representative.
Omnizon Public REST API (v1.0.0)
The company's unique identifier (OIB, 11 digits).
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/organizations/register
- Local development environmenthttp://localhost:10081/rest/v1/organizations/register
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/organizations/register
- 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/organizations/register \
-H 'Content-Type: application/json' \
-d '{
"companyVatNumber": "12345678901",
"companyName": "Example Ltd.",
"companyAddressStreet": "Main Street 123",
"companyAddressCity": "Zagreb",
"companyAddressPostalCode": "10000",
"companyAddressState": "Grad Zagreb",
"companyAddressCountry": "HR",
"mpsRegister": true,
"email": "info@example.com",
"companyWebsite": "https://www.example.com",
"iban": "HR1234567890123456789",
"routingAddress": "00000000000"
}'{ "organizationId": "6787a98e15306d37eed688a8" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/organizations/findByVatNumber
- Local development environmenthttp://localhost:10081/rest/v1/organizations/findByVatNumber
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/organizations/findByVatNumber
- 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/organizations/findByVatNumber \
-H 'Content-Type: application/json' \
-d '{
"vatNumber": "string"
}'{ "fullName": "string", "vatNumber": "string", "localBusinessId": "string", "dunsNumber": "string", "gln": "string", "peppolId": "string", "addressContact": "string", "addressCity": "string", "addressPostalCode": "string", "addressState": "string", "addressExtraLine1": "string", "addressExtraLine2": "string", "addressExtraLine3": "string", "webAddress": "string" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/organizations/amsCheck
- Local development environmenthttp://localhost:10081/rest/v1/organizations/amsCheck
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/organizations/amsCheck
- 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/organizations/amsCheck \
-H 'Content-Type: application/json' \
-d '{
"vatNumber": "string"
}'{ "isAmsRegistered": true }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/send
- Local development environmenthttp://localhost:10081/rest/v1/documents/send
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/send
- 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/send \
-H 'Content-Type: application/octet-stream' \
-H 'companyVatNumber: HR12345678910' \
-H 'fiscalization: true' \
-H 'x-fileName: string' \
-H 'x-software-id: string' \
-d '<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">...</Invoice>'{ "documentId": "string" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getInternalStatus
- Local development environmenthttp://localhost:10081/rest/v1/documents/getInternalStatus
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getInternalStatus
- 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/getInternalStatus \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8"
}'{ "documentId": "6787a98e15306d37eed688a8", "status": "acknowledged" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getExternalStatus
- Local development environmenthttp://localhost:10081/rest/v1/documents/getExternalStatus
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getExternalStatus
- 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/getExternalStatus \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8"
}'{ "documentId": "6787a98e15306d37eed688a8", "status": "acknowledged" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getByInternalStatus
- Local development environmenthttp://localhost:10081/rest/v1/documents/getByInternalStatus
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getByInternalStatus
- 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/getByInternalStatus \
-H 'Content-Type: application/json' \
-d '{
"status": "rejected",
"companyVatNumber": "HR12345678910",
"dateFrom": "2019-08-24T14:15:22Z",
"dateTo": "2019-08-24T14:15:22Z"
}'{ "items": [ { … } ] }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getByExternalStatus
- Local development environmenthttp://localhost:10081/rest/v1/documents/getByExternalStatus
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getByExternalStatus
- 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/getByExternalStatus \
-H 'Content-Type: application/json' \
-d '{
"status": "rejected",
"companyVatNumber": "HR12345678910",
"dateFrom": "2019-08-24T14:15:22Z",
"dateTo": "2019-08-24T14:15:22Z"
}'{ "items": [ { … } ] }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/get
- Local development environmenthttp://localhost:10081/rest/v1/documents/get
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/get
- 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/get \
-H 'Content-Type: application/json' \
-H 'x-software-id: string' \
-d '{
"documentId": "6787a98e15306d37eed688a8",
"companyVatNumber": "HR12345678910"
}'The unique identifier of the invoice document.
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/ack
- Local development environmenthttp://localhost:10081/rest/v1/documents/ack
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/ack
- 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/ack \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8",
"reason": "Payment received"
}'{ "statusCode": 200, "resultMessage": "Company registered successfully." }
The unique identifier of the invoice document.
The date when the invoice was issued.
The date when the invoice was rejected.
The code indicating the reason for rejection Can be N, U or O.
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/reject
- Local development environmenthttp://localhost:10081/rest/v1/documents/reject
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/reject
- 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/reject \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8",
"documentNumber": "12322",
"issueDate": "2023-10-01T12:00:00Z",
"senderVatNumber": "HR12345678910",
"receiverVatNumber": "HR09876543210",
"rejectionDate": "2023-10-02T12:00:00Z",
"rejectionReason": "Invoice not valid",
"rejectionReasonCode": "N|U|O",
"rejectionReasonDescription": "Invoice not valid"
}'{ "statusCode": 200, "resultMessage": "Company registered successfully." }
The unique identifier of the invoice document.
The date when the invoice was issued.
The date when the invoice was paid.
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/paid
- Local development environmenthttp://localhost:10081/rest/v1/documents/paid
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/paid
- 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/paid \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8",
"documentNumber": "12322",
"issueDate": "2023-10-01T12:00:00Z",
"senderVatNumber": "HR12345678910",
"receiverVatNumber": "HR09876543210",
"paidDate": "2023-10-02T12:00:00Z",
"paidAmount": "210.00",
"paymentMethod": "T|O|Z"
}'{ "statusCode": 200, "resultMessage": "Company registered successfully." }
The unique identifier of the invoice document.
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/cancel
- Local development environmenthttp://localhost:10081/rest/v1/documents/cancel
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/cancel
- 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/cancel \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8",
"reason": "Payment received"
}'{ "statusCode": 200, "resultMessage": "Company registered successfully." }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/users/new
- Local development environmenthttp://localhost:10081/rest/v1/users/new
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/users/new
- 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/users/new \
-H 'Content-Type: application/json' \
-d '{
"username": "string",
"lastName": "string",
"firstName": "string",
"password": "string",
"email": "user@example.com",
"organizationId": "string"
}'{ "userId": "6787a98e15306d37eed688a8" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/users/deactivate
- Local development environmenthttp://localhost:10081/rest/v1/users/deactivate
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/users/deactivate
- 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/users/deactivate \
-H 'Content-Type: application/json' \
-d '{
"userId": "string"
}'{ "userId": "string", "status": "string" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/users/reactivate
- Local development environmenthttp://localhost:10081/rest/v1/users/reactivate
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/users/reactivate
- 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/users/reactivate \
-H 'Content-Type: application/json' \
-d '{
"userId": "string"
}'{ "userId": "string", "status": "string" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getFromArchive
- Local development environmenthttp://localhost:10081/rest/v1/documents/getFromArchive
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getFromArchive
- 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/getFromArchive \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8"
}'The unique identifier of the invoice document.
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/archive
- Local development environmenthttp://localhost:10081/rest/v1/documents/archive
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/archive
- 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/archive \
-H 'Content-Type: application/json' \
-d '{
"documentId": "6787a98e15306d37eed688a8",
"companyVatNumber": "HR12345678910"
}'{ "documentId": "6787a98e15306d37eed688a8", "status": "archived" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getByNumber
- Local development environmenthttp://localhost:10081/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 \
-H 'Content-Type: application/json' \
-d '{
"documentNumber": "1_2_3",
"companyVatNumber": "HR12345678910"
}'{ "items": [ { … } ] }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/inbox
- Local development environmenthttp://localhost:10081/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 \
-H 'Content-Type: application/json' \
-d '{
"companyVatNumber": "HR12345678910"
}'{ "items": [ { … } ] }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getStatus
- Local development environmenthttp://localhost:10081/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 '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.
{ "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" } }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/outbox/status
- Local development environmenthttp://localhost:10081/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 \
-H 'Content-Type: application/json' \
-d '{
"companyVatNumber": "HR12345678910",
"dateFrom": "2019-08-24T14:15:22Z",
"dateTo": "2019-08-24T14:15:22Z"
}'{ "items": [ { … } ] }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/inbox/status
- Local development environmenthttp://localhost:10081/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 \
-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.
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.
{ "items": [ { … } ] }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/billing/monthly-usage
- Local development environmenthttp://localhost:10081/rest/v1/billing/monthly-usage
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/billing/monthly-usage
- 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/billing/monthly-usage \
-H 'Content-Type: application/json' \
-d '{
"vatNumber": "HR12345678901",
"year": 2025,
"month": 3
}'[ { "metricName": "documents-out", "metricUsage": "123" } ]
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/billing/archive-usage
- Local development environmenthttp://localhost:10081/rest/v1/billing/archive-usage
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/billing/archive-usage
- 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/billing/archive-usage \
-H 'Content-Type: application/json' \
-d '{
"vatNumber": "HR12345678901"
}'[ { "metricName": "documents-out", "metricUsage": "123" } ]
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getAllFiscalizationStatuses
- Local development environmenthttp://localhost:10081/rest/v1/documents/getAllFiscalizationStatuses
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getAllFiscalizationStatuses
- 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/getAllFiscalizationStatuses \
-H 'Content-Type: application/json' \
-d '{
"documentId": "64a1b2c3d4e5f6789012345a"
}'Fiscalization statuses retrieved successfully.
Timestamp when the fiscalization was attempted
Unique identifier for the fiscalization attempt
JIR (Jedinstveni identifikator računa) number from FINA
Type of fiscalization process
[ { "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" } ]
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getLatestFiscalizationStatus
- Local development environmenthttp://localhost:10081/rest/v1/documents/getLatestFiscalizationStatus
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getLatestFiscalizationStatus
- 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/getLatestFiscalizationStatus \
-H 'Content-Type: application/json' \
-d '{
"documentId": "64a1b2c3d4e5f6789012345a"
}'Latest fiscalization status retrieved successfully.
Timestamp when the fiscalization was attempted
Unique identifier for the fiscalization attempt
JIR (Jedinstveni identifikator računa) number from FINA
{ "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" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getAllReportingStatuses
- Local development environmenthttp://localhost:10081/rest/v1/documents/getAllReportingStatuses
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getAllReportingStatuses
- 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/getAllReportingStatuses \
-H 'Content-Type: application/json' \
-d '{
"documentId": "64a1b2c3d4e5f6789012345a"
}'Reporting statuses retrieved successfully.
Timestamp when the reporting was attempted
Type of fiscalization process
[ { "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" } ]
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getLatestReportingStatus
- Local development environmenthttp://localhost:10081/rest/v1/documents/getLatestReportingStatus
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/documents/getLatestReportingStatus
- 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/getLatestReportingStatus \
-H 'Content-Type: application/json' \
-d '{
"documentId": "64a1b2c3d4e5f6789012345a"
}'{ "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" }
- Mock serverhttps://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/apikeys/generate
- Local development environmenthttp://localhost:10081/rest/v1/apikeys/generate
- U-DEV testing environmenthttps://hr.u-dev.omnizon.network/api/rest/v1/apikeys/generate
- 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/apikeys/generate \
-H 'Content-Type: application/json' \
-d '{
"vatNumber": "12345678901"
}'{ "apiKey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" }