---
title: Sales Order
slug: netsuite/sales-order
description: Learn about the essential parameters for creating a Sales Order in Breadwinner for NetSuite. This comprehensive document covers everything from salesforceID and billingAddress to currencyName and customFieldList. Discover the key parameters for LineItems,
docTags: 
createdAt: 2021-10-25T15:21:17.000Z
---

the date remains in the correct/passed day value when NetSuite API does any conversionsWhen requesting a Sales Order, use the requestJSON to pass the Sales Order data. The response that is returned will contain a responseJSON section which has the Sales Order response returned by Breadwinner for NetSuite.

The Sales Order object has the following parameters.

### SalesOrder

| **Field Name**                         | **Data Type**                                     | **Description**                                                                                               |
| -------------------------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| salesforceID                           | ID                                                | Read-Only field, provides the Salesforce Record ID upon successful creation or updation in Salesforce.        |
| billingAddress                         | [AddressDetail](docId\:LGKOy7mdXhvjzkl2nr9Ql)     | Provide the Custom Address                                                                                    |
| billAddressList                        | [LookupRecord](docId\:LGKOy7mdXhvjzkl2nr9Ql)      | Provide the Internal ID of the Customer's Address                                                             |
| classification                         | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) |  Internal ID of the Class.                                                                                    |
| createdDate                            | Long                                              | Read-Only field, the Date will be returned as a Unix timestamp in seconds.                                    |
| createdFrom                            | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Estimate.                                                                                  |
| currencyName                           | String                                            | Read-Only field, returns the Currency Name.                                                                   |
| currencyRecord                         | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Currency.                                                                                  |
| customFieldList                        | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Custom fields and their values.                                                                               |
| customForm                             | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Custom Form.                                                                               |
| department                             | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Department.                                                                                |
| discountItem                           | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) |  Internal ID of the Discount Item.                                                                            |
| discountRate                           | String                                            | Discount rate like “-12” or “15”.                                                                             |
| discountTotal                          | Double                                            | Read-Only field, returns the Total Discount.                                                                  |
| entity<font color="#eb144c">*</font>   | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Entity (Customer).                                                                         |
| exchangeRate                           | Double                                            |  Supported only while creating, holds the value of the Exchange Rate.                                         |
| externalId                             | String                                            |                                                                                                               |
| handlingCost                           | Double                                            | Read-Only field, returns the Total Handling Cost.                                                             |
| internalId                             | String                                            |  Unique ID that NetSuite holds. It is required during the update of a Record.                                 |
| itemList<font color="#eb144c">*</font> | [LineItems](docId\:EmQjIKnClZE-b-zi9PinN)         | Holds the Line Items.                                                                                         |
| lastModifiedDate                       | Long                                              | Read-Only field and the Date is returned as a Unix timestamp in seconds.                                      |
| location                               | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Location.                                                                                  |
| memo                                   | String                                            |                                                                                                               |
| otherRefNum                            | String                                            |                                                                                                               |
| salesRep                               | String                                            | Internal ID of the Sales Rep (Employee).                                                                      |
| shippingAddress                        | [AddressDetail](docId\:LGKOy7mdXhvjzkl2nr9Ql)     | Provide the Custom Address                                                                                    |
| shipAddressList                        | [LookupRecord](docId\:LGKOy7mdXhvjzkl2nr9Ql)      | Provide the Internal ID of the Customer's Address                                                             |
| shippingCost                           | Double                                            | Read-Only field, returns the Total Handling Cost.                                                             |
| status                                 | String                                            |  Read-Only field, returns the Status of the Sales Order.                                                      |
| subTotal                               | Double                                            |  Read-Only field, returns the Sub-Total.                                                                      |
| subsidiary                             | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Subsidiary. By default, NetSuite considers the Subsidiary of the Customer if not provided. |
| taxTotal                               | Double                                            | Read-Only field, returns the Total Tax Amount.                                                                |
| terms                                  | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the [NetSuite Payment Terms](docId\:WyQwXIYrUl_vQ2SIOTRAM)                                     |
| tranDate                               | Long                                              | The date is accepted and returned as a Unix timestamp in seconds.                                             |
| tranId                                 | String                                            | Provide Order # (number) or auto generated by NetSuite                                                        |

### LineItems

| **Field Name**                     | **Data Type**                                     | **Description**                                                                                                             |
| ---------------------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| item<font color="#eb144c">*</font> | [LineItemRecord](docId\:EmQjIKnClZE-b-zi9PinN)\[] | List of LineItem Records.                                                                                                   |
| replaceAll                         | Boolean<br /><br />                               | The default value for the replaceAll attribute is true. If true, NetSuite will replace all the Line Items with the new ones |

### LineItemRecord

| **Field Name**                     | **Data Type**                                     | **Description**                                                     |
| ---------------------------------- | ------------------------------------------------- | ------------------------------------------------------------------- |
| amount                             | Double                                            |                                                                     |
| classification                     | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Class.                                           |
| customFieldList                    | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | List of Custom Fields with their Values.                            |
| department                         | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Department.                                      |
| description                        | String                                            | Item Description                                                    |
| grossAmt                           | Double                                            |                                                                     |
| item<font color="#eb144c">*</font> | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Item.                                            |
| line                               | Integer                                           | Specifies the Line Number, which should be unique across the lines. |
| location                           | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Location.                                        |
| price                              | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Price Level of Item.                             |
| quantity                           | Double                                            |                                                                     |
| rate                               | String                                            |                                                                     |
| revRecEndDate                      | Long                                              | Date is accepted and returned as a Unix timestamp in seconds.       |
| revRecSchedule                     | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Rev. Rec. Schedule.                              |
| revRecStartDate                    | Long                                              | Date is accepted and returned as a Unix timestamp in seconds.       |
| tax1Amt                            | Double                                            |                                                                     |
| taxCode                            | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Tax Code.                                        |
| taxRate1                           | Double                                            |                                                                     |



