Global API
Requests
Customer Payment
3 min
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 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 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 customer payment docid\ l s8ofal1497wkapqkulh \[] 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