Customer Tax IDs
Learn how to store, validate, and render customer tax ID numbers with Stripe Billing.
Displaying a customer’s tax ID on invoice documents is a common requirement that you can satisfy by adding tax IDs to customers. A customer’s tax IDs display in the header of invoice and credit note PDFs.
Supported Tax ID types 
Currently, Stripe supports the following Tax ID types in the following regions:
国家/地区 | 枚举 | 描述 | 示例 |
---|---|---|---|
EU | eu_ | 非联盟计划的欧洲一站式增值税税号 | EU123456789 |
中国 | cn_ | 中国税号 | 123456789012345678 |
中国香港 | hk_ | 香港商业登记证编号 (BR) | 12345678 |
丹麦 | eu_ | European VAT number | DK12345678 |
乌克兰 | ua_ | 乌克兰增值税税号 (VAT) | 123456789 |
乌兹别克斯坦 | uz_ | 乌兹别克斯坦 TIN 号 | 123456789 |
乌兹别克斯坦 | uz_ | 乌兹别克斯坦 VAT 号 | 123456789012 |
乌干达 | ug_ | 乌干达纳税人识别号 | 1014751879 |
乌拉圭 | uy_ | 乌拉圭 RUC 号 | 123456789012 |
亚美尼亚 | am_ | 亚美尼亚纳税人识别号 | 02538904 |
以色列 | il_ | 以色列增值税税号 (VAT) | 000012345 |
俄罗斯 | ru_ | 俄罗斯企业编码 (INN) | 1234567891 |
俄罗斯 | ru_ | 俄罗斯工业企业编码 (KPP) | 123456789 |
保加利亚 | bg_ | 保加利亚统一识别码 | 123456789 |
保加利亚 | eu_ | European VAT number | BG0123456789 |
克罗地亚 | eu_ | European VAT number | HR12345678912 |
克罗地亚 | hr_ | 克罗地亚个人身份号码 | 12345678901 |
冰岛 | is_ | 冰岛增值税 (VAT) | 123456 |
几内亚 | gn_ | 几内亚纳税人识别号 (Número de Identificação Fiscal) | 123456789 |
列支敦士登 | li_ | 列支敦斯登公司税号 (UID) | CHE123456789 |
列支敦士登 | li_ | 列支敦斯登公司税号 (VAT) | 12345 |
刚果(金) | cd_ | 刚果 (DR) 纳税人识别号 (Número de Identificação Fiscal) | A0123456M |
加拿大 | ca_ | 加拿大商业号码 (BN) | 123456789 |
加拿大 | ca_ | 加拿大商品及服务税/统一销售税税号 (GST/HST) | 123456789RT0002 |
加拿大 | ca_ | 加拿大省销售税税号 (PST)(不列颠哥伦比亚) | PST-1234-5678 |
加拿大 | ca_ | 加拿大省销售税税号 (PST)(马尼托巴湖) | 123456-7 |
加拿大 | ca_ | 加拿大省销售税税号 (PST)(萨斯喀彻温省) | 1234567 |
加拿大 | ca_ | 加拿大魁北克销售税 (QST)(魁北克) | 1234567890TQ1234 |
匈牙利 | eu_ | European VAT number | HU12345678 |
匈牙利 | hu_ | 刚果税号 (adószám) | 12345678-1-23 |
北马其顿 | mk_ | 北马其顿增值税税号 | MK1234567890123 |
南非 | za_ | 南非增值税税号 (VAT) | 4123456789 |
卢森堡 | eu_ | European VAT number | LU12345678 |
印度 | in_ | 印度商品及服务税税号 (GST) | 12ABCDE3456FGZH |
印度尼西亚 | id_ | 印度尼西亚纳税人识别号 (NPWP) | 012.345.678.9-012.345 |
厄瓜多尔 | ec_ | 厄瓜多尔 RUC 号 | 1234567890001 |
台湾 | tw_ | 中国台湾增值税税号 (VAT) | 12345678 |
哈萨克斯坦 | kz_ | 哈萨克斯坦商家识别码 | 123456789012 |
哥伦比亚 | co_ | 哥伦比亚 NIT 号 | 123.456.789-0 |
哥斯达黎加 | cr_ | 哥斯达黎加税号 | 1-234-567890 |
土耳其 | tr_ | 土耳其税务识别号 | 0123456789 |
坦桑尼亚 | tz_ | 汤桑尼亚增值税税号 | 12345678A |
埃及 | eg_ | 埃及税务识别号 | 123456789 |
塔吉克斯坦 | tj_ | 塔吉克斯坦纳税人识别号 | 123456789 |
塞内加尔 | sn_ | 塞内加尔 NINEA 号码 | 12345672A2 |
塞尔维亚 | rs_ | 塞尔维亚 PIB 号 | 123456789 |
塞浦路斯 | eu_ | European VAT number | CY12345678Z |
多米尼加共和国 | do_ | 多米尼加 RCN 号 | 123-4567890-1 |
奥地利 | eu_ | European VAT number | ATU12345678 |
委内瑞拉 | ve_ | 委内瑞拉 RIF 号 | A-12345678-9 |
安哥拉 | ao_ | 安哥拉纳税人识别号 | 5123456789 |
安道尔 | ad_ | 安道尔 NRT 号 | A-123456-Z |
尼日利亚 | ng_ | 尼日利亚纳税人识别码 | 12345678-0001 |
尼泊尔 | np_ | 尼泊尔 PAN 号码 | 123456789 |
巴哈马 | bs_ | 巴哈马纳税人识别号 | 123.456.789 |
巴巴多斯 | bb_ | 巴巴多斯纳税人识别号 | 1123456789012 |
巴林 | bh_ | 巴林增值税税号 | 123456789012345 |
巴西 | br_ | 巴西法人国家登记号 (CNPJ) | 01.234.456/5432-10 |
巴西 | br_ | 巴西个人税号 (CPF) | 123.456.789-87 |
希腊 | eu_ | European VAT number | EL123456789 |
德国 | de_ | 德国税号 (Steuernummer) | 1234567890 |
德国 | eu_ | European VAT number | DE123456789 |
意大利 | eu_ | European VAT number | IT12345678912 |
拉脱维亚 | eu_ | European VAT number | LV12345678912 |
挪威 | no_ | 挪威增值税税号 (VAT) | 123456789MVA |
挪威 | no_ | 挪威电子商务号码增值税 | 1234567 |
捷克 | eu_ | European VAT number | CZ1234567890 |
摩尔多瓦 | md_ | 摩尔多瓦增值税税号 | 1234567 |
摩洛哥 | ma_ | 摩洛哥增值税税号 | 12345678 |
斯洛伐克 | eu_ | European VAT number | SK1234567891 |
斯洛文尼亚 | eu_ | European VAT number | SI12345678 |
斯洛文尼亚 | si_ | 斯洛文尼亚税号 (davčna številka) | 12345678 |
新加坡 | sg_ | 新加坡商品及服务税税号 (GST) | M12345678X |
新加坡 | sg_ | 新加坡唯一实体号 (UEN) | 123456789F |
新西兰 | nz_ | 新西兰商品及服务税税号 (GST) | 123456789 |
日本 | jp_ | 日本企业代码 (*Hōjin Bangō*) | 1234567891234 |
日本 | jp_ | 日本注册外国企业注册号 (*Tōroku Kokugai Jigyōsha no Tōroku Bangō*) | 12345 |
日本 | jp_ | 日本税务注册号码 (*Tōroku Bangō*) | T1234567891234 |
智利 | cl_ | 智利纳税人识别号 (TIN) | 12.345.678-K |
柬埔寨 | kh_ | 柬埔寨纳税人识别号 | 1001-123456789 |
格鲁吉亚 | ge_ | 格鲁吉亚增值税税号 (VAT) | 123456789 |
比利时 | eu_ | European VAT number | BE0123456789 |
毛里塔尼亚 | mr_ | 毛里塔尼亚纳税人识别号 (Número de Identificação Fiscal) | 12345678 |
沙特阿拉伯 | sa_ | 沙特阿拉伯增值税税号 (VAT) | 123456789012345 |
法国 | eu_ | European VAT number | FRAB123456789 |
波兰 | eu_ | European VAT number | PL1234567890 |
波斯尼亚和黑塞哥维那 | ba_ | 波斯尼亚和黑塞哥维那纳税人识别号 | 123456789012 |
泰国 | th_ | 泰国增值税税号 (VAT) | 1234567891234 |
津巴布韦 | zw_ | 津巴布韦纳税人识别号 | 1234567890 |
澳大利亚 | au_ | 澳大利亚商业号码 (AU ABN) | 12345678912 |
澳大利亚 | au_ | 澳大利亚税务局参考号码 | 123456789123 |
爱尔兰 | eu_ | European VAT number | IE1234567AB |
爱沙尼亚 | eu_ | European VAT number | EE123456789 |
玻利维亚 | bo_ | 玻利维亚税号 | 123456789 |
瑞典 | eu_ | European VAT number | SE123456789123 |
瑞士 | ch_ | 瑞士 UID 号 | CHE-123.456.789 HR |
瑞士 | ch_ | 瑞士增值税税号 (VAT) | CHE-123.456.789 MWST |
白俄罗斯 | by_ | 白俄罗斯 TIN 号 | 123456789 |
秘鲁 | pe_ | 秘鲁 RUC 号 | 12345678901 |
立陶宛 | eu_ | European VAT number | LT123456789123 |
罗马尼亚 | eu_ | European VAT number | RO1234567891 |
罗马尼亚 | ro_ | 罗马尼亚税号 | 1234567890123 |
美国 | us_ | 美国雇主识别码 (EIN) | 12-3456789 |
肯尼亚 | ke_ | 肯尼亚税务局个人识别号码 | P000111111A |
芬兰 | eu_ | European VAT number | FI12345678 |
苏里南 | sr_ | 苏里南 FIN 号码 | 1234567890 |
英国 | eu_ | Northern Ireland VAT number | XI123456789 |
英国 | gb_ | 英国增值税税号 (VAT) | GB123456789 |
荷兰 | eu_ | European VAT number | NL123456789B12 |
菲律宾 | ph_ | 菲律宾税务识别号 | 123456789012 |
萨尔瓦多 | sv_ | 萨尔瓦多 NIT 号 | 1234-567890-123-4 |
葡萄牙 | eu_ | European VAT number | PT123456789 |
西班牙 | es_ | 西班牙 NIF 编号(之前为西班牙 CIF 编号) | A12345678 |
西班牙 | eu_ | European VAT number | ESA1234567Z |
赞比亚 | zm_ | 赞比亚纳税人识别号 | 1004751879 |
越南 | vn_ | 越南税号 | 1234567890 |
阿尔巴尼亚 | al_ | 阿尔巴尼亚纳税人识别号 | J12345678N |
阿曼 | om_ | 阿曼增值税税号 | OM1234567890 |
阿根廷 | ar_ | 阿根廷税号 | 12-3456789-01 |
阿联酋 | ae_ | 阿联酋税务登记号码 (TRN) | 123456789012345 |
韩国 | kr_ | 韩国商业登记号码 (BRN) | 123-45-67890 |
马尔他 | eu_ | European VAT number | MT12345678 |
马来西亚 | my_ | 马来西亚国外注册人员号码 (FRP) | 12345678 |
马来西亚 | my_ | 马来西亚所得税编号 (ITN) | C 1234567890 |
马来西亚 | my_ | 马来西亚销售与服务税税号 (SST) | A12-3456-78912345 |
黑山 | me_ | 黑山 PIB 号码 | 12345678 |
墨西哥 | mx_ | 墨西哥纳税登记号 (RFC) | ABC010203AB9 |
Validation 
You’re responsible for the accuracy of customer information including their tax ID number. The invoice includes the customer tax ID whether or not it’s valid.
Stripe provides automatic validation to help determine if the formatting is correct when you add the ID to our system. You can see the results of the validation in the Dashboard along with other customer information, including details returned from the government databases, and the registered name and address. However, we don’t continue to validate them over time. If automatic validation isn’t available, you must manually verify these IDs.
Australian Business Numbers (ABN) 
Stripe automatically validates all Australian Business Numbers (ABNs) with the Australian Business Register (ABR).
European Value-Added-Tax (EU VAT) Numbers 
Stripe also automatically validates all European Value-Added-Tax (EU VAT) numbers with the European Commission’s VAT Information Exchange System (VIES). This process only validates whether or not the tax ID is valid—you still need to verify the customer’s name and address to make sure it matches the registration information.
VIES validation usually takes only a few seconds, but depending on the availability of various government databases, might take longer. Stripe automatically handles VIES downtime and attempts retries.
United Kingdom Value-Added-Tax (GB VAT) Numbers 
Stripe automatically validates all UK Value-Added-Tax (GB VAT) numbers with the United Kingdom’s Revenue & Customs (HMRC). This process only validates whether or not the tax ID is valid—you still need to verify the customer’s name and address to make sure it matches the registration information.
HMRC validation usually takes only a few seconds, but depending on the availability, might take longer. Stripe automatically handles HMRC downtime and attempts retries.
Testing customer tax ID verification 
Use these magic tax IDs to trigger certain verification conditions in test mode. The tax ID type must be either the EU VAT Number or Australian Business Number (ABN).
Number | Type |
---|---|
000000000 | Successful verification |
111111111 | Unsuccessful verification |
222222222 | Verification remains pending indefinitely |
Validation webhooks and Dashboard display 
Because this validation process happens asynchronously, the customer.tax_id.updated webhook notifies you of validation updates.

Hover over a customer’s EU VAT number to display their VIES information.
The Dashboard displays the results of the validation within the customer details, including information returned from the government databases, and the registered name and address.
When automatic validation isn’t available, you must manually verify these IDs.
Managing 
You can manage tax IDs in the Dashboard, with the customer portal, or the Tax ID API.