Create a Taxability Mapping

Learn about creating a taxability mapping.

Create taxability mapping

EndpointMethodKey valueRequired fields
/config/v2/taxability-mappingsPOSTmappedEntitiesmappedEntities, categoryId, startDate

This request creates a taxability mapping.

Sample response - Create taxability mapping

{
  "mappedEntities": {
    "taxpayerId": "123e4567-e89b-12d3-a456-426614174000",
    "driverIds": [
      "123e4567-e89b-12d3-a456-426614174000"
    ]
  },
  "categoryId": "123e4567-e89b-12d3-a456-426614174000",
  "startDate": "2021-01-01",
  "endDate": "2021-12-01",
  "note": "string"
}

Sample response - Create taxability mapping

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "mappedEntities": {
    "taxpayerId": "123e4567-e89b-12d3-a456-426614174000",
    "driverIds": [
      "123e4567-e89b-12d3-a456-426614174000"
    ]
  },
  "categoryId": "123e4567-e89b-12d3-a456-426614174000",
  "startDate": "2021-01-01",
  "endDate": "2021-12-01",
  "note": "string"
}