Retrieve a tax quote
/tax_quotes/{id}Retrieves the details of a tax quote.
Headers
AuthorizationstringRequiredPath parameters
idstringRequiredThe identifier of the tax quote.
Returns
Returns the tax quote object.
idstringUnique identifier for the tax quote.
resourcestringString representing the object's type.
amount_totalintegerTotal amount including tax, in the smallest currency unit.
amount_total_human_readablestringTotal amount including tax, in human-readable format.
tax_amount_exclusiveintegerTax that is added on top of the line item amounts, in the smallest currency unit.
tax_amount_inclusiveintegerTax already included in the line item amounts, in the smallest currency unit.
currencystringThree-letter ISO currency code, in lowercase.
customerstring or nullUnique identifier of the Customer this quote belongs to, if applicable.
Show 10 more attributesShow fewer attributes
customer_reference_idstring or nullYour unique identifier for the customer, if applicable.
customer_detailsobjectCustomer details used to calculate tax.
Show 4 child attributesHide child attributes
addressobject or nullAddress used for the tax calculation, if applicable.
Show 6 child attributesHide child attributes
line1string or nullAddress line 1, such as the street, PO Box, or company name.
line2string or nullAddress line 2, such as the apartment, suite, unit, or building.
citystring or nullCity, district, suburb, town, or village.
statestring or nullState, county, province, or region.
postal_codestring or nullZIP or postal code.
countrystring or nullTwo-letter country code (ISO 3166-1 alpha-2).
address_sourcestring or nullType of the customer address provided. One of shipping or billing, if applicable.
ip_addressstring or nullThe customer's IP address, if applicable.
tax_idsarray of objectsThe customer's tax identifiers.
Show 2 child attributesHide child attributes
typestringRequiredType of the tax identifier. One of eu_vat, gb_vat, us_ein, ca_gst_hst, ca_bn, au_abn, in_gst, or pl_nip.
valuestringRequiredValue of the tax identifier.
ship_from_detailsobject or nullDetails about the address the goods are shipped from, if applicable.
Show 1 child attributeHide child attributes
addressobject or nullAddress used for the tax calculation, if applicable.
Show 6 child attributesHide child attributes
line1string or nullAddress line 1, such as the street, PO Box, or company name.
line2string or nullAddress line 2, such as the apartment, suite, unit, or building.
citystring or nullCity, district, suburb, town, or village.
statestring or nullState, county, province, or region.
postal_codestring or nullZIP or postal code.
countrystring or nullTwo-letter country code (ISO 3166-1 alpha-2).
shipping_costobject or nullShipping cost details, including the tax applied to shipping, if applicable.
Show 5 child attributesHide child attributes
amountintegerShipping amount, in the smallest currency unit.
tax_amountinteger or nullTax applied to the shipping cost, in the smallest currency unit.
tax_behaviorstring or nullWhether the shipping amount is exclusive or inclusive of tax. One of exclusive or inclusive.
tax_codestring or nullProvider tax code (txcd_*) applied to the shipping cost, if applicable.
tax_breakdownarray of objectsBreakdown of the shipping tax by jurisdiction.
Show 5 child attributesHide child attributes
amountstringTax amount, in the smallest currency unit, as a numeric string.
inclusivebooleanWhether the tax is inclusive of the taxable amount.
taxable_amountstringAmount on which the tax was applied, in the smallest currency unit, as a numeric string.
tax_rate_detailsobject or nullDetails about the applied tax rate, if available.
Show 6 child attributesHide child attributes
countrystring or nullTwo-letter country code (ISO 3166-1 alpha-2).
statestring or nullState, province, or region, if applicable.
tax_typestring or nullProvider-specific tax type, such as vat or sales_tax.
rate_typestring or nullType of the tax rate. One of percentage or flat_amount.
percentage_decimalstring or nullTax rate as a decimal percentage string, if applicable.
flat_amountobject or nullFlat tax amount, if rate_type is flat_amount.
Show 2 child attributesHide child attributes
amountstringFlat tax amount, in the smallest currency unit, as a numeric string.
currencystringThree-letter ISO currency code, in lowercase.
taxability_reasonstring or nullReason the amount is taxable or not, as reported by the tax provider, if applicable.
tax_breakdownarray of objectsBreakdown of the tax amount by jurisdiction.
Show 5 child attributesHide child attributes
amountstringTax amount, in the smallest currency unit, as a numeric string.
inclusivebooleanWhether the tax is inclusive of the taxable amount.
taxable_amountstringAmount on which the tax was applied, in the smallest currency unit, as a numeric string.
tax_rate_detailsobject or nullDetails about the applied tax rate, if available.
Show 6 child attributesHide child attributes
countrystring or nullTwo-letter country code (ISO 3166-1 alpha-2).
statestring or nullState, province, or region, if applicable.
tax_typestring or nullProvider-specific tax type, such as vat or sales_tax.
rate_typestring or nullType of the tax rate. One of percentage or flat_amount.
percentage_decimalstring or nullTax rate as a decimal percentage string, if applicable.
flat_amountobject or nullFlat tax amount, if rate_type is flat_amount.
Show 2 child attributesHide child attributes
amountstringFlat tax amount, in the smallest currency unit, as a numeric string.
currencystringThree-letter ISO currency code, in lowercase.
taxability_reasonstring or nullReason the amount is taxable or not, as reported by the tax provider, if applicable.
tax_datestring or nullTime at which tax was calculated, in ISO 8601 format.
expiresstring or nullTime at which the quote expires, in ISO 8601 format.
test_modebooleanWhether the tax quote was created in the sandbox.
createdstringTime at which the object was created, in ISO 8601 format.
line_itemsarray of objectsComputed line items, including tax amounts.
Show 11 child attributesHide child attributes
idstringUnique identifier for the line item.
resourcestringString representing the object's type.
amountintegerLine item amount, in the smallest currency unit.
quantityintegerQuantity of the line item.
referencestring or nullYour reference for the line item, if applicable.
productstring or nullFree-form product identifier, if applicable.
tax_amountinteger or nullTax applied to the line item, in the smallest currency unit.
tax_behaviorstring or nullWhether the line item amount is exclusive or inclusive of tax. One of exclusive or inclusive.
tax_codestring or nullProvider tax code (txcd_*) applied to the line item, if applicable.
taxability_reasonstring or nullReason the line item is taxable or not, as reported by the tax provider, if applicable.
tax_breakdownarray of objectsBreakdown of the line item's tax by jurisdiction.
Show 5 child attributesHide child attributes
amountstringTax amount, in the smallest currency unit, as a numeric string.
inclusivebooleanWhether the tax is inclusive of the taxable amount.
taxable_amountstringAmount on which the tax was applied, in the smallest currency unit, as a numeric string.
tax_rate_detailsobject or nullDetails about the applied tax rate, if available.
Show 6 child attributesHide child attributes
countrystring or nullTwo-letter country code (ISO 3166-1 alpha-2).
statestring or nullState, province, or region, if applicable.
tax_typestring or nullProvider-specific tax type, such as vat or sales_tax.
rate_typestring or nullType of the tax rate. One of percentage or flat_amount.
percentage_decimalstring or nullTax rate as a decimal percentage string, if applicable.
flat_amountobject or nullFlat tax amount, if rate_type is flat_amount.
Show 2 child attributesHide child attributes
amountstringFlat tax amount, in the smallest currency unit, as a numeric string.
currencystringThree-letter ISO currency code, in lowercase.
taxability_reasonstring or nullReason the amount is taxable or not, as reported by the tax provider, if applicable.
Errors
400401invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).403code says why.404500503Retry-After, or after a few seconds when there's none.