Skip to content

Stripe: Tax schemas

52 Stripe schemas with complete fields and constraints.

← Tax operations · All schemas

Create a Calculation — request body — body customer details address

FieldTypePresenceDescription and constraints
$objectRoot
cityJSONOptional
city (anyOf 1)stringAlternativeMaximum length: 5000
city (anyOf 2)stringAlternativeOne of:
countrystringRequired within parentMaximum length: 5000
line1JSONOptional
line1 (anyOf 1)stringAlternativeMaximum length: 5000
line1 (anyOf 2)stringAlternativeOne of:
line2JSONOptional
line2 (anyOf 1)stringAlternativeMaximum length: 5000
line2 (anyOf 2)stringAlternativeOne of:
postal_codeJSONOptional
postal_code (anyOf 1)stringAlternativeMaximum length: 5000
postal_code (anyOf 2)stringAlternativeOne of:
stateJSONOptional
state (anyOf 1)stringAlternativeMaximum length: 5000
state (anyOf 2)stringAlternativeOne of:

Create a Calculation — response body

FieldTypePresenceDescription and constraints
$objectRootA Tax Calculation allows you to calculate the tax to collect from your customer.

Related guide: [Calculate tax in your custom payment flow](https://docs.stripe.com/tax/custom)
amount_totalJSONRequired within parent
amount_total (anyOf 1)integerAlternativeTotal amount after taxes in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
amount_total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
currencystringRequired within parentThree-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).
Maximum length: 5000
customerJSONOptional
customer (anyOf 1)stringAlternativeThe ID of an existing [Customer](https://docs.stripe.com/api/customers/object) used for the resource.
Maximum length: 5000
customer (anyOf 2)nullAlternative
customer_detailsModelRequired within parentExpand Create a Calculation — response body — customer details
expires_atJSONOptional
expires_at (anyOf 1)JSONAlternative
expires_at (anyOf 1) (anyOf 1)integerAlternativeTimestamp of date at which the tax calculation will expire.
Format: unix-time
expires_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_at (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)stringAlternativeUnique identifier for the calculation.
Maximum length: 5000
id (anyOf 2)nullAlternative
line_itemsJSONOptional
line_items (anyOf 1)objectAlternativeThe list of items the customer is purchasing.
line_items (anyOf 1).dataarrayRequired within parentDetails about each object.
line_items (anyOf 1).data[]ModelEach itemExpand Retrieve a Calculation's line items — response body — data item
line_items (anyOf 1).has_morebooleanRequired within parentTrue if this list has another page of items after this one that can be fetched.
line_items (anyOf 1).objectstringRequired within parentString representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Known values: list
line_items (anyOf 1).urlstringRequired within parentThe URL where this list can be accessed.
Maximum length: 5000
Pattern: ^/v1/tax/calculations/[^/]+/line_items
line_items (anyOf 2)nullAlternative
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.calculation
ship_from_detailsJSONOptional
ship_from_details (anyOf 1)JSONAlternativeThe details of the ship from location, such as the address.
ship_from_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Calculation — response body — ship from details value address
ship_from_details (anyOf 2)nullAlternative
shipping_costJSONOptional
shipping_cost (anyOf 1)JSONAlternativeThe shipping cost details for the calculation.
shipping_cost (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Calculation — response body — shipping_cost / The shipping cost details for the calculation / tax_behavior: exclusive, inclusive
shipping_cost (anyOf 2)nullAlternative
tax_amount_exclusiveJSONRequired within parent
tax_amount_exclusive (anyOf 1)integerAlternativeThe amount of tax to be collected on top of the line item prices.
tax_amount_exclusive (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
tax_amount_inclusiveJSONRequired within parent
tax_amount_inclusive (anyOf 1)integerAlternativeThe amount of tax already included in the line item prices.
tax_amount_inclusive (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
tax_breakdownarrayRequired within parentBreakdown of individual tax amounts that add up to the total.
tax_breakdown[]ModelEach itemExpand Create a Calculation — response body — tax breakdown item
tax_dateJSONRequired within parent
tax_date (anyOf 1)integerAlternativeThe calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window.
Format: unix-time
tax_date (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Retrieve a Calculation's line items — response body — data item, Create a Calculation — response body — customer details, Create a Calculation — response body — ship from details value address, Create a Calculation — response body — tax breakdown item, Create a Calculation — response body — shipping_cost / The shipping cost details for the calculation / tax_behavior: exclusive, inclusive

Create a Calculation — response body — customer details

FieldTypePresenceDescription and constraints
$objectRoot
addressJSONOptional
address (anyOf 1)JSONAlternativeThe customer's postal address (for example, home or business location).
address (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Calculation — response body — ship from details value address address
address (anyOf 2)nullAlternative
address_sourceJSONOptional
address_source (anyOf 1)stringAlternativeThe type of customer address provided.
Known values: billing, shipping
address_source (anyOf 2)nullAlternative
ip_addressJSONOptional
ip_address (anyOf 1)stringAlternativeThe customer's IP address (IPv4 or IPv6).
Maximum length: 5000
ip_address (anyOf 2)nullAlternative
tax_idsarrayRequired within parentThe customer's tax IDs (for example, EU VAT numbers).
tax_ids[]ModelEach itemExpand Create a Calculation — response body — customer details tax ids item
taxability_overridestringRequired within parentThe taxability override used for taxation.
Known values: customer_exempt, none, reverse_charge

Referenced models: Create a Calculation — response body — customer details tax ids item, Create a Calculation — response body — ship from details value address address

Create a Calculation — response body — customer details tax ids item

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentThe 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`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_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`, `ic_nif`, or `unknown`
Known values: 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, fo_vat, gb_vat, ge_vat, gi_tin, gn_nif, hk_br, hr_oib, hu_tin, ic_nif, id_npwp, il_vat, in_gst, is_vat, it_cf, 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, py_ruc, 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, unknown, us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, za_vat, zm_tin, zw_tin
valuestringRequired within parentThe value of the tax ID.
Maximum length: 5000

Create a Calculation — response body — ship from details value address

FieldTypePresenceDescription and constraints
$objectRoot
addressModelRequired within parentExpand Create a Calculation — response body — ship from details value address address

Referenced models: Create a Calculation — response body — ship from details value address address

Create a Calculation — response body — ship from details value address address

FieldTypePresenceDescription and constraints
$objectRoot
cityJSONOptional
city (anyOf 1)stringAlternativeCity, district, suburb, town, or village.
Maximum length: 5000
city (anyOf 2)nullAlternative
countrystringRequired within parentTwo-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
Maximum length: 5000
line1JSONOptional
line1 (anyOf 1)stringAlternativeAddress line 1, such as the street, PO Box, or company name.
Maximum length: 5000
line1 (anyOf 2)nullAlternative
line2JSONOptional
line2 (anyOf 1)stringAlternativeAddress line 2, such as the apartment, suite, unit, or building.
Maximum length: 5000
line2 (anyOf 2)nullAlternative
postal_codeJSONOptional
postal_code (anyOf 1)stringAlternativeZIP or postal code.
Maximum length: 5000
postal_code (anyOf 2)nullAlternative
stateJSONOptional
state (anyOf 1)stringAlternativeState/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix, such as "NY" or "TX".
Maximum length: 5000
state (anyOf 2)nullAlternative

Create a Calculation — response body — shipping_cost / The shipping cost details for the calculation / tax_behavior: exclusive, inclusive

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_taxJSONRequired within parent
amount_tax (anyOf 1)integerAlternativeThe amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
amount_tax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
shipping_ratestringOptionalThe ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object).
Maximum length: 5000
tax_behaviorstringRequired within parentSpecifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
Known values: exclusive, inclusive
tax_breakdownarrayOptionalDetailed account of taxes relevant to shipping cost.
tax_breakdown[]ModelEach itemExpand Retrieve a Calculation's line items — response body — data item tax breakdown array item
tax_codestringRequired within parentThe [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping.
Maximum length: 5000

Referenced models: Retrieve a Calculation's line items — response body — data item tax breakdown array item

Create a Calculation — response body — tax breakdown item

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
inclusivebooleanRequired within parentSpecifies whether the tax amount is included in the line item amount.
tax_rate_detailsModelRequired within parentExpand Create a Calculation — response body — tax breakdown item tax rate details
taxability_reasonstringRequired within parentThe reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules.
Known values: customer_exempt, not_collecting, not_subject_to_tax, not_supported, portion_product_exempt, portion_reduced_rated, portion_standard_rated, product_exempt, product_exempt_holiday, proportionally_rated, reduced_rated, reverse_charge, standard_rated, taxable_basis_reduced, zero_rated
taxable_amountJSONRequired within parent
taxable_amount (anyOf 1)integerAlternativeThe amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
taxable_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create a Calculation — response body — tax breakdown item tax rate details

Create a Calculation — response body — tax breakdown item tax rate details

FieldTypePresenceDescription and constraints
$objectRoot
countryJSONOptional
country (anyOf 1)stringAlternativeTwo-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
Maximum length: 5000
country (anyOf 2)nullAlternative
flat_amountJSONOptional
flat_amount (anyOf 1)JSONAlternativeThe amount of the tax rate when the `rate_type` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate.
flat_amount (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a tax rate — response body — flat amount value amount, currency
flat_amount (anyOf 2)nullAlternative
percentage_decimalstringRequired within parentThe tax rate percentage as a string. For example, 8.5% is represented as `"8.5"`.
Maximum length: 5000
rate_typeJSONOptional
rate_type (anyOf 1)stringAlternativeIndicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.
Known values: flat_amount, percentage
rate_type (anyOf 2)nullAlternative
stateJSONOptional
state (anyOf 1)stringAlternativeState, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
Maximum length: 5000
state (anyOf 2)nullAlternative
tax_typeJSONOptional
tax_type (anyOf 1)stringAlternativeThe tax type, such as `vat` or `sales_tax`.
Known values: admissions_tax, amusement_tax, attendance_tax, communications_tax, digital_excise_tax, entertainment_tax, gross_receipts_tax, gst, hospitality_tax, hst, igst, jct, lease_tax, luxury_tax, mass_transit_parking_tax, parking_tax, pst, qst, recycling_fee, resort_tax, retail_delivery_fee, rst, sales_tax, service_tax, tourism_tax, utility_users_tax, vat
tax_type (anyOf 2)nullAlternative

Referenced models: Create a tax rate — response body — flat amount value amount, currency

Create a registration — response body

FieldTypePresenceDescription and constraints
$objectRootA Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://docs.stripe.com/tax).

Stripe doesn't register on your behalf with the relevant authorities when you create a Tax `Registration` object. For more information on how to register to collect tax, see [our guide](https://docs.stripe.com/tax/registering).

Related guide: [Using the Registrations API](https://docs.stripe.com/tax/registrations-api)
active_fromJSONRequired within parent
active_from (anyOf 1)integerAlternativeTime at which the registration becomes active. Measured in seconds since the Unix epoch.
Format: unix-time
active_from (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
countrystringRequired within parentTwo-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
Maximum length: 5000
country_optionsModelRequired within parentExpand Create a registration — response body — country options
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_atJSONOptional
expires_at (anyOf 1)JSONAlternative
expires_at (anyOf 1) (anyOf 1)integerAlternativeIf set, the registration stops being active at this time. If not set, the registration will be active indefinitely. Measured in seconds since the Unix epoch.
Format: unix-time
expires_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_at (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.registration
statusstringRequired within parentThe status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.
Known values: active, expired, scheduled

Referenced models: Create a registration — response body — country options

Create a registration — response body — country options

FieldTypePresenceDescription and constraints
$objectRoot
aeModelOptionalExpand Create a registration — response body — country options ae
alModelOptionalExpand Create a registration — response body — country options al
amModelOptionalExpand Create a registration — response body — country options am
aoModelOptionalExpand Create a registration — response body — country options al
atModelOptionalExpand Create a registration — response body — country options at
auModelOptionalExpand Create a registration — response body — country options ae
awModelOptionalExpand Create a registration — response body — country options al
azModelOptionalExpand Create a registration — response body — country options am
baModelOptionalExpand Create a registration — response body — country options al
bbModelOptionalExpand Create a registration — response body — country options al
bdModelOptionalExpand Create a registration — response body — country options al
beModelOptionalExpand Create a registration — response body — country options at
bfModelOptionalExpand Create a registration — response body — country options al
bgModelOptionalExpand Create a registration — response body — country options at
bhModelOptionalExpand Create a registration — response body — country options al
bjModelOptionalExpand Create a registration — response body — country options am
bsModelOptionalExpand Create a registration — response body — country options al
byModelOptionalExpand Create a registration — response body — country options am
caModelOptionalExpand Create a registration — response body — country options ca
cdModelOptionalExpand Create a registration — response body — country options al
chModelOptionalExpand Create a registration — response body — country options ae
clModelOptionalExpand Create a registration — response body — country options am
cmModelOptionalExpand Create a registration — response body — country options am
coModelOptionalExpand Create a registration — response body — country options am
crModelOptionalExpand Create a registration — response body — country options am
cvModelOptionalExpand Create a registration — response body — country options am
cyModelOptionalExpand Create a registration — response body — country options at
czModelOptionalExpand Create a registration — response body — country options at
deModelOptionalExpand Create a registration — response body — country options at
dkModelOptionalExpand Create a registration — response body — country options at
ecModelOptionalExpand Create a registration — response body — country options am
eeModelOptionalExpand Create a registration — response body — country options at
egModelOptionalExpand Create a registration — response body — country options am
esModelOptionalExpand Create a registration — response body — country options es
etModelOptionalExpand Create a registration — response body — country options al
fiModelOptionalExpand Create a registration — response body — country options at
frModelOptionalExpand Create a registration — response body — country options at
gbModelOptionalExpand Create a registration — response body — country options ae
geModelOptionalExpand Create a registration — response body — country options am
gnModelOptionalExpand Create a registration — response body — country options al
grModelOptionalExpand Create a registration — response body — country options at
hrModelOptionalExpand Create a registration — response body — country options at
huModelOptionalExpand Create a registration — response body — country options at
idModelOptionalExpand Create a registration — response body — country options am
ieModelOptionalExpand Create a registration — response body — country options at
inModelOptionalExpand Create a registration — response body — country options am
isModelOptionalExpand Create a registration — response body — country options al
itModelOptionalExpand Create a registration — response body — country options at
jpModelOptionalExpand Create a registration — response body — country options ae
keModelOptionalExpand Create a registration — response body — country options am
kgModelOptionalExpand Create a registration — response body — country options am
khModelOptionalExpand Create a registration — response body — country options am
krModelOptionalExpand Create a registration — response body — country options am
kzModelOptionalExpand Create a registration — response body — country options am
laModelOptionalExpand Create a registration — response body — country options am
lkModelOptionalExpand Create a registration — response body — country options am
ltModelOptionalExpand Create a registration — response body — country options at
luModelOptionalExpand Create a registration — response body — country options at
lvModelOptionalExpand Create a registration — response body — country options at
maModelOptionalExpand Create a registration — response body — country options am
mdModelOptionalExpand Create a registration — response body — country options am
meModelOptionalExpand Create a registration — response body — country options al
mkModelOptionalExpand Create a registration — response body — country options al
mrModelOptionalExpand Create a registration — response body — country options al
mtModelOptionalExpand Create a registration — response body — country options at
mxModelOptionalExpand Create a registration — response body — country options am
myModelOptionalExpand Create a registration — response body — country options am
ngModelOptionalExpand Create a registration — response body — country options am
nlModelOptionalExpand Create a registration — response body — country options at
noModelOptionalExpand Create a registration — response body — country options ae
npModelOptionalExpand Create a registration — response body — country options am
nzModelOptionalExpand Create a registration — response body — country options ae
omModelOptionalExpand Create a registration — response body — country options al
peModelOptionalExpand Create a registration — response body — country options am
phModelOptionalExpand Create a registration — response body — country options am
plModelOptionalExpand Create a registration — response body — country options at
ptModelOptionalExpand Create a registration — response body — country options at
roModelOptionalExpand Create a registration — response body — country options at
rsModelOptionalExpand Create a registration — response body — country options al
ruModelOptionalExpand Create a registration — response body — country options am
saModelOptionalExpand Create a registration — response body — country options am
seModelOptionalExpand Create a registration — response body — country options at
sgModelOptionalExpand Create a registration — response body — country options ae
siModelOptionalExpand Create a registration — response body — country options at
skModelOptionalExpand Create a registration — response body — country options at
snModelOptionalExpand Create a registration — response body — country options am
srModelOptionalExpand Create a registration — response body — country options al
thModelOptionalExpand Create a registration — response body — country options am
tjModelOptionalExpand Create a registration — response body — country options am
trModelOptionalExpand Create a registration — response body — country options am
twModelOptionalExpand Create a registration — response body — country options am
tzModelOptionalExpand Create a registration — response body — country options am
uaModelOptionalExpand Create a registration — response body — country options am
ugModelOptionalExpand Create a registration — response body — country options am
usModelOptionalExpand Create a registration — response body — country options us
uyModelOptionalExpand Create a registration — response body — country options al
uzModelOptionalExpand Create a registration — response body — country options am
vnModelOptionalExpand Create a registration — response body — country options am
zaModelOptionalExpand Create a registration — response body — country options al
zmModelOptionalExpand Create a registration — response body — country options am
zwModelOptionalExpand Create a registration — response body — country options al

Referenced models: Create a registration — response body — country options ca, Create a registration — response body — country options al, Create a registration — response body — country options ae, Create a registration — response body — country options at, Create a registration — response body — country options am, Create a registration — response body — country options es, Create a registration — response body — country options us

Create a registration — response body — country options ae

FieldTypePresenceDescription and constraints
$objectRoot
standardModelOptionalExpand Create a registration — response body — country options ae standard
typestringRequired within parentType of registration in `country`.
Known values: standard

Referenced models: Create a registration — response body — country options ae standard

Create a registration — response body — country options ae standard

FieldTypePresenceDescription and constraints
$objectRoot
place_of_supply_schemestringRequired within parentPlace of supply scheme used in an Default standard registration.
Known values: inbound_goods, standard

Create a registration — response body — country options al

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentType of registration in `country`.
Known values: standard

Create a registration — response body — country options am

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentType of registration in `country`.
Known values: simplified

Create a registration — response body — country options at

FieldTypePresenceDescription and constraints
$objectRoot
standardModelOptionalExpand Create a registration — response body — country options at standard
typestringRequired within parentType of registration in an EU country.
Known values: ioss, oss_non_union, oss_union, standard

Referenced models: Create a registration — response body — country options at standard

Create a registration — response body — country options at standard

FieldTypePresenceDescription and constraints
$objectRoot
place_of_supply_schemestringRequired within parentPlace of supply scheme used in an EU standard registration.
Known values: inbound_goods, small_seller, standard

Create a registration — response body — country options ca

FieldTypePresenceDescription and constraints
$objectRoot
province_standardModelOptionalExpand Create a registration — response body — country options ca province standard
typestringRequired within parentType of registration in Canada.
Known values: province_standard, simplified, standard

Referenced models: Create a registration — response body — country options ca province standard

Create a registration — response body — country options ca province standard

FieldTypePresenceDescription and constraints
$objectRoot
provincestringRequired within parentTwo-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
Maximum length: 5000

Create a registration — response body — country options es

FieldTypePresenceDescription and constraints
$objectRoot
standardModelOptionalExpand Create a registration — response body — country options at standard
typestringRequired within parentType of registration in ES.
Known values: ioss, oss_non_union, oss_union, standard

Referenced models: Create a registration — response body — country options at standard

Create a registration — response body — country options us

FieldTypePresenceDescription and constraints
$objectRoot
admissions_taxModelOptionalExpand Create a registration — response body — country options us admissions tax
attendance_taxModelOptionalExpand Create a registration — response body — country options us attendance tax
entertainment_taxModelOptionalExpand Create a registration — response body — country options us entertainment tax
gross_receipts_taxModelOptionalExpand Create a registration — response body — country options us gross receipts tax
hospitality_taxModelOptionalExpand Create a registration — response body — country options us hospitality tax
local_amusement_taxModelOptionalExpand Create a registration — response body — country options us local lease tax
local_lease_taxModelOptionalExpand Create a registration — response body — country options us local lease tax
luxury_taxModelOptionalExpand Create a registration — response body — country options us luxury tax
mass_transit_parking_taxModelOptionalExpand Create a registration — response body — country options us mass transit parking tax
parking_taxModelOptionalExpand Create a registration — response body — country options us parking tax
resort_taxModelOptionalExpand Create a registration — response body — country options us resort tax
statestringRequired within parentTwo-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
Maximum length: 5000
state_sales_taxModelOptionalExpand Create a registration — response body — country options us state sales tax
tourism_taxModelOptionalExpand Create a registration — response body — country options us tourism tax
typestringRequired within parentType of registration in the US.
Known values: admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, local_amusement_tax, local_lease_tax, luxury_tax, mass_transit_parking_tax, parking_tax, resort_tax, state_communications_tax, state_retail_delivery_fee, state_sales_tax, tourism_tax

Referenced models: Create a registration — response body — country options us admissions tax, Create a registration — response body — country options us attendance tax, Create a registration — response body — country options us entertainment tax, Create a registration — response body — country options us gross receipts tax, Create a registration — response body — country options us hospitality tax, Create a registration — response body — country options us local lease tax, Create a registration — response body — country options us luxury tax, Create a registration — response body — country options us mass transit parking tax, Create a registration — response body — country options us parking tax, Create a registration — response body — country options us resort tax, Create a registration — response body — country options us state sales tax, Create a registration — response body — country options us tourism tax

Create a registration — response body — country options us admissions tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us attendance tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us entertainment tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us gross receipts tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us hospitality tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us local lease tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us luxury tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us mass transit parking tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=mass_transit_parking_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us parking tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=parking_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us resort tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=resort_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a registration — response body — country options us state sales tax

FieldTypePresenceDescription and constraints
$objectRoot
electionsarrayOptionalElections for the state sales tax registration.
elections[]ModelEach itemExpand Create a registration — response body — country options us state sales tax elections item

Referenced models: Create a registration — response body — country options us state sales tax elections item

Create a registration — response body — country options us state sales tax elections item

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringOptionalA [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
Maximum length: 5000
typestringRequired within parentThe type of the election for the state sales tax registration.
Known values: local_use_tax, simplified_sellers_use_tax, single_local_use_tax

Create a registration — response body — country options us tourism tax

FieldTypePresenceDescription and constraints
$objectRoot
jurisdictionstringRequired within parentA [jurisdiction code](https://docs.stripe.com/tax/registering?type=tourism_tax#registration-types) representing the local jurisdiction.
Maximum length: 5000

Create a reversal Transaction — response body

FieldTypePresenceDescription and constraints
$objectRootA Tax Transaction records the tax collected from or refunded to your customer.

Related guide: [Calculate tax in your custom payment flow](https://docs.stripe.com/tax/custom#tax-transaction)
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
currencystringRequired within parentThree-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).
Maximum length: 5000
customerJSONOptional
customer (anyOf 1)stringAlternativeThe ID of an existing [Customer](https://docs.stripe.com/api/customers/object) used for the resource.
Maximum length: 5000
customer (anyOf 2)nullAlternative
customer_detailsModelRequired within parentExpand Create a Calculation — response body — customer details
idstringRequired within parentUnique identifier for the transaction.
Maximum length: 5000
line_itemsJSONOptional
line_items (anyOf 1)objectAlternativeThe tax collected or refunded, by line item.
line_items (anyOf 1).dataarrayRequired within parentDetails about each object.
line_items (anyOf 1).data[]ModelEach itemExpand Retrieve a Transaction's line items — response body — data item
line_items (anyOf 1).has_morebooleanRequired within parentTrue if this list has another page of items after this one that can be fetched.
line_items (anyOf 1).objectstringRequired within parentString representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Known values: list
line_items (anyOf 1).urlstringRequired within parentThe URL where this list can be accessed.
Maximum length: 5000
Pattern: ^/v1/tax/transactions/[^/]+/line_items
line_items (anyOf 2)nullAlternative
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
metadataJSONOptional
metadata (anyOf 1)objectAlternativeSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keysMaximum length: 500
metadata (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.transaction
posted_atJSONRequired within parent
posted_at (anyOf 1)integerAlternativeThe Unix timestamp representing when the tax liability is assumed or reduced.
Format: unix-time
posted_at (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
referencestringRequired within parentA custom unique identifier, such as 'myOrder_123'.
Maximum length: 5000
reversalJSONOptional
reversal (anyOf 1)JSONAlternativeIf `type=reversal`, contains information about what was reversed.
reversal (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a reversal Transaction — response body — reversal value original transaction
reversal (anyOf 2)nullAlternative
ship_from_detailsJSONOptional
ship_from_details (anyOf 1)JSONAlternativeThe details of the ship from location, such as the address.
ship_from_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Calculation — response body — ship from details value address
ship_from_details (anyOf 2)nullAlternative
shipping_costJSONOptional
shipping_cost (anyOf 1)JSONAlternativeThe shipping cost details for the transaction.
shipping_cost (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a reversal Transaction — response body — shipping_cost / The shipping cost details for the transaction / tax_behavior: exclusive, inclusive
shipping_cost (anyOf 2)nullAlternative
tax_dateJSONRequired within parent
tax_date (anyOf 1)integerAlternativeThe calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window.
Format: unix-time
tax_date (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
typestringRequired within parentIf `reversal`, this transaction reverses an earlier transaction.
Known values: reversal, transaction

Referenced models: Retrieve a Transaction's line items — response body — data item, Create a Calculation — response body — customer details, Create a Calculation — response body — ship from details value address, Create a reversal Transaction — response body — reversal value original transaction, Create a reversal Transaction — response body — shipping_cost / The shipping cost details for the transaction / tax_behavior: exclusive, inclusive

Create a reversal Transaction — response body — reversal value original transaction

FieldTypePresenceDescription and constraints
$objectRoot
original_transactionJSONOptional
original_transaction (anyOf 1)stringAlternativeThe `id` of the reversed `Transaction` object.
Maximum length: 5000
original_transaction (anyOf 2)nullAlternative

Create a reversal Transaction — response body — shipping_cost / The shipping cost details for the transaction / tax_behavior: exclusive, inclusive

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_taxJSONRequired within parent
amount_tax (anyOf 1)integerAlternativeThe amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
amount_tax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
shipping_ratestringOptionalThe ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object).
Maximum length: 5000
tax_behaviorstringRequired within parentSpecifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
Known values: exclusive, inclusive
tax_codestringRequired within parentThe [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping.
Maximum length: 5000

Create a tax location — response body

FieldTypePresenceDescription and constraints
$objectRootTax locations represent venues for services, tickets, or other product types.
addressModelRequired within parentExpand Create a Location — response body — address
descriptionJSONOptional
description (anyOf 1)stringAlternativeA descriptive text providing additional context about the tax location. This can include information about the venue, types of events held, services available, or any relevant details for better identification (for example, "A spacious auditorium suitable for large concerts and events.").
Maximum length: 5000
description (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.location
typestringRequired within parentThe type of tax location to be defined. Currently the only option is `performance`.
Known values: performance

Referenced models: Create a Location — response body — address

Find a Tax Association — response body

FieldTypePresenceDescription and constraints
$objectRootA Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input
calculationstringRequired within parentThe [Tax Calculation](https://docs.stripe.com/api/tax/calculations/object) that was included in PaymentIntent.
Maximum length: 5000
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.association
payment_intentstringRequired within parentThe [PaymentIntent](https://docs.stripe.com/api/payment_intents/object) that this Tax Association is tracking.
Maximum length: 5000
tax_transaction_attemptsJSONOptional
tax_transaction_attempts (anyOf 1)arrayAlternativeInformation about the tax transactions linked to this payment intent
tax_transaction_attempts (anyOf 1)[]ModelEach itemExpand Find a Tax Association — response body — tax transaction attempts array item
tax_transaction_attempts (anyOf 2)nullAlternative

Referenced models: Find a Tax Association — response body — tax transaction attempts array item

Find a Tax Association — response body — tax transaction attempts array item

FieldTypePresenceDescription and constraints
$objectRoot
committedModelOptionalExpand Find a Tax Association — response body — tax transaction attempts array item committed
erroredModelOptionalExpand Find a Tax Association — response body — tax transaction attempts array item errored
sourcestringRequired within parentThe source of the tax transaction attempt. This is either a refund or a payment intent.
Maximum length: 5000
statusstringRequired within parentThe status of the transaction attempt. This can be `errored` or `committed`.
Maximum length: 5000

Referenced models: Find a Tax Association — response body — tax transaction attempts array item committed, Find a Tax Association — response body — tax transaction attempts array item errored

Find a Tax Association — response body — tax transaction attempts array item committed

FieldTypePresenceDescription and constraints
$objectRoot
transactionstringRequired within parentThe [Tax Transaction](https://docs.stripe.com/api/tax/transaction/object)
Maximum length: 5000

Find a Tax Association — response body — tax transaction attempts array item errored

FieldTypePresenceDescription and constraints
$objectRoot
reasonstringRequired within parentDetails on why we couldn't commit the tax transaction.
Known values: another_payment_associated_with_calculation, calculation_expired, currency_mismatch, original_transaction_voided, unique_reference_violation

Retrieve a Calculation's line items — response body — data item

FieldTypePresenceDescription and constraints
$objectRootA Tax Calculation Line Item represents a single item in a tax calculation.
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe line item amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_taxJSONRequired within parent
amount_tax (anyOf 1)integerAlternativeThe amount of tax calculated for this line item, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
amount_tax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
metadataJSONOptional
metadata (anyOf 1)objectAlternativeSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keysMaximum length: 500
metadata (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.calculation_line_item
performance_locationJSONOptional
performance_location (anyOf 1)stringAlternativeIndicates the line item represents a performance where the venue location might determine the tax, not the customer address. Leave empty if the tax code doesn't require a tax location. If you provide this value for tax codes with an `optional` location requirement, it overrides the customer address.
Maximum length: 5000
performance_location (anyOf 2)nullAlternative
productJSONOptional
product (anyOf 1)stringAlternativeThe ID of an existing [Product](https://docs.stripe.com/api/products/object).
Maximum length: 5000
product (anyOf 2)nullAlternative
quantityJSONRequired within parent
quantity (anyOf 1)integerAlternativeThe number of units of the item being purchased. For reversals, this is the quantity reversed.
quantity (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
referencestringRequired within parentA custom identifier for this line item.
Maximum length: 5000
tax_behaviorstringRequired within parentSpecifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
Known values: exclusive, inclusive
tax_breakdownJSONOptional
tax_breakdown (anyOf 1)arrayAlternativeDetailed account of taxes relevant to this line item.
tax_breakdown (anyOf 1)[]ModelEach itemExpand Retrieve a Calculation's line items — response body — data item tax breakdown array item
tax_breakdown (anyOf 2)nullAlternative
tax_codestringRequired within parentThe [tax code](https://docs.stripe.com/tax/tax-categories) ID used for this resource.
Maximum length: 5000

Referenced models: Retrieve a Calculation's line items — response body — data item tax breakdown array item

Retrieve a Calculation's line items — response body — data item tax breakdown array item

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
jurisdictionModelRequired within parentExpand Retrieve a Calculation's line items — response body — data item tax breakdown array item jurisdiction
sourcingstringRequired within parentIndicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
Known values: destination, origin, performance
tax_rate_detailsJSONOptional
tax_rate_details (anyOf 1)JSONAlternativeDetails regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax.
tax_rate_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Retrieve a Calculation's line items — response body — data item tax breakdown array item tax rate details value display name, percentage decimal, tax type
tax_rate_details (anyOf 2)nullAlternative
taxability_reasonstringRequired within parentThe reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
Known values: customer_exempt, not_collecting, not_subject_to_tax, not_supported, portion_product_exempt, portion_reduced_rated, portion_standard_rated, product_exempt, product_exempt_holiday, proportionally_rated, reduced_rated, reverse_charge, standard_rated, taxable_basis_reduced, zero_rated
taxable_amountJSONRequired within parent
taxable_amount (anyOf 1)integerAlternativeThe amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
taxable_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Retrieve a Calculation's line items — response body — data item tax breakdown array item jurisdiction, Retrieve a Calculation's line items — response body — data item tax breakdown array item tax rate details value display name, percentage decimal, tax type

Retrieve a Calculation's line items — response body — data item tax breakdown array item jurisdiction

FieldTypePresenceDescription and constraints
$objectRoot
countrystringRequired within parentTwo-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
Maximum length: 5000
display_namestringRequired within parentA human-readable name for the jurisdiction imposing the tax.
Maximum length: 5000
levelstringRequired within parentIndicates the level of the jurisdiction imposing the tax.
Known values: city, country, county, district, state
stateJSONOptional
state (anyOf 1)stringAlternative[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States.
Maximum length: 5000
state (anyOf 2)nullAlternative

Retrieve a Calculation's line items — response body — data item tax breakdown array item tax rate details value display name, percentage decimal, tax type

FieldTypePresenceDescription and constraints
$objectRoot
display_namestringRequired within parentA localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)".
Maximum length: 5000
percentage_decimalstringRequired within parentThe tax rate percentage as a string. For example, 8.5% is represented as "8.5".
Maximum length: 5000
tax_typestringRequired within parentThe tax type, such as `vat` or `sales_tax`.
Known values: admissions_tax, amusement_tax, attendance_tax, communications_tax, digital_excise_tax, entertainment_tax, gross_receipts_tax, gst, hospitality_tax, hst, igst, jct, lease_tax, luxury_tax, mass_transit_parking_tax, parking_tax, pst, qst, recycling_fee, resort_tax, retail_delivery_fee, rst, sales_tax, service_tax, tourism_tax, utility_users_tax, vat

Retrieve a Transaction's line items — response body — data item

FieldTypePresenceDescription and constraints
$objectRootA Tax Transaction Line Item represents an individual item in a Tax Transaction.
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeThe line item amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_taxJSONRequired within parent
amount_tax (anyOf 1)integerAlternativeThe amount of tax calculated for this line item, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
amount_tax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
metadataJSONOptional
metadata (anyOf 1)objectAlternativeSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keysMaximum length: 500
metadata (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.transaction_line_item
productJSONOptional
product (anyOf 1)stringAlternativeThe ID of an existing [Product](https://docs.stripe.com/api/products/object).
Maximum length: 5000
product (anyOf 2)nullAlternative
quantityJSONRequired within parent
quantity (anyOf 1)integerAlternativeThe number of units of the item being purchased. For reversals, this is the quantity reversed.
quantity (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
referencestringRequired within parentA custom identifier for this line item in the transaction.
Maximum length: 5000
reversalJSONOptional
reversal (anyOf 1)JSONAlternativeIf `type=reversal`, contains information about what was reversed.
reversal (anyOf 1) (anyOf 1)ModelAlternativeExpand Retrieve a Transaction's line items — response body — data item reversal value original line item
reversal (anyOf 2)nullAlternative
tax_behaviorstringRequired within parentSpecifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
Known values: exclusive, inclusive
tax_codestringRequired within parentThe [tax code](https://docs.stripe.com/tax/tax-categories) ID used for this resource.
Maximum length: 5000
typestringRequired within parentIf `reversal`, this line item reverses an earlier transaction.
Known values: reversal, transaction

Referenced models: Retrieve a Transaction's line items — response body — data item reversal value original line item

Retrieve a Transaction's line items — response body — data item reversal value original line item

FieldTypePresenceDescription and constraints
$objectRoot
original_line_itemstringRequired within parentThe `id` of the line item to reverse in the original transaction.
Maximum length: 5000

Update settings — response body

FieldTypePresenceDescription and constraints
$objectRootYou can use Tax `Settings` to manage configurations used by Stripe Tax calculations.

Related guide: [Using the Settings API](https://docs.stripe.com/tax/settings-api)
defaultsModelRequired within parentExpand Update settings — response body — defaults
head_officeJSONOptional
head_office (anyOf 1)JSONAlternativeThe place where your business is located.
head_office (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a cardholder — response body — billing
head_office (anyOf 2)nullAlternative
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.settings
statusstringRequired within parentWhether these settings have the information Stripe Tax needs to calculate tax. It doesn't reflect whether your integration is ready to collect tax.
Known values: active, pending
status_detailsModelRequired within parentExpand Update settings — response body — status details

Referenced models: Create a cardholder — response body — billing, Update settings — response body — defaults, Update settings — response body — status details

Update settings — response body — defaults

FieldTypePresenceDescription and constraints
$objectRoot
providerstringRequired within parentThe tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps).
Known values: anrok, avalara, sphere, stripe
tax_behaviorJSONOptional
tax_behavior (anyOf 1)stringAlternativeDefault [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item's price has a tax behavior set, it will take precedence over the default tax behavior.
Known values: exclusive, inclusive, inferred_by_currency
tax_behavior (anyOf 2)nullAlternative
tax_codeJSONOptional
tax_code (anyOf 1)stringAlternativeDefault [tax code](https://stripe.com/docs/tax/tax-categories) used to classify your products and prices.
Maximum length: 5000
tax_code (anyOf 2)nullAlternative

Update settings — response body — status details

FieldTypePresenceDescription and constraints
$objectRoot
activeModelOptionalExpand Create a Payment Method — response body — zip
pendingModelOptionalExpand Update settings — response body — status details pending

Referenced models: Create a Payment Method — response body — zip, Update settings — response body — status details pending

Update settings — response body — status details pending

FieldTypePresenceDescription and constraints
$objectRoot
missing_fieldsJSONOptional
missing_fields (anyOf 1)arrayAlternativeThe list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call.
missing_fields (anyOf 1)[]stringEach itemMaximum length: 5000
missing_fields (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.