Sync sales orders with NetSuite
Settings for sending Zoey orders to NetSuite as sales orders, including discounts, tax, guest orders, addresses, locations and custom fields.
Importing and Exporting Sales Orders to NetSuite
Order Creation
- Create NetSuite Sales Order from Zoey Orders
When set to Yes, Zoey Orders will will create a Sales Order in NetSuite.- Automatically Create NetSuite Sales Orders
- When set to Yes, all Zoey Orders will attempt to create a NetSuite Sales Order when the Zoey Order is created.
- When set to No, Zoey Orders will not automatically sync to NetSuite. Orders can still be manually synced to NetSuite from the Zoey Orders Grid Bulk Actions
- Automatically Create NetSuite Sales Orders
- Replace Zoey Order # with NetSuite Transaction ID
When set to Yes, Zoey Order Numbers will be replaced by the NetSuite Transaction ID. Note that this replacement will only occur after the Zoey Order has synced to NetSuite. A comment will be added to the Zoey Order indicating the Order Number has changed. - Auto Approve Sales Orders
When enabled, Sale Orders in NetSuite will automatically be approved when created from Zoey Orders. -
NetSuite Discount Item ID
In order for Zoey discounts to be used on NetSuite Sales Orders a Zoey Discount Item to use must be set.The NetSuite Item must be set as ItemType = Discount.
- Sync Discounts On:
Set "Order" for discount to be set on the Sales Order. Set "Item" for discount to be added per item.
- Sync Discounts On:
- Use Line Item for Shipping Price
When Set to Yes, Order Shipping Price will be included as a line item instead of Shipping Cost. A line item set per shipping method in Shipping Mapping takes priority.- NetSuite Shipping Item ID
The internal ID of the NetSuite Item to use for the shipping price line.
- NetSuite Shipping Item ID
- Create Deposits For Sales Orders
When enabled, Zoey Orders will create a deposit upon creating the Sales Orders in NetSuite.- Deposit Payment Methods
The Zoey payment methods whose payments are sent to NetSuite as a Customer Deposit on the Sales Order.
- Deposit Payment Methods
Order CSV Import Settings
These settings control how the Zoey Order Import handles linking new orders to their existing NetSuite Sales Order counterparts.
Click here for the full guide.
Tax Settings
- Apply Taxes to NetSuite Sales Orders
When set to Yes, taxes from the Items on the Zoey Order will sync to NetSuite.- Apply Shipping Taxes
When set to Yes, taxes from the Shipping Method on the Zoey Order will sync to NetSuite. - Sales Order Tax Code (ID)
Specify the Tax Code to assign to the NetSuite Sales Order. - Zero Tax Tax Code (ID)
Specify the Tax Code to assign to the NetSuite Sales Order when the Tax Amount on the Order is zero.
- Apply Shipping Taxes
- Use Line Item for Tax Amount
When set to Yes, the Zoey Order Tax Amount will be added as a line item to the NetSuite Sales Order.-
NetSuite Tax Item ID
The internal ID of the NetSuite Item to use for the tax line.Click Save in the top right to populate a list of NetSuite Tax Codes
-
Payment Surcharge Settings
- Use Line Item for Payment Surcharge
When set to Yes, the Zoey Order Payment Surcharge will be added as a line item to the NetSuite Sales Order.- NetSuite Payment Surcharge Item ID
The Internal Item ID of the NetSuite Item to use for Payment Surcharge as a Line Item.
- NetSuite Payment Surcharge Item ID
Item Settings
- Exclude from Sales Order Attribute
Select a Yes/No attribute to be used for excluding items from the NetSuite Sales Order. Products with this attribute value set to Yes will not be sent to NetSuite.
If all items are excluded from the NS Sales Order, it will not be created.
An error is posted to the Error Log whenever a Sales Order is not made.
- Zoey Item ID Custom Record Field
The NetSuite Custom Record Transaction Line Field code that will contain the Zoey Order Item ID. To use this feature the code used here must also be added in the Sales Order Item Field Mapping section as a NetSuite Record Custom Field with Type Integer Number with Zoey Field Item Id (item_id) For example:custcol_zoey_order_item_id
Customer Settings
You can allow your customers to check out as Guests without creating an Account.Guest Orders will not be synced to NetSuite unless you have selected a NetSuite Customer to sync all guest sales orders to.
- Assign Guest Orders to Specific NetSuite Customer
When set to Yes, Zoey Orders created by Not Logged In users will be assigned to a specific NetSuite Customer. If this is set to No, orders created by Not Logged In users cannot be synced to NetSuite.- Guest Order NetSuite Customer ID
The internal ID for the NetSuite customer for Zoey Orders created by Not Logged In users.
- Guest Order NetSuite Customer ID
- Assign Customer Groups to NetSuite Customers
When set to Yes, Zoey Orders created by Customers in specified Customer Groups will always be assigned to the specified NetSuite Customer.- Customer Group to NetSuite Customer Assignments (Add Customer Group Mapping Button)
Map your NetSuite Customer IDs to selected Customer Groups.
- Customer Group to NetSuite Customer Assignments (Add Customer Group Mapping Button)
Address Settings
-
Address Display Format
Controls whether the Address Text on the Sales Order is displayed as one line, including the company and telephone, or on multiple lines.
-
Address Addressee Field
Zoey Address field to use for NetSuite Address addressee field. -
Use NetSuite Address IDs
When set to Yes, the ID of an existing NetSuite Customer Address will be used instead of a Custom Address. If no Address ID is found, then a Custom Address will be used. -
Customize Address Fields
When set to Yes, specify which Address fields are included on the Sales Order Billing/Shipping Addresses and NetSuite Customer Addresses.
Location Settings
If a location is missing, click the refresh icon next to the location list to pull in new Locations from NetSuite (learn more).
These location settings export Inventory Location data to the Sales order, and on each item level field in NetSuite.
- Sales Order Location
Typically Use Default NetSuite Location. This is the location from which the Sales Order will be fulfilled in NetSuite. under the dropdown field Default Location For Sales Orders in NetSuite.
Item Location Settings
- Set Order Items Location
When set to Yes, select the preferred NetSuite Order Items Location from the dropdown.- Order Items Location
Select the Order Items Location. - Item Location Mappings
Map Zoey inventory locations to NetSuite locations. Click Add Location Mapping for each pair. Removed mappings stay until you click Save.
- Order Items Location
Item Inventory Location Settings
- Set Order Items Inventory Location
When set to Yes, select the preferred NetSuite Order Items Inventory Location from the dropdown.- Order Items Inventory Location
Select the Order Items Inventory Location. - Inventory Location Mappings
Map Zoey inventory locations to NetSuite inventory locations. Click Add Location Mapping for each pair. Removed mappings stay until you click Save.
- Order Items Inventory Location
Payment Settings
- Payment Source
Select Payment Option or Payment Method.
Order Cancellation
- Close NetSuite Sales Orders on Cancellation
When set to Yes, NetSuite Sales Orders will be closed when a Zoey order is cancelled. NetSuite Sales Orders cannot be cancelled by the API. Whenever the Zoey order is cancelled, it will close all the items on the associated NetSuite order. - Close Canceled Item Lines
Keeps the NetSuite Sales Order in step when you cancel some of the items on a Zoey order, so NetSuite doesn't fulfill or invoice quantities you canceled. See Close Canceled Item Lines below.
Close Canceled Item Lines
When you cancel items on a Zoey order that has synced to NetSuite, Zoey can close or shorten the matching line on the NetSuite Sales Order. Without it, the canceled quantity stays open in NetSuite, NetSuite can fulfill or invoice it, and the invoice import back into Zoey then fails.
To turn it on:
-
In the Zoey Admin, click the Integrations icon (the puzzle piece in the far-left bar), then click Manage Connection on the Zoey NetSuite Integration card.

