#meteograms-Invoice

1 messages · Page 1 of 1 (latest)

versed plinth
#

Hi, I just tried it myself and I found that when delete a draft Invoice, all the Invoice items are also deleted

tall lark
#

OK thanks. So is it instead possible to remove/defer all invoice items (rather than delete them) so that any outstanding charges are picked up at the end of the next cycle? The invoice is in draft at this stage so it might be possible?

versed plinth
#

Like, to undo creating an Invoice that included all the remaining Invoice Item

#

Hmm I am not aware of such a method, but let me search around

tall lark
#

Yeah so basically what I'm trying to achieve is a "minimum invoice amount" for my metered subscription. Sometimes usage per month is very low, so the invoice amount is very low, and the fixed part of the stripe charge is then very high as a percentage. I'd rather roll on charges to the next month than incur a whopping fee in percentage terms.

tall lark
#

@versed plinth any further thoughts on this? Thanks!

versed plinth
#

Hi, my colleague hasn't been online yet. I will let them know when they are online!

compact light
#

no you can't really control any of this, if you create an invoice(or one is created from a recurring subscription), it pulls in any invoice items. For a metered subscription specifically there's really no way you could use the API the way you're describing I think without some massive hacks(like using https://stripe.com/docs/api/usage_records/create?lang=node#usage_record_create-action to set the usage to 0 just before the recurring invoice and then setting it back to the amount it had after the invoice is created)

tall lark
#

OK. It would be really really nice to have an option for a "minimum invoice amount" on a metered subscription, so that no such hacks would be needed.

compact light
#

but as far as I understand it, it's mostly intended to create additional invoices when usage gets too high, so not exactly the same

#

also to be clear, there is technically a minimum amount(https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts) , if the computed invoice total would be less than that, then the invoice gets immediately closed without charging the customer and the amount rolls over into the customer's balance to be charged in future invoices

See what currencies you can use for making charges and for paying out to your bank account.

tall lark
#

The minimum charge amount would be ideal if it could be changed by us. For example in GBP the minimum is set to £0.30 (the fixed part of the fee is £0.20) which is helpful, but ideally I (and possibly many others) would find it really useful to say that I don't want to bother charging anything less than e.g. £2.50, and just roll it over. With the current minimum set by Stripe, if the invoice amount is e.g. £0.50 then the effective percentage fee is 50%. Would there be any chance to make the minimum charge something we can change?

compact light