# House numbers

> Make the house number required in Shopify checkout: how Checkout Address Validator spots a missing one, which countries need it by default and how to change it.

## What counts as a house number

The address passes when address line 1 or address line 2 contains at least one digit. Digits in other scripts count too, such as Arabic, Devanagari or Thai digits, full-width digits and Chinese numerals.

The check doesn't know which number in the line is the house number. Any digit passes.

| Address line 1      | Address line 2 | Result                                          |
| ------------------- | -------------- | ----------------------------------------------- |
| Hauptstraße         |                | Blocked                                         |
| Hauptstraße 5       |                | Passes                                          |
| Hauptstraße         | 3. OG          | Passes, the digit is in line 2                  |
| Flat 3, Main Street |                | Passes, because 3 is a digit                    |
| Calle Mayor s/n     |                | Passes, "s/n" marks an address without a number |

Addresses without a house number, such as P.O. boxes, parcel lockers and pickup points, pass when they use a recognised word. See [Parcel lockers and P.O. boxes](/docs/checkout-address-validator/parcel-lockers-and-po-boxes).

## Where a house number is required

By default, every country requires a house number except these, where addresses often have none:

| Region                   | Countries                                                               |
| ------------------------ | ----------------------------------------------------------------------- |
| British Isles            | United Kingdom, Ireland, Jersey, Guernsey, Isle of Man                  |
| Asia and the Middle East | Hong Kong, Macao, India, United Arab Emirates                           |
| Central America          | Belize, Costa Rica, El Salvador, Guatemala, Honduras, Nicaragua, Panama |

You can change this for any country. See [Country rules](/docs/checkout-address-validator/country-rules).

## Your own rule

To check for something more specific than a digit, replace the check with your own pattern for a country. See [Your own rule](/docs/checkout-address-validator/country-rules#your-own-rule).