Help with usages in the past

16 views
Skip to first unread message

Thomas Müller

unread,
Jul 22, 2025, 3:25:05 AMJul 22
to Kill Bill users mailing-list
Hello,

I have the following requirement that I would like to implement using KillBill:
* I have a catalog with a plan recurringBillingMode=IN_ARREAR
* I have a usage with the billingPeriod=MONTHLY
* I have created a subscription with a start date 3 months in the past
* I have usages that are 1 month in the past
* I would like to create an invoice for this

Unfortunately, an invoice is never created for this. Can anyone help me?

karan bansal

unread,
Jul 23, 2025, 1:09:45 PMJul 23
to Kill Bill users mailing-list
Hi Thomas,

An important point to note is that for in arrear billing, the usage will show up in the next billing cycle. Could you please try doing a dry run for future months and confirm if you see the usage accounted for. 

Please also refer to this section https://docs.killbill.io/latest/userguide_configuration#_invoice_properties and the property named readMaxRawUsagePreviousPeriod that would allow you to configure the number of past billing periods to fetch raw usage data. 

Regards
Karan

Reply all
Reply to author
Forward
0 new messages