POST /tax-rates.json

POST /tax-rates.json
application/json

Body Required

  • cityTaxLocation string | null

    City tax location

  • cityTaxRate number(float) | null

    City tax rate

  • countyTaxLocation string | null

    County tax location

  • countyTaxRate number(float) | null

    County tax rate

  • districtTaxLocation string | null

    District tax location

  • districtTaxRate number(float) | null

    District tax rate

  • name string Required

    Name

  • stateTaxLocation string | null

    State tax location

  • stateTaxRate number(float) | null

    State tax rate

  • xeroId string | null

    Xero

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • cityTaxLocation string | null

      City tax location

    • cityTaxRate number(float) | null

      City tax rate

    • countyTaxLocation string | null

      County tax location

    • countyTaxRate number(float) | null

      County tax rate

    • createdAt string(date-time)

      Created at

    • districtTaxLocation string | null

      District tax location

    • districtTaxRate number(float) | null

      District tax rate

    • id integer(int32)

      Id

    • name string Required

      Name

    • stateTaxLocation string | null

      State tax location

    • stateTaxRate number(float) | null

      State tax rate

    • updatedAt string(date-time)

      Updated at

    • xeroId string | null

      Xero

POST /tax-rates.json
curl \
 --request POST 'http://api.example.com/v1/tax-rates.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"cityTaxLocation":"string","cityTaxRate":42.0,"countyTaxLocation":"string","countyTaxRate":42.0,"districtTaxLocation":"string","districtTaxRate":42.0,"name":"string","stateTaxLocation":"string","stateTaxRate":42.0,"xeroId":"string"}'
Request examples
{
  "cityTaxLocation": "string",
  "cityTaxRate": 42.0,
  "countyTaxLocation": "string",
  "countyTaxRate": 42.0,
  "districtTaxLocation": "string",
  "districtTaxRate": 42.0,
  "name": "string",
  "stateTaxLocation": "string",
  "stateTaxRate": 42.0,
  "xeroId": "string"
}
Response examples (200)
{
  "cityTaxLocation": "string",
  "cityTaxRate": 42.0,
  "countyTaxLocation": "string",
  "countyTaxRate": 42.0,
  "createdAt": "2025-05-04T09:42:00Z",
  "districtTaxLocation": "string",
  "districtTaxRate": 42.0,
  "id": 42,
  "name": "string",
  "stateTaxLocation": "string",
  "stateTaxRate": 42.0,
  "updatedAt": "2025-05-04T09:42:00Z",
  "xeroId": "string"
}