Add an invoice item — either to a specific draft invoice or pending on the customer's next invoice.
Create an invoice (a draft by default).
Finalize a draft invoice so it becomes payable.
Retrieve an invoice by ID.
List invoices with cursor-based pagination.
Optionaloptions: ListInvoicesOptionsList all lines of an invoice (every page, fetched for you).
Pay a finalized invoice.
Send an invoice to the customer for manual payment (send_invoice
collection). Emails a hosted invoice link.
Void a finalized invoice (it can no longer be paid).
Invoices service wrapping Stripe Invoices and Invoice Items.
A typical flow: add items, create a draft invoice, finalize it, then either let Stripe charge it automatically or
sendit for manual payment.Example