Skip to content

Get External Invoice Status

Request

Get External Invoice Status.

Security
PublicApiKey
Query
responseTypestring

When set to NEW (case-insensitive), the response uses the new fallback value NOT_STARTED for external status when external processing has not started. When absent or any other value, the legacy behavior is preserved (the raw external status is returned, which may be null).

Example:responseType=NEW
Bodyapplication/jsonrequired
documentIdstringrequired

The unique identifier of the invoice document.

Example:"6787a98e15306d37eed688a8"
curl -i -X POST \
  'https://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/documents/getExternalStatus?responseType=NEW' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentId": "6787a98e15306d37eed688a8"
  }'

Responses

Get external invoice status.

Bodyapplication/json
documentIdstringrequired

The unique identifier of the invoice document.

Example:"6787a98e15306d37eed688a8"
statusstringrequired

Status of document.

Example:"acknowledged"
internalStatusDetailsArray of objects(InternalStatusDetail)

Lista grešaka iz logRecords gdje je eventKey='generic' i eventData počinje s 'VE-'

Response
{ "documentId": "6787a98e15306d37eed688a8", "status": "acknowledged", "internalStatusDetails": [ { … } ] }