v1

latestOpenAPI 3.0.1Apache 2.02026-07-26193304444.4 KB
Taxes

Create tax

Creates a new tax.

🔒 Requires: taxes:write scope

post/taxes

Request body

clothing_footwear_exemptionboolean

Whether the tax is exempt for clothing and footwear. This is applicable for tax exclusive retailers only.

clothing_footwear_threshold_valuenumber double

The threshold value for clothing and footwear exemption. This is applicable for tax exclusive retailers only.

namestring required

The Tax name.

ratenumber double required

The Tax rate percentage.

tax_over_thresholdboolean

Whether the tax applies over the threshold. This is applicable for tax exclusive retailers only.

Example request

{
  "rate": 0.1
}

Response

Tax created successfully.

Example response

{
  "data": {
    "rates": [
      {
        "rules": [
          {
            "tax_code": "vend_clothing_footwear",
            "type": "threshold",
            "value": 90
          }
        ]
      }
    ]
  }
}