Negative Invoice Lines to Credit Conversion (POST)
Convert a list of invoice lines with a negative amount into a posted credit memo. This conversion is applicable for a single invoice at a time.
Keep these considerations in mind when you use this API.
- All invoice lines must be related to the same invoice.
- The invoice line must have a negative amount.
- The invoice line must not be a previously converted credit memo.
- The invoice must have the
Postedstatus. - The invoice must not have any active settlements such as credit applications.
You need the Credit Memo Operations User permission set to use this API.
62.0
POST
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
invoiceId | String | ID of the invoice whose negative invoice lines must be converted into a posted credit memo. | Required | 62.0 |
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
description | String | Description stamped on the credit memo that’s created after the negative invoice line conversion. | Optional | 62.0 |
effectiveDate | String | Date stamped on the credit memo that’s created after the negative invoice line conversion. | Required | 62.0 |
invoiceLines | String[] | Complete list of the negative invoice lines along with the associated invoice line taxes. The specified negative invoice lines are converted into a posted credit memo. | Optional | 62.0 |