Skip to content

Credit Memos

Works with individual credit memo records (NetSuite Credit Memo transactions). Each credit memo is returned with its total, how much of it has been applied, and an appliedto array listing the transactions it has been applied to.

Base URL

https://{{accountid}}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=customscript_prac_api_creditmemos&deploy=customdeploy_prac_api_creditmemos_v1

HTTP: GET

Gets the list of credit memos.

Required Parameters

Name Value Notes
script customscript_prac_api_creditmemos
deploy customdeploy_prac_api_creditmemos_v1

Optional Parameters

Name Value Notes
custparam_id {{integer}} Internal ID of the credit memo transaction. Accepts an array.
custparam_client {{integer}} Internal ID of the client. Accepts an array.
custparam_clientid {{string}} The Name/ID of the client (entity ID).
custparam_subsidiary {{integer}} Internal ID of the subsidiary.
custparam_hasunapplied {{string}} 'T' or 'F'. 'T' returns only credit memos with an unapplied amount; 'F' returns only fully applied credit memos. Omit for no filter.
custparam_lastmodifieddate {{datetime}} UTC DateTime in the format 'YYYY-MM-DDTHH24:MI:SSZ' for example: '2024-09-20T12:38:32Z'. Passing this parameter will instruct the server to retrieve all records that have been modified AFTER this date.
custparam_page {{integer}} Indicates the page to request from the server. If not specified, 1 is used.
custparam_pagesize {{integer}} Indicates how many results to bring back from the server. If not specified, the default size defined on the server is used (100).

Response Information

Results are Paged

Statuses

status status_text
A Open
B Fully Applied

Notes

  • Applying an existing credit memo to an invoice later does not update the credit memo's lastmodifieddate. To find credit memos that still have money available to apply, use custparam_hasunapplied=T.