---
title: "Create product tax code"
method: POST
path: "/public/v2/product-tax-codes/"
tags: ["Product Tax Codes"]
---

# Create product tax code

`POST /public/v2/product-tax-codes/`

Create an organization-scoped product tax code. Global product tax codes are system managed.

## Headers

- `Idempotency-Key` string

## Request body

- PublicProductTaxCodeSchemaCreateIn
  - `code` string, required
  - `description` string, required
  - `source` 'INTERNAL' | 'AVALARA'

## Response `201`

Created

- PublicProductTaxCodeSchemaOut
  - `id` integer, required
  - `code` string, required
  - `description` string, required
  - `source` 'INTERNAL' | 'AVALARA', required
  - `is_active` boolean, required
  - `is_global` boolean, required

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Content

---

[API](https://skmtc.net/dualentry/apis/dualentry-public-api.md) · [All operations](https://skmtc.net/dualentry/apis/dualentry-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api/revisions/4849d2498a13/schema)
