Global API
Requests
Cash Sale
3 min
when requesting a cash sale, use the requestjson to pass the cash sale data the response that is returned will contain a responsejson section which has the cash sale response returned by breadwinner for netsuite the cash sale object has the following parameters cash sale 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 sets the account to be credited when payment is received via credit card the undepfunds field must be set to false in order to set this field internal id of the account 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 createdfrom common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the estimate / salesorder 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 discountitem common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the discount item discountrate string discount rate like “ 12” or “15” discounttotal double read only field, returns the total discount entity common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the entity (customer) exchangerate double supported only while creating, holds the value of the exchange rate externalid string handlingcost double read only field, returns the total handling cost internalid string unique id that netsuite holds it is required during the update of a record itemlist cash sale /#lineitems 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 otherrefnum string salesrep string internal id of the sales rep (employee) shippingcost double read only field, returns the total handling cost status string read only field, returns the status of the cash sale subsidiary common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the subsidiary by default, netsuite considers the subsidiary of the customer if not provided subtotal double read only field, returns the sub total amount taxtotal double read only field, returns the total tax amount 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 undepfunds boolean set to true if you receive payment by cash or check if set to false, set an account in the account field lineitems falseleft unhandled content type unhandled content type unhandled content type left unhandled content type unhandled content type unhandled content type left unhandled content type unhandled content type unhandled content type lineitemrecord false unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type