Need Help with using Epicor API to do RMA

When I try to create a credit request in RMA Processing using the API, I get this:

'https://XXX/api/v2/odata/EPIC06/Erp.BO.RMAProcSvc/InvcDtls'
I get: "Invoices must be added using the RMACreditAdd method."

When I try to create a RMA DIsposition:
Using
'https://XXX/api/v2/odata/EPIC06/Erp.BO.RMADispSvc/RMARcpts'
Or
'https://XXX/api/v2/odata/EPIC06/Erp.BO.RMADispSvc/RMADisps'
I get: "An RMA Receipt record may not be added from this object."

I tried using Postman to do RMACreditAdd but I dont know the payload schema and what fields to use.

Do one through the app and trace.

2 Likes

Once you trace the API calls, you can try them out in swagger and see the payload schema: /apps/resthelp

also there’s an example of RMA processing in the Insights 2025 Lab Book (Adv Use Of Functions)
It goes something like this:

RMAProcSvc:
/GetNewRMAHead
/Update …RMANum in response
/GetNewRMADtl(RMANum)
/ChangeOrderNum
/ChangeOrderLine
/ChangeOrderRelNum
/Update …set reason here

i was reading your trace and thinking why is that it looks like so familar :laughing:
oh, i did it twice there.

1 Like