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

Users

User account management operations

Operations

Billing

Usage metrics and billing information

Operations

ApiKeys

API key generation and management

Operations
Schemas

DocumentInboxEnhancedResponse

documentIdstringrequired

The unique identifier of the invoice document.

Example: "6787a98e15306d37eed688a8"
documentSenderNamestringrequired

The name of the sender of the document.

Example: "Example Sender Ltd."
documentNumberstringrequired

The document number of the invoice.

Example: "INV-2023-001"
supplierVatNumberstring

The VAT number of the document supplier (optional).

Example: "12345678901"
supplierGlnstring

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

Example: "1234567890124"
customerGlnstring

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

Example: "1234567890125"
customerNamestring

The name of the document customer.

Example: "Example Customer Ltd."
supplierBusinessUnitstring

The business unit of the supplier organization (optional).

Example: "Sales Department"
customerBusinessUnitstring

The business unit of the customer organization (optional).

Example: "Procurement Department"
amountstring

The total amount of the document (optional).

Example: "150.75"
currencystring

The currency of the document amount (optional).

Example: "EUR"
createdstring(date-time)

The document creation timestamp.

Example: "2024-11-15T15:52:47.331Z"
modifiedstring(date-time)

The document last modification timestamp.

Example: "2024-11-17T11:26:02.850Z"
customerVatNumberstring

The VAT number of the document customer (optional).

Example: "98765432101"
documentEdiTypestring

The EDI type of the document from document data.

Example: "PLACEHOLDER"
{ "documentId": "6787a98e15306d37eed688a8", "documentSenderName": "Example Sender Ltd.", "documentNumber": "INV-2023-001", "supplierVatNumber": "12345678901", "supplierGln": "1234567890124", "customerGln": "1234567890125", "customerName": "Example Customer Ltd.", "supplierBusinessUnit": "Sales Department", "customerBusinessUnit": "Procurement Department", "amount": "150.75", "currency": "EUR", "created": "2024-11-15T15:52:47.331Z", "modified": "2024-11-17T11:26:02.850Z", "customerVatNumber": "98765432101", "documentEdiType": "PLACEHOLDER" }

DocumentInboxListResponse

itemsArray of objects(DocumentInboxEnhancedResponse)required

List of enhanced inbox documents.

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[].​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).

Example: "150.75"
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)required

Total number of inbox documents

Example: 150
totalPagesintegerrequired

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
{ "items": [ {} ], "totalElements": 150, "totalPages": 6, "size": 25, "number": 1, "numberOfElements": 25, "first": true, "last": false, "empty": false }

FiscalizationResponse

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