Demo

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

Step 2 of 6 in Customer invoiceAutomation, no AI

Code checks the draft invoice

Starts when

A draft made by step 1, or one corrected by the accountant

Inputs
InputComes from
Draft invoiceOdoo customer invoice of step 1
Lines as ordered and as deliveredOdoo sales order and Odoo delivery order
Number, value and currency of the customs declaration, for a dealer abroadCustoms file of Export shipment
Whether the VAT number is valid todayVIES, asked by our module on the day of the invoice
Resale exemption certificate with its dates and statesOdoo dealer record
The rate of the dayOdoo currency rate of Daily exchange rates
Done by

Invoice checks · Automation, no AI

What changes
RecordWhat changes
Odoo customer invoice, draftThe result of each check, the VIES answer with its time, and the mark clean or waiting
Agent action logOne line per check result
Check
Compared with
Order lines, or the price the dealer accepted for a repair; delivered lines and serial numbers; the customs declaration; VIES or the certificate; the rate of the day; the payment terms; the invoice's own lines, tax and total
Tolerance
Quantity equals delivered, price, discount and currency equal the order, all exact; serial numbers the delivered ones; value and currency equal to the declaration, to the cent, with its number on the invoice; VAT number valid in VIES today, or the certificate in date for the state of delivery; no tax line on an invoice of the US company; a rate of today in Odoo; due date by the terms; lines add up to the total to the cent
On a difference
The draft goes to the accountant's exception queue with each difference in plain words. When VIES does not answer, the draft waits and code asks again every hour; no answer never counts as valid.
Accountable

Accountant

Systems
  • Odoo 19 Community
  • VIES, the EU's check of VAT numbers
  • Google Drive, signed documents and photos
Rollout stage

6 · Month-end close and approvals