Recipe: audit invoices
Find duplicate invoices, unusually large totals and missing details across everything in your workspace, with each finding linked to the document and page it came from. For finance and audit teams.
Before you start
Invoices are in the workspace and have been read (by a Spec, a process, or talonic_extract). Set up a workspace if not.
Tell your agent
"Audit our 2026 invoices: any vendor that billed the same amount twice, any invoice over 25,000 EUR, and any without an invoice number. Give me a table with a link to each document."
What the agent does
- Duplicates.
talonic_ask: "Which vendors invoiced the same amount more than once in 2026?" The answer cites each pair of invoices. - Large totals.
talonic_find_datafor "invoice total" to get the field name, thentalonic_filterwithgt 25000. Numeric comparisons need a number field; the agent checks first. - Missing numbers.
talonic_filterwithis_emptyon the invoice-number field. - Evidence. For any finding you question,
talonic_field_valuesortalonic_extractwithinclude_provenanceshows the page and passage the value came from.
Invoices over 25,000
{
"conditions": [
{ "field": "invoice.total", "operator": "gt", "value": 25000 },
{ "field": "invoice.date", "operator": "between", "value": "2026-01-01", "value_to": "2026-12-31" }
]
}Reading the results
- Every answer comes with citations; open them before acting on a finding.
- Values with a confidence below 0.7 are worth a second look.
- If a filter returns
warnings[](for example a field name it could not match), the agent tells you instead of guessing.
Limits and cost
- Filters, field values and look-ups are free; each question uses credits.
- Results include only documents you are allowed to see.