Demo

Illustrative example - not a client. All companies, people and numbers are made up.

Step 4 of 8 in Supplier invoice to paymentAutomation, no AI

Code checks the draft bill

Starts when

A draft bill written by the invoice agent, and again when Goods receipt and inspection books a receipt of its order

Inputs
InputComes from
Draft billOdoo vendor bill of step 3
Purchase order lines and received quantitiesOdoo purchase order, and the receipts of Goods receipt and inspection
Earlier bills of the same supplierOdoo vendor bills
The supplier's verified bank accountOdoo supplier bank accounts - after a call-back the purchasing manager enters a change and the owner validates it
The supplier's bills and prepayments of the monthOdoo vendor bills and Odoo payments
The NBU rate of the dayOdoo currency rate
Done by

Bill checks · Automation, no AI

What changes
RecordWhat changes
Odoo vendor bill, draftThe result of each check, the supplier's month total beside the limit, and the bill marked clean or sent to the exception queue
Agent action logOne line per check result
Check
Compared with
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
Tolerance
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
On a difference
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.
Hands work to
Accountable

Accountant

Systems
  • Odoo 19 Community
Rollout stage

2 · AI agent on supplier invoices