#Joachim Lundgren-pending-invoice-item

1 messages · Page 1 of 1 (latest)

vagrant island
#

Hey! Can you share the ID of a particular Subscription object where this behaviour is evident?

onyx heron
#

Sure, sub_1JmgZ0GKlXGxR30symUbPvPP

vagrant island
#

Thanks, let me take a look

vagrant island
#

Still checking, sorry

#

Hey! Seems additional invoice items like this are subject to a billing cycle inline with the creation date of the Subscription object

#

Not the regular billing cycle anchor

#

And if not, how do we remove pending_invoice_item_interval from the subscription?
You can just unset it with an update. null value should do it

onyx heron
#

I see, I tried updating it with PendingInvoiceItemInterval = null but that seem to just ignore the value, nothing is changed in the subscription. Anything I'm doing wrong? I'm using .NET

await service.UpdateAsync(subscriptionId, new SubscriptionUpdateOptions
{
PendingInvoiceItemInterval = null,
});

vagrant island
onyx heron
#

req_sKMODJuYrW7IIz

vagrant island
#

Hmm, there's no payload body

#

Wonder if null values are omitted

onyx heron
#

I think they are, otherwise everything in that subscription would be reset I suppose. Since I don't supply any values

vagrant island
#

Is there a specific reason why you can't just add an additional line item via a Price to the Subscription?

#

You can have greater control over billing dates that way

onyx heron
#

Hmm, not sure I understand what you mean

#

We are considering changing to creating the invoices ourselves the 1st each month instead of using pending invoice items

vagrant island
#

A single subscription can't handle multiple products with different intervals unfortunately

onyx heron
#

Ah, I see. I'll read up on it and see if that might be a better solution. Thanks for the help so far

vagrant island
#

Np!

onyx heron
#

@onyx heron The usage APIs doesn't work for us. I don't remember exactly why but I think there was multiple reasons. One in particular because they were to picky about the period which doesn't work for us