POST /tax-rates.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
-
stateTaxLocation string | null
State tax location
-
stateTaxRate number(float) | null
State tax rate
-
xeroId string | null
Xero
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"
}