User verification
Document AI
Classify and read financial and company documents.
POST
/v3/document-ai/Multipart document, optional expected_details (JSON), document_type, max_age_days#What it reads
- Types: utility bill, bank statement, payslip, tax document, council tax bill, tenancy agreement, company documents, invoice, ID.
- Fields: issuer, name, address, dates and period, IBAN (validated), sort code, account number, totals, VAT and company numbers.
- Checks: the fields against
expected_details, the document's age, and signs of editing such as the PDF producer, changed dates and future dates.
bash
curl -X POST https://{{HOST}}/v3/document-ai/ -H "x-api-key: sk_test_..." \
-F [email protected] -F document_type=bank_statement -F max_age_days=90 \
-F 'expected_details={"name":"Jane Doe","postcode":"HP13 7DN"}'