#dan-burke
1 messages · Page 1 of 1 (latest)
Hi there! What you'll want to start with are invoice line items: https://stripe.com/docs/api/invoices/line_item
Well, let me take a step back. You can create an empty/draft invoice and then create invoice items. When creating the invoice item, you can specify the invoice ID that that item corresponds to: https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-invoice
Alternatively, you can create a set of invoice items and then automatically pull those invoice items into a new invoice by setting pending_invoice_item_behavior to include: https://stripe.com/docs/api/invoices/create#create_invoice-pending_invoice_items_behavior
Glad to help!