AvaTax for Communications
Communications REST v2 Dev Guide
Getting Started
Calculate Taxes
Commit/Uncommit
Customizing Transactions
Account Customizations
Transaction Use Cases
- Simple Request
- Multi-line Request
- Jurisdiction Determination
- Interstate/Intrastate Determination
- Tax Override
- Safe Harbor Override
- Private Line
- Proration
- Transaction Information
- Exclusions
- Transaction-Level Commit/Uncommit
- Invoice Date
- Invoice Mode
- Optional Fields
- Adjustments
- Tax Inclusive
- Displaying Tax Results
- Quantity
- Request Config
Exemptions
Sales and Use
Jurisdiction Determination Use Cases
Reference
Calculating Tax Offline
AvaTax for Communications Use Cases
FAQ
Chapter 5.3.1 - PCode Lookup Request
PCode Lookup Request
The PCodeLookupRequest object contains the location data used as input for searching jurisdiction matches:
| Key | Value |
|---|---|
CountryISO | [string] Country ISO 3-character country ISO code |
State | [string] State 2-character state abbreviation |
County | [string] County |
City | [string] City |
ZipCode | [string] Postal Code 5-digit Zip Code or full Postal Code for Canadian addresses |
BestMatch | [bool] Best Match Flag indicating whether to return the best matches or only exact matches
|
LimitResults | [int] Limit Results Maximum number of results to return. Default is 100 |
NpaNxx | [string] NPANXX Code The first 6 digits of a phone number. Use "*" on the end to get a range of values |
Fips | [string] Fips Code 10-digit USAF FIPS. Use "*" on the end to get a range of values |
Example
{ "CountryISO": "USA", "State": "WA", "County": "King", "City": "Seattle", "ZipCode": "98104", "BestMatch": true, "LimitResults": 10, "NpaNxx": "206033", "Fips": "5303303985",}