#TaniaObando
1 messages ยท Page 1 of 1 (latest)
Hello, is cus_sadgreg a placeholder or is that the actual ID of your customer in your system?
If not, can you send me the actual ID? I can look in to what API field you can find this value in
Thank you, checking in to that and will get back to you
ok
You can retrieve tax IDs for your customer with this endpoint https://stripe.com/docs/api/customer_tax_ids/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That API call retrieves the field that you are interested in from your screenshot
I don't think it is possible to have that field filled in without it being possible to retrieve via the API like that
Tax id is equal to fiscal ID ?
Hi ๐
What do you mean by fiscal ID? What does this identifier do?
Yes look the pictura that I share
The last field say "ID fiscal""
And the value is 123.456.789-0
How to retrieve this field with api?
I don't see any picture. Where is this data being entered?
Is that form in the Dashboard?
No, in the customer
I want to record a video
https://www.berrycast.com/conversations/3114b6de-c7fa-54aa-a953-a9584f1522ed look at that please
Want to record videos like this? Go to berrycast.com/record to sign up for a 14-day free trial and start recording unlimited videos.
No, in the customer
I'm afraid I don't know what that means. What happens when you use the API to retrieve the Customer object for the ID you referenced?
This is the json
<Customer customer id=cus_OaO2mUMkpb1d86 at 0x7f5428fc8510> JSON: {
"address": {
"city": "Cali",
"country": "CO",
"line1": "Cra 15",
"line2": null,
"postal_code": null,
"state": "MAG"
},
"balance": 0,
"created": 1693974169,
"currency": "eur",
"default_source": null,
"delinquent": false,
"description": null,
"discount": null,
"email": "colombiana@gmail.com",
"id": "cus_OaO2mUMkpb1d86",
"invoice_prefix": "DC3CE40C",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null,
"rendering_options": null
},
"livemode": false,
"metadata": {
"apply_taxes": "True",
"company": "subcuenta 1",
"company_id": "6",
"country": "ES",
"exclude_region": "True",
"request_user_email": "colombiana@gmail.com",
"tax_id": "764671247234"
},
"name": "La cholombiana",
"object": "customer",
"phone": "+573211231231",
"preferred_locales": [
"es-419"
],
"shipping": null,
"tax_exempt": "none",
"test_clock": null
}
This is the request
stripe.Customer.retrieve("cus_OaO2mUMkpb1d86")
But in the json doesnt exist the field about ID fiscal
Can you try the Tax ID list API, that should contain this information and you don't have to know the ID value: https://stripe.com/docs/api/customer_tax_ids/list
Ok perfect, thank you so much