# Calculate tax Calculate tax based on the provided location, product details, and amount. Note: - The to_state field is required for validating the postal code. - The tax is calculated using the provided to_country, to_postal_code, to_state, to_city, tax_code, product_type, and amount fields. - The response returns tax details such as rate, subtotal, tax amount, total amount, and applicable region information. Endpoint: POST /taxes/calculate Version: 1.0.0 Security: BearerAuth ## Query parameters: - `tax_account_id` (number, required) Your Tax Account ID. Example: 12345 ## Header parameters: - `Accept` (string, required) The response format must be JSON. Example: "application/json" ## Response 200 fields