---
title: Customer Payment
slug: netsuite/customer-payment
description: Learn how to request customer payments and understand the various parameters associated with the Customer Payment object, such as salesforceID, account, classification, and more. This document also covers the fields and data types of CustomerPaymentApplyL
createdAt: 2021-12-14T12:08:39.000Z
---

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

The Customer Payment object has the following parameters.

### Customer Payment

| **Field Name**                          | **Data Type**                                     | **Description**                                                                                                |
| --------------------------------------- | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| salesforceID                            | ID                                                | Read-Only field, provides the Salesforce Record ID upon successful creation or updation in Salesforce.         |
| account                                 | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Select the Accounts Receivable account that will be affected by this invoice.<br />Internal ID of the Account. |
| applyList                               | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | To apply this customer payment to a transaction like an Invoice etc, use this field.                           |
| 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.                                                                                   |
| customer<font color="#eb144c">\*</font> | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Entity (Customer).                                                                          |
| 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.                                                                                 |
| exchangeRate                            | Double                                            |  Supported only while creating, holds the value of the Exchange Rate.                                          |
| internalId                              | String                                            |  Unique ID that NetSuite holds. It is required during the update of a Record.                                  |
| 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                                            |                                                                                                                |
| payment                                 | Double                                            | Sets the total amount of payment for this customer.                                                            |
| status                                  | String                                            | Read-Only field, returns the Status of the Invoice.                                                            |
| subsidiary                              | [Common Data Types](docId\:LGKOy7mdXhvjzkl2nr9Ql) | Internal ID of the Subsidiary. By default, NetSuite considers the Subsidiary of the Customer if not provided.  |
| tranDate                                | Long                                              | The date is accepted and returned as a Unix timestamp in seconds.                                              |
| tranId                                  | String                                            | Provide Order # (number) or auto-generated by NetSuite                                                         |
| total                                   | Double                                            | Read-Only field, returns the Total Amount.                                                                     |

### CustomerPaymentApplyList

| **Field Name**                       | **Data Type**                                           | **Description**                                                                                                             |
| ------------------------------------ | ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| apply<font color="#eb144c">\*</font> | [CustomerPaymentApply](docId\:L_S8oFAL1497WkaPqKUlH)\[] | 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 |

### &#xA;CustomerPaymentApply

| **Field Name**                      | **Data Type** | **Description**                                                                                                  |
| ----------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------- |
| amount                              | Double        |                                                                                                                  |
| apply                               | Boolean       |                                                                                                                  |
| applyDate                           | DateTime      |                                                                                                                  |
| doc<font color="#eb144c">\*</font>  | long          | The field is required and must referance the internal ID of the invoice the customer payment will be applied to. |
| line<font color="#eb144c">\*</font> | long          |                                                                                                                  |
| total                               | double        |                                                                                                                  |

