Discussions
Parameter definitions for /api/Invoice/_execute calls
Hello!
I'm working with POST calls to /api/Invoice/_execute for ProcessCashReversal and I'm shooting in the dark when it comes to the expected and allowed parameter list. I didn't see documentation covering this in my search.
Here's an example from the body of a successful call, showing the parameters I'm currently using:
{
"$type": "Asi.Soa.Commerce.DataContracts.InvoiceActionCashReversalData, Asi.Contracts",
"InvoiceID":"357226",
"AdjustmentDate" :"2026-03-31T00:00:00",
"AdjustmentReason": "Testing"
}
Would you have a list of parameters?
An example of what I'm hoping to gain from this knowledge: When a reversal is handled through the web application on the Invoice Summary page, there are two options: reverse only and reverse and cancel membership. I assume that this API endpoint can accomplish a similar separation through its parameterization, but for now its appears that the default action is reverse and cancel. So I'm hoping you can give me a comprehensive definition to offer tha.
