#notillexxlukas

1 messages · Page 1 of 1 (latest)

torpid foxBOT
viral night
#

Hello

#

So you want all Invoices for multiple Subs on multiple Customers to contain the same text ID on the Invoice?

#

Is that correct?

hollow canyon
#

yes

viral night
#

And the text would need to be customer-facing? Not metadata?

hollow canyon
#

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)

viral night
hollow canyon
#

this is my solution in dashboardf... need a way for API / webhook too

viral night
#

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

hollow canyon
#

nice... I will take a look. Thanks so far

viral night
#

Sure

hollow canyon
#

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)

viral night
#

Yeah that's not possible really. We don't yet support setting those custom fields on a per-Sub basis via the API

hollow canyon
#

...indeed it is... just figured out

viral night
#

You can update the Invoices themselves

hollow canyon
#

subscription having same property as customer

#

just documentation is missing it in api referneces

#

i reverse engineered it in network watcher

viral night
#

Can you share a request where you did this? It hasn't been added to our SDKs yet as far as I know.

hollow canyon
#

this is what happend in dashboard (stripe frontend) -> POST to stripe API

viral night
#

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

hollow canyon
#

if s.th. is supported in frontend, it almost always is in backend (api) as well 😉

viral night
#

Yes almost always.

#

Unfortunately we don't have complete parity

#

Sometimes features are built Dashboard-only first and then later added to the API