Demo
Below you can see an example address within the United States that is properly validated and normalized:
Location Data Codes
As seen in the above response, we have provided an object calledaddressResultMessages. If an address is able to be validated it will always return with the addressResultMessages object, otherwise, if it fails, it will return with an addressErrorMessages object.
Both of these objects will always contain a location data code, message, and description of what errors were encountered. GS01 and AS01 are examples of location data codes. See SPF address result codes for the full list of codes.
Major Result Code Category Prefixes
*AS - Address StatusThe general address status, whether it is a valid address, US or foreign address, has moved, etc. *AE - Address Error
The address has caused an error with our data provider. Postal code doesn’t exist, issues with street provided, insufficient data provided, etc. *AC - Address Change
The address you provided has been changed or normalized. This could include corrections to zip code, city name, address, etc. *GS - Geocode Status
If an address was able to be geocoded this code specifies the level of accuracy. GS05 is the optimal geocoding accuracy status. *GE - Geocode Error
Specifies the reason(s) why an address has failed geocoding. This could be due to an invalid postal code, etc.
All Location Data CodesAll of our location data codes, messages, and descriptions are documented for current clients in the Client Support Center here.
Invalid Addresses
PO Boxes and Private MailboxesPost office boxes (PO boxes) and private mailboxes (PMB) are not valid addresses for Symmetry Payroll Forms. The physical location of a PO box or PMB does not represent the actual location where an employee lives or works.
Non-U.S. and Canadian AddressesNon-U.S. and Canadian addresses are currently not supported in Symmetry Payroll Forms.
Pennsylvania Addresses and PSD Codes
For certain Pennsylvania forms, the SPF API will return PSD codes and additional information for valid addresses.homePsdCodehomePsdRatehomePsdMunicipalityhomePsdCounty
If the address is a work address:workPsdCodeworkPsdRateworkPsdMunicipalityworkPsdCounty
This additional information will only populate for valid Pennsylvania addresses and should be used as values/answers to questions for certain local Pennsylvania forms, where the question ID matches the location data field. For example, QS1 for the form PA114 contains questions for the homePsdCode and homePsdRate.
Ohio Addresses and School District Information
For certain Ohio forms, specific school district information is required.homeSchoolDistrictNamehomeSchoolDistrictCode
If the address is a work address:workSchoolDistrictNameworkSchoolDistrictCode
