#koidestroyer-invoice-items
1 messages ยท Page 1 of 1 (latest)
Hi ๐ you're close. When you create the Invoice, it will pull in any pending Invoice Items for that Customer (unless the Invoice Item has a value in its subscription field that will restrict it to only being pulled into invoices for that particular subscription).
oooh, so there's magic, I don't need to pull in the items?
that's fancy
and if I have more than 250 items then it'll auto invoice 2 invoices for the customer?
Correct, though if things happening automatically isn't ideal, we recently introduced an alternative approach where you create an empty Invoice and then add Invoice Items directly to that.
and how do you choose which is happening? You mark the invoiceitems somehow?
There is a parameter when creating an Invoice that controls whether it pulls in pending Invoice Items or not:
https://stripe.com/docs/api/invoices/create#create_invoice-pending_invoice_items_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks!
Any time!