Create a Calculation
Calculates tax based on the input and returns a Tax Calculation object.
Response
Successful response.
Total amount after taxes in the smallest currency unit.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
The ID of an existing Customer used for the resource.
Timestamp of date at which the tax calculation will expire.
Unique identifier for the calculation.
If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
String representing the object's type. Objects of the same type share the same value.
The amount of tax to be collected on top of the line item prices.
The amount of tax already included in the line item prices.
The 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.