Tax IDs v1
You can add one or multiple tax IDs to a customer or account. Customer and account tax IDs get displayed on related invoices and credit notes.
Related guides: Customer tax identification numbers, Account tax IDs
Attributes
- idstring
Unique identifier for the object.
- countrynullable string
Two-letter ISO code representing the country of the tax ID.
- customernullable stringExpandable
ID of the customer.
- customer_
accountnullable string ID of the Account representing the customer.
- typeenum
Type of the tax ID, one of
ad_,nrt ae_,trn al_,tin am_,tin ao_,tin ar_,cuit au_,abn au_,acn au_,arn au_,wpn aw_,tin az_,tin ba_,tin bb_,tin bd_,bin bf_,ifu bg_,uic bh_,vat bj_,ifu bo_,tin br_,cnpj br_,cpf bs_,tin bw_,vat by_,tin ca_,bn ca_,gst_ hst ca_,pst_ bc ca_,pst_ mb ca_,pst_ sk ca_,qst cd_,nif ch_,uid ch_,vat ci_,vat cl_,tin cm_,niu cn_,tin co_,nit cr_,tin cv_,nif cz_,dic de_,stn do_,rcn ec_,ruc eg_,tin es_,cif et_,tin eu_,oss_ vat eu_,vat fo_,vat fr_,siren fr_,siret fr_,spi gb_,vat ge_,vat gh_,tin gi_,tin gn_,nif hk_,br hr_,oib hu_,tin ic_,nif id_,npwp il_,vat in_,gst is_,kt is_,vat it_,cf jp_,cn jp_,rn jp_,trn ke_,pin kg_,tin kh_,tin kr_,brn kz_,bin la_,tin li_,uid li_,vat lk_,vat ma_,vat md_,cf md_,vat me_,pib mk_,vat mr_,nif mu_,vat mx_,rfc my_,frp my_,itn my_,sst mz_,nuit ng_,tin no_,vat no_,voec np_,pan nz_,bn nz_,gst om_,vat pe_,ruc ph_,tin pl_,nip pt_,nif py_,ruc ro_,tin rs_,pib ru_,inn ru_,kpp sa_,vat sg_,gst sg_,uen si_,tin sm_,coe sn_,ninea sr_,fin sv_,nit th_,vat tj_,tin tr_,tin tt_,bir tt_,vat tw_,vat tz_,vat ua_,vat ug_,tin us_,ein uy_,ruc uz_,tin uz_,vat ve_,rif vn_,tin za_,vat zm_, ortin zw_. Note that some legacy tax IDs have typetin unknownPossible enum valuesad_nrt ae_trn al_tin am_tin ao_tin ar_cuit au_abn au_acn au_arn au_wpn Show 126 more - valuestring
Value of the tax ID.
More attributes
- objectstring, value is "tax_id"
- createdtimestamp
- livemodeboolean
- ownernullable object
- verificationnullable object
{ "id": "txi_1NuMB12eZvKYlo2CMecoWkZd", "object": "tax_id", "country": "DE", "created": 123456789, "customer": null, "livemode": false, "type": "eu_vat", "value": "DE123456789", "verification": null, "owner": { "type": "self", "customer": null }}Creates a new tax_ object for a customer.
Parameters
- idstringRequired
Unique identifier for the object.
- typeenumRequired
Type of the tax ID, one of
ad_,nrt ae_,trn al_,tin am_,tin ao_,tin ar_,cuit au_,abn au_,acn au_,arn au_,wpn aw_,tin az_,tin ba_,tin bb_,tin bd_,bin bf_,ifu bg_,uic bh_,vat bj_,ifu bo_,tin br_,cnpj br_,cpf bs_,tin bw_,vat by_,tin ca_,bn ca_,gst_ hst ca_,pst_ bc ca_,pst_ mb ca_,pst_ sk ca_,qst cd_,nif ch_,uid ch_,vat ci_,vat cl_,tin cm_,niu cn_,tin co_,nit cr_,tin cv_,nif cz_,dic de_,stn do_,rcn ec_,ruc eg_,tin es_,cif et_,tin eu_,oss_ vat eu_,vat fo_,vat fr_,siren fr_,siret fr_,spi gb_,vat ge_,vat gh_,tin gi_,tin gn_,nif hk_,br hr_,oib hu_,tin ic_,nif id_,npwp il_,vat in_,gst is_,kt is_,vat it_,cf jp_,cn jp_,rn jp_,trn ke_,pin kg_,tin kh_,tin kr_,brn kz_,bin la_,tin li_,uid li_,vat lk_,vat ma_,vat md_,cf md_,vat me_,pib mk_,vat mr_,nif mu_,vat mx_,rfc my_,frp my_,itn my_,sst mz_,nuit ng_,tin no_,vat no_,voec np_,pan nz_,bn nz_,gst om_,vat pe_,ruc ph_,tin pl_,nip pt_,nif py_,ruc ro_,tin rs_,pib ru_,inn ru_,kpp sa_,vat sg_,gst sg_,uen si_,tin sm_,coe sn_,ninea sr_,fin sv_,nit th_,vat tj_,tin tr_,tin tt_,bir tt_,vat tw_,vat tz_,vat ua_,vat ug_,tin us_,ein uy_,ruc uz_,tin uz_,vat ve_,rif vn_,tin za_,vat zm_, ortin zw_tin Possible enum valuesad_nrt ae_trn al_tin am_tin ao_tin ar_cuit au_abn au_acn au_arn au_wpn Show 125 more - valuestringRequired
Value of the tax ID.
Returns
The created tax_ object.
curl https://api.stripe.com/v1/customers/{{CUSTOMER_ID}}/tax_ids \ -u "sk_test_...sk_test_...:" \ -H "Stripe-Version: 2026-10-28.endive" \ -d type=eu_vat \ -d value=DE123456789{ "id": "txi_1MoC8zLkdIwHu7ixEhgWcHzJ", "object": "tax_id", "country": "DE", "created": 1679431857, "customer": "cus_NZKoSNZZ58qtO0", "livemode": false, "type": "eu_vat", "value": "DE123456789", "verification": { "status": "pending", "verified_address": null, "verified_name": null }}