Skip to content

DocumentGetStatusResponse

documentIdstringrequired

The unique identifier of the invoice document.

Example:"6787a98e15306d37eed688a8"
documentSenderNamestringrequired

The name of the sender of the document.

Example:"Example Sender Ltd."
documentReceiverNamestringrequired

The name of the receiver of the document.

Example:"Example Receiver Ltd."
documentSenderVatNumberstringrequired

The VAT number of the sender without country prefix.

Example:"12345678910"
documentReceiverVatNumberstringrequired

The VAT number of the receiver without country prefix.

Example:"98765432100"
documentNumberstringrequired

The document number of the invoice.

Example:"INV-2023-001"
internalStatusstringrequired

The internal status of the document. Fallback value depends on the responseType query parameter: IN_PROCESS when responseType=NEW (document is still being processed and has no final status yet), UNKNOWN otherwise (legacy behavior).

Example:"NEW|OK|FAILED|IN_PROCESS|UNKNOWN"
externalStatusstringrequired

The external status of the document. Fallback value depends on the responseType query parameter: NOT_STARTED when responseType=NEW (external processing has not started), UNKNOWN otherwise (legacy behavior).

Example:"SENT|DELIVERED|ACKNOWLEDGED|NOT_STARTED|UNKNOWN"
fiscalizationDetailsobject(FiscalizationResponse)

Details from the latest fiscalization attempt (optional)

reportingDetailsobject(ReportingResponse)

Details from the latest reporting attempt (optional)

internalStatusDetailsArray of objects(InternalStatusDetail)

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

as4Deliveryobject(AS4Delivery)

AS4 delivery information

{ "documentId": "6787a98e15306d37eed688a8", "documentSenderName": "Example Sender Ltd.", "documentReceiverName": "Example Receiver Ltd.", "documentSenderVatNumber": "12345678910", "documentReceiverVatNumber": "98765432100", "documentNumber": "INV-2023-001", "internalStatus": "NEW|OK|FAILED|IN_PROCESS|UNKNOWN", "externalStatus": "SENT|DELIVERED|ACKNOWLEDGED|NOT_STARTED|UNKNOWN", "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", "internalRequestId": "id-abc123-xyz789" }, "internalStatusDetails": [ { … } ], "as4Delivery": { "outboundMessageId": "69b93ff0e0ccaf1539da69b6_69b93ff752f40124887701da_20260317_115035", "intermediaryName": "FINA", "intermediaryVatNumber": "HR12345678910", "as4ReceiptMessageId": "69b93ff752f40124887701da_69b93ff0e0ccaf1539da69b6_20260318_115035", "as4ErrorMessage": "MessageNotFoundException: Message not found", "as4ErrorMessageTime": "2024-03-17T11:50:35Z" } }