-
In Sales Orders > Order Cancellation, choose an option for Close Canceled Item Lines (see the table).
-
Click Save.

| Option | What it does in NetSuite |
|---|---|
| Do nothing in NetSuite (default) | Nothing. Canceling items in Zoey doesn't change the NetSuite Sales Order. |
| Close lines with nothing left to ship | When an item has nothing left to ship (ordered minus shipped, refunded and canceled is zero), Zoey closes its NetSuite line. A partial cancel that still leaves units to ship changes nothing. |
| Close and lower quantity | Does the same, and on every cancel lowers the NetSuite line quantity to what's left on the Zoey item (ordered minus canceled). The line amount is recalculated at the line's rate. |
It applies to items canceled with Cancel Items in the Zoey Admin and to items canceled through the Zoey API. Canceling the whole order with the order's Cancel button doesn't use this setting: to close the NetSuite Sales Order then, set Close NetSuite Sales Orders on Cancellation to Yes. The update is sent right after the cancel; the cancel itself never waits for NetSuite and is never undone if NetSuite refuses the change.
Example with Close and lower quantity: an order has 10 of item A at $5.00 and 10 of item B, and has synced to NetSuite.
- You cancel 4 of item A. The NetSuite line for A changes to quantity 6, amount $30.00.
- You cancel all 10 of item B. The NetSuite line for B is closed. Line A doesn't change.
- You restore item B. The NetSuite line for B reopens with quantity 10.
With Close lines with nothing left to ship, step 1 changes nothing in NetSuite, and steps 2 and 3 work the same, except that a restore only reopens the line.
Restoring canceled items: when the setting is on and a restore gives a closed item something to ship again, Zoey reopens its NetSuite line. With Close and lower quantity, the quantity also goes back up to ordered minus canceled. A cancel never reopens or raises a line, and a restore never closes or lowers one.
Never below what NetSuite already fulfilled or billedZoey never lowers a NetSuite line below the quantity already fulfilled or billed on it. If a cancel would do that, Zoey leaves the line as it is and tells you in the NetSuite Error Log and in the order's comments. Adjust that line in NetSuite yourself.
Where to see what happened: after each update Zoey adds an order comment, for example NetSuite Sales Order 7001 updated after the item cancel: line 1 (SKU-A) closed. The line number is NetSuite's internal line number, which can differ from the line's position on the NetSuite screen. When NetSuite refuses the update, or Zoey can't safely tell which line to change, the order gets a NetSuite Error: comment and the NetSuite Error Log gets a record.

