Skip to main content
The SPF API leverages an address normalization and geolocation service to determine precise employee work and home address locations within the United States. After passing in an employee’s home and work address, Symmetry determines the latitude and longitude of employee’s home and work addresses, normalizing the addresses in the process.

Demo

Below you can see an example address within the United States that is properly validated and normalized:
Address Verification not supported for CanadaPlease note that at this time, address verification is only available in the United States implementation of SPF.

Location Data Codes

As seen in the above response, we have provided an object called addressResultMessages. 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 Status
The 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.
Below is an example of a request and response of an invalid address.
As you can see above, the work address entered does not exist. The error response will be generated below:

Pennsylvania Addresses and PSD Codes

For certain Pennsylvania forms, the SPF API will return PSD codes and additional information for valid addresses.
In the above response, you will note some additional attributes for the Location Data object. These are listed below. If the address is a home address:
homePsdCode
homePsdRate
homePsdMunicipality
homePsdCounty
If the address is a work address:
workPsdCode
workPsdRate
workPsdMunicipality
workPsdCounty
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.
In the above response you will note some additional attributes for the Location Data object. These are listed below and apply to Ohio specific forms. If the address is a home address:
homeSchoolDistrictName
homeSchoolDistrictCode
If the address is a work address:
workSchoolDistrictName
workSchoolDistrictCode