stripe 17.4.0-beta.1 → 17.4.0-beta.2

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 (78) hide show
  1. package/CHANGELOG.md +69 -36
  2. package/VERSION +1 -1
  3. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  4. package/cjs/resources/PaymentAttemptRecords.js +17 -0
  5. package/cjs/resources/PaymentRecords.js +29 -0
  6. package/cjs/resources.js +28 -6
  7. package/cjs/stripe.core.js +1 -1
  8. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  9. package/esm/resources/PaymentAttemptRecords.js +14 -0
  10. package/esm/resources/PaymentRecords.js +26 -0
  11. package/esm/resources.js +22 -1
  12. package/esm/stripe.core.js +1 -1
  13. package/package.json +1 -1
  14. package/types/AccountSessions.d.ts +5 -5
  15. package/types/AccountSessionsResource.d.ts +29 -6
  16. package/types/Accounts.d.ts +38 -4
  17. package/types/Billing/CreditBalanceSummaryResource.d.ts +1 -1
  18. package/types/Billing/CreditGrants.d.ts +5 -6
  19. package/types/Billing/CreditGrantsResource.d.ts +11 -11
  20. package/types/Billing/MeterEventsResource.d.ts +1 -1
  21. package/types/Charges.d.ts +5 -5
  22. package/types/Checkout/Sessions.d.ts +59 -2
  23. package/types/Checkout/SessionsResource.d.ts +90 -4
  24. package/types/ConfirmationTokens.d.ts +4 -4
  25. package/types/CustomersResource.d.ts +4 -2
  26. package/types/Disputes.d.ts +1 -1
  27. package/types/EventTypes.d.ts +34 -0
  28. package/types/Events.d.ts +2 -0
  29. package/types/FundingInstructions.d.ts +28 -0
  30. package/types/Identity/VerificationReports.d.ts +1 -1
  31. package/types/Identity/VerificationSessions.d.ts +1 -1
  32. package/types/Identity/VerificationSessionsResource.d.ts +1 -1
  33. package/types/InvoicePayments.d.ts +10 -35
  34. package/types/Invoices.d.ts +8 -1
  35. package/types/InvoicesResource.d.ts +21 -8
  36. package/types/Issuing/Authorizations.d.ts +1 -1
  37. package/types/Issuing/Cards.d.ts +1 -1
  38. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  39. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  40. package/types/Orders.d.ts +2 -1
  41. package/types/OrdersResource.d.ts +4 -2
  42. package/types/PaymentAttemptRecords.d.ts +242 -0
  43. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  44. package/types/PaymentIntents.d.ts +30 -1
  45. package/types/PaymentIntentsResource.d.ts +6 -3
  46. package/types/PaymentLinksResource.d.ts +9 -2
  47. package/types/PaymentMethods.d.ts +4 -4
  48. package/types/PaymentRecords.d.ts +259 -0
  49. package/types/PaymentRecordsResource.d.ts +455 -0
  50. package/types/QuotePreviewInvoices.d.ts +8 -1
  51. package/types/SetupAttempts.d.ts +2 -2
  52. package/types/SetupIntents.d.ts +2 -1
  53. package/types/SetupIntentsResource.d.ts +7 -4
  54. package/types/Subscriptions.d.ts +2 -0
  55. package/types/SubscriptionsResource.d.ts +4 -0
  56. package/types/Tax/CalculationLineItems.d.ts +1 -0
  57. package/types/Tax/Calculations.d.ts +4 -1
  58. package/types/Tax/CalculationsResource.d.ts +2 -1
  59. package/types/Tax/Transactions.d.ts +3 -1
  60. package/types/TaxIds.d.ts +2 -1
  61. package/types/TaxIdsResource.d.ts +2 -1
  62. package/types/TaxRates.d.ts +1 -0
  63. package/types/TaxRatesResource.d.ts +2 -0
  64. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +14 -4
  65. package/types/Treasury/InboundTransfers.d.ts +1 -1
  66. package/types/WebhookEndpointsResource.d.ts +4 -0
  67. package/types/index.d.ts +21 -4
  68. package/types/lib.d.ts +1 -1
  69. package/types/test/typescriptTest.ts +3 -3
  70. package/cjs/resources/V2/Billing.js +0 -18
  71. package/cjs/resources/V2/Core.js +0 -14
  72. package/cjs/resources/V2.js +0 -14
  73. package/esm/resources/V2/Billing.js +0 -15
  74. package/esm/resources/V2/Core.js +0 -11
  75. package/esm/resources/V2.js +0 -11
  76. package/types/V2/BillingResource.d.ts +0 -14
  77. package/types/V2/CoreResource.d.ts +0 -12
  78. package/types/V2Resource.d.ts +0 -10
