#Mael CHEMLA-invoice
1 messages · Page 1 of 1 (latest)
You don't set the product/amount on the Invoice itself - you create Invoice Items (https://stripe.com/docs/api/invoiceitems/create) which are added to the 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.
and yes, you don't need a produt to create an invoice item.
You don't even need a price if you want want one - you can just set unit_amount
The point is to create an invoice without product juste with lines with name price and unit_amount and subtotal
But dont create product or price_id
Yeah, so like I mentioned - you can set unit_amount (https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-unit_amount) and currency