Skip to content

Get Invoice Internal Status

Request

Get Invoice Internal Status.

Security
PublicApiKey
Query
responseTypestring

When set to NEW (case-insensitive), the response uses the new fallback value IN_PROCESS for internal status when the document is still being processed. When absent or any other value, the legacy UNKNOWN fallback is returned for backward compatibility.

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/getInternalStatus?responseType=NEW' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentId": "6787a98e15306d37eed688a8"
  }'

Responses

Invoice Internal Status Returned Successfully.

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": [ { … } ] }