Skip to main content

InvoiceOriginResponseDto

Describes how an invoice entered the system.

channelstringrequired

The channel the invoice arrived through.

Possible values: [Api, EInvoice, Document]

Example: Document
receivedAtdate-timerequired

When the invoice was first received.

Example: 2026-08-10T09:12:04Z
enginestringnullable

The engine that read the document, for the document channel. Reported here rather than only alongside the document, since an invoice can be read by an engine that leaves no retrievable document behind.

Possible values: [DocumentAI, AzureFormRecognizer]

Example: DocumentAI
format object

The format an invoice was submitted in.

mimeTypestringnullable

The mime type of the submitted invoice.

Example: application/pdf
eInvoiceStandardstringnullable

The e-invoice standard, present for electronic invoices only.

Example: UBL
document object

The Document AI document an invoice was read from.

documentIdstringrequired

The Document AI document identifier.

Example: 7f3c1e88-4a2b-4c19-9f0e-1d2c3b4a5e6f
enginestringrequired

The engine that read the document.

Possible values: [DocumentAI, AzureFormRecognizer]

Example: DocumentAI
urlstringnullable

URL of the document's metadata in Document AI. Omitted when the extraction service reported no URL. Requires access to the Document AI product, and the document may have been removed independently of the invoice.

Example: https://api.kaunt.com/v1/tenants/05ed0ffa-1bf5-4bd1-9970-df7a78a948fe/companies/acme/documentai/documents/7f3c1e88-4a2b-4c19-9f0e-1d2c3b4a5e6f
fileUrlstringnullable

URL for downloading the original document contents. Omitted with Url.

Example: https://api.kaunt.com/v1/tenants/05ed0ffa-1bf5-4bd1-9970-df7a78a948fe/companies/acme/documentai/documents/7f3c1e88-4a2b-4c19-9f0e-1d2c3b4a5e6f/file
InvoiceOriginResponseDto
{
"channel": "Document",
"receivedAt": "2026-08-10T09:12:04Z",
"engine": "DocumentAI",
"format": {
"mimeType": "application/pdf",
"eInvoiceStandard": "UBL"
},
"document": {
"documentId": "7f3c1e88-4a2b-4c19-9f0e-1d2c3b4a5e6f",
"engine": "DocumentAI",
"url": "https://api.kaunt.com/v1/tenants/05ed0ffa-1bf5-4bd1-9970-df7a78a948fe/companies/acme/documentai/documents/7f3c1e88-4a2b-4c19-9f0e-1d2c3b4a5e6f",
"fileUrl": "https://api.kaunt.com/v1/tenants/05ed0ffa-1bf5-4bd1-9970-df7a78a948fe/companies/acme/documentai/documents/7f3c1e88-4a2b-4c19-9f0e-1d2c3b4a5e6f/file"
}
}