Skip to content

Omnizon Public REST API (v1.0.0)

This is the Omnizon Platform Public REST API specification. For access and API Keys please contact your Omnizon Platform representative.

Download OpenAPI description
Languages
Servers
Mock server
https://omnizon-public-api.redocly.app/_mock/openapi
U-DEV testing environment
https://{tenant}.u-dev.omnizon.network/api

Organizations

Company registration and management operations

Operations

Documents

Invoice/document processing and status management

Operations

Request

Get Outbox Document Statuses By VAT Number And DateFrom/To Range with pagination.

Security
PublicApiKey
Query
pageNumberinteger>= 1

Page number (starting from 1)

Default 1
Example: pageNumber=1
pageSizeinteger[ 1 .. 1000 ]

Number of items per page

Default 50
Example: pageSize=200
Bodyapplication/jsonrequired
companyVatNumberstringrequired

The VAT number of the company.

Example: "HR12345678910"
dateFromstring(date-time)

Start date for document search (optional)

dateTostring(date-time)

End date for document search (optional)

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"
  }'

Responses

Successfully retrieved outbox document statuses with pagination metadata.

Bodyapplication/json
itemsArray of objects(DocumentGetOutboxStatusResponse)required

List of outbox document status responses.

items[].​documentIdstringrequired

The unique identifier of the invoice document.

Example: "6787a98e15306d37eed688a8"
items[].​supplierNamestring

The name of the document supplier/sender.

Example: "Supplier Company Ltd."
items[].​documentReceiverNamestringrequired

The name of the receiver of the document.

Example: "Example Receiver Ltd."
items[].​documentNumberstringrequired

The document number of the invoice.

Example: "INV-2023-001"
items[].​internalStatusstringrequired

The internal status of the document.

Example: "NEW|OK|FAILED"
items[].​externalStatusstringrequired

The external status of the document.

Example: "SENT|DELIVERED|ACKNOWLEDGED"
items[].​supplierVatNumberstring

The VAT number of the document supplier.

Example: "12345678901"
items[].​customerVatNumberstring

The VAT number of the document customer.

Example: "98765432101"
items[].​supplierGlnstring

The GLN (Global Location Number) of the document supplier organization.

Example: "1234567890124"
items[].​customerGlnstring

The GLN (Global Location Number) of the document customer organization.

Example: "1234567890125"
items[].​supplierBusinessUnitstring

The business unit of the supplier organization.

Example: "Sales Department"
items[].​customerBusinessUnitstring

The business unit of the customer organization.

Example: "Procurement Department"
items[].​amountstring

The total amount of the document.

Example: "150.75"
items[].​currencystring

The currency of the document amount.

Example: "EUR"
items[].​createdstring(date-time)

The document creation timestamp.

Example: "2024-11-15T15:52:47.331Z"
items[].​modifiedstring(date-time)

The document last modification timestamp.

Example: "2024-11-17T11:26:02.850Z"
items[].​documentEdiTypestring

The EDI type of the document from document data.

Example: "PLACEHOLDER"
totalElementsinteger(int64)>= 0required

Total number of documents found across all pages

Example: 47
totalPagesinteger>= 0required

Total number of pages available

Example: 2
sizeinteger[ 1 .. 1000 ]required

Current page size (number of items per page)

Example: 25
numberinteger>= 1required

Current page number (1-based)

Example: 1
numberOfElementsinteger>= 0required

Number of elements in current page

Example: 25
firstbooleanrequired

Whether this is the first page

Example: true
lastbooleanrequired

Whether this is the last page

Example: false
emptybooleanrequired

Whether the page is empty

Example: false
Response
application/json
{ "items": [ {} ], "totalElements": 47, "totalPages": 2, "size": 25, "number": 1, "numberOfElements": 25, "first": true, "last": false, "empty": false }

Request

Get Inbox Document Statuses By VAT Number And DateFrom/To Range.

Security
PublicApiKey
Query
pageNumberinteger>= 1

Page number (starting from 1)

Default 1
Example: pageNumber=1
pageSizeinteger[ 1 .. 1000 ]

Number of items per page

Default 50
Example: pageSize=200
Bodyapplication/jsonrequired
companyVatNumberstringrequired

The VAT number of the company.

Example: "HR12345678910"
dateFromstring(date-time)

Start date for document search (optional)

dateTostring(date-time)

End date for document search (optional)

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"
  }'

Responses

Successfully retrieved outbox document statuses.

Bodyapplication/json
itemsArray of objects(DocumentGetInboxStatusResponse)required

List of documents inbox statuses return model.

items[].​documentIdstringrequired

The unique identifier of the invoice document.

Example: "6787a98e15306d37eed688a8"
items[].​documentSenderNamestringrequired

The name of the sender of the document.

Example: "Example Sender Ltd."
items[].​documentNumberstringrequired

The document number of the invoice.

