Netsuite apply credit memo to invoice using Suitetalk rest api

317 Views Asked by At

I'm trying to apply credit memo to invoice using Suitetalk but there is no available field for "apply" in suitetalk api browser.

Below is the link of Netsuite's REST API browser that I am using https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2023.1/index.html

I tried using POST/PATCH request with creditMemo object for payload

1

There are 1 best solutions below

1
On

To apply an creditMemo to an invoice transaction in NetSuite using the REST API, the request url can be formatted like:

POST .../services/rest/record/v1/invoice/{invoiceId}/!transform/creditMemo

From what I can tell, this creates a credit memo from the invoice, but also associates the original invoice with it.