Supplier invoice to payment.
A supplier's invoice, sent by email or WhatsApp or found on paper with the goods, becomes a posted bill and a signed payment. The AI agent only reads and proposes; code checks every figure against the purchase order, the receipts, earlier bills and the verified bank account; the accountant posts; the owner approves above the monthly limit and signs every payment.
- Company
- Demo Manufacturer LLC
- Starts when
- An invoice comes by email, WhatsApp or on paper
- How often
- Every working day, one run per invoice
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 | Supplier sends the invoice Selected | Supplier | No check at this step | 2 |
| 2 | Code puts every invoice into one queue Selected | Invoice intake · Automation, no AI | Exact and 1 more | 2 |
| 3 | AI agent reads the invoice, drafts the bill Selected | Invoice agent · AI agent | No check at this step | 2 |
| 4 | Code checks the draft bill Selected | Bill checks · Automation, no AI | Price within 0.5 % of the order line and 6 more | 2 |
| 5 | Accountant reviews and posts the bill Selected | Accountant | No open difference | 2 |
| 6 | Owner approves payment above the limit Selected | Owner | Limit 100,000 UAH per supplier per calendar month at the NBU rate of the day and 1 more | 6 |
| 7 | Accountant prepares the payment Selected | Accountant | Approval present wherever the limit needs it and 3 more | 6 |
| 8 | Owner signs the payment in the bank Selected | Owner | Exact | 6 |
Rollout stage: 2 · AI agent on supplier invoices; 6 · Month-end close and approvals.
Before
How it was done before
The invoice was printed, compared with the order in a Google Sheet by eye, and typed into the bank client. One sent by WhatsApp stayed in the chat of whoever received it.
Where it breaks without control
- The same invoice sent by email and again by WhatsApp, with a dash or a zero more in its number, is paid twice.
- A price or a quantity above the order goes through, because nobody has the order open beside the invoice.
- New bank details arrive in a letter or a message and are typed straight into the payment.
Controls
What is checked, and who signs
Checks
| Step | Compared with | Tolerance | On a difference |
|---|---|---|---|
| 2 · Code puts every invoice into one queue | The message and the fingerprint of the file against the items already in the queue; the sender against the addresses and numbers on the supplier's record, and for a paper invoice the supplier of the order its delivery belongs to | Exact; a known sender, or the supplier of the order | An invoice already in the queue is skipped and the log says so; nothing else is written, so reading a source twice never makes a second bill. One that comes again in another way is another file, and step 4 finds it by its number. An invoice from an unknown sender waits in the purchasing manager's exception queue, where a person names the supplier or rejects it. |
| 4 · Code checks the draft bill | Purchase order prices and currency; received quantities less those already billed; earlier bills with the same supplier and number; the verified bank account; the bill's own lines, tax and total; today's date | Price within 0.5 % of the order line; quantity not above what was received and not yet billed by earlier bills of the order, credit notes counted back; no duplicate (the same number from the same supplier, whichever way it came, after spaces, dashes, leading zeros and case are removed); bank details exactly the verified account; currency the order's; lines add up to the subtotal and the total to the cent, tax within 0.01; dated neither in the future nor more than 2 years ago | A bill for goods that are counted and not yet booked waits for the receipt and is checked again then; it is neither a difference nor a claim. Otherwise the bill stays in draft and goes to the accountant's exception queue with each difference in plain words. A difference in price, quantity or totals gets one more reading of only those fields, by a stronger model or by another model of the same strength where the strongest one read first; it never sees the order's figures. Bank details that differ block the payment until the purchasing manager calls the supplier on the number on file and enters the new account, and the owner validates it. |
| 5 · Accountant reviews and posts the bill | The draft and its check results against the PDF or the photo | No open difference | The accountant corrects the field from the PDF or the photo, or rejects the bill; the action log keeps the old and the new value. A corrected bill goes through step 4 again, and our module refuses to post a bill with an open difference, except together with the credit note that covers it in Claim to a supplier. A price above the order is settled on the order, never on the bill. |
| 6 · Owner approves payment above the limit | The payment limit the owner set, against the supplier's bills and prepayments of the month, this bill included | Limit 100,000 UAH per supplier per calendar month at the NBU rate of the day; bills and prepayments together, the prepaid part of a bill counted once | Without the approval our module refuses to register a payment for the bill; a change of amount, supplier or bank account after approval cancels it. |
| 7 · Accountant prepares the payment | The bill's approval; the account on the payment against the supplier's verified account; the amount against what is open on the bill after prepayments and credit notes; the supplier against the sanctions result of the night | Approval present wherever the limit needs it; account exact; amount not above what is open; no possible match | Our module refuses to register the payment and says which condition failed. |
| 8 · Owner signs the payment in the bank | The payment in the bank against the bill - payee, account and amount | 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 · Code puts every invoice into one queue | Agent action log | One line per item taken or skipped |
| 3 · AI agent reads the invoice, drafts the bill | Agent action log | One line per write, with the old and the new value |
| 4 · Code checks the draft bill | 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 signed payment, to be matched with the bank statement | Owner signs the payment in the bank |
| Claim to a supplier | An invoice for more than was received, once the receipt is booked | Code checks the draft bill |
| Cash forecast | A posted bill with its due date | Accountant reviews and posts the bill |
| Fixed assets | A posted line marked as equipment | Accountant reviews and posts the bill |
Work comes from
| Process | What passes | At step |
|---|---|---|
| Goods receipt and inspection | A photo of a paper invoice found with goods of the Ukrainian company | Warehouse lead counts without the order |
| Goods receipt and inspection | Accepted quantities, the most a bill may claim | Warehouse lead stores and books the goods |
| Prepayment to a supplier abroad | A prepayment to take off the supplier's bill | Code ties the prepayment to the order |
| Claim to a supplier | A posted credit note to set against the supplier's bill | Accountant posts the vendor credit note |
| Change to an AI agent | The version of the invoice agent in use | System administrator switches the agent |
Want this process checked on your data?
Tell us where it goes wrong.