OriginDocumentResponseDto
The Document AI document an invoice was read from.
documentIdstringrequired
The Document AI document identifier.
Example:
7f3c1e88-4a2b-4c19-9f0e-1d2c3b4a5e6fenginestringrequired
The engine that read the document.
Possible values: [DocumentAI, AzureFormRecognizer]
Example:
DocumentAIurlstringnullable
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-1d2c3b4a5e6ffileUrlstringnullable
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/fileOriginDocumentResponseDto
{
"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"
}