Skip to main content
Solved

ReverseInvoiceAndApplyToMemo via API

  • Jan 31, 2025 12:33 PM UTC
  • 4 replies
  • 164 views
  • Translate All

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"
}


}
}

 

 

View original

4 replies

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Feb 3, 2025 3:12 PM UTC

Hi ​@keithschm ,

Could you please try the request as shown below?

 

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

 

Translate

Forum|alt.badge.img+1
  • Author
  • Varsity I
  • Feb 3, 2025 11:45 PM UTC

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

Translate

Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • May 1, 2025 10:42 PM UTC

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

Translate

Forum|alt.badge.img+1
  • Author
  • Varsity I
  • Answer
  • May 6, 2025 5:20 PM UTC

Yes, This was what it need to look like.

 

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


}
}

 

 

Translate