explain_coding_decision
ChatGPTWhy a line item was coded the way it was: method, reasoning, business rule, and the vendor's active rule.
get_cdm_schema
ChatGPTThe canonical data model (CDM Objects page): documents, canonical objects, fields and what each field is linked to in the connected ERP.
get_invoice
ChatGPTHeader, coded line items and the latest match result for one invoice (by invoice_id).
get_kpi_summary
ChatGPTYour dashboard numbers (invoices processed, lines classified, average confidence, pending, needs attention) plus organization-wide KPIs and the top vendors.
get_match_report
ChatGPTMatch reports (2-way/3-way checks, policy, outcome) for an invoice. Matching runs when a bill is posted, so an invoice that has never been posted has no report yet; there is no separate match step to run.
get_pipeline_status
ChatGPTProcessing status/progress of an uploaded invoice (session id = invoice_id).
get_purchase_order
ChatGPTOne purchase order with its lines, goods receipts and the bills already raised against it.
list_billing_rules
ChatGPTBilling composition rules grouped by decision: where charges post (Items/Expenses tab), which lines are billed, what the bill is drawn from. Optional kind filter.
list_coding_rules
ChatGPTVendors on the coding engine with their active rule (plain-English rule, signal, validation state). Optional vendor_id filter.
list_invoices
ChatGPTList processed invoices in your organization (your own unless your role can read all). Filters: status, vendor substring, ISO date range, limit (max 200).
list_posted_bills
ChatGPTVendor bills posted from InvoiceIQ, most recent first, with their lines and match outcome.
list_posting_fields
ChatGPTThe registry of bill header/line fields (built-in plus custom) that header rules can set.
list_posting_log
ChatGPTEvery attempt to post a bill to the ERP, most recent first: who, which invoice, outcome, bill id, match policy. Optional invoice_id filter.
list_purchase_orders
ChatGPTPurchase orders in the connected ERP: number, vendor and total.
post_bill
ChatGPTPost a completed invoice to the ERP as a vendor bill. DESTRUCTIVE and not reversible here. Without confirm=true it posts nothing and returns a preview of the exact bill with a confirmation_required result; with confirm=true it posts that bill. The match policy (2-way/3-way) runs as part of posting and the ERP refuses bills whose PO is not billable (e.g. goods not received); the result reports the match outcome.
search_invoices
ChatGPTAnswers a plain-English question about invoice spend by running a read-only, validated SQL query over the analytics tables of your organization.
upload_invoice
ChatGPTUploads a PDF (base64) and starts the extraction/coding/verification pipeline. Returns the new invoice_id; its processing status is reported by get_pipeline_status.
explain_coding_decision
Claudeget_cdm_schema
Claudeget_invoice
Claudeget_kpi_summary
Claudeget_match_report
Claudeget_pipeline_status
Claudeget_purchase_order
Claudelist_billing_rules
Claudelist_coding_rules
Claudelist_invoices
Claudelist_posted_bills
Claudelist_posting_fields
Claudelist_posting_log
Claudelist_purchase_orders
Claudepost_bill
Claudesearch_invoices
Claudeupload_invoice
Claude