stripe 18.1.0-beta.3 → 18.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/Error.js +2 -2
  5. package/cjs/RequestSender.js +3 -7
  6. package/cjs/Webhooks.js +6 -2
  7. package/cjs/apiVersion.js +1 -1
  8. package/cjs/net/FetchHttpClient.js +3 -4
  9. package/cjs/resources/Privacy/RedactionJobs.js +0 -4
  10. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +4 -0
  11. package/cjs/stripe.core.js +2 -4
  12. package/cjs/utils.js +28 -4
  13. package/esm/Error.js +2 -2
  14. package/esm/RequestSender.js +4 -8
  15. package/esm/Webhooks.js +6 -2
  16. package/esm/apiVersion.js +1 -1
  17. package/esm/net/FetchHttpClient.js +3 -4
  18. package/esm/resources/Privacy/RedactionJobs.js +0 -4
  19. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +4 -0
  20. package/esm/stripe.core.js +2 -4
  21. package/esm/utils.js +24 -3
  22. package/package.json +12 -3
  23. package/types/AccountsResource.d.ts +2 -2
  24. package/types/ChargesResource.d.ts +2 -2
  25. package/types/Checkout/Sessions.d.ts +24 -4
  26. package/types/Checkout/SessionsResource.d.ts +7 -0
  27. package/types/ConfirmationTokens.d.ts +5 -0
  28. package/types/CustomersResource.d.ts +23 -3
  29. package/types/Events.d.ts +2 -2
  30. package/types/ExternalAccountsResource.d.ts +1 -1
  31. package/types/InvoiceLineItems.d.ts +1 -1
  32. package/types/Invoices.d.ts +12 -2
  33. package/types/InvoicesResource.d.ts +25 -1
  34. package/types/Orders.d.ts +11 -1
  35. package/types/OrdersResource.d.ts +22 -2
  36. package/types/PaymentIntentsResource.d.ts +4 -4
  37. package/types/PaymentMethods.d.ts +5 -0
  38. package/types/Privacy/RedactionJobs.d.ts +23 -1
  39. package/types/Privacy/RedactionJobsResource.d.ts +0 -22
  40. package/types/QuotePreviewInvoices.d.ts +12 -2
  41. package/types/QuotePreviewSubscriptionSchedules.d.ts +7 -0
  42. package/types/Quotes.d.ts +8 -1
  43. package/types/QuotesResource.d.ts +7 -0
  44. package/types/SubscriptionSchedules.d.ts +7 -0
  45. package/types/SubscriptionSchedulesResource.d.ts +7 -0
  46. package/types/Subscriptions.d.ts +7 -0
  47. package/types/SubscriptionsResource.d.ts +8 -1
  48. package/types/Tax/Calculations.d.ts +11 -1
  49. package/types/Tax/CalculationsResource.d.ts +11 -1
  50. package/types/Tax/Registrations.d.ts +27 -0
  51. package/types/Tax/RegistrationsResource.d.ts +36 -0
  52. package/types/Tax/Transactions.d.ts +11 -1
  53. package/types/TaxIds.d.ts +11 -1
  54. package/types/TaxIdsResource.d.ts +11 -1
  55. package/types/TestHelpers/ConfirmationTokensResource.d.ts +7 -1
  56. package/types/Treasury/OutboundPaymentsResource.d.ts +0 -5
  57. package/types/V2/Core/AccountLinks.d.ts +6 -1
  58. package/types/V2/Core/Accounts/PersonsResource.d.ts +10 -0
  59. package/types/V2/Core/Accounts.d.ts +142 -30
  60. package/types/V2/Core/AccountsResource.d.ts +25 -6
  61. package/types/V2/Core/Persons.d.ts +10 -0
  62. package/types/V2/Core/Vault/GbBankAccounts.d.ts +7 -2
  63. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +1 -1
  64. package/types/V2/Core/Vault/UsBankAccounts.d.ts +8 -3
  65. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +5 -5
  66. package/types/V2/EventTypes.d.ts +174 -33
  67. package/types/V2/FinancialAddressCreditSimulations.d.ts +5 -0
  68. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +5 -0
  69. package/types/V2/MoneyManagement/Adjustments.d.ts +7 -2
  70. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +7 -1
  71. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +6 -0
  72. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +1 -0
  73. package/types/V2/MoneyManagement/InboundTransfers.d.ts +6 -1
  74. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +28 -1
  75. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +22 -0
  76. package/types/V2/MoneyManagement/OutboundPayments.d.ts +7 -2
  77. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +5 -0
  78. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +7 -2
  79. package/types/V2/MoneyManagement/PayoutMethods.d.ts +7 -2
  80. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +5 -0
  81. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +5 -0
  82. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +5 -0
  83. package/types/V2/MoneyManagement/TransactionEntries.d.ts +5 -1
  84. package/types/V2/MoneyManagement/Transactions.d.ts +5 -1
  85. package/types/WebhookEndpointsResource.d.ts +6 -5
  86. package/types/index.d.ts +0 -1
  87. package/types/lib.d.ts +1 -1
  88. package/types/test/typescriptTest.ts +3 -3
  89. package/types/Privacy/RedactionJobRootObjects.d.ts +0 -35
