Skip to main content
Question

ReverseInvoiceAndApplyToMemo via API

  • January 31, 2025
  • 2 replies
  • 41 views

Forum|alt.badge.img

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

    }
}

 

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
  • Varsity I
  • February 3, 2025

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings