Separate Invoices

42 views
Skip to first unread message

Vivek Manpuria (Vivek)

unread,
May 16, 2025, 2:42:54 AM5/16/25
to Kill Bill users mailing-list
Dear Community,

Is there any way to generate a separate invoice for each subscription?

For context, the billing policy is set to SUBSCRIPTION and 2 products are available each with a DAILY plan.

I subscribed to the 2 products on the same day. 2 invoices were created on that day. However, on the next day, only 1 invoice was generated with 2 invoice items.

Thank you,
Vivek

stephane brossier

unread,
May 16, 2025, 3:18:58 PM5/16/25
to Vivek Manpuria (Vivek), Kill Bill users mailing-list
Yes, it is possible but it requires adding some logic into a plugin to split the invoice. An example of this can be found here.

--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/killbilling-users/63c71754-5c72-48d2-aaff-d48ee18b42d1n%40googlegroups.com.

Shaun Forgie

unread,
May 18, 2025, 11:18:44 PM5/18/25
to Vivek Manpuria (Vivek), Kill Bill users mailing-list
Hi Vivek,

This sounds like a bug related to daily invoicing scenarios.

Subscriptions that have a monthly billing cycle can be aligned with the account BCD such that one invoice can contain the charges from multiple subscriptions. Account billing cycles only support monthly cycles and once set, typically by the first subscription created against that account can not be changed.

In your case the invoicing cycle is daily which by default means that each subscription bundle would have its own separate invoicing cycle. If you are adding on extra subscriptions to the parent bundle the billing alignment rules specify whether the child subscription is aligned with the parent bundle to be included on the same invoice or whether it has its own billing cycle and invoice.

Rgs
Shaun

--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/killbilling-users/63c71754-5c72-48d2-aaff-d48ee18b42d1n%40googlegroups.com.


--
Shaun Forgie [Principal] - Method Maker Ltd
57a McIntyre Rd, Manukau 2022, Auckland, New Zealand
Mobile +64 21 666 910 https://www.linkedin.com/in/shaunforgie/

Vivek Manpuria (Vivek)

unread,
May 19, 2025, 2:01:42 PM5/19/25
to Kill Bill users mailing-list
Thanks. Let me try out the invgrp plugin and also the billing alignment rules.
- Vivek

Vivek Manpuria (Vivek)

unread,
May 21, 2025, 3:47:17 PM5/21/25
to Kill Bill users mailing-list
With the invgrp plugin, an invoice got created for each invoice item. Along with billing alignment rule set to SUBSCRIPTION, it served our purpose.

No code change was required in the plugin except for commenting out the InvgrpEntitlementPluginApi calls because it does not support STANDALONE products.

Thank you,
Vivek

Shaun Forgie

unread,
May 21, 2025, 4:51:55 PM5/21/25
to Vivek Manpuria (Vivek), Kill Bill users mailing-list
Hi Vivek,

I suspect that the invoice group plugin option would not be required if your billing plan definitions and alignment rules were adjusted accordingly.
I assume you have one plan defined in the catalog with an add-on needing its own separate DAILY billing cycle?

Rgs
Shaun

Vivek Manpuria (Vivek)

unread,
May 23, 2025, 3:21:18 AM5/23/25
to Kill Bill users mailing-list
I set up a plan to bill DAILY  and set the billing alignment to SUBSCRIPTION in the catalog.

In the create subscription call, the billingDate defaults to immediately.

However, I did not find any place to configure or set the billing policy. Therefore, I assumed that the billing policy need not be set.

Thank you,
Vivek

Vivek Manpuria (Vivek)

unread,
May 24, 2025, 2:22:22 AM5/24/25
to Kill Bill users mailing-list
Hi Shaun,

Let me dig up a bit more about the plan definition and alignment rules.

Thank you,
Vivek

Reply all
Reply to author
Forward
0 new messages