Step 1 of 6 in Customer invoiceAutomation, no AI
Code drafts the invoice from the delivery
- Starts when
A delivery order or a paid repair is closed; every night code looks again for deliveries with no invoice
- Inputs
Input Comes from Delivered quantities and serial numbers Odoo delivery order, closed in Order picking and delivery Prices, discounts, currency and payment terms Odoo sales order the delivery belongs to A finished repair that the dealer agreed to pay Odoo repair order of Repair - Done by
Invoice drafts · Automation, no AI
- What changes
Record What changes Odoo customer invoice, draft One draft per delivery of sold goods or paid repair - lines, serial numbers, prices, taxes from the tax records, currency, terms Agent action log One line per delivery drafted or skipped - Check
- Compared with
- The delivery order or the repair against the invoices already made from it
- Tolerance
- One invoice per delivery of sold goods and per paid repair; none of them left without an invoice for more than one working day
- On a difference
- A delivery that has an invoice is skipped, so running twice never invoices twice; a delivery to the US company belongs to Sale from Ukraine to the US company and is skipped too, and so is the return of a dealer's repaired unit - a paid repair is invoiced from its repair order, a warranty repair has no invoice. One that stays without a draft goes to the accountant's exception queue with the reason, such as a line with no price or no tax record, and Month-end close lists it again at the end of the month.
- Accountable
Accountant
- Systems
- Odoo 19 Community
- Rollout stage
6 · Month-end close and approvals