How Zoey finds the line:
- If Zoey Item ID Custom Record Field (in Item Settings above) is set and the order was synced with it, Zoey uses that column to find the exact line.
- Otherwise Zoey looks for the one line with the item's NetSuite item. If the same NetSuite item is on more than one line, or on none, Zoey skips that item and reports it. Setting Zoey Item ID Custom Record Field avoids this.
Limits
- Only cancels made after you turn the setting on are sent. Items canceled earlier are not updated; fix those lines in NetSuite.
- Bundled products are skipped and reported. Products excluded with Exclude from Sales Order Attribute have no NetSuite line and are left alone.
- When Sync Discounts On is Item, the item's discount line is not changed when the quantity is lowered.
- Canceling every item on the order: if Close NetSuite Sales Orders on Cancellation is Yes, that setting closes the whole Sales Order and this one does nothing more.
Sales Order Custom Fields
- Set Sales Order Custom Fields
When set to Yes, you will get two new field to enter Sales Order Customer Field Rules and Sales Order Item Custom Field Rules.

Sales Order Field Mapping & Sales Order Item Field Mapping
Here you can map Zoey Fields to NetSuite Order and Item Fields
- Zoey Field
Select the field in Zoey you want to sync with a field in NetSuite. - NetSuite Field
Enter the field from NetSuite to map to the field you selected for the Zoey Field. - Additional Field
Add as many additional fields as needed.
NetSuite Record Custom FieldWhen mapping data to a custom NetSuite field, enter the alphanumeric Field ID and select the Field Type.

Test Order Sync
Check whether an order would sync to NetSuite, and what's missing if it wouldn't, without sending anything. Use it when you set up the integration, after changing NetSuite forms or permissions, or when an order fails to sync.
- In the Zoey Admin, click the Integrations icon (the puzzle piece in the far-left bar), then click Manage Connection on the Zoey NetSuite Integration card.
- At the top of the Sales Orders section, enter the full order number including its prefix (for example
SO-1001), or leave the box empty to check your latest order. - Click Test order sync.
Zoey builds the NetSuite Sales Order exactly as the sync would and shows a table of checks. The first line counts the problems that would stop the sync and the items to check. Each row is marked Problem (this stops the sync), Check (may stop it, depending on your NetSuite forms), Note or OK, with what to fix.

It checks:
- That order sync is on and the NetSuite connection works.
- Every part of the Sales Order the sync builds: payment and terms, location, customer, addresses, shipping, taxes, items, discount and custom fields. Products without a NetSuite item ID are listed, with the product attribute to fill in.
- The NetSuite customer: that it exists and is active. If the sync would create a new NetSuite customer, the check says so instead of creating one.
- Subsidiary, Sales Rep and Terms: a warning when neither the order nor the NetSuite customer has a value. If your NetSuite sales order form requires the field, NetSuite rejects the order with
Please enter value(s) for: .... - Payment method and shipping method mapping.
- Every item on the order, including the shipping, tax, surcharge and discount items: that it exists in NetSuite, is active and is available to the order's subsidiary. An item that isn't available would fail with
Invalid item reference key ... for subsidiary .... - The tax item, when the order sends one: whether your NetSuite integration role is allowed to set it.
- Mandatory custom body fields on NetSuite sales transactions that have no default value and that the order doesn't send.
The test never changes anythingIt only reads from NetSuite. It doesn't create the Sales Order or a NetSuite customer, doesn't add an order comment, and doesn't write to the NetSuite Error Log or send error emails.
Warnings are not a guaranteeNetSuite doesn't let Zoey read which standard fields your sales order form requires, so Subsidiary, Sales Rep and Terms show as warnings, not errors. Check your form in NetSuite. Items set to include child subsidiaries are treated as available.
Settings Page Loading
The NetSuite settings page loads faster:
- The Order History, Error Log and Sync History lists load when you scroll near them or click Show now. Clicking one of them in the page's section list scrolls to it and loads it.
- NetSuite shipping methods now come from the record cache, like locations and terms. If a new NetSuite shipping method doesn't show in the list, click the refresh icon next to it in Shipping Mapping (learn how).
- A list NetSuite has no records for (for example pricing groups, if you don't use them) is checked again once a day, or right away when you click Refresh Record Cache.
- Sync History shows the same number of rows on every page.
Updated 8 days ago
