We want to be able to group invoices to generate one payment.
Today we don't track payment terms and do not mention whether a payment or an invoice is overdue.
Description
The goal of this PR is to add an analytics endpoint for fetching overdue balances per month and per currency at the customer or organization level.
Roadmap Task
👉 https://getlago.canny.io/feature-requests/p/regroup-invoices-to-generate-one-payment-intent
Context
We want to be able to group invoices to generate one payment. Today we don't track payment terms and do not mention whether a payment or an invoice is overdue.
Description
The goal of this PR is to add an analytics endpoint for fetching overdue balances per month and per currency at the customer or organization level.