website logo
Product Overview
NetSuite
Payments
QuickBooks
Xero
Navigate through spaces
⌘K
General Concepts
What is Breadwinner
Getting Started
App Installation
Initial Configuration
Person Accounts
Company Matching
Product Matching
NetSuite Items and Item Groups
Download PDF button
Security and Permissions
NetSuite Permissions
Custom Guided Wizard
Quick Create Sales Order
Button URL Structure
NetSuite Company Creation
Button URL Generator
Support
Custom Fields
Custom Objects
Global API
Quick Start Guide
Apex Generator
API Overview
Requests
Response
Code Examples
Advanced Topics
Memorized Transactions
Sync Data Filtering
Technical Resources
Deploy Plan
Requirements
ERD / Object Structure
Getting Help
Version History
Direct Installation Link
Docs powered by archbee 

Create

1min

The following is an example of create Customer Payment where we are setting every possible field (See for Customer Payment the available fields). The response will return the exact request data plus the new NetSuite Customer Payment Id (internalId) and the newly created Salesforce Customer Payment Id (salesforceID)

Request
Response
|
{
  action=createCustomerPayment,
  timestamp=1639492143080,
  validRequest=true,
  version=1.0,
  responseJSON={
    "errors":[],
    "status":"200",
    "customerPayments": [
      {
        "undepFunds": true,
        "unapplied": 96770.0,
        "tranId": "113",
        "tranDate": 1599364800,
        "subsidiary": {
          "type": null,
          "name": "Parent Company",
          "internalId": "1",
          "externalId": null
        },
        "status": "Not Deposited",
        "salesforceID": "a0L1m000003Ee6PEAS",
        "payment": 97006.0,
        "memo": "Payment 25",
        "location": {
          "type": null,
          "name": "test : Atlanta west",
          "internalId": "1",
          "externalId": null
        },
        "lastModifiedDate": 1648039356,
        "internalId": "97006",
        "externalId": null,
        "exchangeRate": 1.0,
        "department": {
          "type": null,
          "name": "Sales",
          "internalId": "2",
          "externalId": null
        },
        "customForm": {
          "type": null,
          "name": "Custom Customer Payment",
          "internalId": "105",
          "externalId": null
        },
        "customFieldList": null,
        "customer": {
          "type": null,
          "name": "CUST1022AT Spider Man",
          "internalId": "63587",
          "externalId": null
        },
        "currencyName": "US Dollars",
        "createdDate": 1648032330,
        "classification": {
          "type": null,
          "name": "Corporate Sales",
          "internalId": "5",
          "externalId": null
        },
        "applyList": null,
        "applied": 0.0
      }
    ],
  } 
}




Updated 20 Apr 2023
Did this page help you?
Yes
No
PREVIOUS
Read
NEXT
Update
Docs powered by archbee