extract
Reads a single PDF or photo invoice/receipt to return parsed fields, booking proposal, and a ready expense row; withholds text from unrelated documents unless read_anyway is true.
Instructions
Read one invoice or receipt (PDF or photo). Returns the document fields, which layer read them (qr / parser: / text), a booking proposal (VAT code, region, ECB rate, payment account, business share, document label, file name) and a ready expense row. If a PDF does not read like an invoice or receipt, its text is withheld unless read_anyway=true, so unrelated documents are not exposed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| read_anyway | No |