Automated + manual payment-to-invoice matching
A complete payment-to-invoice reconciliation workflow that combines automated and manual matching. Mode 1 (Full Reconciliation) runs the 6-pass reconciliation agent first — exact amount, reference number, cross-reference, approximate FX, amount grouping, and Haiku fuzzy matching — then analyzes what remains and proposes manual matches for complex patterns like N:N splits and partial payments. Mode 2 (Quick Manual Match) lets you directly apply a payment to specific invoices with split amounts and rounding write-offs. Mode 3 (Health Check) provides a read-only status dashboard showing matched, partial, and unmatched counts with aging analysis and next-action recommendations.
/reconcileExecute the complete reconciliation: assess current state, run the automated 6-pass matching agent, analyze remaining unmatched items grouped by party, propose manual matches (1:1, 1:N, N:1, N:N, partial), apply confirmed matches, categorize unresolvable items, and show before/after summary with match rate.
/match-paymentDirectly match a specific payment to one or more invoices. Search for the payment, list open invoices for the same party, specify applied amounts per invoice, preview the match with status changes, and apply with confirmation. Supports partial matching and rounding write-offs up to $100.
/reconciliation-statusRead-only status dashboard showing AP and AR payment reconciliation breakdown (matched, partial, unmatched), open invoice counts, aging of oldest unmatched items, and recommended next action.
Assess current state — load unmatched payment and open invoice counts for AP and AR
Run automated reconciliation agent (6-pass matching algorithm)
Review agent results — how many matched, what remains unmatched
Group remaining unmatched items by party (vendor/customer)
For each party: load payments + invoices, propose manual matches using 6 strategies
Present match proposals as tables with amounts, logic explanation, and differences
User reviews and confirms matches (one confirmation per party batch)
Apply confirmed matches via submit("reconciliation", "match", {...})
Categorize unresolvable items (missing bills, unknown parties, overpayments)
Show before/after summary with total match rate
Identify the payment (by ID or search)
List open invoices for the same party with amounts due
User specifies which invoice(s) and amounts to apply
Preview the match — show status changes for payment and each invoice
Apply after confirmation
Every run must pass these checks before proceeding. If any checkpoint fails, the workflow stops and reports the issue.
Legal entity exists and has posted transactions
Agent run completed successfully (Mode 1)
All proposed matches are valid — same party, amounts within limits, invoice has amount_due > 0
User has reviewed and confirmed match preview before applying
Post-reconciliation counts match expected changes
Structured knowledge files that drive the plugin's logic. These contain formulas, templates, and regulatory rules — not hardcoded values.
matching-strategies.md
Six matching strategies in priority order: exact 1:1, partial, 1:N split, N:1 group, N:N complex, rounding write-off — with decision rules and examples
reconciliation-types.md
AR vs AP scope configuration, submit payload format, financial update behavior, and audit trail structure
troubleshooting.md
Common issues: no matches found, tax payments without bills, rounding differences, party mismatches, agent failures, and multi-currency FX handling
This plugin is designed to work out-of-the-box with the Artifi MCP server for full automation — Claude fetches your data, runs calculations, validates results, and submits entries automatically.
You can also download and adapt it to your own needs. The skills, commands, validation logic, and reference data are all open source. Swap the MCP tool calls for your own backend, or use the reference files as standalone knowledge resources for your Claude projects.
Subscribe to new posts
Get notified when we publish new insights on AI-native finance.