## How customers sync When you add or change a customer in ChargeOver, ChargeOver sends it to NetSuite right away. **What syncs:** - Company name (or the main contact's name, if there's no company name) - The main contact's email address - Billing and shipping addresses - The ChargeOver ID, and a link to the customer in ChargeOver (if you created the optional ChargeOver Link field, see [Optional ChargeOver fields](./custom-fields.mdx#optional-chargeover-fields)) **When a customer is new to NetSuite,** ChargeOver creates it as a company in the subsidiary you picked during setup, with the customer's currency. NetSuite doesn't let subsidiary and currency change once a customer has transactions, so ChargeOver only sets these when it creates a customer. **Addresses** show up in NetSuite's address book labeled `ChargeOver billing` and `ChargeOver shipping`, and are set as the customer's default billing and shipping addresses. ChargeOver only ever updates these two, so any other addresses you add in NetSuite are left alone. If an address in ChargeOver doesn't have a country, ChargeOver uses the default country from `Settings > Company Profile`. ### Parent and child customers If a customer in ChargeOver has a parent customer, it becomes a sub-customer of that parent in NetSuite (NetSuite shows it as `Parent : Child`). - If the parent isn't in NetSuite yet, ChargeOver syncs the parent first - Adding a parent to a customer later moves it under that parent in NetSuite - Disconnecting a customer from its parent in ChargeOver makes it a standalone customer in NetSuite again - If you set up a parent for a customer yourself in NetSuite, and that customer doesn't have a parent in ChargeOver, ChargeOver leaves it alone - A child customer can use a different currency than its parent If you'd rather keep every customer standalone in NetSuite (the same as the **Skip syncing parent/child relationships** setting for QuickBooks Online), contact support and we'll turn that on for you. ### Customers already in NetSuite Before creating a customer, ChargeOver looks for one that's already in NetSuite, so you don't end up with duplicates. It looks for an active customer in your subsidiary with its ChargeOver ID, or with the same name. - If it finds one, ChargeOver links to it and keeps it updated from then on - If it finds more than one, it uses the one with the same email address as the customer's main contact in ChargeOver - If it still can't tell which one to use, it doesn't sync the customer. You'll see an error on the customer in ChargeOver listing the NetSuite customers it found, so you can rename or merge them in NetSuite (or give the right one the same email), then resync. Customers already linked to a different ChargeOver customer are never used. For a child customer, ChargeOver picks the NetSuite customer that's under the same parent first, since child names (like `Store #1`) are often only unique under their parent. ### Contacts Each contact on a customer in ChargeOver becomes a contact on the customer in NetSuite, with their name, email, phone, mobile phone, and job title. The customer's primary contact in ChargeOver is the **Primary Contact** in NetSuite too, and if you pick a different primary contact in ChargeOver, NetSuite follows. ![](./ns-customer-contacts.png) - **New customers** bring all their contacts with them - **If the contact is already on the customer in NetSuite** (same email, or the same name), ChargeOver links to it instead of adding a duplicate - **Deleting a contact in ChargeOver** makes it inactive in NetSuite instead of deleting it, since it may be on transactions there - **Blank fields in ChargeOver don't erase anything.** If a contact has no phone number in ChargeOver but has one in NetSuite, the NetSuite one stays. - NetSuite needs every contact on a customer to have a different name. If two contacts in ChargeOver have the same name, the second one gets their email added to their name in NetSuite, like `Bill Smith (bill2@example.com)`. - NetSuite only takes phone numbers with at least 7 digits, so shorter ones (or ones that aren't phone numbers) are left off ### Custom fields Your customer and contact custom fields in ChargeOver can sync to custom fields in NetSuite, and so can their **External Key**. See [Custom fields](./custom-fields.mdx). ## Related - [Custom fields](./custom-fields.mdx) - [Sync status and troubleshooting](./sync-status-and-troubleshooting.mdx) - [Invoices](./invoices.mdx) - [NetSuite overview](./netsuite.mdx)