#ben-syndica
1 messages ยท Page 1 of 1 (latest)
I see that we can use - https://stripe.com/docs/api/invoices/invoice_lines
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But it requires a separate API call. Is it possible to get ALL the items from retrieve invoice?
๐ Is there a specific invoice you're looking at?
It might be paginated, you can check has_more param in lines
https://stripe.com/docs/api/invoices/object#invoice_object-lines-has_more
in_1NkXtCITZzlUK3bSaZlPtarr
Gotcha. Seems like there are 12 items (not 11)
We typically recommend using the Retrieve Invoice's line Items endpoint for retreving more than 10 items at a time
https://stripe.com/docs/api/invoices/invoice_lines
There's no way to list all in the same call unfortunately