#gs_cc - invoice
1 messages ยท Page 1 of 1 (latest)
๐ Thanks for reaching out
Do you mean to clone the customer metada to his invoice metada, here https://stripe.com/docs/api/invoices/object#invoice_object-metadata ?
Not exactly - I'd like to copy metadata from Customer (unsupported tax id in this case) to be visible on every invoice exported to PDF to this customer.
So if you want that this kind of information are visible in the invoice, you may need to update the customer invoice_settings.custom_fields so that it will be visible on the invoice and not metadata on the invoice
https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-custom_fields
Yes - but I have to do this manually on every invoice I think? No option to automate it (eg. by some kind of mapping maybe)?
You need to update the field on the customer object once, and then all his invoices will have these custom fields displayed
It worked! That's the thing I wanted to achieve. Thank you very much ๐
Great! Happy to help!