#mirkowiththeK - invoices
1 messages · Page 1 of 1 (latest)
Hi there!
I'm not sure I understand. Are you using Stripe subscriptions? What exactly are you trying to do?
Yes Stripe Subscriptions, and when a payment comes through I would like the invoice to show what instalment was it and how many are left.
We have a product that can be bought in a 3 way payment, with recurring instalment each month. I would like the invoice to tell what installment is it (1st of 3, 2nd of 3, 3rd of three)
I would like the invoice to show what instalment was it and how many are left.
Is your question how to edit the invoices generated by a subscription?
Yes, and how to have the invoices/receipt showing what instalment is the customer paying each month.
So month 1 on the invoice/receipt a line will say "Instalment 1 of 3"
Month 2 on the invoice/'receipt "Instalment 2 of 3"
Month 3 "Instalment 3 of 3"
You could update the invoice when it is in draft mode to set some custom fields with https://stripe.com/docs/api/invoices/update#update_invoice-custom_fields
Note that the very first invoice of a subscription cannot be edited. But you could set the custom fields directly on the customer object and they will be automatically added to the invoice https://stripe.com/docs/api/customers/create#create_customer-invoice_settings-custom_fields
Thank you, I will have a look