#madclaws
1 messages · Page 1 of 1 (latest)
Hi there, you can still create an invoice without using subscription.
Thanks for fast response. Yes, i know subscription is optional, but in /create-invoice, there is no field to pass amount to deduct. So how will we define it?
You should either
- create invoice items first, and then create an invoice
- create an empty invoice first, and specify the
invoiceID when creating invoice items
create invoice items first, and then create an invoice
I couldn't find any field that referenceinvoice_itemsin/create-invoice.
Or sinceinvoice_itemsare linked withcustomer. Is it automatically referred?
Also i want to charge the user, when i create invoice too
When you create an invoice, you can set pending_invoice_items_behavior=include and Stripe will include any pending invoice items to this invoice.
Thanks a lot for your help, will try this out. 