Manage addresses
An Address stores a location: a head office, a warehouse, a branch, or a home. An Address can link to a Customer, a Supplier, a Lead, a Sales Partner, a Warehouse, or your Company. One party can have many addresses.
Create an address from a customer
This is the usual way. ERPNext links the address to the customer for you.
- Open the Customer (or Supplier).
- In the Address & Contact section, select New Address.
- Enter the address lines, the city, the state, the country, and the postal code.
- Select the Address Type, for example Billing or Shipping.
- Select Preferred Billing Address or Preferred Shipping Address if this is the normal one.
- Save.
ERPNext names the address from the party and the address type, for example Summit Digital Stores-Billing.
Create a stand-alone address
- Open the Address list and select Add Address.
- Enter an Address Title and the location fields.
- In the Links table, add a row for each party.
- Save.
Address fields
| Field | What it does |
|---|---|
| Address Title | A searchable name. It is part of the Address ID. |
| Address Type | Billing, Shipping, Office, Personal, and other types. |
| Address Line 1 and Address Line 2 | Street, building, and unit. |
| City/Town, County, State/Province, Postal Code | The rest of the location. |
| Country | Selects the address template that formats the address. |
| Preferred Billing Address | Makes this the default billing address for the linked party. |
| Preferred Shipping Address | Makes this the default shipping address for the linked party. |
| Is Your Company Address | Marks a location of your own company. |
| Disabled | Stops new use of the address and keeps the history. |
| Links | The parties this address belongs to. |
Preferred billing and shipping addresses
Sales documents fetch the preferred billing address and the preferred shipping address of the customer. One address can be both. Users can select another linked address on a single document. A submitted document keeps the address text it used.
If an address changes a lot, for example the customer moves, create a new address and disable the old one. Fix only small errors in place.
Regional tax details
Regional apps can add fields to Address. For example, India GST stores the GSTIN and the GST state on the address, because one party can register in several states. Sales documents then fetch the registration of the selected address. Check your regional app's documentation for the fields it needs.
Troubleshooting
| Problem | Cause and fix |
|---|---|
| The wrong address appears on a transaction | Check the preferred flags on the customer's addresses. |
| The address format is wrong | Check the Country and its address template. |
| An imported address does not appear on the customer | The Links rows are missing or name the wrong party. |
| Regional tax fields are missing | Check the country and the installed regional app. |