---
title: Vendor Bill
slug: netsuite/vendor-bill
description: Learn about the parameters of the Vendor Bill and LineItems objects when requesting a Vendor Bill. Explore key parameters like salesforceID, approvalStatus, userTotal, createdDate, and more. Find out the parameters for LineItems such as amount, classifica
docTags: 
createdAt: 2021-10-25T15:21:17.000Z
---

When requesting a Vendor Bill, use the requestJSON to pass the Vendor Bill data. The response that is returned will contain a responseJSON section which has the Vendor Bill response returned by Breadwinner for NetSuite.

The Vendor Bill object has the following parameters.

### VendorBill

| **Field Name**                         | **Data Type**                                     | **Description**                                                                                             |
| -------------------------------------- | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| salesforceID                           | ID                                                | Read-Only field, provides the Salesforce Record ID upon successful creation or updation in Salesforce       |
| approvalStatus                         | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Approval Status.                                                                         |
| userTotal                              | Double                                            |                                                                                                             |
| 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.                                  |
| 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.                                                                              |
| dueDate                                | Long                                              | Date is accepted and returned as a Unix timestamp in seconds.                                               |
| email                                  | String                                            |                                                                                                             |
| entity<font color="#eb144c">*</font>   | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Entity (Vendor).                                                                         |
| exchangeRate                           | Double                                            |  Supported only while creating, holds the value of the Exchange Rate.                                       |
| externalId                             | String                                            |                                                                                                             |
| fax                                    | String                                            |                                                                                                             |
| internalId                             | String                                            |  A unique ID that NetSuite holds. It is required during the update of a Record.                             |
| itemList<font color="#eb144c">*</font> | [LineItems](docId\:wmEla-0pAuxvjSE0u1faK)         | 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                                            |                                                                                                             |
| status                                 | String                                            | Read-Only field, returns the Status of the Vendor Bill                                                      |
| subsidiary                             | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Subsidiary. By default, NetSuite considers the Subsidiary of the Vendor if not provided. |
| taxTotal                               | Double                                            | Read-Only field, returns the Total Tax Amount.                                                              |
| terms                                  | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Terms.                                                                                   |
| tranDate                               | Long                                              | Date is accepted and returned as a Unix timestamp in seconds.&#xD;                                          |
| tranId                                 | String                                            | Provide Bill # (number) or auto-generated by NetSuite                                                       |
| transactionNumber                      | String                                            |                                                                                                             |

### LineItems

| **Field Name**                     | **Data Type**                                     | **Description**                                                                                                            |
| ---------------------------------- | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| item<font color="#eb144c">*</font> | [LineItemRecord](docId\:wmEla-0pAuxvjSE0u1faK)\[] | List of LineItem Records.                                                                                                  |
| replaceAll                         | Boolean                                           | The default value for the replaceAll attribute is true. If true, NetSuite will replace all the LineItems 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.                                        |
| quantity                           | Double                                            |                                                                     |
| rate                               | String                                            |                                                                     |
| tax1Amt                            | Double                                            |                                                                     |
| taxCode                            | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Tax Code.                                        |
| taxRate1                           | Double                                            |                                                                     |

