Card purchases and expense claims.
A photo of a receipt becomes a posted expense, tied to its card line or paid back to the employee. The AI agent reads the photo; code checks it against the card line and every receipt used before; the owner approves above the limit, the accountant posts.
- Company
- Demo Manufacturer LLC and Demo Manufacturer US Inc.
- Starts when
- An employee pays for the company
- How often
- Every working day, one run per receipt
The diagram goes on to the side. Drag it, or use the two buttons.
Steps
Steps in order
| # | Step | Done by | Tolerance | Rollout stage |
|---|---|---|---|---|
| 1 | Employee sends the receipt Selected | Employee | Photo, sum, date, payer and purpose all present | 6 |
| 2 | AI agent reads the receipt Selected | Receipt agent · AI agent | No check at this step | 6 |
| 3 | Code checks the expense Selected | Expense checks · Automation, no AI | Receipt used once - Odoo only warns, and only about the same file or the same employee, kind, date and sum, while this check also finds another photo, another employee and a bill and 4 more | 6 |
| 4 | Owner approves the expense Selected | Owner | None - the owner decides | 6 |
| 5 | Accountant posts the expense Selected | Accountant | As in the table of kinds and 1 more | 6 |
| 6 | Code matches cards and claims Selected | Expense checks · Automation, no AI | Sum exact in the currency of the card, one line to one expense and 2 more | 6 |
| 7 | Owner signs the repayment Selected | Owner | Exact | 6 |
Rollout stage: 6 · Month-end close and approvals.
Before
How it was done before
Receipts lay in an envelope until the end of the month, and were typed into a Google Sheet or QuickBooks Online from paper.
Where it breaks without control
- One receipt is claimed twice - once as a card purchase, once as own money.
- The supplier also sends an invoice for the same purchase, and it is booked again as a bill.
- A purchase is split into two receipts of one shop and one day, each under the owner's limit.
- A card line with no receipt is found when the employee no longer remembers what it was.
Controls
What is checked, and who signs
Checks
| Step | Compared with | Tolerance | On a difference |
|---|---|---|---|
| 1 · Employee sends the receipt | The form against the fields it must hold | Photo, sum, date, payer and purpose all present | Our form cannot be sent without them, unless the employee marks the receipt as lost and writes what was bought and why; such an expense goes to the owner whatever the sum. |
| 3 · Code checks the expense | What was read against what was typed; seller, receipt number, date and sum against every earlier expense, card or own money, and every bill; the sum against the card line; the date against the trip; the kind against the post; purchases from one seller on one day, added up, against the limit | Receipt used once - Odoo only warns, and only about the same file or the same employee, kind, date and sum, while this check also finds another photo, another employee and a bill; sum exact, in the currency of the card or of the claim; tax on it within 0.01 of the rate on the tax record; date inside the trip, or in this month or the one before; limit 10,000 UAH or its equivalent | A receipt used before is refused with a link to its first use. A field read otherwise than typed, or a sum that differs from the card line, goes to the accountant's exception queue, and a card line that has not come yet is looked for again in step 6. A wrong kind, date or person goes to the owner with the rule it broke. |
| 4 · Owner approves the expense | The expense against its purpose and the limit | None - the owner decides | A refused claim is not paid back. The accountant books a refused card purchase as a debt of the employee to the company. A change of the sum after the approval cancels it. |
| 5 · Accountant posts the expense | Account and tax against the kind of purchase; the buyer named on the receipt against the company | As in the table of kinds; tax deducted only with the company named on the receipt | The accountant corrects the account, or posts it without deducted tax. Our module sets an approver on every expense, because Odoo approves by itself one that has none. Only the owner may approve an own expense, and it is marked as such. |
| 6 · Code matches cards and claims | Each card line against one posted expense; each repayment against what is open to the employee | Sum exact in the currency of the card, one line to one expense; a card line with no receipt after 5 days is listed; a repayment never above the open claims | A listed line stays on the account for card lines without a receipt, where Bank reconciliation put it. After 30 days the owner decides whether it becomes a debt of the employee. Odoo shows a card expense as paid at once, so here it counts as matched only with its card line. |
| 7 · Owner signs the repayment | The payment against the posted claims - employee, account on the employee record, sum and currency | Exact | The owner does not sign; the accountant corrects the payment in Odoo and makes a new file. |
Duties by role
What the action log records
| Step | Record | What is written |
|---|---|---|
| 2 · AI agent reads the receipt | Agent action log | One line per field written |
| 3 · Code checks the expense | Agent action log | One line per check result |
Connected processes
Where the work comes from and where it goes
Work goes to
| Process | What passes | At step |
|---|---|---|
| Bank reconciliation | A card line tied to its expense | Code matches cards and claims |
| Bank reconciliation | A signed repayment, to be found on the statement | Owner signs the repayment |
| Fixed assets | A purchase marked as equipment | Accountant posts the expense |
| Month-end close | Card lines without a receipt, and claims not paid back | Code matches cards and claims |
Work comes from
No other process hands work to this one. It starts from its own trigger.
Want this process checked on your data?
Tell us where it goes wrong.