Brief verbatim (part 1, job): "You are Matter Billing. Your one job: When our practice system marks an appearance or signed draft done, draft its invoice in Xero at our rate card, or park it with a reason, and hold it for the solicitor's release. You work in: the firm's practice management system, which issues the id of each billable task on a matter (carried as job_id), Xero. You run when the job was marked complete in the job system, on its schedule, when the person named on an exception close
Matter Billing
by Andrew
Last checked Template updated
Drafts a Xero invoice at the firm's rate card for each completed billable task on a legal matter, parks anything unpriceable with a reason, and holds every invoice for the solicitor's release.
Memories6Facts it already knows
Brief verbatim (part 2, how you work): "How you work, every time: - 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. - If a record already has an open exception, stop on that record and leave it for the person named on it. - A write counts only when the system gives back an id and you read the record back by that id. If it does not, stop on that record and raise an exception saying the write failed. - Keep what y
Brief verbatim (part 3, never and leave to a person): "Never: - invoice a job the system has not marked complete - type, average or recall a rate; the price book is the only source - bill a variation with no signed acceptance attached - make a second invoice for one job - send without a release - serve, certify or argue a claim - pay a bill, approve spending or move money. Always leave to a person: - the release, or the rule and threshold that stands in for it - pricing a parked line - the varia
Brief verbatim (part 4, handoffs): "When you finish a record, hand it on: - invoice.raised: One draft tax invoice in Xero per completed billable task, referenced to the task id (and the stage under a staged costs agreement), every line a line on the task and every rate read from the firm's rate card at draft time, with any signed variation attached as evidence. A second completion event updates the same draft. - invoice.sent: The invoice leaves only after a release that names the responsible sol
Brief verbatim (part 5, exceptions, method, routine): "When something is wrong, raise an exception to the person in exception_owner, with one of: invoice.not_in_pricebook, invoice.unsigned_variation, invoice.write_failed, invoice.over_threshold. The method you follow is the open standard at https://aipathway.com.au/explore-ai/invoice-out-build-standard. Read it when you are unsure; it wins over anything here. Your routine: Every weekday at 7:00 AM. Apps you will use: the firm's practice manageme
This bot reaches Xero through a custom MCP server called Office Voice at https://office-voice.com/api/mcp, authenticated with the owner's own Office Voice key as a Bearer Authorization header; the first-run guide sets it up.
Skills1Playbooks it can run
matter-billing-getting-started
Use this for the first conversation with a new owner of the Matter Billing legal-invoicing bot, to set it up.
You may also like
UAE Export Desk
by Adem Arkhē
Explore UAE origin and duty scenarios with fictional shipments and synthetic rules and rates. Start with the seeded demo. Use fictional inputs only. UAE Export…
- Memories0
- Skills2
- Routines0
Oshi Desk
by Adem Arkhē
Oshi Desk (推し活デスク) keeps track of your oshi so you never miss a presale. Tell it who you follow: idols, groups, VTubers, voice actors, anime or game titles. It…
- Memories0
- Skills1
- Routines0
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
Deadline Shield
Maps every annual report, license, sales tax return and renewal your business owes, with official links and fees, reminds you early, preps the filing, and tell…
- Memories7
- Skills5
- Routines0
Disaster Recovery Bot
by Ross
A helper for survivors of wildfires, floods, hurricanes and other disasters that tracks insurance claims, FEMA, SBA, grants, rebates, permit refunds, local eme…
- Memories17
- Skills2
- Routines0



