Demo

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

Customer invoice.

A closed delivery becomes a posted invoice sent to the dealer. Code drafts it from the delivery and checks it against the order, the export papers, VIES or the exemption certificate and the rate of the day. The accountant settles differences, posts and sends it.

Company
Demo Manufacturer LLC and Demo Manufacturer US Inc.
Starts when
An order is delivered
How often
Every working day, one run per delivery
Select a step to open its card. The table below lists every step in order.

Steps

Steps in order

#StepDone byToleranceRollout stage
1Code drafts the invoice from the delivery Invoice drafts · Automation, no AIOne invoice per delivery of sold goods and per paid repair and 1 more6
2Code checks the draft invoice Invoice checks · Automation, no AIQuantity equals delivered, price, discount and currency equal the order, all exact and 7 more6
3Accountant settles the differences AccountantNone left open6
4Accountant posts the invoice AccountantNext number with no gap and 3 more6
5Accountant sends the invoice AccountantExact6
6Dealer pays the invoice DealerNo check at this step6

Rollout stage: 6 · Month-end close and approvals.

Before

How it was done before

The Ukrainian company typed the invoice from its order sheet in Google Sheets. The US company copied it into QuickBooks Online from the warehouse's letter.

Where it breaks without control

  • An order leaves in two deliveries - the whole order is invoiced with the first, or the second is never invoiced.
  • A dealer's VAT number or exemption certificate ended after the first order, and the sale still goes out without tax.
  • A dealer who paid before the delivery is asked for the whole amount again.
  • A sent invoice is changed in place, and the dealer and the books hold two versions of one number.

Controls

What is checked, and who signs

Checks

StepCompared withToleranceOn a difference
1 · Code drafts the invoice from the deliveryThe delivery order or the repair against the invoices already made from itOne invoice per delivery of sold goods and per paid repair; none of them left without an invoice for more than one working dayA 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.
2 · Code checks the draft invoiceOrder 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 totalQuantity 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 centThe 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.
3 · Accountant settles the differencesEach difference against its source documentNone left openA price is corrected on the order by the sales manager and a quantity on the delivery by the warehouse lead, never on the invoice alone, and the draft is made again. Without a valid VAT number the draft waits until the dealer sends one or the accountant taxes it by the tax record. Without a certificate an invoice of the US company waits until the dealer sends one; tax is never put on it instead. The corrected draft passes step 2 again before it can be posted.
4 · Accountant posts the invoiceThe number against the last one of the company; the invoice date against the delivery date, the lock date and the day of the checks; the earlier payment against the order it namesNext number with no gap; dated the day of posting, which is the day of the VIES answer and of the rate; not before the delivery and after the lock date; earlier payment set against the invoice before the letter is madeA draft checked on another day goes through step 2 again before it can be posted. Our module refuses a date inside a locked month, refuses to delete an invoice that has a number and refuses to reset one that was sent; a mistake in a sent invoice is corrected through Credit note to a dealer.
5 · Accountant sends the invoiceThe address against the invoice contact; the number and the amount asked against the posted invoice and what is still open on itExactOur module refuses an address that is not on the dealer record, and an amount other than the open one; the accountant has the letter made again from the invoice.

Duties by role

What the action log records

StepRecordWhat is written
1 · Code drafts the invoice from the deliveryAgent action logOne line per delivery drafted or skipped
2 · Code checks the draft invoiceAgent action logOne line per check result

Connected processes

Where the work comes from and where it goes

Work goes to

ProcessWhat passesAt step
Stripe payout matchA card or ACH payment of an invoiceDealer pays the invoice
Bank reconciliationA transfer with the invoice numberDealer pays the invoice
Collecting overdue invoicesAn invoice past its due dateDealer pays the invoice
Cash forecastAn open invoice with its due dateAccountant posts the invoice
Tax figures for the returnA posted invoice with its VIES answer or certificateAccountant posts the invoice

Work comes from

ProcessWhat passesAt step
Order picking and deliveryA delivery of sold goods done, with quantities and serial numbersCode closes the delivery
Export shipmentThe declaration's number, value and currency, which the invoice repeatsCode checks the declaration
RepairA paid repair at the price the dealer acceptedCode closes the repair order

Back to the diagramShow it on the process map

Want this process checked on your data?

Tell us where it goes wrong.

Write to us about this process