Document Types
Reference for every DocuTray document type — API codes, JSON schemas, and extracted field structures for invoices, payroll, statements, and more.
A document type tells DocuTray what to extract from a document and how to
shape the result. Each type defines a JSON schema, a stable API code (the
document_type_code you pass to the convert
endpoint), and the extraction hints that guide the OCR pipeline. When you
convert a file against a type, you always get back the same structured fields —
no matter the layout of the underlying scan.
The built-in types below cover common Chilean and international business documents, grouped by domain. Each page documents the type's API code, its response structure, and the individual fields it returns. Need something that isn't listed? You can define your own with the Create a document type guide, or validate extracted data against any schema with the Document Types operations.
Financial Documents
8-Column Balance Sheet
Current Account Statement
Credit Card Statement
Promissory Note
Transbank Voucher
Tax Documents
Labor Documents
Medical Documents
International Commerce Documents
Knowledge Bases
Manage Docutray knowledge bases — store documents with vector embeddings for semantic search and retrieval, with multi-language SDK and REST examples.
Electronic Invoice
Extract Chilean SII electronic invoices with Docutray OCR — issuer, recipient, and line items. JSON schema, field structure, and API code (factura).