getlago / lago-go-client

Lago Go Client
MIT License
21 stars 20 forks source link

feat(analytics): Add overdue balance endpoint #194

Closed rsempe closed 2 months ago

rsempe commented 2 months ago

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.