Download OpenAPI specification:Download
The Tax Management API provides developers a way to calculate taxes for given features at the customer and/or service level.
Provides the ability to calculate taxes for given features.
The request must contain at least one jurisdiction that will be associated to the customer.
The customer must contain a list of features to tax or a service which has a list of features to tax.
A service must have a serviceReference which will link the service in the request with the taxes returned in the response.
Customer level taxes will be returned with a serviceReference value of 0.
Content-Type required | string Example: application/json |
required | object (Customer) A Customer object. |
required | Array of objects (Jurisdiction) A list of Jurisdiction objects. The There are four different ways in which the 1) Using
|
taxActiveDate | string When determining which taxes to apply, by default, taxes that are active for the current date will be used. If |
{- "customer": {
- "extendedTaxExemptionIDs": [
- 0
], - "features": [
- {
- "sku": "string",
- "quantity": 0,
- "charge": 0,
- "privateLineTaxAllocations": [
- {
- "allocation": 1,
- "jurisdictionReference": "123",
- "taxExemptFlags": {
- "city": true,
- "county": true,
- "federal": true,
- "regional": true,
- "state": true
}
}
]
}
], - "jurisdictionReference": "123",
- "services": [
- {
- "extendedTaxExemptionIDs": [
- 0
], - "features": [
- {
- "sku": "string",
- "quantity": 0,
- "charge": 0,
- "privateLineTaxAllocations": [
- {
- "allocation": 1,
- "jurisdictionReference": "123",
- "taxExemptFlags": {
- "city": true,
- "county": true,
- "federal": true,
- "regional": true,
- "state": true
}
}
]
}
], - "jurisdictionReference": "123",
- "perLineTaxOverride": {
- "enablePerChannelTaxing": true,
- "enablePerSingleLineTaxing": true,
- "perLineTaxClassID": 0,
- "perLineTaxConfigurations": [
- {
- "isPerChannel": false,
- "isDataUsageTaxable": false,
- "isVoiceUsageTaxable": false,
- "isInboundTaxable": false,
- "isOutboundTaxable": false,
- "numberOfChannels": 565
}
]
}, - "taxExemptFlagsE911": {
- "city": true,
- "county": true,
- "regional": true,
- "state": true
}, - "serviceReference": "string",
- "sku": "string"
}
], - "taxAccountType": "Business",
- "taxExemptFlags": {
- "city": true,
- "county": true,
- "federal": true,
- "regional": true,
- "state": true
}, - "taxExemptFlagsE911": {
- "city": true,
- "county": true,
- "regional": true,
- "state": true
}, - "taxExemptFlagsSurcharge": {
- "city": true,
- "county": true,
- "federal": true,
- "regional": true,
- "state": true
}, - "taxExemptFlagsUSF": {
- "city": true,
- "county": true,
- "federal": true,
- "regional": true,
- "state": true
}
}, - "jurisdictions": [
- {
- "city": "Victor",
- "county": "Ontario",
- "jurisdictionReference": "123",
- "state": "NY",
- "taxJurisdictionIDs": [
- 0
], - "zipCode": "14564"
}
], - "taxActiveDate": "2020-03-13"
}
{- "taxes": [
- {
- "amount": 0,
- "name": "string",
- "rate": 0,
- "taxID": 0,
- "serviceReference": "string"
}
]
}
Provides the ability to find tax jurisdiction(s).
Note: Either zipCode
or county
must be provided in order to perform this operation. If both are provided, county
will be used and zipCode
will be ignored.
Content-Type required | string Example: application/json |
city required | string The city in which to look to find matching tax jurisdiction(s). |
county | string The county in which to look to find matching tax jurisdiction(s). Required if |
state required | string The state (two-character) in which to look to find matching tax jurisdiction(s). |
zipCode | string The ZIP code to use to find matching tax jurisdiction(s). Required if Note: Only five-digit ZIP codes are supported. |
{- "city": "Rochester",
- "county": "Monroe",
- "state": "NY",
- "zipCode": "14607"
}
[- {
- "city": "Rochester",
- "county": "Monroe",
- "state": "NY",
- "taxJurisdictionID": 24136
}
]
isLicensed
to response body of GET api/healthcheck
POST api/calculateTaxes
POST api/calculateTaxes
POST api/taxJurisdictions/find
GET api/healthcheck