---
title: "Support correction of sales invoice by API endpoint"
description: "Correction of sales invoices by a new API endpoint…"
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-11-09-support-correction-of-sales-invoice-by-api-endpoint/index.md
lastmod: 2021-11-09
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# Support correction of sales invoice by API endpoint

Last modified November 9, 2021

2021-11-09


Label: api:customer-ledger


Version: 8.73



Correction of sales invoices by a new API endpoint

POST customerinvoice/\{SalesInvoiceNumber\}/action/correct is now supported with same functionality as we have for this feature in the UI.

There is now a new way of correcting invoices, which requires less steps to update/correct an invoice than the previous standard reversal process. You can find the "Correct invoice" feature under the Actions drop-down list button in the Sales invoices (AR301000) window. When using the "Correct invoice" feature, the system will automatically create a copy of the original invoice that can be further edited. In the background, when releasing this new invoice, the system will automatically create a sales credit note for the original invoice and will match it against the chosen invoice to be corrected.

As a note the original invoice will remain in status Open until the new corrected document will be finally released, but will no further be included in the payment process. Correcting of invoices with lines from the Shipments (SO302000) or Sales orders (SO301000) windows is currently not supported.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-11-09-support-correction-of-sales-invoice-by-api-endpoint/)
