Overdue invoices on open-source Lago: a payment retry you approve
You bill with self-hosted Lago. A payment fails, the invoice goes overdue, and following it up is somebody's memory.
Where things stand
- Lago's documentation for requesting payment of an overdue balance (manual dunning) states: "This feature is only available to users with a premium license." [1]
How it is usually handled
On the open-source edition the follow-up is usually a webhook handler or an automation workflow someone wrote once, or a person checking the list of overdue invoices. The retry, the message to the customer and the note in the CRM are three separate actions in three tools.
How the Billing app handles it
Sample data
- The Billing app reads overdue invoices from your Lago and shows them with the amounts and the accounts.
- It proposes a payment retry for one account, or for named invoices. A request that names no account is refused: there is no "retry everything" by accident.
- The retry waits for your approval. After it runs, the app reads the invoice back from Lago and records what changed.
- A refund is staged as a credit note and waits for your approval too. Its amount is explicit and must be in the invoice's currency. Whether Lago then issues it depends on your Lago edition (see the limits).
- In the default install the Billing app runs on sample billing data: Lago is not bundled. You connect your own Lago.
- It retries a payment through Lago. It does not replace your payment provider's own retry rules, and it does not write to your customer without approval.
- A retry settles an invoice only if a payment provider is connected in Lago. Without one Lago accepts the retry and the invoice stays pending; the app reports it as not settled.
- Open-source Lago refuses to create a credit note: it answers
403 feature_unavailable. An approved refund is then reported as not executed, with Lago's answer. Issuing the credit note needs a Lago licence that includes credit notes.
What was checked against the real product
These records come from the engineering repository’s qualification manifest. Each is one run: it shows what happened then, not what every version does. All integration records →
Lago: the Billing app checked against a real Lago · Real-service-tested
On 2026-11-24 a public CI run started a throwaway open-source Lago v1.53.0 and ran the Billing app against it: 18 of 18 checks passed. The app showed real overdue invoices, retried only the approved account's invoice and reported a result as verified only when Lago read it back as paid; Lago refused the refund and the app said it was not executed.
- What was tested
- An app. Commit 32cd76ab (test/integration-checks-real-cores).
- Release
- The tested code is not in any published release.
- Result
- 18 of 18 checks passed (skipped checks were not recorded), 2026-11-24, in public CI.
- Tested service
- lago v1.53.0, open source, self-hosted.
getlago/api:v1.53.0digest not recorded: The run log does not show this image's digest: the script pulled it implicitly with a docker run whose output went to a file that was not kept. Only the published tag is known.getlago/postgres-partman:15.0-alpinesha256:27a1e3a1138a…redis:7-alpinesha256:7f7d30b7fdd0…
- Operations
- list overdue invoices (read): The app showed both real invoices and Lago reported them as overdue and unpaid.
- retry a payment (write): Staged without approval; with approval exactly one account's overdue invoice was sent to Lago, the other account's was not touched, and a result was called verified only if Lago read the invoice back as paid.
- refund (write): Refused or staged for every incomplete request; an approved refund was refused by open-source Lago (403, feature not available) and the app reported it as not executed.
- Simulated
- the operator's approval, which the check script supplies
- Limits of this test
- A refund (credit note) is not available in open-source Lago, so a successful refund was not exercised.
- The Lago image digest was not recorded in the run log; the image is named by its published tag.
- Time cannot be advanced through the Lago API: the two invoices were marked overdue directly in the throwaway database.
- The workflow ran on the pull request's merge with main at the time, not on the commit alone.
- The pull request (#782) was squash-merged into main as bc99586e42a12043e192a4be1412f8072ec9e171, so this commit is the pull request's head and is not part of main's history.
- One instance of one core version, synthetic data, one account.
Public evidence: CI run for Lago: the Billing app checked against a real Lago · check_billing_lago.py for Lago: the Billing app checked against a real Lago · run_with_throwaway_core.sh for Lago: the Billing app checked against a real Lago · integration-checks.yml for Lago: the Billing app checked against a real Lago
See it on sample data Install it The Billing app → The recorded workflow →
Sources
- Lago documentation, overdue balance payment (manual dunning). Read on 2026-11-24. The vendor may have changed the page since.