WooCommerce · Schema

TaxRate

A configured tax rate applied at checkout.

E-CommerceOpen-SourceOrderProductWordPress

Properties

Name Type Description
id integer Tax rate unique identifier.
country string ISO 3166-1 alpha-2 country code for this rate.
state string State code for this rate (empty for country-wide rates).
postcode string Postcode or range for this rate.
city string City name for this rate.
rate string Tax rate percentage as a decimal string (e.g. 20.0000).
name string Tax rate label shown to customers.
priority integer Priority of this tax rate (used when multiple rates match the same address).
compound boolean Whether this is a compound tax rate (applied on top of other taxes).
shipping boolean Whether the tax applies to shipping costs.
class string Tax class slug. Standard class is identified by an empty string.
View JSON Schema on GitHub

JSON Schema

woocommerce-rest-api-tax-rate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/woocommerce/refs/heads/main/json-schema/woocommerce-rest-api-tax-rate-schema.json",
  "title": "TaxRate",
  "description": "A configured tax rate applied at checkout.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Tax rate unique identifier.",
      "example": 1
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code for this rate.",
      "example": "string-value"
    },
    "state": {
      "type": "string",
      "description": "State code for this rate (empty for country-wide rates).",
      "example": "string-value"
    },
    "postcode": {
      "type": "string",
      "description": "Postcode or range for this rate.",
      "example": "string-value"
    },
    "city": {
      "type": "string",
      "description": "City name for this rate.",
      "example": "string-value"
    },
    "rate": {
      "type": "string",
      "description": "Tax rate percentage as a decimal string (e.g. 20.0000).",
      "example": "string-value"
    },
    "name": {
      "type": "string",
      "description": "Tax rate label shown to customers.",
      "example": "Example Name"
    },
    "priority": {
      "type": "integer",
      "description": "Priority of this tax rate (used when multiple rates match the same address).",
      "example": 1
    },
    "compound": {
      "type": "boolean",
      "description": "Whether this is a compound tax rate (applied on top of other taxes).",
      "example": true
    },
    "shipping": {
      "type": "boolean",
      "description": "Whether the tax applies to shipping costs.",
      "example": true
    },
    "class": {
      "type": "string",
      "description": "Tax class slug. Standard class is identified by an empty string.",
      "example": "string-value"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/woocommerce-rest-api-tax-rate"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.