X12 transaction guide · Returns

EDI 180 Return Merchandise Authorization and Notification

The X12 document trading partners use to request a return, authorize or deny it, or give notice that goods are being returned.

Sent by
Customer requesting a return, or supplier authorizing it
Received by
Supplier or vendor, or the customer
Standard
ANSI ASC X12
EDIFACT equivalent
RETANN (return announcement)

What is an EDI 180?

The EDI 180 Return Merchandise Authorization and Notification is the ANSI X12 transaction set that supports returning merchandise to a vendor. The same transaction set covers several steps of a return: a customer's request to return goods, the supplier's authorization or denial and the disposition it wants, notice that goods are being returned, and notice of returns made by consumers.

Each 180 identifies the items being returned, their quantities and prices, the original purchase order and the reason for the return, such as damaged or wrong goods. Because returns affect credits, inventory and warehouse handling, the 180 is usually linked to a credit memo or debit adjustment and to the receiving process at the return location.

How the EDI 180 worksDiagram of the EDI 180 Return Merchandise Authorization and Notification. Customer requesting a return, or supplier authorizing it sends it to supplier or vendor, or the customer. It usually follows 810 and 856. It is usually followed by 997 and 812. Inside the ISA, GS and ST envelopes, X12 release 004010 requires, in the heading: BGN (Beginning Segment). 3 optional loops are listed by their first segment.How the EDI 180 worksReturn Merchandise Authorization and Notification: who sends it, where it fits and what the standard marksrequired1 WHERE IT FITSUSUALLY FOLLOWS810Invoice856Advance Ship NoticeEDI 180SENDERCustomer requesting areturn, or supplierauthorizing itRECEIVERSupplier or vendor, orthe customer997 or 999 acknowledgment back, if the partners agreeUSUALLY FOLLOWED BY997FunctionalAcknowledgment812Credit/Debit Adjustment2 WHAT X12 RELEASE 004010 REQUIRESInterchange: sender and receiver IDsISA … IEAFunctional group, ID code ANGS … GETransaction set 180ST … SEHEADINGBGNBeginning Segment+ 2 optional loops, starting with:N1LMDETAIL+ 1 optional loop, starting with:BLIBlue box: required loop. Optional loops are listed by the segment that starts them; when a loop is used, that first segment is required. Optional segmentsoutside loops are not drawn.Structure: required segments and loops in the X12 004010 listing for the 180. Your trading partner's implementation guide adds its own requirements.
How the EDI 180 worksDiagram of the EDI 180 Return Merchandise Authorization and Notification. Customer requesting a return, or supplier authorizing it sends it to supplier or vendor, or the customer. It usually follows 810 and 856. It is usually followed by 997 and 812. Inside the ISA, GS and ST envelopes, X12 release 004010 requires, in the heading: BGN (Beginning Segment). 3 optional loops are listed by their first segment.How the EDI 180 worksReturn Merchandise Authorization andNotification: who sends it, where it fits andwhat the standard marks required1 WHERE IT FITSUSUALLY FOLLOWS810Invoice856Advance Ship NoticeEDI 180SENDERCustomerrequesting areturn, orsupplierauthorizing itRECEIVERSupplier orvendor, or thecustomer997 or 999 acknowledgment back, if the partnersagreeUSUALLY FOLLOWED BY997Functional Acknowledgment812Credit/Debit Adjustment2 WHAT X12 RELEASE 004010 REQUIRESInterchange: sender and receiver IDs (ISA… IEA)Functional group, ID code AN (GS … GE)Transaction set 180 (ST … SE)HEADINGBGNBeginning Segment+ 2 optional loops, starting with:N1LMDETAIL+ 1 optional loop, starting with:BLIBlue box: required loop. Optional loops are listedby the segment that starts them; when a loop isused, that first segment is required. Optionalsegments outside loops are not drawn.Structure: required segments and loops in the X12004010 listing for the 180. Your trading partner'simplementation guide adds its own requirements.

How to read this diagram: the top row shows who sends the 180, to whom, and which documents usually come before and after it. The lower part shows what X12 release 004010 itself requires: the envelopes around the 180 and the segments and loops the standard marks as required, area by area. Optional loops are listed by the segment that starts them rather than drawn in full. This is the standard's minimum, not a trading partner's requirement: each partner's implementation guide usually makes some optional loops mandatory, restricts the codes and may use a different release.

Expand diagram Download SVG

When it is used

  • Requesting authorization to return damaged or wrong goods
  • Authorizing, denying or setting the disposition of a return
  • Notifying a supplier that goods are being returned
  • Reporting consumer returns to the brand or manufacturer

Where it fits in the document flow

This document 180 Return Merchandise Authorization and Notification

Structure

Key segments in the 180