Example: "INV-2023-001"
items[].​internalStatusstringrequired

The internal status of the document.

Example: "NEW|OK|FAILED"
items[].​externalStatusobject(FiscalizationResponseModel)required

Response returned by the fiscalization service.

items[].​externalStatus.​responseIdstringrequired

Identifier of the response received from the fiscalization service.

Example: "resp-879812"
items[].​externalStatus.​requestIdstringrequired

Identifier of the fiscalization request sent.

Example: "req-123456"
items[].​externalStatus.​responseDateTimestring(date-time)required

Timestamp from the fiscalization response.

Example: "2025-07-21T10:15:30Z"
items[].​externalStatus.​successfulbooleanrequired

Indicates if the fiscalization was successful.

Example: true
items[].​externalStatus.​errorCodestring

Error code returned if the fiscalization failed.

Example: "ERR_FIS_1001"
items[].​externalStatus.​errorMessagestring

Error message returned if the fiscalization failed.

Example: "Invalid taxpayer ID."
items[].​externalStatus.​invalidRecordNumberinteger(int64)

Index of the invalid record in the request.

Example: 3
items[].​externalStatus.​retryRecommendedbooleanrequired

Indicates whether a retry is recommended.

Example: false
items[].​supplierVatNumberstring

The VAT number of the document supplier (optional).

Example: "12345678901"
items[].​supplierGlnstring

The GLN (Global Location Number) of the document supplier organization (optional).

Example: "1234567890124"
items[].​customerGlnstring

The GLN (Global Location Number) of the document customer organization (optional).

Example: "1234567890125"
items[].​customerNamestring

The name of the document customer.

Example: "Example Customer Ltd."
items[].​supplierBusinessUnitstring

The business unit of the supplier organization (optional).

Example: "Sales Department"
items[].​customerBusinessUnitstring

The business unit of the customer organization (optional).

Example: "Procurement Department"
items[].​amountstring

The total amount of the document (optional).

items[].​currencystring

The currency of the document amount (optional).

Example: "EUR"
items[].​createdstring(date-time)

The document creation timestamp.

Example: "2024-11-15T15:52:47.331Z"
items[].​modifiedstring(date-time)

The document last modification timestamp.

Example: "2024-11-17T11:26:02.850Z"
items[].​customerVatNumberstring

The VAT number of the document customer (optional).

Example: "98765432101"
items[].​documentEdiTypestring

The EDI type of the document from document data.

Example: "PLACEHOLDER"
totalElementsinteger(int64)>= 0required

Total number of inbox documents

Example: 150
totalPagesinteger>= 0required

Total number of pages

Example: 6
sizeinteger[ 1 .. 1000 ]required

Current page size

Example: 25
numberinteger>= 1required

Current page number (1-based)

Example: 1
numberOfElementsinteger>= 0required

Number of elements in current page

Example: 25
firstbooleanrequired

Whether this is the first page

Example: true
lastbooleanrequired

Whether this is the last page

Example: false
emptybooleanrequired

Whether the page is empty

Example: false
Response
application/json
{ "items": [ {} ], "totalElements": 150, "totalPages": 6, "size": 25, "number": 1, "numberOfElements": 25, "first": true, "last": false, "empty": false }

Get all fiscalization statuses for a document

Request

Returns all fiscalization statuses for the specified document ID.

Security
PublicApiKey
Bodyapplication/jsonrequired
documentIdstringrequired

The unique identifier of the document

Example: "64a1b2c3d4e5f6789012345a"
curl -i -X POST \
  https://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getAllFiscalizationStatuses \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentId": "64a1b2c3d4e5f6789012345a"
  }'

Responses

Fiscalization statuses retrieved successfully.

Bodyapplication/jsonArray [
successfulboolean

Whether the fiscalization was successful

Example: true
errorMessagestring

Error message if fiscalization failed

Example: "Invalid tax rate"
errorCodestring

Error code if fiscalization failed

Example: "TAX_RATE_ERROR"
shouldRetryboolean

Whether the fiscalization should be retried

Example: false
timestampstring(date-time)

Timestamp when the fiscalization was attempted

Example: "2024-01-15T10:30:00Z"
fiscalizationRequestIdstring

Unique identifier for the fiscalization attempt

Example: "FISK-2024-001234"
fiscalizationResponseIdstring

JIR (Jedinstveni identifikator računa) number from FINA

Example: "12345678-1234-1234-1234-123456789012"
fiscalizationTypestring

Type of fiscalization process

Enum"FISCALIZATION""FISCALIZATION_REJECTION_REPORT""FISCALIZATION_PAYMENT_REPORT""FISCALIZATION_NOT_DELIVERED_REPORT"
Example: "FISCALIZATION"
]
Response
application/json
[ { "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" } ]

Users

User account management operations

Operations

Billing

Usage metrics and billing information

Operations

ApiKeys

API key generation and management

Operations
Schemas