POST /tax-rates.json

POST /tax-rates.json
application/json

Body Required

Responses

POST /tax-rates.json
curl \
 -X POST http://api.example.com/v1/tax-rates.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"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 example
{
  "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": "2024-05-04T09:42:00+00:00",
  "districtTaxLocation": "string",
  "districtTaxRate": 42.0,
  "id": 42,
  "name": "string",
  "stateTaxLocation": "string",
  "stateTaxRate": 42.0,
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "xeroId": "string"
}