---
title: "Create tax table with rates and values"
method: POST
path: "/v1/workflows/tax/tax-table-with-rates-and-values"
tags: ["Tax eav"]
---

# Create tax table with rates and values

`POST /v1/workflows/tax/tax-table-with-rates-and-values`

## Request

- Base URL: `https://api.finalpos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.finalpos.com/v1/workflows/tax/tax-table-with-rates-and-values`
- Auth: API key in header `x-api-key`

Creates a tax table (use taxTable `without taxRates`; any taxRates on the table body is ignored), nested tax rates (taxTableId set server-side), updates embedded taxRates on the table from rates (optional per-rate `compounding`), then tax rate values (taxRateId set server-side). companyId comes from the API key.

## Request body

- object
  - `taxTable` TaxTableCreateDto, required
    - `source` string: Source of the tax table.
    - `externalId` string: External provider id for the tax table (e.g. the QuickBooks TaxCode Id). Integration correlation key.
    - `name` string, required: Name of the tax table.
    - `slug` string: Slug identifier for the tax table.
    - `taxRates` object[]: Tax rates applied to the tax table.
    - `isStandard` boolean: Whether this is the standard tax table.
  - `rates` object[], required
    - `taxRate` TaxRateCreateDto, required
      - `name` string, required: Name of the tax rate.
      - `externalId` string: External provider id for the tax rate (e.g. the QuickBooks TaxRate Id). Integration correlation key.
      - `source` string: Origin of the tax rate — the integration provider that created it.
    - `compounding` boolean: When true, this rate is embedded on the tax table with compounding enabled (optional; default false).
    - `values` object[]
      - `outletId` string, required
      - `value` number, required: The tax rate value, example: 15% = 0.15

## Response `201`

Creates a tax table, tax rates with taxTableId set, updates embedded taxRates on the table, then tax rate values. Scoped to the API key company.

- object
  - `taxTable` TaxTableResponseDto, required
    - `id` string: Unique identifier for the TaxTable.
    - `createdAt` string, date-time: Timestamp when the TaxTable was created.
    - `updatedAt` string, date-time: Timestamp when the TaxTable was last updated.
    - `companyId` string: Company ID associated with the TaxTable.
    - `source` string: Source of the tax table.
    - `externalId` string: External provider id for the tax table (e.g. the QuickBooks TaxCode Id). Integration correlation key.
    - `name` string: Name of the tax table.
    - `slug` string: Slug identifier for the tax table.
    - `taxRates` object[]: Tax rates applied to the tax table.
    - `isStandard` boolean: Whether this is the standard tax table.
  - `taxRates` TaxRateResponseDto[], required
    - `id` string: Unique identifier for the TaxRate.
    - `createdAt` string, date-time: Timestamp when the TaxRate was created.
    - `updatedAt` string, date-time: Timestamp when the TaxRate was last updated.
    - `companyId` string: Company ID associated with the TaxRate.
    - `name` string: Name of the tax rate.
    - `externalId` string: External provider id for the tax rate (e.g. the QuickBooks TaxRate Id). Integration correlation key.
    - `source` string: Origin of the tax rate — the integration provider that created it.
  - `taxRateValues` TaxRateValueResponseDto[], required
    - `id` string: Unique identifier for the TaxRateValue.
    - `createdAt` string, date-time: Timestamp when the TaxRateValue was created.
    - `updatedAt` string, date-time: Timestamp when the TaxRateValue was last updated.
    - `companyId` string: Company ID associated with the TaxRateValue.
    - `taxRateId` string: Tax rate ID this value belongs to.
    - `outletId` string: Outlet ID this tax rate value applies to.
    - `value` number: Tax rate value (percentage).

## Other responses

- `400`: Bad request. Returns validation errors or other request-related errors.
- `401`: Missing or invalid API key.

---

[API](https://skmtc.dev/finalpos/apis/final-pos-public-api.md) · [All operations](https://skmtc.dev/finalpos/apis/final-pos-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finalpos/apis/final-pos-public-api/revisions/6a6842dcb479?raw)
