> This page is for Documentation, version Integration guides (default).
> For other versions, use one of these documentation indexes:
> - Integration guides (default): https://avalara.ferndocs.com/docs/integration-guides/llms.txt
> - Refactor guides: https://avalara.ferndocs.com/docs/refactor-guides/llms.txt
> - Get certified: https://avalara.ferndocs.com/docs/get-certified/llms.txt
> - Agent to Agent (A2A): https://avalara.ferndocs.com/docs/agent-to-agent-a2a/llms.txt
> - AI use cases: https://avalara.ferndocs.com/docs/ai-use-cases/llms.txt
> - API versioning: https://avalara.ferndocs.com/docs/api-versioning/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://avalara.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://avalara.ferndocs.com/_mcp/server.

# Jurisdiction Determination

* [Previous](https://developer.avalara.com/communications/dev-guide_rest_v2/reference/commit-response/)
* [Next](https://developer.avalara.com/communications/dev-guide_rest_v2/reference/zip-lookup-result/)

### 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

* `true` (default): Return the best matches
* `false`: Return 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

```json
{ "CountryISO": "USA", "State": "WA", "County": "King", "City": "Seattle", "ZipCode": "98104", "BestMatch": true, "LimitResults": 10, "NpaNxx": "206033", "Fips": "5303303985",}
```

* [Previous](https://developer.avalara.com/communications/dev-guide_rest_v2/reference/commit-response/)
* [Next](https://developer.avalara.com/communications/dev-guide_rest_v2/reference/zip-lookup-result/)

> **Note**
>
> Part of the **Communications REST v2 Developer Guide** integration guide. [Open the full "Jurisdiction Determination" milestone on Avalara](https://developer.avalara.com/products/communications/integration-guides/dev-guide_rest_v2/reference/) to see every page in this section.