The segments most implementations use, described in plain language. The last column shows what X12 release 004010 itself requires: "Required" marks a segment the standard requires in every 180; "Optional, common" marks a segment the standard leaves optional, or that sits in an optional loop, but that implementations often use. This is the standard's requirement, not your trading partner's: each partner's implementation guide names the release it uses, makes some optional segments mandatory and restricts the values, and requirements can differ between releases. The requirement status comes from one published X12 reference listing and has not been checked against a second source.

SegmentNameWhat it carriesIn X12 004010
BGNBeginning SegmentPurpose code, the return reference number and the date of the request or notice.Required
RDRReturn Disposition ReasonWhether the return is authorized, pending or denied, and the reason for it.Optional, common
PRFPurchase Order ReferenceThe original purchase order the returned goods were bought on.Optional, common
N1 loopNameParties such as the buyer, the vendor and the location the goods are returned to.Optional, common
BLIBaseline Item DataEach item returned, with its product identifier, quantity, unit and price.Optional, common

Example

Sample EDI 180

A request (purpose code 13) to return six units of one item bought on purchase order PO45001. RDR02 gives the reason as damaged product (DA). The supplier would reply with its own 180 authorizing (RA) or denying (RD) the return.

Illustrative data only, not tied to one X12 release or trading partner. The interchange (ISA/IEA) and functional group (GS/GE) envelopes are omitted for readability.

ST*180*0001~
BGN*13*RMA5521*20261022~
RDR**DA~
PRF*PO45001~
BLI*UP*012345678905*6*EA~
SE*6*0001~
Reading a sample EDI 180, line by lineAnnotated sample EDI 180 with 6 lines. Notes explain the ST, BGN, RDR, PRF, BLI and SE segments.Reading a sample EDI 180, line by lineEach numbered note explains the segment on that line. The data is illustrative.ST*180*0001~11Transaction Set Header. Opens the 180 and gives it a controlnumber, which SE repeats.BGN*13*RMA5521*20261022~22Beginning Segment. Purpose code, the return reference numberand the date of the request or notice.RDR**DA~33Return Disposition Reason. Whether the return is authorized,pending or denied, and the reason for it.PRF*PO45001~44Purchase Order Reference. The original purchase order thereturned goods were bought on.BLI*UP*012345678905*6*EA~55Baseline Item Data. Each item returned, with its productidentifier, quantity, unit and price.SE*6*0001~66Transaction Set Trailer. Closes the set with the number ofsegments, including ST and SE, and the same control number.Illustrative data only, not tied to one trading partner. Envelopes (ISA/GS) are omitted for readability.
Reading a sample EDI 180, line by lineAnnotated sample EDI 180 with 6 lines. Notes explain the ST, BGN, RDR, PRF, BLI and SE segments.Reading a sample EDI 180, lineby lineEach numbered note explains the segment onthat line. The data is illustrative.ST*180*0001~Transaction Set Header. Opens the 180 andgives it a control number, which SE repeats.BGN*13*RMA5521*20261022~Beginning Segment. Purpose code, the returnreference number and the date of the requestor notice.RDR**DA~Return Disposition Reason. Whether the returnis authorized, pending or denied, and thereason for it.PRF*PO45001~Purchase Order Reference. The originalpurchase order the returned goods werebought on.BLI*UP*012345678905*6*EA~Baseline Item Data. Each item returned, withits product identifier, quantity, unit and price.SE*6*0001~Transaction Set Trailer. Closes the set withthe number of segments, including ST and SE,and the same control number.Illustrative data only, not tied to one trading partner.Envelopes (ISA/GS) are omitted for readability.

The sample is the same one shown above, with a note beside each segment the first time it appears. Segment IDs are highlighted at the start of each line; the fields after them are separated by asterisks, and each segment ends with a tilde.

Expand diagram Download SVG

Avoid problems

Common 180 errors and how to prevent them

Returns without the original order

Without the purchase order or invoice reference, the supplier cannot price the credit or confirm what was shipped. Carry the original references on every 180.

Free-text reasons only

Reason codes drive credits, inventory decisions and vendor scorecards. Map returns to the coded reasons the partner accepts rather than relying on descriptions.

No link to the credit

An authorized return should lead to a credit memo or adjustment. Track each authorization until the credit is issued and matched.

EDI 180 FAQs

Who sends the EDI 180?

Both sides can. A customer sends it to request a return or to give notice of one, and a supplier sends it to authorize or deny the return and to state how the goods should be handled.

Does a 180 create a credit?

No. It manages the return itself. The financial adjustment usually follows separately, for example as an 812 credit/debit adjustment or a credit memo.

What information does a supplier need to authorize a return?

The items and quantities, the original purchase order or invoice, the reason for the return and where the goods are, so it can decide the disposition and the credit.

Need help with the EDI 180?

ECOM maps, tests and monitors X12 documents for your trading partners and integrates them with your ERP.