Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate invoice for overdraft credits #796

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 11, 2024

  1. feat: generate invoice for overdraft credits

    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 <[email protected]>
    kushsharma committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    e754cff View commit details
    Browse the repository at this point in the history