#notillexxlukas
1 messages · Page 1 of 1 (latest)
Hello
So you want all Invoices for multiple Subs on multiple Customers to contain the same text ID on the Invoice?
Is that correct?
yes
And the text would need to be customer-facing? Not metadata?
on each invoice (for each sub) should be a custom field containing a relating ID to identify the sub
metadata is fine... but in the end, it has to be printed on the invoice (pdf)
Okay if you actually want it on the Invoice PDF then your only option is to set invoice_settings.custom_fields on the Customer object: https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-custom_fields
this is my solution in dashboardf... need a way for API / webhook too
Yeah that field in the Dashboard isn't supported in the API. It is Dashboard-only right now. But you can do something similar with what I linked above
nice... I will take a look. Thanks so far
Sure
mh... there is a problem:
the "invoice_settings.custom_fields" is based on customer entity.
I need it on subscripton entity
because the content is different per subscription (not per customer)
Yeah that's not possible really. We don't yet support setting those custom fields on a per-Sub basis via the API
...indeed it is... just figured out
You can update the Invoices themselves
subscription having same property as customer
just documentation is missing it in api referneces
i reverse engineered it in network watcher
Can you share a request where you did this? It hasn't been added to our SDKs yet as far as I know.
Yes as I noted that is supported in the Dashboard
But it is not yet supported via our SDKs for you to make API requests