Unable to create Debit Memo, for price Correction , via REST API
Summary:
Hi Team,
We have a Use case where we want to create a Debit Memo in AP, for both Quantity and Price Hold. We want to create Debit Memo via REST API for Automated Approach.
But, upon testing, what we noticed is that,
- We can create Debit Memo via REST API for Quantity Correction (Quantity as Negative and Unit Price is Positive), but
- We can't create Debit Memo via REST API for Price Correction (Quantity is Positive and Unit Price is Negative), when i try to create i am getting below error,
You must enter a line amount that's 0 or higher for a matched line when the quantity is more than 0. (AP-811020)You must provide a unit price that's more than 0 for a matched line unless you're making a price correction. (AP-811024)
Tagged:
0