Kim Aguilar
Kim Aguilar

Reputation: 61

Netsuite apply credit memo to invoice using Suitetalk rest api

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

Upvotes: 1

Views: 690

Answers (1)

abogaard
abogaard

Reputation: 451

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.

Upvotes: 0

Related Questions