#oleg-codaio
1 messages · Page 1 of 1 (latest)
When you say "pending line items" are you talking about the line items for the next full billing cycle?
Here's an example customer this happened with: https://dashboard.stripe.com/customers/cus_MlTYSDoLggoAHk
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Or are you talking about other pending invoice items on the customer?
So we're using subscription items with quantities and basically the customer got a bunch of credit from decreasing quantity from 10 to 1
Then they decided to upgrade to a more expensive plan, thinking that the credit they got from the downgrade would apply to their invoice, But instead it didn't, and those invoice items remain pending there
They're pending line items from subscription prorations in this case
Gotcha - let me take a closer look at that customer
Turns out this is expected behavior for proration_behavior: always_invoice (we don't pull in those pending invoice items unless you also reset the billing_cycle_anchor with always_invoice)
Got it, any workarounds you'd recommend apart from resetting the billing cycle?
I guess I could figure out how to manually edit the invoice while it's in a draft state, remove pending line items and add them to the invoice
Or after making the proration could I just manually do invoice create to create an invoice?