Exemption certificates

Store customer resale, nonprofit, government, and category-specific exemption certificates by US state and apply them automatically in POST /tax/calculate.

Create a certificate

POST /exemptionsFree · Starter+

Requires the Starter plan or higher (unsubscribed accounts receive HTTP 403 plan_upgrade_required). Certificates are scoped strictly to your account (up to 1,000 certificates). Omit itemKeys for a blanket exemption across all line items and shipping, or supply 1 to 50 supported category slugs to restrict the exemption to specific categories.

FieldTypeRules
customerIdstringRequired. Your customer identifier (1 to 128 chars).
customerNamestringRequired. Legal or display name on the certificate (1 to 200 chars).
exemptionReasonstringRequired. One of "resale", "nonprofit", "government", "manufacturing", "agriculture", "direct_pay", or "other".
certificateNumberstringRequired. State-issued certificate or permit number (1 to 128 chars).
statesstring[]Required. 1 to 52 unique US state, DC, or PR names or 2-letter codes.
effectiveDatestringRequired. Calendar date (YYYY-MM-DD) when the certificate takes effect.
expirationDatestringOptional YYYY-MM-DD expiration date (must be on or after effectiveDate).
itemKeysstring[]Optional array of 1 to 50 category slugs. Omit for a blanket certificate.
notesstringOptional internal audit notes (1 to 500 chars).
entityId / inheritToChildrenstring / booleanOptional legal entity scope (ent_...). Omit entityId for a workspace-wide certificate; inheritToChildren defaults to true so child entities inherit parent certificates.
Request
{
  "customerId": "cust_acme_001",
  "customerName": "Acme Wholesale LLC",
  "exemptionReason": "resale",
  "certificateNumber": "FL-RESALE-2026-8841",
  "states": ["FL", "TX"],
  "effectiveDate": "2026-01-01",
  "expirationDate": "2027-12-31",
  "notes": "Signed Florida DR-13 and Texas 01-339 on file."
}
201 Created
{
  "certificate": {
    "certificateId": "exc_9f4b2c1a8d7e6f504132231405968778",
    "entityId": null,
    "inheritToChildren": true,
    "customerId": "cust_acme_001",
    "customerName": "Acme Wholesale LLC",
    "exemptionReason": "resale",
    "certificateNumber": "FL-RESALE-2026-8841",
    "states": ["FL", "TX"],
    "status": "active",
    "effectiveDate": "2026-01-01",
    "expirationDate": "2027-12-31",
    "itemKeys": null,
    "notes": "Signed Florida DR-13 and Texas 01-339 on file.",
    "createdAt": 1769904000000,
    "updatedAt": 1769904000000,
    "revokedAt": null
  }
}

List, inspect, and revoke

GET /exemptionsFree · Starter+

Filter stored certificates with optional query parameters: customerId, state (2-letter code or name), status (active or revoked), entityId, and limit (1 to 100).

GET /exemptions/{certificateId}Free · Starter+
DELETE /exemptions/{certificateId}Free · Starter+

Revoking a certificate sets status to revoked and records revokedAt for audit history. Revocation is idempotent and prevents the certificate from applying to future calculations. Remote MCP clients can read one certificate with get_exemption_certificate.

During POST /tax/calculate, passing customerId automatically matches the best active certificate for the destination state and date (preferring blanket certificates over item-specific ones). Passing an explicit exemptionCertificateId enforces that certificate and returns 404 (exemption_not_found) or 422 (exemption_invalid) if it is revoked, expired, or does not cover the destination state.

Bulk import certificates

POST /exemptions/importFree · Starter+

Import up to 100 exemption certificates per request (maximum body size 256 KiB) using format: "json" (rows) or format: "csv" (csv), with optional entity scoping (entityId, entityCode, or ein). Pass dryRun: true to preview row-level validation before writing. Matching existing certificates are reported as skipped_duplicate.

POST /exemptions/import request
{
  "format": "json",
  "dryRun": true,
  "rows": [
    {
      "customerId": "cust_acme_001",
      "customerName": "Acme Wholesale LLC",
      "exemptionReason": "resale",
      "certificateNumber": "FL-RESALE-2026-8841",
      "states": ["FL", "TX"],
      "effectiveDate": "2026-01-01"
    }
  ]
}