#mjezewski-subscription-proration
1 messages · Page 1 of 1 (latest)
mjezewski-subscription-proration
@sweet jungle the resulting lines would have https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-proration set to true if they are about proration so you want to filter to only those
That is helpful, but ideally this info would be excluded from the invoice totals as well, is this possible to achieve?
This Invoice simulates what the next Invoice will look like which would be at the start of the next period.
What you can do those is pass this parameter: https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-subscription_proration_behavior
Basically pass subscription_proration_behavior: 'always_invoice' so that we show you what the immediate Invoice would look like
yay!