EDIAVY

EDIAVY - Address Validation Query

The address validation object will take an address or a sales order and call either the Fedex or USPS address validation webservice.

Fedex will return a score signifying an accuracy rating of 0 - 100 along with if the address is residential or not and a suggested address.

There are two forms of input.  One provides the entire address and the other a sales order to check.  If you are checking a sales order, the "Address Validation" tab in the Shipping/Handheld setup must be filled in with a ship-to address codes in order for the routine to parse the address.

The Cadacus SFS Support Setup must be installed on the server.

If using the webservice API interface (Required for USPS, optional for Fedex) the Cadacus SFS Shipping Library must be installed on the server.

Note: Please note the access to the webservice speed various with many factors. Do not be alarmed if the business object takes several seconds to return.


XML Parameter format if providing full address :

<AddressVerify>
  <SCAC>FEDX</SCAC>           Optional - Defaults to FEDX
  <Account>LIVE</Account>     Optional - Defaults to first account in carrier account table
<Library>Shipping</Library> Optional - Defaults to the original Fedex interface <AddressLine1>24444 Eilat Street</AddressLine1> <City>Woodland Hills</City> <State>CA</State> <Zip>91307</Zip> </AddressVerify>

XML Parameter format if providing sales order :

<AddressVerify>
  <SCAC>FEDX</SCAC>       Optional - Defaults to FEDX
  <Account>LIVE</Account> Optional - Defaults to first account in carrier account table 
  <SalesOrder>000999</SalesOrder>
</AddressVerify>

XML  Output

<AddressVerifyResponse>
  <Score>088</Score>
  <Residential>Y</Residential>
  <ReturnAddress>
    <AddressLine1>24444 Eilat St</AddressLine1>
    <City>Woodland Hills</City>
    <State>CA</State>
    <Zip>91367-1027</Zip>
    <Country/> 
  </ReturnAddress>
  <Error/> 
</AddressVerifyResponse>

 Notes:

  • The closer the score value to 100, the better the accuracy of the results.
  • The residential value is not 100% accurate.