Step 3 of 7 in Prepayment to a supplier abroadAutomation, no AI
Code checks the proforma
- Starts when
A reading written by the proforma agent
- Inputs
Input Comes from The reading of the proforma Odoo purchase order of step 2 Order lines, total, currency, prepayment share and state Odoo purchase order The supplier's validated account and its holder Odoo supplier bank account of New supplier Earlier prepayments of the order, and the supplier's bills and prepayments of the month Odoo payments and Odoo vendor bills The sanctions result of the night Screening result The NBU rate of the day, for the limit in UAH Odoo currency rate of Daily exchange rates - Done by
Proforma checks · Automation, no AI
- What changes
Record What changes Odoo purchase order The result of each check, and the proforma marked clean or sent to the exception queue Agent action log One line per check result - Check
- Compared with
- Beneficiary, account and bank against the validated ones; order number, lines and currency against the order; the amount and the earlier prepayments against the share; the proforma number against earlier ones; the supplier's month total against the limit
- Tolerance
- Beneficiary, account and bank exactly the validated ones; currency the order's; the amount with earlier prepayments not above the order's share of its total, to the cent; number not used before; order confirmed, acknowledged and not cancelled; no possible match on a sanctions list; no prepayment to the supplier open over 60 days without the owner's decision
- On a difference
- The proforma waits with each difference in the accountant's exception queue, and no payment can be made from it. Another account blocks all payments to the supplier until the purchasing manager calls the number on file and the owner validates the change. Another beneficiary is never paid; the supplier is asked for a corrected proforma. An amount above the share goes back to the supplier through the purchasing manager; the share itself changes only with a new approval of the order by the owner. A figure that differs gets one more reading by a stronger model, which never sees the order's figures.
- Decision
Supplier's month total above the limit?
- Yes, above 100,000 UAH this month: step 4 · Owner approves the prepayment
- No, within the limit: step 5 · Accountant prepares payment and file
- Accountable
Accountant
- Systems
- Odoo 19 Community
- Consolidated sanctions lists of the EU, the US and the UN
- Official exchange rates of the National Bank of Ukraine
- Rollout stage
2 · AI agent on supplier invoices