Calculate Tax
Calculates the tax owed on a plan based on the buyer’s location.
Authorizations
A company API key, company scoped JWT, app API key, or user OAuth token.
Path Parameters
The unique identifier of the plan, which will look like plan_*************.
Body
The buyer's billing address. Provide this or ip_address.
The buyer's IP address, used to resolve their location when no address is provided.
The buyer's tax IDs, such as a VAT number, used to apply B2B reverse-charge exemptions.
1Response
tax calculated
The three-letter ISO 4217 currency code of the amounts.
Whether tax is added on top of the price (exclusive) or already included in it (inclusive).
exclusive, inclusive The plan price in the currency's smallest unit, for example cents. For exclusive tax this is the pre-tax amount; for inclusive tax it already contains the tax and equals the total.
The tax owed, in the currency's smallest unit. For exclusive tax it is added on top of the subtotal; for inclusive tax it is the portion already contained in the subtotal.
The total amount the buyer pays, in the currency's smallest unit.
Whether tax was successfully calculated. Returns not_calculated when tax could not be determined.
calculated, not_calculated 
