SuccessResultDocumentErrorResultInvoiceBatchResultSuccessResultResponse
Wraps a successful API response with the result payload.
A unique ID of the request
fb0ccbbc-62bc-447f-a47e-02b490e25690Indicates whether the request was successful. Always true for success responses.
trueresult object
Represents the result of a batch operation, containing both succeeded and failed items.
succeeded object[]
The items that were processed successfully.
The unique identifier of the created resource.
The URL link to access the created resource.
The external invoice identifier from the request.
documentExtractionInfo object
Information about the document extraction request. This is only set if Kaunt Document AI is used as the document extraction service.
The Document AI Document ID for the sent document
The URL to check the status of the document extraction request
failed object[]
The items that failed during processing.
The error message describing why the operation failed.
The external invoice identifier from the request.
{
"correlationId": "fb0ccbbc-62bc-447f-a47e-02b490e25690",
"isSuccess": true,
"result": {
"succeeded": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"link": "string",
"inputIndex": 0,
"statusCode": 0,
"externalInvoiceId": "string",
"documentExtractionInfo": {
"documentId": "string",
"extractionUrl": "string"
}
}
],
"failed": [
{
"error": "string",
"inputIndex": 0,
"statusCode": 0,
"externalInvoiceId": "string"
}
]
}
}