• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

raystack / frontier / 12154757091

04 Dec 2024 07:09AM UTC coverage: 30.423% (-0.4%) from 30.842%
12154757091

push

github

web-flow
feat: generate invoice for overdraft credits (#796)

It's necessary to configure the product name to calculate
per unit price before the overdraft credits can be invoiced
in `billing.customer.credit_overdraft_product`.
If not set, invoice reconcilation and creation is skipped.

If there is already an invoice for overdraft credits for same
time range, no new invoice will be created for that customer.
Currently the system generates them on the first day of the month.
When the overdraft invoice is created for the first time, it
accounts for transactions from the start of customer life but
then moving forward only accounts from the last month time
range.

Reconcilation of these invoice happens on same cadence as
invoices gets synced from the billing provider.

Signed-off-by: Kush Sharma <thekushsharma@gmail.com>

37 of 518 new or added lines in 13 files covered. (7.14%)

5 existing lines in 1 file now uncovered.

7667 of 25201 relevant lines covered (30.42%)

9.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pkg/utils/pointers.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc