Recipes for real document work
End-to-end examples for invoices, statements, contracts, forms and scanned packages: the schema, the calls and what comes back.
All cookbooks
- Invoices to your ERP: header fields and line items: Extract vendor, dates, totals and every line item with its source box, then post the JSON to your ERP through a signed webhook.
- Bank statements: every transaction and a balance check: Turn multi-page statements into transaction rows, then recompute opening and closing balances in code instead of trusting the model.
- Split a scanned mailroom batch into separate documents: One 50-page scan with invoices, delivery notes and contracts in, page ranges for each document out, described in plain language.
- Contract review: risky terms before you sign: Ask the auditor to read a contract and its invoice as the buyer: key figures, risks by severity with their place on the page, and a reply draft.
- Three-way match: invoice, purchase order and delivery note: Cross-check amounts, PO numbers, tax IDs and dates between documents, and see every mismatch on the page it comes from.
- Fill a PDF form from JSON and reuse the template: Find the fields of any form, including flat scans without form widgets, fill them from your data and keep the layout as a template.
- Update a quote with one instruction: Raise prices, change terms or fix a name across a document in plain language; dependent totals are recalculated and the layout stays.
- Onboarding files: sort pages and pull ID fields: Label each page of an onboarding package, then extract names, numbers and expiry dates from the identity pages only.
- From an email inbox to a spreadsheet with n8n: Pick up invoice attachments as they arrive, extract the fields with the Emberleaf node and append a row to Google Sheets.