Skip to main content
Answer

ReverseInvoiceAndApplyToMemo via API

  • January 31, 2025
  • 4 replies
  • 101 views

Forum|alt.badge.img+1

Hello all,

 

I am trying to Reverse an invoice and apply credit memo via the API. I have extended the endpoint and added the action ReverseInvoiceAndApplyToMemo.  I am not sure where to find the correct payload to pass to it.  If I pass the below I  get “ "The Reverse and Apply to Memo button is disabled."

Does anyone know or where do I find the correct payload to send?

 

Thank you

 

{
"Entity": {
"RefNbr":{"value":"AR000003"}

}
}

 

Best answer by keithschm

Yes, This was what it need to look like.

 

{
"Entity": {
"ReferenceNbr":{"value":"AR000053"},
"Type": {
"value": "INV"
}


}
}

 

 

4 replies

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • February 3, 2025

Hi ​@keithschm ,

Could you please try the request as shown below?

 

{
"entity": {},
"parameters": {
"Type": {
"value": "Invoice"
},
"ReferenceNbr": {
"value": "AR014024"
},
"CustomerID": {
"value": "JOHN"
}
}
}

 


Forum|alt.badge.img+1
  • Author
  • Varsity I
  • February 3, 2025

thank you I still get the same Error. I have confirmed I can do it in the UI.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • May 1, 2025

Hi ​@keithschm were you able to find a solution? Thank you!


Forum|alt.badge.img+1
  • Author
  • Varsity I
  • Answer
  • May 6, 2025

Yes, This was what it need to look like.

 

{
"Entity": {
"ReferenceNbr":{"value":"AR000053"},
"Type": {
"value": "INV"
}


}
}