Avalara Communications provides the all_adr.txt file to help you identify the proper PCode for the taxing jurisdiction.
The all_adr.txt file is a comma-delimited ASCII file with the following columns:
0
: Alternate jurisdiction1
: Primary jurisdiction3346800,0,USA,PA,LANCASTER,BART,17503,175033346900,0,USA,PA,LANCASTER,BAUSMAN,17504,175043347000,0,USA,PA,LANCASTER,BIRD IN HAND,17505,175053347100,0,USA,PA,LANCASTER,BOWMANSVILLE,17507,175073347200,0,USA,PA,LANCASTER,CHRISTIANA,17509,175093347300,0,USA,PA,LANCASTER,CHURCHTOWN,17555,175553347400,0,USA,PA,LANCASTER,CONESTOGA,17516,175163347500,0,USA,PA,LANCASTER,DRUMORE,17518,175183347600,0,USA,PA,LANCASTER,EAST EARL,17519,175193347700,0,USA,PA,LANCASTER,ELM,17521,175213347800,0,USA,PA,LANCASTER,GAP,17527,17527
Search the all_adr.txt file for the taxing jurisdiction with as much detail as possible. For example, search all_adr for some of these strings to find a PCode:
Use the PCode associated with the taxing jurisdiction once it is located.
If searching the comma-delimited file instead of a database table, it helps to include the commas to avoid finding a PCode instead of a Postal Code, for example. When searching just for a Postal Code, consider that the Postal Code may be contained within a range and may not be listed separately.