Order-to-cash is the chain from "the customer said yes" to "the money is in the account": the invoice, the sending, the reminder, the payment, the record and the report. In most small companies every link is done by hand, by the one person who knows how, when they have time. Automating it does not replace that person or the accounting software; it removes the waiting and the copying between the links. This guide walks the chain as we build it on n8n and says where a person stays in the loop on purpose.
The chain, link by link
- A trigger that an invoice is due. A confirmed order in the shop platform or order sheet, a job marked done, a retainer date on the first of the month.
- A draft invoice. Prepared from the order's lines and the customer's record, numbered in sequence, dated, in the format your accountant uses.
- An approval. A person reviews the draft and approves it with one tap, or edits a line first.
- Sending. The invoice goes to the customer by email, WhatsApp or both, with the payment details and the due date.
- Reminders. Before the due date, on it and after it, on a cadence you set, until the payment is recorded.
- Recording. When the money arrives, the payment is recorded against the invoice and the reminders stop.
- Reporting. On the day you choose, a summary of issued, paid, overdue and partially paid invoices.
Where the invoice is made
The workflow does not invent an invoicing tool. It creates the invoice in the system you already have:
- Accounting software with an API (Odoo, Zoho Books, QuickBooks and similar): the workflow creates the invoice there, and reads payments back from it.
- Google Sheets or Excel: the workflow appends a row to the invoice register and fills a template document with the lines, producing a PDF.
- Your own system: anything with an API or a database.
Your accountant keeps working in the tool they know; what changes is that the invoice appears in it without anyone typing it.
The approval, and why it stays
Financial documents go out with a person's name on them, so we build an approval step by default: the finance lead receives the draft (or the day's batch) as a WhatsApp message or an email with an approve link and an edit link. Approving records who and when. Routine reminders can run without approval; the first invoice to a customer, a credit note or anything over a threshold waits for a person. You decide the threshold.
The reminder cadence
A sequence that works for most service companies:
- Three days before the due date: a courteous note with the invoice attached.
- On the due date: a reminder.
- Seven days after: a firmer reminder with the amount outstanding.
- Fourteen days after: a message that a person will be in touch, and a task for that person.
Every message is your wording, in Arabic or English per customer, and the cadence can differ by customer group: long-standing accounts get a gentler sequence, net-30 customers a later one. A customer flagged on hold receives nothing until the flag is cleared; the workflow never argues a dispute, it only makes sure one is not forgotten.
Recording payments
How the payment is recorded depends on how it arrives:
- Card or gateway: the gateway's webhook marks the invoice paid automatically.
- Bank transfer or InstaPay: a person marks it paid in the register or the accounting system when the statement shows it; the workflow notices the change and stops the reminders.
- Cash on delivery: the courier's delivered status marks it paid, or the day's cash reconciliation does.
A partial payment is recorded as partial; the reminders continue for the balance and tell the customer what remains.
The report
A scheduled workflow compiles the register on the day you choose: issued this month, paid, overdue by age, partially paid, and the top overdue accounts. It arrives by email or WhatsApp as a short table, and the full sheet is a link away. This is the report that used to take an afternoon of copying between systems.
What to decide before building
- Numbering and format. Match what your accountant and your tax filing expect.
- Who approves what. A threshold and a name, or a batch each morning.
- The cadence and the wording. Written once, in a settings sheet you can edit.
- What counts as paid. Gateway webhook, a manual mark, or a courier status.
Where this fits
The finance automation page shows this chain for a services company, and the order management page the order side that feeds it. If your orders come by WhatsApp and your invoices by hand, a free consultation is where we map the chain you have today.