Recover unpaid invoices
With a large number of policies all being billed at different rates, it is easy to lose track of outstanding invoices. Korint proposes an unpaid management module to visualize failed payments, and automate payment recovery.
Customer Balance
Each customer has a balance tracking the difference between invoices and payments. If a balance is negative, then the customer owes money for their policy. If the balance is positive, then the customer is owed money - typically this happens after a customer requests to stop the policy at a date far in the past, for example if they forgot to declare a sale of their insured asset.
A payment still in progress counts as paid, except a bank transfer payment waiting for money: only the part already wired counts, so the amount left to wire stays owed.
This balance is not the cash balance of a customer who pays by bank transfer, which holds the money they wired and Korint has not used yet (Reading the cash balance).
Tracking failed payments
Each brokerage firm can access an accounting summary of their portfolio. In it you will find a list of all policies that have at least one unpaid invoice — a failed or disputed payment, or an issued invoice still awaiting settlement, such as one owed by a customer paying outside the platform — with information such as:
- the policy
- the number of unpaid invoices for the customer
- the number of days since the failed payment, or since the issuance when no payment was attempted
- the planned recovery action, when automatic recovery is enabled
- links to dashboards so that you can retry payment, send a recommended letter (ERE) if configured, suspend or stop the policy.
You can filter these results by issuance date of the invoices, and separate the policies Korint is already chasing with automatic retries from the ones left to collect by hand.
Recovery forecasts use the customer’s current invoices, payment attempts, and product configuration. Actions depend on the balance remaining unpaid. Planned dates may be in the past; execution is not checked.
Settling an unpaid invoice through the API
An unpaid invoice is settled in one of three ways, depending on where the money comes from:
| The money comes from | Call | The invoice becomes |
|---|---|---|
| A payment method stored on Korint | POST /customers/{customerId}/retry-charge | PAID once the charge succeeds, PAYMENT_FAILED otherwise |
| A transfer to the customer's IBAN | None: Korint pays the invoice from the cash balance when the transfer arrives (details) | PAID once the cash balance covers it |
| A cheque, a wire transfer or cash received outside the platform | POST /customers/{customerId}/manually-mark-invoice | PAID, or FINALIZED for a refund |
Retrying a charge
Send the invoiceId, and optionally the paymentMethodId to charge. For a DIRECT_DEBIT customer
without one, Korint charges the preferred method when it is ACTIVE, otherwise another ACTIVE
method of a type in payment.paymentMethodOnRecurringPayment, then the product's
fallback type. One case overrides paymentMethodId: on a
policy with an early payment (invoicingConfig.earlyPayment), the customer's first invoice — while it
is still their only one — and its replacement are charged on a payment.paymentMethodOnEarlyPayment
method. The customer's bank transfer account is one only when that list holds bank_transfer; money
wired to it then pays the first invoice too.
Without a paymentMethodId, a customer whose cash balance covers the whole invoice is paid from it
first. A paymentMethodId of the customer's bank transfer account pays from the cash balance too, and
what the balance does not cover waits for the customer's transfer, for up to 14 days
(What a charge does with the cash balance).
The call is asynchronous: 201 {} means one charge attempt has been queued, not that money has moved —
nor that the invoice can be charged, because it is not looked up before the attempt runs. A positive
invoice is only charged while it is ISSUED, PAYMENT_FAILED or PAYMENT_DISPUTED; an invoiceId that
does not exist or belongs to another customer, a credit invoice, or a WRITTEN_OFF invoice still gets
201 {}, and nothing is charged. A WRITTEN_OFF invoice was replaced by one carrying
unpaid fees, and the replacement is the one to retry — the invoice whose
replacedInvoiceId is the original's id.
Follow the attempt on GET /customers/{customerId}/payments:
a new payment whose invoiceIds metadata contains the invoice, going from CREATED to SUCCESSFUL or
FAILED. The invoice status alone can mislead — a PAYMENT_FAILED invoice reads the same before the
attempt and after it fails, and an attempt that cannot create a payment moves the invoice to
PAYMENT_FAILED without one. Poll with a time limit: an attempt that finds nothing to charge leaves no
trace.
The call is refused, before anything is queued, in these cases:
| Response | Cause | What to do |
|---|---|---|
409 INVALID_CHARGE_ATTEMPT | The customer pays OFFLINE: no stored method is charged, only a transfer to their IBAN pays their invoices. | Record the payment instead. |
409 INVALID_CHARGE_ATTEMPT | The paymentMethodId you sent is not ACTIVE: a mandate still waiting for its signature, an invalid mandate, or an expired card. | Charge an ACTIVE method. |
409 INVALID_CHARGE_ATTEMPT | You sent no paymentMethodId, and a DIRECT_DEBIT customer has no ACTIVE method. | Collect a new payment method first. |
409 INVALID_CHARGE_ATTEMPT | The invoice already has a successful payment, or one still in progress. | Read the payments: there is nothing to retry. |
404 PAYMENT_METHOD_NOT_FOUND | The paymentMethodId is not one of this customer's methods. | Send one listed on GET /customers/{customerId}/payment-methods. |
423 LOCK_ACTIVE | Another billing operation is running on this customer. | Send the call again shortly. |
A method that is INVALID_MANDATE or EXPIRED can never be charged again. Collect a new one, wait
until it is ACTIVE, then retry with its paymentMethodId — and make it the preferred
method so the next invoices use it too.
Recording a payment made outside the platform
When the payer settles by cheque, wire transfer or cash, record it with manually-mark-invoice: the
invoiceId, how it was paid in manualPaymentMethod (check, wire_transfer or cash), and the
accounting date of the settlement in appliedAt. That date becomes the invoice's paidAt (finalizedAt
for a refund), and it cannot be in the future.
The call needs the product to allow OFFLINE in payment.allowedPaymentModes — the product, not the
customer: you can record a cheque from a customer who otherwise pays by direct debit. A product that does
not allow it answers 400 INVALID_PAYMENT_MODE.
It also closes a refund Korint could not make. A negative invoice left REFUND_NOT_HANDLED or
PARTIALLY_FINALIZED (see refund limitations) becomes
FINALIZED once you record that you reimbursed the customer yourself.
Any other combination is refused with 409 INVALID_CHARGE_ATTEMPT: an appliedAt in the future, a
credit invoice, an invoice that already has a successful or in-progress payment, or a status the call does
not settle — a PAYMENT_DISPUTED invoice among them. While another payment operation holds the
invoice — a second call, or a charge being processed — the call gets 423 LOCK_ACTIVE.
Re-read the invoice to confirm: it carries manualPayment. An invoice settled this way drops out of the
customer's balance, so it no longer shows as owed.
Falling back to another payment method
A payment method can become permanently unusable: a bank cancels a direct debit mandate, closes the account, blocks direct debits on it, or a card expires. Retrying such a method can never succeed, and the carrier collects nothing.
A product can therefore declare a fallback payment method type. When every method of the product's usual billing type is beyond repair, the next payment is taken on the fallback type instead — a card, typically. The fallback applies only in that situation: a mandate still waiting for its signature is left alone, because it will become usable, and a payer with no registered method is not affected. A method chosen explicitly by an operator is never substituted.
This is a deliberate trade-off for programmes whose usual billing type carries the lowest transaction fees: collecting with the fees of a second payment type is preferable to not collecting at all.
Automating recovery
You can describe a product's whole recovery ladder in its configuration, and Korint walks that ladder once a day for every policy that still owes something. One clock drives all of it: the number of days since the earliest invoice that is currently unpaid was issued. Settle everything and the cycle ends; the next failure starts a new one from zero.
Three tracks share that clock:
- Retries re-attempt the payment of a single invoice, on the configured method and its fallback. A failed invoice replaced by one carrying the unpaid fees is chased on the replacement, whose own charge is the first retry: it already follows the configured method, warns the payer before a card attempt, and leaves the remaining attempts for the days that follow.
- Reminders email the payer. You get one per policy rather than one per invoice, and they cover the invoices retries cannot recover — a revoked mandate, or a failure reason outside the list you configured.
- Escalation is the dunning ladder, run on the calendar whatever the retries are doing: email the broker, send a formal notice, suspend the policy, then cancel it for non-payment.
Every email in recovery — the reminder, the broker notice, the warning before a card retry — names a
trigger from the product's emails configuration rather than a template of its own, so one place
keeps deciding the template, the recipients and the layout.
A rung you cannot act on is skipped rather than retried. A formal notice needs the registered-letter integration enabled on the product, a suspension needs a policy that is still running, and a cancellation is never attempted on a policy that is already stopped.
Recovery runs at night, after billing and renewals, so an action you configure for day 30 happens on the night of day 30 rather than at the hour the payment first failed. Until you switch a product on, Korint still evaluates and publishes the same ladder every day without executing any of it, so you can read what would have happened on each policy's recurring-tasks timeline.
Charging additional fees
At a product level you can configure additional fees for unpaid invoices. When a payment fails for an invoice, the additional fees are added to a replacement invoice and a new payment is attempted.
Fees are only charged when the failure is the payer's own — insufficient funds, a closed account, an expired card, a revoked mandate. A failure caused by the payment provider or by an opaque bank refusal that gives no motive is recovered without any fee: the invoice is still chased, and retries continue as usual. A Korint-side infrastructure error never fails the invoice in the first place, so it starts no recovery at all. Card refusals are judged on the decline code underneath them, since the refusal itself carries no motive.
The list of chargeable codes is configuration, not code: a product can override it, and an empty list turns fees off for that product entirely.
For example, a customer is invoiced 100€, and additional fees are set to 10€. If the payment for that invoice fails, then the invoice is automatically credited and a new invoice for 110€ is issued.
| Invoice | Amount | Status |
|---|---|---|
| Original invoice | 100€ | WRITTEN_OFF - This invoice has been credited |
| Credit invoice | -100€ | FINALIZED - Credits Original invoice |
| December 2025 | 110€ | PAYMENT_IN_PROGRESS - Replaces Original invoice |