@@ -514,7 +514,7 @@ declare module 'stripe' {
514
514
  /**
515
515
  * The tax provider powering automatic tax.
516
516
  */
517
- provider?: string | null;
517
+ provider: string | null;
518
518
 
519
519
  /**
520
520
  * The status of the most recent automated tax calculation for this invoice.
@@ -599,7 +599,7 @@ declare module 'stripe' {
599
599
 
600
600
  interface CustomerTaxId {
601
601
  /**
602
- * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
602
+ * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
603
603
  */
604
604
  type: CustomerTaxId.Type;
605
605
 
@@ -619,10 +619,15 @@ declare module 'stripe' {
619
619
  | 'ar_cuit'
620
620
  | 'au_abn'
621
621
  | 'au_arn'
622
+ | 'aw_tin'
623
+ | 'az_tin'
622
624
  | 'ba_tin'
623
625
  | 'bb_tin'
626
+ | 'bd_bin'
627
+ | 'bf_ifu'
624
628
  | 'bg_uic'
625
629
  | 'bh_vat'
630
+ | 'bj_ifu'
626
631
  | 'bo_tin'
627
632
  | 'br_cnpj'
628
633
  | 'br_cpf'
@@ -638,14 +643,17 @@ declare module 'stripe' {
638
643
  | 'ch_uid'
639
644
  | 'ch_vat'
640
645
  | 'cl_tin'
646
+ | 'cm_niu'
641
647
  | 'cn_tin'
642
648
  | 'co_nit'
643
649
  | 'cr_tin'
650
+ | 'cv_nif'
644
651
  | 'de_stn'
645
652
  | 'do_rcn'
646
653
  | 'ec_ruc'
647
654
  | 'eg_tin'
648
655
  | 'es_cif'
656
+ | 'et_tin'
649
657
  | 'eu_oss_vat'
650
658
  | 'eu_vat'
651
659
  | 'gb_vat'
@@ -662,9 +670,11 @@ declare module 'stripe' {
662
670
  | 'jp_rn'
663
671
  | 'jp_trn'
664
672
  | 'ke_pin'
673
+ | 'kg_tin'
665
674
  | 'kh_tin'
666
675
  | 'kr_brn'
667
676
  | 'kz_bin'
677
+ | 'la_tin'
668
678
  | 'li_uid'
669
679
  | 'li_vat'
670
680
  | 'ma_vat'
@@ -32,6 +32,11 @@ declare module 'stripe' {
32
32
  */
33
33
  billing_behavior?: QuotePreviewSubscriptionSchedule.BillingBehavior;
34
34
 
35
+ /**
36
+ * The [billing mode](https://stripe.com/api/subscriptions/create#create_subscription-billing_mode) that will be used to process all future operations for the subscription schedule.
37
+ */
38
+ billing_mode?: QuotePreviewSubscriptionSchedule.BillingMode;
39
+
35
40
  /**
36
41
  * Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
37
42
  */
@@ -144,6 +149,8 @@ declare module 'stripe' {
144
149
 
145
150
  type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
146
151
 
152
+ type BillingMode = 'classic' | 'flexible';
153
+
147
154
  interface CurrentPhase {
148
155
  /**
149
156
  * The end of this phase of the subscription schedule.
package/types/Quotes.d.ts CHANGED
@@ -216,7 +216,7 @@ declare module 'stripe' {
216
216
  /**
217
217
  * The tax provider powering automatic tax.
218
218
  */
219
- provider?: string | null;
219
+ provider: string | null;
220
220
 
221
221
  /**
222
222
  * The status of the most recent automated tax calculation for this quote.
@@ -759,6 +759,11 @@ declare module 'stripe' {
759
759
  */
760
760
  billing_cycle_anchor?: 'reset' | null;
761
761
 
762
+ /**
763
+ * The [billing mode](https://stripe.com/api/subscriptions/create#create_subscription-billing_mode) that will be set on the subscription once the quote is accepted.
764
+ */
765
+ billing_mode?: SubscriptionData.BillingMode;
766
+
762
767
  /**
763
768
  * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
764
769
  */
@@ -803,6 +808,8 @@ declare module 'stripe' {
803
808
  namespace SubscriptionData {
804
809
  type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
805
810
 
811
+ type BillingMode = 'classic' | 'flexible';
812
+
806
813
  interface BillOnAcceptance {
807
814
  /**
808
815
  * The start of the period to bill from when the Quote is accepted.
@@ -1041,6 +1041,11 @@ declare module 'stripe' {
1041
1041
  */
1042
1042
  billing_cycle_anchor?: Stripe.Emptyable<'reset'>;
1043
1043
 
1044
+ /**
1045
+ * Configure billing_mode to opt in improved credit proration behavior.Once a quote that creates a subscription or subscription schedule is accepted,all future operations on the subscription or subscription schedule will be processed based on this billing_mode.
1046
+ */
1047
+ billing_mode?: SubscriptionData.BillingMode;
1048
+
1044
1049
  /**
1045
1050
  * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
1046
1051
  */
@@ -1091,6 +1096,8 @@ declare module 'stripe' {
1091
1096
  namespace SubscriptionData {
1092
1097
  type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
1093
1098
 
1099
+ type BillingMode = 'classic' | 'flexible';
1100
+
1094
1101
  interface BillOnAcceptance {
1095
1102
  /**
1096
1103
  * The start of the period to bill from when the Quote is accepted.
@@ -32,6 +32,11 @@ declare module 'stripe' {
32
32
  */
33
33
  billing_behavior?: SubscriptionSchedule.BillingBehavior;
34
34
 
35
+ /**
36
+ * The [billing mode](https://stripe.com/api/subscriptions/create#create_subscription-billing_mode) that will be used to process all future operations for the subscription schedule.
37
+ */
38
+ billing_mode?: SubscriptionSchedule.BillingMode;
39
+
35
40
  /**
36
41
  * Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
37
42
  */
@@ -123,6 +128,8 @@ declare module 'stripe' {
123
128
  namespace SubscriptionSchedule {
124
129
  type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
125
130
 
131
+ type BillingMode = 'classic' | 'flexible';
132
+
126
133
  interface CurrentPhase {
127
134
  /**
128
135
  * The end of this phase of the subscription schedule.
@@ -8,6 +8,11 @@ declare module 'stripe' {
8
8
  */
9
9
  billing_behavior?: SubscriptionScheduleCreateParams.BillingBehavior;
10
10
 
11
+ /**
12
+ * Configure billing_mode to opt in improved credit proration behavior.When the schedule creates a subscription, the subscription's `billing_mode` will be set to the same value as the schedule's `billing_mode`.
13
+ */
14
+ billing_mode?: SubscriptionScheduleCreateParams.BillingMode;
15
+
11
16
  /**
12
17
  * The identifier of the customer to create the subscription schedule for.
13
18
  */
@@ -62,6 +67,8 @@ declare module 'stripe' {
62
67
  namespace SubscriptionScheduleCreateParams {
63
68
  type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
64
69
 
70
+ type BillingMode = 'classic' | 'flexible';
71
+
65
72
  interface DefaultSettings {
66
73
  /**
67
74
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
@@ -44,6 +44,11 @@ declare module 'stripe' {
44
44
  */
45
45
  billing_cycle_anchor_config: Subscription.BillingCycleAnchorConfig | null;
46
46
 
47
+ /**
48
+ * Configure billing_mode in each subscription to opt in improved credit proration behavior.
49
+ */
50
+ billing_mode?: Subscription.BillingMode;
51
+
47
52
  /**
48
53
  * A date in the future at which the subscription will automatically get canceled
49
54
  */
@@ -305,6 +310,8 @@ declare module 'stripe' {
305
310
  second: number | null;
306
311
  }
307
312
 
313
+ type BillingMode = 'classic' | 'flexible';
314
+
308
315
  interface CancellationDetails {
309
316
  /**
310
317
  * Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
@@ -33,6 +33,11 @@ declare module 'stripe' {
33
33
  */
34
34
  billing_cycle_anchor_config?: SubscriptionCreateParams.BillingCycleAnchorConfig;
35
35
 
36
+ /**
37
+ * Configure billing_mode in each subscription to opt in improved credit proration behavior.
38
+ */
39
+ billing_mode?: SubscriptionCreateParams.BillingMode;
40
+
36
41
  /**
37
42
  * A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
38
43
  */
@@ -365,6 +370,8 @@ declare module 'stripe' {
365
370
  second?: number;
366
371
  }
367
372
 
373
+ type BillingMode = 'classic' | 'flexible';
374
+
368
375
  type CollectionMethod = 'charge_automatically' | 'send_invoice';
369
376
 
370
377
  interface Discount {
@@ -2292,7 +2299,7 @@ declare module 'stripe' {
2292
2299
  /**
2293
2300
  * Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, you can no longer update the subscription or its [metadata](https://stripe.com/metadata).
2294
2301
  *
2295
- * Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed.
2302
+ * Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to true.
2296
2303
  *
2297
2304
  * By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.
2298
2305
  */
@@ -120,7 +120,7 @@ declare module 'stripe' {
120
120
 
121
121
  interface TaxId {
122
122
  /**
123
- * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
123
+ * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
124
124
  */
125
125
  type: TaxId.Type;
126
126
 
@@ -140,10 +140,15 @@ declare module 'stripe' {
140
140
  | 'ar_cuit'
141
141
  | 'au_abn'
142
142
  | 'au_arn'
143
+ | 'aw_tin'
144
+ | 'az_tin'
143
145
  | 'ba_tin'
144
146
  | 'bb_tin'
147
+ | 'bd_bin'
148
+ | 'bf_ifu'
145
149
  | 'bg_uic'
146
150
  | 'bh_vat'
151
+ | 'bj_ifu'
147
152
  | 'bo_tin'
148
153
  | 'br_cnpj'
149
154
  | 'br_cpf'
@@ -159,14 +164,17 @@ declare module 'stripe' {
159
164
  | 'ch_uid'
160
165
  | 'ch_vat'
161
166
  | 'cl_tin'
167
+ | 'cm_niu'
162
168
  | 'cn_tin'
163
169
  | 'co_nit'
164
170
  | 'cr_tin'
171
+ | 'cv_nif'
165
172
  | 'de_stn'
166
173
  | 'do_rcn'
167
174
  | 'ec_ruc'
168
175
  | 'eg_tin'
169
176
  | 'es_cif'
177
+ | 'et_tin'
170
178
  | 'eu_oss_vat'
171
179
  | 'eu_vat'
172
180
  | 'gb_vat'
@@ -183,9 +191,11 @@ declare module 'stripe' {
183
191
  | 'jp_rn'
184
192
  | 'jp_trn'
185
193
  | 'ke_pin'
194
+ | 'kg_tin'
186
195
  | 'kh_tin'
187
196
  | 'kr_brn'
188
197
  | 'kz_bin'
198
+ | 'la_tin'
189
199
  | 'li_uid'
190
200
  | 'li_vat'
191
201
  | 'ma_vat'
@@ -115,7 +115,7 @@ declare module 'stripe' {
115
115
 
116
116
  interface TaxId {
117
117
  /**
118
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
118
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `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`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
119
119
  */
120
120
  type: TaxId.Type;
121
121
 
@@ -135,10 +135,15 @@ declare module 'stripe' {
135
135
  | 'ar_cuit'
136
136
  | 'au_abn'
137
137
  | 'au_arn'
138
+ | 'aw_tin'
139
+ | 'az_tin'
138
140
  | 'ba_tin'
139
141
  | 'bb_tin'
142
+ | 'bd_bin'
143
+ | 'bf_ifu'
140
144
  | 'bg_uic'
141
145
  | 'bh_vat'
146
+ | 'bj_ifu'
142
147
  | 'bo_tin'
143
148
  | 'br_cnpj'
144
149
  | 'br_cpf'
@@ -154,14 +159,17 @@ declare module 'stripe' {
154
159
  | 'ch_uid'
155
160
  | 'ch_vat'
156
161
  | 'cl_tin'
162
+ | 'cm_niu'
157
163
  | 'cn_tin'
158
164
  | 'co_nit'
159
165
  | 'cr_tin'
166
+ | 'cv_nif'
160
167
  | 'de_stn'
161
168
  | 'do_rcn'
162
169
  | 'ec_ruc'
163
170
  | 'eg_tin'
164
171
  | 'es_cif'
172
+ | 'et_tin'
165
173
  | 'eu_oss_vat'
166
174
  | 'eu_vat'
167
175
  | 'gb_vat'
@@ -178,9 +186,11 @@ declare module 'stripe' {
178
186
  | 'jp_rn'
179
187
  | 'jp_trn'
180
188
  | 'ke_pin'
189
+ | 'kg_tin'
181
190
  | 'kh_tin'
182
191
  | 'kr_brn'
183
192
  | 'kz_bin'
193
+ | 'la_tin'
184
194
  | 'li_uid'
185
195
  | 'li_vat'
186
196
  | 'ma_vat'
@@ -80,6 +80,8 @@ declare module 'stripe' {
80
80
 
81
81
  be?: CountryOptions.Be;
82
82
 
83
+ bf?: CountryOptions.Bf;
84
+
83
85
  bg?: CountryOptions.Bg;
84
86
 
85
87
  bh?: CountryOptions.Bh;
@@ -98,10 +100,14 @@ declare module 'stripe' {
98
100
 
99
101
  cl?: CountryOptions.Cl;
100
102
 
103
+ cm?: CountryOptions.Cm;
104
+
101
105
  co?: CountryOptions.Co;
102
106
 
103
107
  cr?: CountryOptions.Cr;
104
108
 
109
+ cv?: CountryOptions.Cv;
110
+
105
111
  cy?: CountryOptions.Cy;
106
112
 
107
113
  cz?: CountryOptions.Cz;
@@ -366,6 +372,13 @@ declare module 'stripe' {
366
372
  type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard';
367
373
  }
368
374
 
375
+ interface Bf {
376
+ /**
377
+ * Type of registration in `country`.
378
+ */
379
+ type: 'standard';
380
+ }
381
+
369
382
  interface Bg {
370
383
  standard?: Bg.Standard;
371
384
 
@@ -459,6 +472,13 @@ declare module 'stripe' {
459
472
  type: 'simplified';
460
473
  }
461
474
 
475
+ interface Cm {
476
+ /**
477
+ * Type of registration in `country`.
478
+ */
479
+ type: 'simplified';
480
+ }
481
+
462
482
  interface Co {
463
483
  /**
464
484
  * Type of registration in `country`.
@@ -473,6 +493,13 @@ declare module 'stripe' {
473
493
  type: 'simplified';
474
494
  }
475
495
 
496
+ interface Cv {
497
+ /**
498
+ * Type of registration in `country`.
499
+ */
500
+ type: 'simplified';
501
+ }
502
+
476
503
  interface Cy {
477
504
  standard?: Cy.Standard;
478
505
 
@@ -92,6 +92,11 @@ declare module 'stripe' {
92
92
  */
93
93
  be?: CountryOptions.Be;
94
94
 
95
+ /**
96
+ * Options for the registration in BF.
97
+ */
98
+ bf?: CountryOptions.Bf;
99
+
95
100
  /**
96
101
  * Options for the registration in BG.
97
102
  */
@@ -137,6 +142,11 @@ declare module 'stripe' {
137
142
  */
138
143
  cl?: CountryOptions.Cl;
139
144
 
145
+ /**
146
+ * Options for the registration in CM.
147
+ */
148
+ cm?: CountryOptions.Cm;
149
+
140
150
  /**
141
151
  * Options for the registration in CO.
142
152
  */
@@ -147,6 +157,11 @@ declare module 'stripe' {
147
157
  */
148
158
  cr?: CountryOptions.Cr;
149
159
 
160
+ /**
161
+ * Options for the registration in CV.
162
+ */
163
+ cv?: CountryOptions.Cv;
164
+
150
165
  /**
151
166
  * Options for the registration in CY.
152
167
  */
@@ -633,6 +648,13 @@ declare module 'stripe' {
633
648
  type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard';
634
649
  }
635
650
 
651
+ interface Bf {
652
+ /**
653
+ * Type of registration to be created in `country`.
654
+ */
655
+ type: 'standard';
656
+ }
657
+
636
658
  interface Bg {
637
659
  /**
638
660
  * Options for the standard registration.
@@ -732,6 +754,13 @@ declare module 'stripe' {
732
754
  type: 'simplified';
733
755
  }
734
756
 
757
+ interface Cm {
758
+ /**
759
+ * Type of registration to be created in `country`.
760
+ */
761
+ type: 'simplified';
762
+ }
763
+
735
764
  interface Co {
736
765
  /**
737
766
  * Type of registration to be created in `country`.
@@ -746,6 +775,13 @@ declare module 'stripe' {
746
775
  type: 'simplified';
747
776
  }
748
777
 
778
+ interface Cv {
779
+ /**
780
+ * Type of registration to be created in `country`.
781
+ */
782
+ type: 'simplified';
783
+ }
784
+
749
785
  interface Cy {
750
786
  /**
751
787
  * Options for the standard registration.
@@ -125,7 +125,7 @@ declare module 'stripe' {
125
125
 
126
126
  interface TaxId {
127
127
  /**
128
- * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
128
+ * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
129
129
  */
130
130
  type: TaxId.Type;
131
131
 
@@ -145,10 +145,15 @@ declare module 'stripe' {
145
145
  | 'ar_cuit'
146
146
  | 'au_abn'
147
147
  | 'au_arn'
148
+ | 'aw_tin'
149
+ | 'az_tin'
148
150
  | 'ba_tin'
149
151
  | 'bb_tin'
152
+ | 'bd_bin'
153
+ | 'bf_ifu'
150
154
  | 'bg_uic'
151
155
  | 'bh_vat'
156
+ | 'bj_ifu'
152
157
  | 'bo_tin'
153
158
  | 'br_cnpj'
154
159
  | 'br_cpf'
@@ -164,14 +169,17 @@ declare module 'stripe' {
164
169
  | 'ch_uid'
165
170
  | 'ch_vat'
166
171
  | 'cl_tin'
172
+ | 'cm_niu'
167
173
  | 'cn_tin'
168
174
  | 'co_nit'
169
175
  | 'cr_tin'
176
+ | 'cv_nif'
170
177
  | 'de_stn'
171
178
  | 'do_rcn'
172
179
  | 'ec_ruc'
173
180
  | 'eg_tin'
174
181
  | 'es_cif'
182
+ | 'et_tin'
175
183
  | 'eu_oss_vat'
176
184
  | 'eu_vat'
177
185
  | 'gb_vat'
@@ -188,9 +196,11 @@ declare module 'stripe' {
188
196
  | 'jp_rn'
189
197
  | 'jp_trn'
190
198
  | 'ke_pin'
199
+ | 'kg_tin'
191
200
  | 'kh_tin'
192
201
  | 'kr_brn'
193
202
  | 'kz_bin'
203
+ | 'la_tin'
194
204
  | 'li_uid'
195
205
  | 'li_vat'
196
206
  | 'ma_vat'
package/types/TaxIds.d.ts CHANGED
@@ -75,7 +75,7 @@ declare module 'stripe' {
75
75
  owner: TaxId.Owner | null;
76
76
 
77
77
  /**
78
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
78
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `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`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
79
79
  */
80
80
  type: TaxId.Type;
81
81
 
@@ -131,10 +131,15 @@ declare module 'stripe' {
131
131
  | 'ar_cuit'
132
132
  | 'au_abn'
133
133
  | 'au_arn'
134
+ | 'aw_tin'
135
+ | 'az_tin'
134
136
  | 'ba_tin'
135
137
  | 'bb_tin'
138
+ | 'bd_bin'
139
+ | 'bf_ifu'
136
140
  | 'bg_uic'
137
141
  | 'bh_vat'
142
+ | 'bj_ifu'
138
143
  | 'bo_tin'
139
144
  | 'br_cnpj'
140
145
  | 'br_cpf'
@@ -150,14 +155,17 @@ declare module 'stripe' {
150
155
  | 'ch_uid'
151
156
  | 'ch_vat'
152
157
  | 'cl_tin'
158
+ | 'cm_niu'
153
159
  | 'cn_tin'
154
160
  | 'co_nit'
155
161
  | 'cr_tin'
162
+ | 'cv_nif'
156
163
  | 'de_stn'
157
164
  | 'do_rcn'
158
165
  | 'ec_ruc'
159
166
  | 'eg_tin'
160
167
  | 'es_cif'
168
+ | 'et_tin'
161
169
  | 'eu_oss_vat'
162
170
  | 'eu_vat'
163
171
  | 'gb_vat'
@@ -174,9 +182,11 @@ declare module 'stripe' {
174
182
  | 'jp_rn'
175
183
  | 'jp_trn'
176
184
  | 'ke_pin'
185
+ | 'kg_tin'
177
186
  | 'kh_tin'
178
187
  | 'kr_brn'
179
188
  | 'kz_bin'
189
+ | 'la_tin'
180
190
  | 'li_uid'
181
191
  | 'li_vat'
182
192
  | 'ma_vat'
@@ -4,7 +4,7 @@ declare module 'stripe' {
4
4
  namespace Stripe {
5
5
  interface TaxIdCreateParams {
6
6
  /**
7
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
7
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `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`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
8
8
  */
9
9
  type: TaxIdCreateParams.Type;
10
10
 
@@ -60,10 +60,15 @@ declare module 'stripe' {
60
60
  | 'ar_cuit'
61
61
  | 'au_abn'
62
62
  | 'au_arn'
63
+ | 'aw_tin'
64
+ | 'az_tin'
63
65
  | 'ba_tin'
64
66
  | 'bb_tin'
67
+ | 'bd_bin'
68
+ | 'bf_ifu'
65
69
  | 'bg_uic'
66
70
  | 'bh_vat'
71
+ | 'bj_ifu'
67
72
  | 'bo_tin'
68
73
  | 'br_cnpj'
69
74
  | 'br_cpf'
@@ -79,14 +84,17 @@ declare module 'stripe' {
79
84
  | 'ch_uid'
80
85
  | 'ch_vat'
81
86
  | 'cl_tin'
87
+ | 'cm_niu'
82
88
  | 'cn_tin'
83
89
  | 'co_nit'
84
90
  | 'cr_tin'
91
+ | 'cv_nif'
85
92
  | 'de_stn'
86
93
  | 'do_rcn'
87
94
  | 'ec_ruc'
88
95
  | 'eg_tin'
89
96
  | 'es_cif'
97
+ | 'et_tin'
90
98
  | 'eu_oss_vat'
91
99
  | 'eu_vat'
92
100
  | 'gb_vat'
@@ -103,9 +111,11 @@ declare module 'stripe' {
103
111
  | 'jp_rn'
104
112
  | 'jp_trn'
105
113
  | 'ke_pin'
114
+ | 'kg_tin'
106
115
  | 'kh_tin'
107
116
  | 'kr_brn'
108
117
  | 'kz_bin'
118
+ | 'la_tin'
109
119
  | 'li_uid'
110
120
  | 'li_vat'
111
121
  | 'ma_vat'