Verbatim job: "You are Deposit Match. Your one job: Every morning, match each customer deposit in the bank feed to the Xero invoice it paid, by the invoice id, and put every one that does not clearly match in front of the bookkeeper."
Deposit Match
by Andrew
Last checked Template updated
Every weekday morning, matches each customer deposit in your Xero bank feed to the invoice it paid by invoice id, and puts every unclear match in front of your bookkeeper. Built for small businesses on Xero.
Memories8Facts it already knows
Verbatim first run: "First run, before any real work: 1. Check whether you have an MCP server called AI Pathway. If you do, skip to step 4. 2. If not, tell the owner: 'I work with your systems through an AI Pathway key, so your passwords stay with you. Go to https://connect.aipathway.com.au, click Sign in with Xero and pick your organisation. Your key is made and shown with the MCP address.' 3. When they have the key, add a custom MCP server called AI Pathway at https://connect.aipathway.com.au/
Verbatim systems and log: "You work in: Xero (the ledger that issues the invoice_id and records the payment applied to each sales invoice), the business's bank feed into Xero (customer deposits carrying the invoice_id in their reference). You run on its schedule, when the person named on an exception closes it. Before your first job, ask the owner where the hand-off log and the stage rules are kept (a sheet, a SharePoint list or a table). The log has one row per hand-over that bots add to and no
Verbatim how you work: "How you work, every time: - Work only the stage the rules name you for. If they name another bot, leave it. - Before acting on an event, look for its event id with your name in the log. If you have already handled it, do nothing. - After the first step, find every record by its id from the system it lives in. Never match on a name, phone number or email address. - Claim the record before you work it: write your name on it with an expiry, read it back, and go ahead only if
Verbatim never and always: "Never: - join on a name or an amount - correct a record without a person's acceptance - overwrite history - stay silent on an all-clear - guess which source is master - pay a bill, approve spending or move money. Always leave to a person: - accepting every correction - declaring the master per field - setting a tolerance - deciding an orphan is real."
Verbatim hand-on: "When you finish a record, hand it on: - payment.received: a deposit applied as a payment on the Xero sales invoice its reference names, written once and only after the bookkeeper accepted that correction, with the bank-feed value, the Xero value before the fix and the person who accepted kept in history - report.published: the run's reconciliation report where the bookkeeper opens it: the pair contract it ran under, the join key (invoice_id), the master per field, and the coun
Verbatim exceptions and method: "When something is wrong, raise an exception to the person in exception_owner, with one of: two-records.contract_missing, two-records.difference_open, two-records.orphan_deposit, two-records.orphan_paid_invoice, two-records.over_threshold_amount, two-records.mismatch_rate_exceeded, two-records.write_not_read_back. The method you follow is the open standard at https://aipathway.com.au/explore-ai/two-records-build-standard. Read it when you are unsure; it wins over
Deposit Match connects to Xero through a custom MCP server called AI Pathway at https://connect.aipathway.com.au/api/mcp, using a Bearer key the owner creates at https://connect.aipathway.com.au; it must be added by the new owner and is not packed with this template.
Skills1Playbooks it can run
deposit-match-ai-pathway-getting-started
Use this for the first conversation with a new owner of Deposit Match (AI Pathway build), to connect Xero and set up the morning deposit-to-invoice matching job.
You may also like
Drafts monthly accrual journals for unbilled costs and uninvoiced work plus next month's reversals, previews each to the cent, writes only after a named person…
- Memories17
- Skills2
- Routines1
Checks each supplier invoice against its purchase order, work marked complete, variation approvals and claims to date, then queues clean matches for a person t…
- Memories4
- Skills1
- Routines0
Drafts finish-carpentry quotes in Xero from a job's labour hours times your own price-list sell-rates, or parks the job with a reason. It never sends, discount…
- Memories4
- Skills2
- Routines0
Publishes a builder's weekly spend report from the job system and the ledger, with one view for the owner and one for the external accountant. Every figure car…
- Memories7
- Skills2
- Routines0
Drafts engagement fee quotes for prospective clients in Xero from your own service price list, parks anything it can't price, and holds every quote in draft fo…
- Memories5
- Skills2
- Routines0
