---
title: "Calculate Tax"
method: POST
path: "/api/v1/admin/quotes/{quote_id}/calculate-tax"
tags: ["admin-quotes"]
---

# Calculate Tax

`POST /api/v1/admin/quotes/{quote_id}/calculate-tax`

Calculate tax for a quote via Stripe Tax API.

Loads the quote's priced line items and the project's shipping
address, checks whether the user is tax-exempt, and calls Stripe
Tax.  Stores the result on the quote (``tax_amount``,
``tax_auto_calculated``, ``stripe_tax_calculation_id``).

## Path parameters

- `quote_id` string, uuid, required

## Response `200`

Successful Response

- TaxCalculationResponse — Result of a Stripe Tax calculation for a quote. ``is_tax_exempt`` is ``True`` when the user's business profile is marked as tax-exempt; in that case all tax amounts are zero.
  - `calculation_id` string, nullable
  - `subtotal` number, required
  - `tax_amount` number, required
  - `total` number, required
  - `tax_breakdown` object[]
  - `is_tax_exempt` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/prototyping/apis/prototyping-io-api.md) · [All operations](https://skmtc.dev/prototyping/apis/prototyping-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prototyping/prototyping-io-api/revisions/f4a0079fbb57/schema)
