import { Callout } from "zudoku/ui/Callout";

# Address validation and address prediction

This page explains the difference between address validation and address prediction and how the two features work together.

## Difference

**Address validation** compares an already entered address with a validation service as soon as address fields of an existing record change, and completes or corrects it if needed. For more information, see [How address validation works](how-validation-works.mdx).

**Address prediction** is integrated directly into the **Name** and **Address** fields in Microsoft Dynamics 365 Business Central: while you type, it suggests matching addresses or companies for you to select. For more information, see [Address prediction](../address-prediction.mdx).

| | Address validation | Address prediction |
|---|---|---|
| Trigger | a change on an existing record | typing in the Name or Address field |
| Result | confirms, completes, or corrects the existing address | suggests complete addresses to choose from |
| Also runs on new records | no | yes |

## How they work together

When you select a suggestion from address prediction, 365 business Address Validation applies the fields of the suggestion, setting **Country/Region Code** first and the remaining address fields afterward. This address is not additionally checked by the address validation service; instead, it is stored directly with the status *Validated* in the [address directory](address-data-directory.mdx).

<Callout type="info" title="No duplicate check">
Because a result taken from address prediction already counts as checked, a later change to this address only triggers a new automatic check if you then manually change the suggested values.
</Callout>

## License

Address validation and address prediction are two separate license features, each with its own trial period. For which licensing models are available for each feature, see [Get started](../get-started.mdx).

## See also

- [How address validation works](how-validation-works.mdx)
- [Address directory](address-data-directory.mdx)
- [Address prediction](../address-prediction.mdx)
- [Validate an address](../address-validation.mdx)
