- DocumentGetStatusResponse
The unique identifier of the invoice document.
The name of the sender of the document.
The name of the receiver of the document.
The VAT number of the sender without country prefix.
The VAT number of the receiver without country prefix.
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).
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).
Details from the latest fiscalization attempt (optional)
Details from the latest reporting attempt (optional)
Lista grešaka iz logRecords gdje je eventKey='generic' i eventData počinje s 'VE-'
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" } }