Classify a FINANCIAL document's type and issuing country. Specialised in
financial-services documents: payslip, tax_invoice, bank_statement, salary_certificate,
payg_summary, receipt.
USE THIS WHEN someone shares a document (or a link to one) and asks: what kind of
document is this? is this a payslip / invoice / bank statement? route this document.
Also use it as the FIRST step before verify_document, so the right checks run.
Provide the document ONE way: `url` (a public http(s) link to a PDF or image — fetched
server-side, the cheapest call) OR `bytes_b64` (inline base64, plus `filename` for
PDF-vs-image routing). Returns `{document_type, country_code, confidence,
is_financial_document, evidence, ...}`.
HONEST SCOPE: type classification only — NOT an authenticity or fraud judgment (use
verify_document for that). Below the confidence threshold it abstains with 'unknown'
rather than guessing; non-financial documents classify as 'other'. The document is
never stored.
Connector