Automated billing means the system creates the invoice, reminds the customer before the due date, sends the payment request, follows up politely after it is late, and marks it paid on its own when the money arrives. No tracking spreadsheet, no checking bank statements, and nobody having to remember to send messages every Monday.
I build this piece connected to the system you already use (or inside a new one), with a payment gateway doing its own job: generating the payment request and notifying when it has been paid. In Brazil, that usually means Pix (the central bank's instant payment system) and boleto (a bank payment slip).

The Four Pieces Of Automated Billing
-
Create the invoice. The invoice comes from something that already exists: a contract with a monthly fee, a sale in installments, hours worked in the month. The amount and due date come from the system, not from someone typing.
-
Payment through the gateway. A payment gateway generates the Pix QR code, the boleto or the card payment link. I integrate through the API of whichever gateway makes most sense for you, based on fees and payment methods. I do not store card data in your system: that part stays with the gateway.
-
Dunning schedule. The schedule is the sequence of reminders: for example, three days before, on the day, three days after and one week after the due date. Each step has its own channel (email, WhatsApp) and tone. Before the due date it is a reminder; after, it is a collection notice, but always polite. The wording and timing are yours; the system just does not forget.
On WhatsApp, messages use templates approved on Meta's official API. The details are on the WhatsApp automation page.
-
Automatic reconciliation. When the customer pays, the gateway notifies your system through a webhook. The invoice changes to paid, the reminders stop and the customer gets a confirmation. Nobody has to open the bank statement.
How I do It In My Own System
Rah CRM, the system I run my business on, has a receivables area showing what is coming in, what is late, what has been received, and a cash forecast for the next six months, separating what was invoiced, what was received and what so far exists only in a contract. An overdue invoice has a button to remind the customer on WhatsApp and to record the payment right there, including from a phone.
Reminders and notices run on a queue inside Postgres itself, which does not lose tasks if the server restarts. And the calculation of hourly amounts, balances and due dates was written test first, because it is the kind of math that cannot be wrong.
For a client, the same foundation gets connected to the chosen gateway: the invoice is created through its API, the payment request goes out with the right due date, and the payment confirmation closes the invoice in the system, with nobody checking a statement.
The Details That Make a Difference
- A repeated webhook must not mark a payment twice. Gateways resend notifications. Each one is verified by its signature and stored with a unique key, so a repeat duplicates nothing.
- Missed notifications are recovered. If your system was down when the payment came in, a routine checks the gateway and catches up on what was left behind.
- Reminders stop when they should. Paid, renegotiated or disputed: the schedule stops right away. Nothing is worse than chasing someone who already paid.
- The amount never comes from free text. The invoice amount comes from the contract and cannot be changed by someone with read only access.
- Personal data handled with care. Tax ID numbers (the CPF, in Brazil), addresses and payment history are personal data. They stay under restricted access and only for as long as needed.
What You See On The Dashboard
- how much comes in this month and the next ones;
- who is overdue and by how many days;
- which reminder step each customer is at;
- the history of each invoice, from sending to payment.
If you want this summary as a PDF or Excel file in your inbox every month, see report automation.
When It Makes Sense
If billing needs to talk to an ERP, a CRM or a spreadsheet another department uses, the project includes systems integration. And if the problem is bigger than billing (customers, contracts and proposals scattered around), take a look at a custom CRM.
Tell me how you bill today and how much time it takes each month.