HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.TaxId

Contains the types generated from the schema TaxId

  • 5 types
  • 2 values
datadata TaxId
#

Defines the object schema located at components.schemas.tax_id in the specification.

You can add one or multiple tax IDs to a customer. A customer's tax IDs are displayed on invoices and credit notes issued for the customer.

Related guide: Customer Tax Identification Numbers.

Constructors

  • TaxId
    • taxIdCountry :: Maybe (Nullable Text)

      country: Two-letter ISO code representing the country of the tax ID.

      Constraints:

      • Maximum length of 5000

    • taxIdCreated :: Int

      created: Time at which the object was created. Measured in seconds since the Unix epoch.

    • taxIdCustomer :: Maybe (Nullable TaxIdCustomer'NonNullableVariants)

      customer: ID of the customer.

    • taxIdId :: Text

      id: Unique identifier for the object.

      Constraints:

      • Maximum length of 5000

    • taxIdLivemode :: Bool

      livemode: Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

    • taxIdType :: TaxIdType'

      type: Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `bg_uic`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `th_vat`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat`. Note that some legacy tax IDs have type `unknown`

    • taxIdValue :: Text

      value: Value of the tax ID.

      Constraints:

      • Maximum length of 5000

    • taxIdVerification :: Maybe (Nullable TaxIdVerification'NonNullable)

      verification: Tax ID verification information.

Instances4Eq, Show, FromJSON, ToJSON
  • Eq TaxIdDefined in stripeapi-3.0.0.0 · StripeAPI.Types.TaxId
  • Show TaxIdDefined in stripeapi-3.0.0.0 · StripeAPI.Types.TaxId
  • FromJSON TaxIdDefined in stripeapi-3.0.0.0 · StripeAPI.Types.TaxId
  • ToJSON TaxIdDefined in stripeapi-3.0.0.0 · StripeAPI.Types.TaxId

Defines the oneOf schema located at components.schemas.tax_id.properties.customer.anyOf in the specification.

ID of the customer.

Instances4Eq, Show, FromJSON, ToJSON
datadata TaxIdType'
#

Defines the enum schema located at components.schemas.tax_id.properties.type in the specification.

Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `bg_uic`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `th_vat`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat`. Note that some legacy tax IDs have type `unknown`

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.tax_id.properties.verification.anyOf in the specification.

Tax ID verification information.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.tax_id.properties.verification.anyOf.properties.status in the specification.

Verification status, one of `pending`, `verified`, `unverified`, or `unavailable`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON