Invoice Automation: From Order to Payment Without a Single Retyped Number

A manual invoice takes 4 minutes and carries one error in twenty; in December, with twice the orders, both numbers grow. How invoices issue themselves from an order, booking or contract, how payments are matched without checking bank statements, and what is left for the accountant.

5 min read

In this article
  1. Where an invoice can be born on its own
  2. Where the invoice lives
  3. Payments match themselves
  4. What the accountant gets
  5. What drives the cost and how long it takes
  6. What to do tomorrow
  7. Frequently asked questions

Issuing an invoice is an action a small business repeats hundreds of times a month, and the one where a mistake costs the most nerves: a wrong amount, a duplicate number, a forgotten invoice the customer remembers six months later. All the data for the invoice already exists — in the order, the booking, the contract. Retyping it into accounting software is work a program should do, not a person. Here is how we put it together and what comes out.

Where an invoice can be born on its own

An invoice is always the consequence of some event. Automation starts with that event announcing itself:

Event Source What is created
Order paid online shop (WooCommerce, Shopify, PrestaShop) invoice with line items, VAT by class, a shipping line
Service delivered booking system, calendar, CRM status "done" invoice for the service per the price list
Month ended contract list (subscriptions, memberships, rent) recurring invoices for all active customers on the 1st
Work completed project tool, a timesheet invoice by hours or milestone
Refund shop, a manual button credit note referencing the original

The third case — recurring invoices — is often the most profitable: 40 customers every month at 4 minutes each is almost three hours that disappear at 6:00 on the first of the month when the script issues and sends everything.

Where the invoice lives

The automation does not create its own accounting — it issues the invoice in your accounting software through its API, so the accountant sees everything in the same place as before. Most accounting tools have an API or at least an import; the script only passes the data and collects the PDF and the number. Numbering stays with the accounting software — this matters: the script never generates invoice numbers itself, because numbering from two sources sooner or later collides.

If your accounting software cannot issue invoices automatically (some cannot), two paths remain: the script prepares an import file the accountant uploads in one action, or invoices are issued through an intermediate service with an export to accounting at month end. Both beat retyping.

Payments match themselves

The other half is seeing that an invoice was paid. Three ways, depending on how your customers pay:

  • By card or a payment provider (Stripe, Paysera, the shop's payments): the provider notifies via webhook and the script marks the invoice paid the same second. The simplest.
  • By bank transfer: a bank API (via a licensed intermediary under PSD2) or a daily statement file; the script matches the incoming payment to an invoice by the number in the reference and the amount. If there is no number in the reference, it matches by amount and payer and sets doubtful cases aside for a human.
  • Cash or card on site: the receptionist taps "paid" in the booking system — that is the event.

Once a payment is matched, reminders stop automatically — the same reminders we described in automated customer reminders. Invoice, reminders and matching are one system, not three.

The rule whose violation hurts most

The same event must never create two invoices. An order webhook sometimes arrives twice, a script can be re-run — so before creating an invoice, the script checks whether one already exists for this order ID. Check before, not clean up after.

What the accountant gets

A common question: "What will the accountant say?" In practice — thank you. They get: invoices neatly in the accounting software with correct VAT and sequential numbers; payments matched daily rather than from a statement at month end; a list of doubtful cases (payment without invoice, invoice unpaid after 30 days) in one place; a monthly report on the first working day. What they no longer get: retyping 200 invoices and questions like "has this one paid yet?".

The script does not change or decide tax and accounting rules: VAT rates, invoice details and numbering are whatever is configured in your accounting software and approved by your accountant. The automation only moves data to where it belongs, without hands.

What drives the cost and how long it takes

  • Invoice from an order (shop → accounting software, PDF to the customer): 3–5 days.
  • Invoice + payment matching + reminders from one source: 1–2 weeks.
  • Recurring invoices (subscriptions, rent) with price changes, pauses and pro-rata calculation: a larger scope.
  • The full cycle from several sources (shop + services + contracts) with bank matching and an accountant's summary: 3–5 weeks.

The price depends on the number of sources and rules — we send an exact quote within 24 hours of you describing the process.

At 150 invoices a month at 4 minutes each, that is 10 hours; at €25/hour, €250 a month in time alone, before the cost of mistakes. Ranges and other processes are on the automation page.

What to do tomorrow

Count last month's invoices and split them by origin: from orders, from services, recurring, manual. The largest group with a clear source is automated first. Check whether your accounting software has an API (10 minutes — as described in our article on system integration). With those two answers, a quote arrives within a day.

Frequently asked questions

Is an automatically issued invoice legally valid?

Yes — it is the same invoice in your accounting software with all required details; only the data was entered by a program rather than a person. No difference for tax purposes. If in doubt, your accountant will confirm within 5 minutes of seeing the first example.

What if there is an error in the order and the customer asks for a change?

The script never deletes or edits issued invoices — just as a person should not. A change is a credit note and a new invoice; the automation can do that, but a human triggers it with a "correct" button, because the decision is theirs.

How long does setup take, and will invoicing stop during the switch?

The first option (invoice from an order) takes 3–5 days, starting in a test company in the accounting software and then switching to the real one. On switch-over day the old process keeps running; the new one starts from a specific order number so nothing is issued twice.

More posts

All posts