@@ -220,7 +220,7 @@ declare module 'stripe' {
220
220
 
221
221
  interface TaxIdDatum {
222
222
  /**
223
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
223
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
224
224
  */
225
225
  type: TaxIdDatum.Type;
226
226
 
@@ -278,6 +278,7 @@ declare module 'stripe' {
278
278
  | 'kr_brn'
279
279
  | 'kz_bin'
280
280
  | 'li_uid'
281
+ | 'li_vat'
281
282
  | 'ma_vat'
282
283
  | 'md_vat'
283
284
  | 'mx_rfc'
@@ -669,7 +670,7 @@ declare module 'stripe' {
669
670
 
670
671
  interface CustomerCreateTaxIdParams {
671
672
  /**
672
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
673
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
673
674
  */
674
675
  type: CustomerCreateTaxIdParams.Type;
675
676
 
@@ -732,6 +733,7 @@ declare module 'stripe' {
732
733
  | 'kr_brn'
733
734
  | 'kz_bin'
734
735
  | 'li_uid'
736
+ | 'li_vat'
735
737
  | 'ma_vat'
736
738
  | 'md_vat'
737
739
  | 'mx_rfc'
@@ -428,7 +428,7 @@ declare module 'stripe' {
428
428
 
429
429
  interface Card {
430
430
  /**
431
- * Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
431
+ * Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
432
432
  */
433
433
  brand: string;
434
434
 
@@ -113,6 +113,7 @@ declare module 'stripe' {
113
113
  | InvoicePaidEvent
114
114
  | InvoicePaymentOverpaidEvent
115
115
  | InvoicePaymentActionRequiredEvent
116
+ | InvoicePaymentAttemptRequiredEvent
116
117
  | InvoicePaymentFailedEvent
117
118
  | InvoicePaymentSucceededEvent
118
119
  | InvoiceSentEvent
@@ -137,6 +138,7 @@ declare module 'stripe' {
137
138
  | IssuingDisputeUpdatedEvent
138
139
  | IssuingDisputeSettlementDetailCreatedEvent
139
140
  | IssuingDisputeSettlementDetailUpdatedEvent
141
+ | IssuingFraudLiabilityDebitCreatedEvent
140
142
  | IssuingPersonalizationDesignActivatedEvent
141
143
  | IssuingPersonalizationDesignDeactivatedEvent
142
144
  | IssuingPersonalizationDesignRejectedEvent
@@ -2044,6 +2046,22 @@ declare module 'stripe' {
2044
2046
  }
2045
2047
  }
2046
2048
 
2049
+ /**
2050
+ * Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.
2051
+ */
2052
+ interface InvoicePaymentAttemptRequiredEvent extends EventBase {
2053
+ type: 'invoice.payment_attempt_required';
2054
+ data: InvoicePaymentAttemptRequiredEvent.Data;
2055
+ }
2056
+
2057
+ namespace InvoicePaymentAttemptRequiredEvent {
2058
+ interface Data extends Stripe.Event.Data {
2059
+ object: Stripe.Invoice;
2060
+
2061
+ previous_attributes?: Partial<Stripe.Invoice>;
2062
+ }
2063
+ }
2064
+
2047
2065
  /**
2048
2066
  * Occurs whenever an invoice payment attempt fails, due either to a declined payment or to the lack of a stored payment method.
2049
2067
  */
@@ -2428,6 +2446,22 @@ declare module 'stripe' {
2428
2446
  }
2429
2447
  }
2430
2448
 
2449
+ /**
2450
+ * Occurs whenever funds are deducted from your account for fraud dispute loss liability.
2451
+ */
2452
+ interface IssuingFraudLiabilityDebitCreatedEvent extends EventBase {
2453
+ type: 'issuing_fraud_liability_debit.created';
2454
+ data: IssuingFraudLiabilityDebitCreatedEvent.Data;
2455
+ }
2456
+
2457
+ namespace IssuingFraudLiabilityDebitCreatedEvent {
2458
+ interface Data extends Stripe.Event.Data {
2459
+ object: Stripe.Issuing.FraudLiabilityDebit;
2460
+
2461
+ previous_attributes?: Partial<Stripe.Issuing.FraudLiabilityDebit>;
2462
+ }
2463
+ }
2464
+
2431
2465
  /**
2432
2466
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2433
2467
  */
package/types/Events.d.ts CHANGED
@@ -197,6 +197,7 @@ declare module 'stripe' {
197
197
  | 'invoice.paid'
198
198
  | 'invoice.payment.overpaid'
199
199
  | 'invoice.payment_action_required'
200
+ | 'invoice.payment_attempt_required'
200
201
  | 'invoice.payment_failed'
201
202
  | 'invoice.payment_succeeded'
202
203
  | 'invoice.sent'
@@ -221,6 +222,7 @@ declare module 'stripe' {
221
222
  | 'issuing_dispute.updated'
222
223
  | 'issuing_dispute_settlement_detail.created'
223
224
  | 'issuing_dispute_settlement_detail.updated'
225
+ | 'issuing_fraud_liability_debit.created'
224
226
  | 'issuing_personalization_design.activated'
225
227
  | 'issuing_personalization_design.deactivated'
226
228
  | 'issuing_personalization_design.rejected'
@@ -96,11 +96,25 @@ declare module 'stripe' {
96
96
 
97
97
  namespace FinancialAddress {
98
98
  interface Aba {
99
+ account_holder_address: Stripe.Address;
100
+
101
+ /**
102
+ * The account holder name
103
+ */
104
+ account_holder_name: string;
105
+
99
106
  /**
100
107
  * The ABA account number
101
108
  */
102
109
  account_number: string;
103
110
 
111
+ /**
112
+ * The account type
113
+ */
114
+ account_type: string;
115
+
116
+ bank_address: Stripe.Address;
117
+
104
118
  /**
105
119
  * The bank name
106
120
  */
@@ -179,11 +193,25 @@ declare module 'stripe' {
179
193
  | 'zengin';
180
194
 
181
195
  interface Swift {
196
+ account_holder_address: Stripe.Address;
197
+
198
+ /**
199
+ * The account holder name
200
+ */
201
+ account_holder_name: string;
202
+
182
203
  /**
183
204
  * The account number
184
205
  */
185
206
  account_number: string;
186
207
 
208
+ /**
209
+ * The account type
210
+ */
211
+ account_type: string;
212
+
213
+ bank_address: Stripe.Address;
214
+
187
215
  /**
188
216
  * The bank name
189
217
  */
@@ -75,7 +75,7 @@ declare module 'stripe' {
75
75
  type: VerificationReport.Type;
76
76
 
77
77
  /**
78
- * The configuration token of a Verification Flow from the dashboard.
78
+ * The configuration token of a verification flow from the dashboard.
79
79
  */
80
80
  verification_flow?: string;
81
81
 
@@ -101,7 +101,7 @@ declare module 'stripe' {
101
101
  url: string | null;
102
102
 
103
103
  /**
104
- * The configuration token of a Verification Flow from the dashboard.
104
+ * The configuration token of a verification flow from the dashboard.
105
105
  */
106
106
  verification_flow?: string;
107
107
 
@@ -45,7 +45,7 @@ declare module 'stripe' {
45
45
  type?: VerificationSessionCreateParams.Type;
46
46
 
47
47
  /**
48
- * The ID of a Verification Flow from the Dashboard. See https://docs.stripe.com/identity/verification-flows.
48
+ * The ID of a verification flow from the Dashboard. See https://docs.stripe.com/identity/verification-flows.
49
49
  */
50
50
  verification_flow?: string;
51
51
  }
@@ -73,13 +73,16 @@ declare module 'stripe' {
73
73
  */
74
74
  charge?: string | Stripe.Charge;
75
75
 
76
- out_of_band_payment?: Payment.OutOfBandPayment;
77
-
78
76
  /**
79
77
  * ID of the PaymentIntent associated with this payment when `type` is `payment_intent`. Note: This property is only populated for invoices finalized on or after March 15th, 2019.
80
78
  */
81
79
  payment_intent?: string | Stripe.PaymentIntent;
82
80
 
81
+ /**
82
+ * ID of the PaymentRecord associated with this payment when `type` is `payment_record`.
83
+ */
84
+ payment_record?: string | Stripe.PaymentRecord;
85
+
83
86
  /**
84
87
  * Type of payment object associated with this invoice payment.
85
88
  */
@@ -87,39 +90,11 @@ declare module 'stripe' {
87
90
  }
88
91
 
89
92
  namespace Payment {
90
- interface OutOfBandPayment {
91
- /**
92
- * Amount paid on this out of band payment, in cents (or local equivalent)
93
- */
94
- amount: number;
95
-
96
- /**
97
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
98
- */
99
- currency: string;
100
-
101
- /**
102
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
103
- */
104
- metadata: Stripe.Metadata | null;
105
-
106
- /**
107
- * The type of money movement for this out of band payment record.
108
- */
109
- money_movement_type: string;
110
-
111
- /**
112
- * The timestamp when this out of band payment was paid.
113
- */
114
- paid_at: number | null;
115
-
116
- /**
117
- * The reference for this out of band payment record.
118
- */
119
- payment_reference: string | null;
120
- }
121
-
122
- type Type = 'charge' | 'out_of_band_payment' | 'payment_intent';
93
+ type Type =
94
+ | 'charge'
95
+ | 'out_of_band_payment'
96
+ | 'payment_intent'
97
+ | 'payment_record';
123
98
  }
124
99
 
125
100
  interface StatusTransitions {
@@ -89,6 +89,11 @@ declare module 'stripe' {
89
89
  */
90
90
  amount_due: number;
91
91
 
92
+ /**
93
+ * Amount that was overpaid on the invoice. Overpayments are debited to the customer's credit balance.
94
+ */
95
+ amount_overpaid?: number;
96
+
92
97
  /**
93
98
  * The amount, in cents (or local equivalent), that was paid.
94
99
  */
@@ -629,7 +634,7 @@ declare module 'stripe' {
629
634
 
630
635
  interface CustomerTaxId {
631
636
  /**
632
- * 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`, `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`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown`
637
+ * 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`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown`
633
638
  */
634
639
  type: CustomerTaxId.Type;
635
640
 
@@ -687,6 +692,7 @@ declare module 'stripe' {
687
692
  | 'kr_brn'
688
693
  | 'kz_bin'
689
694
  | 'li_uid'
695
+ | 'li_vat'
690
696
  | 'ma_vat'
691
697
  | 'md_vat'
692
698
  | 'mx_rfc'
@@ -1274,6 +1280,7 @@ declare module 'stripe' {
1274
1280
  | 'boleto'
1275
1281
  | 'card'
1276
1282
  | 'cashapp'
1283
+ | 'custom'
1277
1284
  | 'customer_balance'
1278
1285
  | 'eps'
1279
1286
  | 'fpx'
@@ -604,6 +604,7 @@ declare module 'stripe' {
604
604
  | 'boleto'
605
605
  | 'card'
606
606
  | 'cashapp'
607
+ | 'custom'
607
608
  | 'customer_balance'
608
609
  | 'eps'
609
610
  | 'fpx'
@@ -1413,6 +1414,7 @@ declare module 'stripe' {
1413
1414
  | 'boleto'
1414
1415
  | 'card'
1415
1416
  | 'cashapp'
1417
+ | 'custom'
1416
1418
  | 'customer_balance'
1417
1419
  | 'eps'
1418
1420
  | 'fpx'
@@ -1990,6 +1992,7 @@ declare module 'stripe' {
1990
1992
  | 'retail_delivery_fee'
1991
1993
  | 'rst'
1992
1994
  | 'sales_tax'
1995
+ | 'service_tax'
1993
1996
  | 'vat';
1994
1997
  }
1995
1998
  }
@@ -2008,18 +2011,23 @@ declare module 'stripe' {
2008
2011
  expand?: Array<string>;
2009
2012
 
2010
2013
  /**
2011
- * The out of band payment to attach to the invoice.
2014
+ * The ID of the PaymentIntent to attach to the invoice.
2012
2015
  */
2013
- out_of_band_payment?: InvoiceAttachPaymentParams.OutOfBandPayment;
2016
+ payment_intent?: string;
2014
2017
 
2015
2018
  /**
2016
- * The ID of the PaymentIntent to attach to the invoice.
2019
+ * The ID of the PaymentRecord to detach from the invoice.
2017
2020
  */
2018
- payment_intent?: string;
2021
+ payment_record?: string;
2022
+
2023
+ /**
2024
+ * The PaymentRecord data for attaching an out of band payment to the invoice.
2025
+ */
2026
+ payment_record_data?: InvoiceAttachPaymentParams.PaymentRecordData;
2019
2027
  }
2020
2028
 
2021
2029
  namespace InvoiceAttachPaymentParams {
2022
- interface OutOfBandPayment {
2030
+ interface PaymentRecordData {
2023
2031
  /**
2024
2032
  * The amount that was paid out of band.
2025
2033
  */
@@ -2233,7 +2241,7 @@ declare module 'stripe' {
2233
2241
 
2234
2242
  interface TaxId {
2235
2243
  /**
2236
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
2244
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
2237
2245
  */
2238
2246
  type: TaxId.Type;
2239
2247
 
@@ -2291,6 +2299,7 @@ declare module 'stripe' {
2291
2299
  | 'kr_brn'
2292
2300
  | 'kz_bin'
2293
2301
  | 'li_uid'
2302
+ | 'li_vat'
2294
2303
  | 'ma_vat'
2295
2304
  | 'md_vat'
2296
2305
  | 'mx_rfc'
@@ -4453,7 +4462,7 @@ declare module 'stripe' {
4453
4462
 
4454
4463
  interface TaxId {
4455
4464
  /**
4456
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
4465
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
4457
4466
  */
4458
4467
  type: TaxId.Type;
4459
4468
 
@@ -4511,6 +4520,7 @@ declare module 'stripe' {
4511
4520
  | 'kr_brn'
4512
4521
  | 'kz_bin'
4513
4522
  | 'li_uid'
4523
+ | 'li_vat'
4514
4524
  | 'ma_vat'
4515
4525
  | 'md_vat'
4516
4526
  | 'mx_rfc'
@@ -6932,7 +6942,7 @@ declare module 'stripe' {
6932
6942
 
6933
6943
  interface TaxId {
6934
6944
  /**
6935
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
6945
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
6936
6946
  */
6937
6947
  type: TaxId.Type;
6938
6948
 
@@ -6990,6 +7000,7 @@ declare module 'stripe' {
6990
7000
  | 'kr_brn'
6991
7001
  | 'kz_bin'
6992
7002
  | 'li_uid'
7003
+ | 'li_vat'
6993
7004
  | 'ma_vat'
6994
7005
  | 'md_vat'
6995
7006
  | 'mx_rfc'
@@ -9415,6 +9426,7 @@ declare module 'stripe' {
9415
9426
  | 'retail_delivery_fee'
9416
9427
  | 'rst'
9417
9428
  | 'sales_tax'
9429
+ | 'service_tax'
9418
9430
  | 'vat';
9419
9431
  }
9420
9432
  }
@@ -9703,6 +9715,7 @@ declare module 'stripe' {
9703
9715
  | 'retail_delivery_fee'
9704
9716
  | 'rst'
9705
9717
  | 'sales_tax'
9718
+ | 'service_tax'
9706
9719
  | 'vat';
9707
9720
  }
9708
9721
  }
@@ -47,7 +47,7 @@ declare module 'stripe' {
47
47
  balance_transactions: Array<Stripe.BalanceTransaction>;
48
48
 
49
49
  /**
50
- * You can [create physical or virtual cards](https://stripe.com/docs/issuing/cards) that are issued to cardholders.
50
+ * You can [create physical or virtual cards](https://stripe.com/docs/issuing) that are issued to cardholders.
51
51
  */
52
52
  card: Stripe.Issuing.Card;
53
53
 
@@ -4,7 +4,7 @@ declare module 'stripe' {
4
4
  namespace Stripe {
5
5
  namespace Issuing {
6
6
  /**
7
- * You can [create physical or virtual cards](https://stripe.com/docs/issuing/cards) that are issued to cardholders.
7
+ * You can [create physical or virtual cards](https://stripe.com/docs/issuing) that are issued to cardholders.
8
8
  */
9
9
  interface Card {
10
10
  /**
@@ -0,0 +1,52 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace Issuing {
6
+ /**
7
+ * A fraud liability debit occurs when Stripe debits a platform's account for fraud losses on Issuing transactions.
8
+ */
9
+ interface FraudLiabilityDebit {
10
+ /**
11
+ * Unique identifier for the object.
12
+ */
13
+ id: string;
14
+
15
+ /**
16
+ * String representing the object's type. Objects of the same type share the same value.
17
+ */
18
+ object: 'issuing.fraud_liability_debit';
19
+
20
+ /**
21
+ * Debited amount. This is equal to the disputed amount and is given in the card's currency and in the smallest currency unit.
22
+ */
23
+ amount: number;
24
+
25
+ /**
26
+ * ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this debit.
27
+ */
28
+ balance_transaction: string | Stripe.BalanceTransaction | null;
29
+
30
+ /**
31
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
32
+ */
33
+ created: number;
34
+
35
+ /**
36
+ * The currency of the debit. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
37
+ */
38
+ currency: string;
39
+
40
+ /**
41
+ * The ID of the linked dispute.
42
+ */
43
+ dispute: string;
44
+
45
+ /**
46
+ * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
47
+ */
48
+ livemode: boolean;
49
+ }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,52 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace Issuing {
6
+ interface FraudLiabilityDebitRetrieveParams {
7
+ /**
8
+ * Specifies which fields in the response should be expanded.
9
+ */
10
+ expand?: Array<string>;
11
+ }
12
+
13
+ interface FraudLiabilityDebitListParams extends PaginationParams {
14
+ /**
15
+ * Only return Issuing Fraud Liability Debits that were created during the given date interval.
16
+ */
17
+ created?: Stripe.RangeQueryParam | number;
18
+
19
+ /**
20
+ * Specifies which fields in the response should be expanded.
21
+ */
22
+ expand?: Array<string>;
23
+ }
24
+
25
+ class FraudLiabilityDebitsResource {
26
+ /**
27
+ * Retrieves an Issuing FraudLiabilityDebit object.
28
+ */
29
+ retrieve(
30
+ id: string,
31
+ params?: FraudLiabilityDebitRetrieveParams,
32
+ options?: RequestOptions
33
+ ): Promise<Stripe.Response<Stripe.Issuing.FraudLiabilityDebit>>;
34
+ retrieve(
35
+ id: string,
36
+ options?: RequestOptions
37
+ ): Promise<Stripe.Response<Stripe.Issuing.FraudLiabilityDebit>>;
38
+
39
+ /**
40
+ * Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
41
+ */
42
+ list(
43
+ params?: FraudLiabilityDebitListParams,
44
+ options?: RequestOptions
45
+ ): ApiListPromise<Stripe.Issuing.FraudLiabilityDebit>;
46
+ list(
47
+ options?: RequestOptions
48
+ ): ApiListPromise<Stripe.Issuing.FraudLiabilityDebit>;
49
+ }
50
+ }
51
+ }
52
+ }
package/types/Orders.d.ts CHANGED
@@ -959,7 +959,7 @@ declare module 'stripe' {
959
959
 
960
960
  interface TaxId {
961
961
  /**
962
- * 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`, `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`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown`
962
+ * 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`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown`
963
963
  */
964
964
  type: TaxId.Type;
965
965
 
@@ -1017,6 +1017,7 @@ declare module 'stripe' {
1017
1017
  | 'kr_brn'
1018
1018
  | 'kz_bin'
1019
1019
  | 'li_uid'
1020
+ | 'li_vat'
1020
1021
  | 'ma_vat'
1021
1022
  | 'md_vat'
1022
1023
  | 'mx_rfc'
@@ -1284,7 +1284,7 @@ declare module 'stripe' {
1284
1284
 
1285
1285
  interface TaxId {
1286
1286
  /**
1287
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
1287
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
1288
1288
  */
1289
1289
  type: TaxId.Type;
1290
1290
 
@@ -1342,6 +1342,7 @@ declare module 'stripe' {
1342
1342
  | 'kr_brn'
1343
1343
  | 'kz_bin'
1344
1344
  | 'li_uid'
1345
+ | 'li_vat'
1345
1346
  | 'ma_vat'
1346
1347
  | 'md_vat'
1347
1348
  | 'mx_rfc'
@@ -2678,7 +2679,7 @@ declare module 'stripe' {
2678
2679
 
2679
2680
  interface TaxId {
2680
2681
  /**
2681
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
2682
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `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`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`
2682
2683
  */
2683
2684
  type: TaxId.Type;
2684
2685
 
@@ -2736,6 +2737,7 @@ declare module 'stripe' {
2736
2737
  | 'kr_brn'
2737
2738
  | 'kz_bin'
2738
2739
  | 'li_uid'
2740
+ | 'li_vat'
2739
2741
  | 'ma_vat'
2740
2742
  | 'md_vat'
2741
2743
  | 'mx_rfc'