#daniele-invoice-line-item
1 messages · Page 1 of 1 (latest)
@rustic tree to create an invoice you first have to create its line items via the Invoice Item API https://stripe.com/docs/api/invoiceitems/create
@lusty night just saw it, if i get it correctly:
- create invoice items
- create invoice, to the same customer, with auto_advance true
- the invoice will be processed automatically without having to do anything
yes
now receiving this error
You cannot combine currencies on a single customer. This customer has had a subscription, coupon, or invoice item with currency eur
is there any way to get the currency of a customer?
yes it's stored in https://stripe.com/docs/api/customers/object#customer_object-currency
thank you! that's all