This service will return a part from an invoice. You must call the orderStatus service first. This will give you the proper invoiceNumber, lineNumber, and pid.

WSDL Link

Basic Request elements

elementValue
xmlUserassigned by Encompass
xmlPasswordassigned by Encompass
serviceNameXML.RETURN.REQUEST
serviceModeSOAP

Additional Request elements

elementrequireddescriptionsample data
customerTypencustomer type (not used for all accounts)SERVICEGROUP
customerNumberycustomer number12345
useCustomerCrossnmap your customer number to ours (not available for all accounts) (y/n)n
invoiceNumberyinvoice number to return items from1-234567
returnReferenceNumbernyour reference number for the returnr12345678
returnServiceLabelnrequest UPS return service label (y/n)
returnTrackingNumberncustomer provided return tracking #, this is only used if not requesting a return service label1Z516646465456
partlistyarray of parts informationsee partlist array elements table

partlist array elements

elementrequireddescriptionsample data
lineNumberyline number from order2
pidyinternal part id used from order5937132
returnQuantityyquantity of part to return1
returnTypeyType of Return1=Good & Un-used Parts
2=Warranty / Replacement
3=Core / Dud
reasonCodenreason code for returnRequired for Warranty / Replacement

1=No power
2=Automatically shuts down
3=Color problem
4=Sound problem
5=Intermittent power issue
6=Picture distortion issue
7=Vertical or horizontal problem
8=Compatibility issue
9=Wrong color
10=Physical Damage
modelNumbernmodel # of the product then part is returned fromRequired for Warranty / Replacement

mx123456
serialNumbernserial # of the product the part is returned fromRequired for Warranty / Replacement

1s6816383181
replacementOrderNumbernreplacement order #Required for Warranty / Replacement if the account is not setup to auto-replace

1-12345

Returned elements

elementdescriptionsample data
rmaNumberRMA Number7-12345
returnServiceNumberreturn service number if requested1Z516646465456
returnServiceLabelLinkThis is the link to view or print the return service label if requested. This includes the inscrutions, and is ready to print.https://encompass.com/app/?wwizmstr=WEB.RETURN.LABEL
returnServiceLabelImageThis is the link to view or print the return service label if requested. This is a direct link to the image. There are no instructions. This can be used to make you own custom instructions with the label. This is ONLY provided by UPS, and not FedEx.http://returns.ups.com/123456789
returnServiceLabelRejectIf a return service label is requested and we reject the label, but still process the RMA, this will be a 'Y'. This can happen when requesting a label on items that are too large.N
returnCompanycompany that the package will be returned toNational Returns Center
returnAddress1address line 1 where the package will be returned to775 TIPTON INDUSTRIAL DRIVE
returnAddress2address line 1 where the package will be returned toSUITE E
returnCitycity where the package will be returned toLAWRENCEVILLE
returnStatestate where the package will be returned toGA
returnZipCodezip code where the package will be returned to30046
returnCountrycountry where the package will be returned toUS

Service errorCode values

errorCodeerrorMessage
-200files did not open
-201invalid xmlUser
-202invalid customer number from customer cross
-203customer number is required
-204invalid customer number
-205invoiceNumber is required
-206invoiceNumber does not exist
-207customer number does not match invoice
-208pid is required
-209invalid product
-210invalid lineNumber
-211pid does not exist on lineNumber
-212invalid returnQuantity
-213no items were shipped on this line
-214only X item(s) were shipped on this line
-215return good and un-used parts on invoice #
-216X part(s) were already returned - there are only X left to return
-217this good and un-used part is X days old
-218special order products may not be returned
-219Toshiba computer products may not be returned
-220return warranty or replacement parts on X
-221X part(s) were already returned - there are only X left to return
-222invalid reasonCode
-223invalid reasonCode
-224Please contact us with details of the physical damage
-225a modelNumber is required on warranty or replacement parts
-226a serialNumber is required on warranty or replacement parts
-227this warranty or replacement part is X old
-228this Mitsubishi warranty or replacement part is X old
-229cores were not billed on this invoice try X
-230cores were not billed on this invoice
-231X core(s) were already returned - there are only X left to return
-237this core is X old
-238invalid returnType
-239cannot be returned
-240cannot be returned
-241cannot be returned
-242no valid parts were submitted
-243A return against this invoice is already in process
-244invalid carrying branch
-245invalid return location
-246return service request error
-247account does not allow good and un-used part returns
-248a replacementOrderNumber is required on warranty or replacement parts
-249invalid replacementOrderNumber
-250invalid replacementOrderNumber
-251invalid replacementOrderNumber - customer number does not match
-252part does not exist on replacementOrderNumber
-253replacement quantity X is less than return quantity X
-254is not a replacement order
-255already placed quantity X against replacement order X
-256account does not allow return service
-257pid cannot be returned to stock
-258good and un-used returns must be at least 15.00
-259pid does not allow returnServiceLabel
This documentation is only designed as a guide for the corresponding WSDL file.