Global API
Requests

Customer Payment

3min

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

Select the Accounts Receivable account that will be affected by this invoice. Internal ID of the Account.

applyList

To apply this customer payment to a transaction like an Invoice etc, use this field.

classification

 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

Internal ID of the Currency.

customer*

Internal ID of the Entity (Customer).

customFieldList

Custom fields and their values.

customForm

Internal ID of the Custom Form.

department

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

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

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*

List of LineItem Records.

replaceAll

Boolean

The default value for the replaceAll attribute is true. If true, NetSuite will replace all the Line Items with the new ones

CustomerPaymentApply

Field Name

Data Type

Description

amount

Double



apply

Boolean



applyDate

DateTime



doc*

long

The field is required and must referance the internal ID of the invoice the customer payment will be applied to.

line*

long



total

double





Updated 14 Jun 2024
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Did this page help you?