Stripe · Schema
TaxProductResourceTaxCalculation
A Tax Calculation allows you to calculate the tax to collect from your customer. Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom)
CommerceFinancial ServicesFintechPaymentsT1StripeAgentic CommercePoint-of-SalePayment Processing
Properties
| Name | Type | Description |
|---|---|---|
| amount_total | integer | Total after taxes. |
| currency | string | 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). |
| customer | stringnull | The ID of an existing [Customer](https://stripe.com/docs/api/customers/object) used for the resource. |
| customer_details | object | |
| expires_at | integernull | Timestamp of date at which the tax calculation will expire. |
| id | stringnull | Unique identifier for the calculation. |
| line_items | objectnull | The list of items the customer is purchasing. |
| livemode | boolean | Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. |
| object | string | String representing the object's type. Objects of the same type share the same value. |
| shipping_cost | object | The shipping cost details for the calculation. |
| tax_amount_exclusive | integer | The amount of tax to be collected on top of the line item prices. |
| tax_amount_inclusive | integer | The amount of tax already included in the line item prices. |
| tax_breakdown | array | Breakdown of individual tax amounts that add up to the total. |
| tax_date | integer | Timestamp of date at which the tax rules and rates in effect applies for the calculation. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/stripe/main/json-schema/stripe-tax-calculation-schema.json",
"title": "TaxProductResourceTaxCalculation",
"description": "A Tax Calculation allows you to calculate the tax to collect from your customer.\n\nRelated guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom)",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/stripe-tax-api-openapi.yml#/components/schemas/tax.calculation",
"properties": {
"amount_total": {
"description": "Total after taxes.",
"type": "integer"
},
"currency": {
"description": "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).",
"maxLength": 5000,
"type": "string"
},
"customer": {
"description": "The ID of an existing [Customer](https://stripe.com/docs/api/customers/object) used for the resource.",
"maxLength": 5000,
"type": [
"string",
"null"
]
},
"customer_details": {
"$ref": "#/$defs/tax_product_resource_customer_details"
},
"expires_at": {
"description": "Timestamp of date at which the tax calculation will expire.",
"format": "unix-time",
"type": [
"integer",
"null"
]
},
"id": {
"description": "Unique identifier for the calculation.",
"maxLength": 5000,
"type": [
"string",
"null"
]
},
"line_items": {
"description": "The list of items the customer is purchasing.",
"properties": {
"data": {
"description": "Details about each object.",
"items": {
"$ref": "#/$defs/tax.calculation_line_item"
},
"type": "array"
},
"has_more": {
"description": "True if this list has another page of items after this one that can be fetched.",
"type": "boolean"
},
"object": {
"description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
"enum": [
"list"
],
"type": "string"
},
"url": {
"description": "The URL where this list can be accessed.",
"maxLength": 5000,
"pattern": "^/v1/tax/calculations/[^/]+/line_items",
"type": "string"
}
},
"required": [
"data",
"has_more",
"object",
"url"
],
"title": "TaxProductResourceTaxCalculationLineItemList",
"type": [
"object",
"null"
],
"x-expandableFields": [
"data"
]
},
"livemode": {
"description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
"type": "boolean"
},
"object": {
"description": "String representing the object's type. Objects of the same type share the same value.",
"enum": [
"tax.calculation"
],
"type": "string"
},
"shipping_cost": {
"anyOf": [
{
"$ref": "#/$defs/tax_product_resource_tax_calculation_shipping_cost"
}
],
"description": "The shipping cost details for the calculation."
},
"tax_amount_exclusive": {
"description": "The amount of tax to be collected on top of the line item prices.",
"type": "integer"
},
"tax_amount_inclusive": {
"description": "The amount of tax already included in the line item prices.",
"type": "integer"
},
"tax_breakdown": {
"description": "Breakdown of individual tax amounts that add up to the total.",
"items": {
"$ref": "#/$defs/tax_product_resource_tax_breakdown"
},
"type": "array"
},
"tax_date": {
"description": "Timestamp of date at which the tax rules and rates in effect applies for the calculation.",
"format": "unix-time",
"type": "integer"
}
},
"required": [
"amount_total",
"currency",
"customer_details",
"livemode",
"object",
"tax_amount_exclusive",
"tax_amount_inclusive",
"tax_breakdown",
"tax_date"
],
"type": "object",
"x-expandableFields": [
"customer_details",
"line_items",
"shipping_cost",
"tax_breakdown"
],
"x-resourceId": "tax.calculation",
"$defs": {
"tax.calculation_line_item": {
"type": "object",
"description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
"x-ae-placeholder": true
},
"tax_product_resource_customer_details": {
"type": "object",
"description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
"x-ae-placeholder": true
},
"tax_product_resource_tax_breakdown": {
"type": "object",
"description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
"x-ae-placeholder": true
},
"tax_product_resource_tax_calculation_shipping_cost": {
"type": "object",
"description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
"x-ae-placeholder": true
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/stripe-tax-calculation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.