Global API
Requests

Credit Memo

3min
when requesting a credit memo, use the requestjson to pass the credit memo data the response that is returned will contain a responsejson section which has the credit memo response returned by breadwinner for netsuite the credit memo object has the following parameters credit memo field name data type description salesforceid id read only field, provides the salesforce record id upon successful creation or updation in salesforce applylist common data types docid\ lgkoy7mdxhvjzkl2nr9ql to apply this cm 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 createdfrom internal id of the rma 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) externalid string internalid string unique id that netsuite holds it is required during the update of a record itemlist credit memo docid\ iyeqgky8r9hnj7alqjtuv 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 saleseffectivedate long date is accepted and returned as a unix timestamp in seconds 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 return authorization 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 taxtotal double read only field, returns the total tax amount totalcostestimate double total double read only field, returns the total amount trandate long date is accepted and returned as a unix timestamp in seconds tranid string provide rma # (number) or auto generated by netsuite lineitems field name data type description item credit memo docid\ iyeqgky8r9hnj7alqjtuv \[] 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 lineitemrecord field name data type description amount double classification common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the class customfieldlist common data types docid\ goasztqi8wczgotekytek list of custom fields with their values department common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the department description string item description grossamt double item common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the item line integer specifies the line number, which should be unique across the lines location common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the location price common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the price level of item quantity double rate string revrecenddate long date is accepted and returned as a unix timestamp in seconds revrecschedule common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the rev rec schedule revrecstartdate long date is accepted and returned as a unix timestamp in seconds tax1amt double taxcode common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the tax code taxrate1 double