We identified a case where Killbill generated two invoices for the same account and same target date.
Both invoices have status = COMMITTED and were created at the exact same timestamp, but with different created_by values. This suggests that two different processes might have triggered invoice generation simultaneously.
Example:
Account: 00058ba4-b7ff-457c-9347-53335c1bae62
Target Date / Invoice Date: 2025-08-30
Invoices generated:
Impact:
Duplicate invoices created for the same account and date.
Double charging the customer.
Question to the Killbill team:
What is the recommended way to handle this case ?
How can we prevent this duplication from happening again ?