Teach an AI to code restaurant invoices to the right brand and branch in Xero
Lavoya Restaurants Group (Dubai; Joe & The Juice, Dave's Hot Chicken, Barbar and more), finance lead Ashish Gupta
Tofu extracts and codes bills using the team's own "knowledge cards" (branch mappings, tax rules, account splits) and pushes verified bills into Xero.
Xero: from $10/mo (checked prices)
Medium · or we set it up for $197
Xero, Tofu
The problem
OCR could read invoices but could not tag the right brand and branch among dozens of outlets; bookkeepers still did the thinking.
What happened
Over 13 weeks from June 2026: 11,000+ documents, 96% pushed to Xero with no re-keying, 60,000+ line items, 99.98% tagged to brand/branch; Gupta says bookkeeping time is about half (self-reported).
Quoted in the source: Lavoya Restaurants Group leadership (named in source). Source: Tofu case study (2026-09-15) · Added 2026-10-14.
How to set it up yourself
- Keep inventory outside the ledger if that is how you already run.
- Write short knowledge cards for branch names, tax and account splits.
- Start with one entity, then clone the rules to the next.
- Spot-check tagged bills before you trust auto-push.
- DIY path: paste bills into ChatGPT or Claude with the prompt below, then enter or import the coded lines into Xero; spot-check before automating.
Copy-paste prompt
Code this supplier bill for Xero. Use only our knowledge cards:
Branch mappings: {DELIVERY ADDRESS/NAME → BRAND & BRANCH TRACKING}
Tax rules: {TAX RULES}
Account splits: {e.g. food → 5000, beverage → 5010, packaging → 5020}
Return: supplier | invoice no. | date | due | brand | branch | line items with account code, tax rate and amount | total check (matches invoice total? yes/no).
If a mapping is missing, write 'NEW CARD NEEDED' with what's missing.
Bill: """{BILL TEXT}"""We set up one AI automation in your tools, live within 48 hours of getting access, for $197. No call needed. Founding price for our first 10 customers (regular $297).
One short email a day: 3 new AI use cases from real small businesses, each with its source and setup steps, plus a Tool of the Day. Free, no spam, unsubscribe anytime.
Tools used
Xero
Cloud accounting software for small businesses.
From $10/mo (Simple); Early $27/mo (regular prices; intro discounts may apply) (checked 2026-11-15)
Visit site →Some tool links may be affiliate links. Disclosure
Checked prices: Xero: from $10/mo (Simple); Early $27/mo (regular prices; intro discounts may apply) (verified 2026-11-15)
Rather not do it yourself?
The $197 Quick-Win: we set up one AI automation that saves you hours each week, in accounts you own, live within 48 hours of getting access. No call needed. Refund if it isn't live in 48 hours or isn't doing its job in the first 14 days. Founding price for our first 10 customers (regular $297). Terms.
See the $197 Quick-WinNeed more than one automation or ongoing care? Bigger setups: $149/mo with setup included (6-month minimum), or $497 pay-once. Satisfaction guarantee: we'll fix it until it works. Pay-once setups: or we refund your setup fee. $149/mo plan: cancel in the first 30 days and we refund your first month. We reply within 1 business day.
Related for Restaurants
Let customers build catering orders by chatting with an AI that remembers past events
An AI catering assistant (AIA) takes orders through conversation, using headcount, budget and event type for recommendations and quotes, …
Draft every review reply with AI, then approve each one before it posts
Marqii's Suggested Review Response feature drafts on-brand replies (positive, negative or neutral) using the restaurant's tone and custom…
Run a holiday pre-order campaign with AI agents taking BBQ orders
AI agents took advance takeout orders for the holiday.
Running something like this in your business? Submit your use case and we'll credit you with a link.
Get 3 new AI use cases every morning
One email every morning: 3 new AI use cases from real small businesses, each linked to its source, plus a Tool of the Day. Free. No spam, unsubscribe anytime. Privacy
Rather have one set up for you? The $197 Quick-Win.