#Killian Quoniou
1 messages ยท Page 1 of 1 (latest)
Hi
It's the tax id of the account itself, please refer to this guide https://stripe.com/docs/tax/tax-ids#tax-ids-invoices--api
You can check all supported tax ids types:
https://stripe.com/docs/tax/tax-ids#supported-tax-ids
ok so correct me if i'm wrong, when a user enter it's tax id i can get the TaxId object created by receiving a webhook with the id of the object ?
i precise that my users create their connected account on our website and connected accounts are "custom"
You can get the Tax id from your dashboard in https://dashboard.stripe.com/settings/billing/invoice
Double checking if you can do this for Connected Accounts...
Because Custom Account don't have Dashboard access.
What type of charges are you willing to use ? Direct or Destination/Separate Charge and Transfers?
the invoice i'm generating is just for information, i automatically mark it as paid out of band
in fact i just transfer fund from stripe global instance to one connected account, so i generate an invoice saying that the connected account received fund
but the invoice isn't payable
it's just for information purpose
Ah ok so you are using Invoices for your Connected Account ?
And not for your end customers (who purchases good/services)
Ah, Invoices are for Customer https://stripe.com/docs/api/customers and not for Connected Account.
In this case you need to add the tax id in your Platform Dashboad at https://dashboard.stripe.com/settings/billing/invoice get the tax id and pass it via API when creating the Invoice
You can copy the id from your dashboard as I mentioned above ๐
ok but connected account in my case are companies also and have tax ids, but they don't have access to the dashboard. So is there a way to generate a TaxId for a connected account using only the API ?
In France invoices need to contain the tax id of the company editing it
Your use case is quiet particular, the workaround I'm seeing is to add all account tax ids in your platform and create the invoice from your Platform Account to your Connected Account. If you want to create an Invoice from your Connected Account to your Platform, not sure if this is possible... I'll double check...
Just to confirm, you want to Create an invoice from your Connected Account to your Platform right ?
Can you share an example requestId of an invoice creation ?
ok the solution is to store the tax id of the connected account on my own database and to pass it as custom_fields on invoice creation ?
yes that's it
an invoice Id ?
Yes that coul dbe a solution
yes it can be.
ok let me find one
in_1MuA2i2Q7tVJnu7ZftLm2dRc
this one for example
the customer is GGL
the connected account is "l"
don't pay attention to name of both i'm testing
and what i want is to display on the invoice is the tax id of connected account "l"
GGL is your Platform or normal Customer ?
yes
GGL is a connected account also but this is the customer, i don't need more information from him
OK, the simplest (probably only) solution is to use custom_fields when creating the Invoice.
Np!