Tools provided
Tools the agent exposes — your AI client calls them automatically when it needs them.
- run_full — Orchestrated path: process a provided invoice batch end-to-end — extract, three-way match, cost centre and GL coding, VAT check — and return DRAFT ERP records, approval requests and the exception list.
- extract_invoice_data — Parse line items, subtotal, VAT and totals from a provided invoice batch — the extraction step on its own.
- match_to_purchase_orders — Three-way match each invoice against its purchase order and return the match status and the specific mismatches.
- assign_gl_codes — Assign a cost centre and GL account code to each invoice in the batch.
- check_vat — Cross-check the declared VAT against the computed VAT for each invoice and report the discrepancies.
- list_exceptions — Return only the exception list — the invoices that need human review, with the reason for each.
- prepare_erp_drafts — Build DRAFT ERP vendor-bill records and routed approval requests. Never posts or pays anything.
- analyze — Run pure deterministic analysis over a provided invoice batch with no model call and return scored per-invoice findings.
- list_capabilities — List the agent's static capabilities: the available tools and a short description of the AP pipeline. Useful for discovery.
- plan_inputs — Plan the inputs for a tool: returns the clarifying questions, the JSON schema and a ready-to-edit example.
- discover_intent — Understand your goal and co-design the exact input through clarifying questions before running.
- open_form — Opens the guided form to collect the invoice batch and purchase orders interactively. The entry point for running the agent on your own data.
- run_form — Internal: invoked by the guided form when the user submits. Not for direct use.