stripe/params/_tax_id_create_params.py
raw| 1 | # -*- coding: utf-8 -*- |
| 2 | # File generated from our OpenAPI spec |
| 3 | from stripe._request_options import RequestOptions |
| 4 | from typing import List |
| 5 | from typing_extensions import Literal, NotRequired, TypedDict |
| 6 | |
| 7 | |
| 8 | class TaxIdCreateParams(RequestOptions): |
| 9 | expand: NotRequired[List[str]] |
| 10 | """ |
| 11 | Specifies which fields in the response should be expanded. |
| 12 | """ |
| 13 | owner: NotRequired["TaxIdCreateParamsOwner"] |
| 14 | """ |
| 15 | The account or customer the tax ID belongs to. Defaults to `owner[type]=self`. |
| 16 | """ |
| 17 | type: Literal[ |
| 18 | "ad_nrt", |
| 19 | "ae_trn", |
| 20 | "al_tin", |
| 21 | "am_tin", |
| 22 | "ao_tin", |
| 23 | "ar_cuit", |
| 24 | "au_abn", |
| 25 | "au_arn", |
| 26 | "aw_tin", |
| 27 | "az_tin", |
| 28 | "ba_tin", |
| 29 | "bb_tin", |
| 30 | "bd_bin", |
| 31 | "bf_ifu", |
| 32 | "bg_uic", |
| 33 | "bh_vat", |
| 34 | "bj_ifu", |
| 35 | "bo_tin", |
| 36 | "br_cnpj", |
| 37 | "br_cpf", |
| 38 | "bs_tin", |
| 39 | "by_tin", |
| 40 | "ca_bn", |
| 41 | "ca_gst_hst", |
| 42 | "ca_pst_bc", |
| 43 | "ca_pst_mb", |
| 44 | "ca_pst_sk", |
| 45 | "ca_qst", |
| 46 | "cd_nif", |
| 47 | "ch_uid", |
| 48 | "ch_vat", |
| 49 | "cl_tin", |
| 50 | "cm_niu", |
| 51 | "cn_tin", |
| 52 | "co_nit", |
| 53 | "cr_tin", |
| 54 | "cv_nif", |
| 55 | "de_stn", |
| 56 | "do_rcn", |
| 57 | "ec_ruc", |
| 58 | "eg_tin", |
| 59 | "es_cif", |
| 60 | "et_tin", |
| 61 | "eu_oss_vat", |
| 62 | "eu_vat", |
| 63 | "gb_vat", |
| 64 | "ge_vat", |
| 65 | "gn_nif", |
| 66 | "hk_br", |
| 67 | "hr_oib", |
| 68 | "hu_tin", |
| 69 | "id_npwp", |
| 70 | "il_vat", |
| 71 | "in_gst", |
| 72 | "is_vat", |
| 73 | "jp_cn", |
| 74 | "jp_rn", |
| 75 | "jp_trn", |
| 76 | "ke_pin", |
| 77 | "kg_tin", |
| 78 | "kh_tin", |
| 79 | "kr_brn", |
| 80 | "kz_bin", |
| 81 | "la_tin", |
| 82 | "li_uid", |
| 83 | "li_vat", |
| 84 | "lk_vat", |
| 85 | "ma_vat", |
| 86 | "md_vat", |
| 87 | "me_pib", |
| 88 | "mk_vat", |
| 89 | "mr_nif", |
| 90 | "mx_rfc", |
| 91 | "my_frp", |
| 92 | "my_itn", |
| 93 | "my_sst", |
| 94 | "ng_tin", |
| 95 | "no_vat", |
| 96 | "no_voec", |
| 97 | "np_pan", |
| 98 | "nz_gst", |
| 99 | "om_vat", |
| 100 | "pe_ruc", |
| 101 | "ph_tin", |
| 102 | "pl_nip", |
| 103 | "ro_tin", |
| 104 | "rs_pib", |
| 105 | "ru_inn", |
| 106 | "ru_kpp", |
| 107 | "sa_vat", |
| 108 | "sg_gst", |
| 109 | "sg_uen", |
| 110 | "si_tin", |
| 111 | "sn_ninea", |
| 112 | "sr_fin", |
| 113 | "sv_nit", |
| 114 | "th_vat", |
| 115 | "tj_tin", |
| 116 | "tr_tin", |
| 117 | "tw_vat", |
| 118 | "tz_vat", |
| 119 | "ua_vat", |
| 120 | "ug_tin", |
| 121 | "us_ein", |
| 122 | "uy_ruc", |
| 123 | "uz_tin", |
| 124 | "uz_vat", |
| 125 | "ve_rif", |
| 126 | "vn_tin", |
| 127 | "za_vat", |
| 128 | "zm_tin", |
| 129 | "zw_tin", |
| 130 | ] |
| 131 | """ |
| 132 | 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`, `lk_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`, `pl_nip`, `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` |
| 133 | """ |
| 134 | value: str |
| 135 | """ |
| 136 | Value of the tax ID. |
| 137 | """ |
| 138 | |
| 139 | |
| 140 | class TaxIdCreateParamsOwner(TypedDict): |
| 141 | account: NotRequired[str] |
| 142 | """ |
| 143 | Connected Account the tax ID belongs to. Required when `type=account` |
| 144 | """ |
| 145 | customer: NotRequired[str] |
| 146 | """ |
| 147 | Customer the tax ID belongs to. Required when `type=customer` |
| 148 | """ |
| 149 | customer_account: NotRequired[str] |
| 150 | """ |
| 151 | ID of the Account representing the customer that the tax ID belongs to. Can be used in place of `customer` when `type=customer` |
| 152 | """ |
| 153 | type: Literal["account", "application", "customer", "self"] |
| 154 | """ |
| 155 | Type of owner referenced. |
| 156 | """ |