#diego1367
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
What do you mean by 'missing balance of the subscription'?
This client has a subscription with graduated pricing, and they changed the subscription in the middle of the billing period. That means that next month they will need to pay the 'missing balance'. Now this 'missing balance' was auto-included in the one time purchase invoice
Here is a sample in_1OA8r2AFxlGPwjh5kbNCdgRQ
Taking a look
They're pulled in from the customer as you're passing pending_invoice_items_behavior: 'include'
Are you creating an invoice item before you create your invoice?
No, invoice items are created later. Since the create.invoice does not allow to me add invoice items at this point
If I set this to 'exclude', will that finalize the invoice immediately?
No it won't. What you need to do is create the invoice, pass pending_invoice_items_behavior: 'exclude' then create your invoice item(s) and pass the in_xxx ID here: https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-invoice
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.