ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

X12 180 — Return Merchandise Authorization and Notification

The 180 carries the return-merchandise authorisation (RMA) from a supplier to a buyer, or the buyer's return notification. It is the standard EDI channel for the retail and B2B RMA cycle.

Purpose

The 180 documents a return of merchandise from two angles: upstream (a supplier authorisation of a buyer-requested return, with RMA number and return instructions) or downstream (a buyer notification of a return performed, with quantity, cause and RMA identifier). It carries the list of affected items, references to the original order and invoice, and the return reason (defect, overage, end of season).

The 180 is central in retail flows with high return rates (apparel, electronics) and in industrial B2B where returns follow a strict workflow with mandatory RMA Number before return shipment.

Envelope structure

The 180 travels in a functional group RM (Return Merchandise). Didactic example in release 004010 for a return authorisation:

x12 example-180.x12
ISA*00*          *00*          *ZZ*ACMEVENDOR    *ZZ*ACMERETAIL    *260514*1300*U*00401*000000180*0*P*>~
GS*RM*ACMEVENDOR*ACMERETAIL*20260514*1300*1*X*004010~
ST*180*0001~
B4*A*RMA-2026-0071*20260514*A~
N1*BY*ACME RETAIL CO*92*0001~
N1*VN*ACME VENDOR INC*92*V-9087~
N1*RW*ACME RETURN WAREHOUSE*92*RW-001~
LIN*1*UP*012345678905~
PID*F****GUITAR STRINGS 12-GA~
QTY*38*2*EA~
REF*PO*PO78901~
REF*IV*INV-50012~
SE*9*0001~
GE*1*1~
IEA*1*000000180~

The B4 opens the RMA with operation type (A = Authorization), RMA number, date, status. The N1 segments identify buyer, supplier, and return warehouse. The LIN loop identifies returned items, with QTY for quantity (qualifier 38 = Returned) and REF to bind to the original PO and invoice.

Common segments

  • HeaderST, B4 (Beginning Segment for Inquiry or Reply), DTM.
  • PartiesN1 loop (BY, VN, RW = Return Warehouse, SH = Ship From).
  • Returned itemsLIN loop with PID, QTY (qualifier 38 / 39), REF (PO, IV, CN = Condition / cause), MEA.
  • CauseNTE or a code in REF*CN.
  • SummaryCTT, SE.

Common pitfalls

  • RMA Number required before return: most suppliers reject a return without an RMA Number referenced in the B4 loop — issue the 180 and wait for the RMA Number before shipping.
  • Return window: each supplier defines a window (often 30–90 days after invoice); check DTM against the original invoice.
  • Structured cause: avoid free text alone; use REF codes or a negotiated code list to allow aggregate reporting.

Documentation

The code 180 and the name Return Merchandise Authorization and Notification are public and listed on x12.org/products/transaction-sets.