EDI 180 Return Merchandise Authorization and Notification Workflow
For edi and integration analysts, it leads at shippers, 3pls and carriers · Understand the problem

EDI 180 Return Merchandise Authorization and Notification Workflow: Illustrative TMS–ERP order and invoice handoff review beside a warehouse floor; not a client facility.
Quick answer: edi 180 return merchandise authorization
The EDI 180 is the X12 transaction set a retailer uses to request a return and a vendor uses to authorize, deny or direct it. Each BLI line carries an RDR segment: a request reason such as DM for defective, a disposition such as RA for return with an RMA number, or a refusal such as RT.
TL;DR — what you’ll learn
- One 180 format carries four messages: a return request, the vendor's authorization or disposition, a notice that goods were returned, and a consumer return report, told apart by BGN01 codes such as 13 Request and 11 Response.
- RDR01 holds 14 disposition codes, RDR02 holds 29 request reasons and RDR03 holds 14 response reasons; a line may carry RDR02 or RDR03, never both.
- The RMA number travels in N9 with qualifier QJ or RZ and must match the dock receipt before credit; a 2-unit short receipt on a 96-unit RMA should hold $37 of credit.
- In India, a supplier's GST credit note for returned goods must be declared by 30 November after the year-end, and from 1 October 2025 output tax falls only after the buyer reverses its credit.
Topics: edi 180 return merchandise authorization · x12 180 transaction set · rma number edi · return disposition code · return credit timing
All quantities, amounts, product codes and events are illustrative teaching examples.
A store returns team sends 120 defective kettles back to the vendor's returns centre with a handwritten RMA number on the pallet label. The vendor had authorized only 96 units for return and told the retailer to keep the rest against an allowance, but that answer sat in an email thread. The dock receives 120, the credit team issues credit for 96, the retailer deducts 120 from the next payment, and three departments spend a month arguing over 24 kettles nobody wanted.
The X12 180 exists to stop that argument. It carries the return request, the vendor's line-by-line answer and the notice that goods were shipped back, all with coded reasons, dispositions and reference numbers a warehouse scanner and a receivables system can both read. When the 180 is mapped well, the RMA on the label, the count at the door and the credit amount all trace to the same authorized line.
- What this guide covers: the four uses of the 180, its header and BLI line segments, the three RDR code lists, matching an RMA at the dock, return accounting, and India's GST credit note and e-way bill rules for returned goods.
- What it adds: a request and response payload pair, a costed return in dollars and rupees, an incident trace, and a partner onboarding checklist.
One 180 format, four messages from return request to consumer return
The 180 is a single format used in both directions, and the purpose code in BGN01 tells the receiver which message it is reading. X12 describes the set as covering a request for return, the authorization or disposition of a return, notification of return and notification of a consumer return.
In practice a retailer or distributor sends a request, the vendor answers with dispositions per line, and the returning party may later send a notice once goods have shipped. A consumer-return notice is different again: it reports that a shopper sent an item straight to the manufacturer, which matters when the retailer still expects a credit or a replacement for that unit.
Scroll horizontally to see all columns.
| Message | Usual sender | BGN01 purpose code | Line-level coding | Typical trigger |
|---|---|---|---|---|
| Return request | Retailer, distributor or 3PL acting for the buyer | 13 Request | RDR02 return request reason | Defective, damaged, excess or recalled stock found |
| Authorization or disposition | Vendor | 11 Response | RDR01 disposition and, where refused or paused, RDR03 response reason | Vendor reviews the request |
| Return notification | Returning party | 00 Original (partner-defined) | BLI quantities shipped against each RMA | Goods leave the store or DC |
| Consumer return notification | Retailer or vendor | 00 Original (partner-defined) | RDR01 CR, consumer return to vendor | Shopper returned direct to manufacturer |
Our return-to-vendor deduction blueprint looks at matching RTV deductions against dock counts using 856 and 810 data. This article sits one step earlier: it explains the 180 itself, segment by segment, so the authorization that later justifies a deduction is captured in a structured message instead of an inbox.
Header segments that identify the return and the original order
The 180 heading holds the identifiers everyone downstream will search on: the request or RMA number, the purchase order the goods came from, the parties and the dates. In version 004010 only ST and BGN are mandatory in the heading; everything else is optional, which is why partner guides must say which optional segments they require.
- BGN beginning segment: BGN01 purpose code, BGN02 the sender's reference such as the request number, BGN03 date, and BGN06 a second reference that a vendor response often uses to quote the original request.
- PRF purchase order reference: ties the return to the purchase order on which the goods were bought, which credit teams need to find the original price.
- DTM date reference: up to ten dates in the heading; partners often use 097 for creation and agree a qualifier such as 036 for the RMA expiry.
- N9 reference identification: carries the RMA number, most often with qualifier QJ, Return Material Authorization Number, or RZ, Returned Goods Authorization Number.
- N1 loop: buyer, seller and the return-to address, with N3 and N4 for street and geography so labels print the right destination.
- TD5 and TD1 carrier details: optional routing and weight for vendors that dictate the return carrier or pay the freight.
BLI item lines: product IDs, quantity and the reason for each unit
Every returned item is a BLI loop, and the BLI segment carries up to four product identifiers, the quantity and the unit of measure. The reason or disposition for that line sits in the RDR segment inside the same loop, so a single message can return defective units, refuse excess stock and authorize recalled goods side by side.
BLI01 and BLI02 are the mandatory first qualifier and identifier, such as a UPC, with BLI08 to BLI13 offering three more pairs for a vendor item number or SKU. BLI03 is quantity and BLI04 the unit. If BLI05 or BLI06 is present the other is required, so a unit price cannot be sent without its price identifier code.
Request from retailer (BGN01 13) and vendor response (BGN01 11), X12 004010 180
ST*180*0001~
BGN*13*RR2611030042*20261103*0915~
PRF*4500918812~
DTM*097*20261103~
N1*BY*NORTHGATE HOME STORES*92*0412~
N1*SE*BRIGHTLINE HOUSEWARES*92*BHW77~
BLI*UP*012345678905*120*EA~
RDR**DM***N~
SE*9*0001~
ST*180*0002~
BGN*11*RMA55821*20261104*1130**RR2611030042~
PRF*4500918812~
DTM*036*20261204~
N9*QJ*RMA55821~
N1*ST*BRIGHTLINE RETURNS DC*92*RDC02~
BLI*UP*012345678905*96*EA~
RDR*RA~
BLI*UP*012345678905*24*EA~
RDR*KA~
SE*11*0002~
Notes: RDR02 DM = defective merchandise found on inspection; RDR05 N = not used.
RDR01 RA = return with authorization number; KA = keep with an allowance.
DTM 036 used here for RMA expiry by partner agreement. ISA/GS envelopes omitted.
The pair shows the split that caused the kettle dispute. The retailer asked to return 120; the vendor authorized 96 with RMA55821 and told the store to keep 24 against an allowance. Both answers are in one structured message, so the warehouse label can print 96, not 120.
Disposition codes decide whether goods move, stay or get destroyed
RDR01 is the most consequential element in the 180 because it decides whether a truck is booked at all. Of its 14 codes in version 004010, several mean no freight should move: keep with an allowance, keep and repair, dispose, or request denied. A translator that ignores RDR01 and prints labels for every line wastes freight and creates unauthorized receipts.
Scroll horizontally to see all columns.
| RDR01 code | Meaning | Freight booked | Warehouse action | Credit basis |
|---|---|---|---|---|
| RA | Return with authorization number | Yes, to the address in N1 | Pick, label with RMA, ship | Units received against the RMA |
| RN | Return without authorization number | Yes | Ship with PO and request reference | Units received, matched by PO |
| RF | Return for factory repair | Yes, to repair centre | Ship to the authorized repair site | Repair or replacement terms |
| KA | Keep with an allowance | No | Release to sale or markdown | Allowance agreed per unit |
| KR | Keep and repair | No | Repair locally | Agreed repair amount |
| DI | Dispose | No | Destroy and keep destruction evidence | Full or agreed credit on proof |
| SD or SC | Ship to third party for disposal or charity | Yes, to the named third party | Ship and keep receipt from third party | Credit on third-party receipt |
| RP | Return authorization pending | No | Hold in returns cage | None yet |
| RD | Request denied | No | Return to stock or customer | None |
EDI 180 return workflows in X12 version 004010 encode the vendor decision in RDR01, where 14 disposition codes separate shipped returns such as RA from keep-in-place outcomes such as KA, KR and DI, so a warehouse management system should book freight only for the shipping codes listed in the partner's implementation guide.
Response reason codes a vendor uses to deny or hold a request
When a vendor refuses or pauses a line, RDR03 says why, and that code should drive the next action automatically. Version 004010 lists 14 response reasons, from more information requested to return time limit exceeded. A line may carry RDR02 or RDR03, never both, so the request reason and the vendor's reply sit in separate messages.
- MI more information: route the line back to the store or DC with a task to supply the missing detail before the request expires.
- PR picture requested: attach photos to the case; the authorization stays pending until the vendor reviews them.
- SR sample requested: ship one unit under a sample reference, keep the rest on hold.
- RT time limit exceeded: stop the claim and move the goods to markdown or disposal under the buyer's own policy.
- QD quantity difference: reconcile the requested count with invoiced quantity before resubmitting.
- NR no record of sale: check the PRF purchase order; the item may have been bought from another supplier.
Request reasons in RDR02 deserve the same care on the way out. The list has 29 codes, and the difference between DM, defective on inspection at the selling unit, DR, defective reported by the consumer, and DT, damaged in transit, decides who pays. A DT line points at the inbound carrier, not the vendor, and often belongs in a freight claim instead of a return.
Matching the authorized RMA at the receiving door
The vendor's returns centre should receive only what the 180 authorized, and it should know that before the trailer is opened. Load the authorized lines as expected receipts keyed by RMA, scan the RMA label at the door, and treat any unit without a matching authorized line as an exception rather than a receipt.
That control fails in predictable ways. The trace below follows the kettle return when the 180 response existed but was never loaded as an expected receipt, so the dock received against the PO alone.
- 04 Nov 11:30, response sent: vendor 180 BGN11 RMA55821 authorizes 96 units RA and 24 units KA; the translator posts it to a returns mailbox instead of creating an expected receipt.
- 10 Nov 15:45, store ships: the store builds pallet P-0412-0091 with all 120 units, labels it RMA55821 by hand and books carrier PRO 778-302915.
- 13 Nov 08:20, dock receipt: the returns centre receives 118 units against PO 4500918812 in transaction RCV-2611-4410; 2 units are missing and 22 units arrive that were never authorized.
- 14 Nov 10:05, credit posted: receivables issues credit memo CM-88214 for 96 units from the RMA, ignoring the receipt; the retailer separately deducts 120 units on remittance 0007712.
- 21 Nov 16:30, dispute opened: collections opens case D-5520 for 24 units; with expected receipts loaded, the dock would have refused 22 units at the door and held credit on the 2-unit shortage.
Scroll horizontally to see all columns.
| Record | Where it is held | Owner | Sign-off before release |
|---|---|---|---|
| Return request and reasons | Buyer's returns or OMS module, sent as 180 BGN13 | Store or DC returns lead | Buyer's returns manager |
| Disposition and RMA number | Vendor ERP returns module, sent as 180 BGN11 | Vendor customer service | Vendor returns authorization analyst |
| Expected receipt by RMA | Vendor WMS inbound plan | Returns centre supervisor | Automatic on load of the 180 response |
| Received count and condition | WMS receipt transaction | Dock receiving team | Returns centre supervisor for exceptions |
| Credit memo or adjustment | Vendor receivables, often sent as 812 | Credit analyst | Credit manager above the agreed threshold |
Once a credit is decided, many partners send it as an 812 credit or debit adjustment that quotes the RMA. Our guide to the EDI 812 credit and debit adjustment covers that message and the deduction disputes around it.
Credit timing and return accounting under ASC 606 and Ind AS 115
Return credits should follow received units, while the expected cost of returns belongs in the books from the original sale. Under ASC 606-10-55-23 and Ind AS 115 paragraph B21, a seller that grants a right of return recognises revenue only for consideration it expects to keep, a refund liability for the rest, and an asset for the right to recover the goods.
The 180 helps the estimate as well as the posting. Disposition history by reason code shows how many requested units are actually authorized, how many are kept with allowances and how many are refused, which feeds the expected-return rate. ASC 606-10-55-28 also matters: exchanges of one product for another of the same type, quality, condition and price are not treated as returns, so size or colour swaps should not inflate the refund liability.
Scroll horizontally to see all columns.
| Line | US vendor ($) | India supplier (₹) | Basis |
|---|---|---|---|
| Units requested | 120 | 120 | 180 BGN13, RDR02 DM |
| Units authorized RA / KA | 96 / 24 | 96 / 24 | 180 BGN11, RDR01 |
| Unit price on original invoice | 18.50 | 1,450.00 | PRF purchase order and invoice |
| Units received against RMA | 94 | 94 | WMS receipt |
| Return credit, received units | 94 × 18.50 = 1,739.00 | 94 × 1,450 = 1,36,300.00 | Received, not authorized, count |
| GST on return credit note | Not applicable | 18% illustrative = 24,534.00 | CGST Act Section 34 credit note |
| Keep-with-allowance at 30% | 24 × 18.50 × 0.30 = 133.20 | 24 × 1,450 × 0.30 = 10,440.00 | Financial credit; tax treatment confirmed by adviser |
| Total credit issued | 1,872.20 | 1,71,274.00 | Return credit + tax + allowance |
| Held pending shortage claim (2 units) | 37.00 | 2,900.00 + GST 522.00 | Authorized but not received |
Return credits issued from an EDI 180 authorization should follow the warehouse receipt count, not the RMA quantity, so a 96-unit RMA with 94 units received at $18.50 produces a $1,739.00 return credit and a $37.00 hold, consistent with refund liability measurement under ASC 606-10-55-23.
India: return e-way bills and Section 34 credit note deadlines
An Indian return needs two GST documents the 180 does not create on its own: an e-way bill for the movement and, usually, the supplier's credit note. Both have hard rules, so the 180 response and the receipt should trigger them rather than leaving them to month-end.
CGST Rule 138(1) requires an e-way bill when a registered person causes movement of goods with consignment value above fifty thousand rupees, whether in relation to a supply or for reasons other than supply. In the example, 96 units at ₹1,450 plus tax exceed that value, so Part A must be filed before the truck leaves. How the return is documented, by delivery challan or by the buyer's own invoice, is covered in our guide to delivery challans under Rule 55.
- Credit note trigger: Section 34(1) of the CGST Act lets the supplier issue credit notes where goods supplied are returned by the recipient.
- Declaration deadline: the credit note goes in the return for the month of issue, and no later than 30 November after the end of the financial year of supply or the annual return date, whichever is earlier.
- Recipient reversal: under the proviso substituted from 1 October 2025, the supplier's output tax is not reduced unless the registered recipient has reversed the input tax credit attributable to the credit note.
- Cut-off risk: a March sale returned after the following November cannot carry a GST credit note at all, so long return cycles need a different commercial settlement.
Indian supplier credit notes for goods returned under an EDI 180 authorization must be declared by 30 November after the financial year of supply under CGST Act Section 34(2), and from 1 October 2025 output tax falls only after the recipient reverses the matching input tax credit.
Translator rules that reject a bad 180 before a pallet is built
Most return disputes start with a 180 that was syntactically valid but commercially incomplete. A translator and the returns module can reject those messages on arrival with fixed rules, and a 997 or 999 acknowledgement tells the sender at once. Human review is needed only where the content requires judgement, such as photos or condition notes.
Scroll horizontally to see all columns.
| Check | Fixed rule | Where software only assists | Owner of the decision |
|---|---|---|---|
| BGN01 code allowed for this partner and direction | Reject 13 from a vendor or 11 from a buyer | None needed | Translator |
| RDR02 and RDR03 both present on one line | Reject: syntax allows only one | None needed | Translator |
| PRF purchase order exists and covers the UPC | Reject or hold the line if PO or item is unknown | Suggests likely PO from sales history when PRF is missing | Returns analyst |
| Request quantity against invoiced quantity | Hold if requested exceeds invoiced less prior returns | None needed | Returns module |
| Reading a store's damage photo for a DM or DT reason | Photo attachment required for agreed reason codes | Image model flags crushed cartons that suggest transit damage | Vendor returns analyst |
| Judging free-text RDR04 condition notes | Length and character checks only | Text summary highlights words such as leaking or burnt | Product quality engineer |
| Expected receipt created for every RA, RN or RF line | Block label printing until the expected receipt exists | None needed | WMS |
Acknowledgements should be returned within the partner's agreed window so the sender knows the request is valid before staff build a pallet. Our guide to the 997 functional acknowledgment explains how to read accepted and rejected group responses.
Partner onboarding checklist for a first 180 exchange
Onboarding a 180 partner is mostly agreement on optional segments and codes, followed by tests that prove the warehouse and credit steps react correctly. Write the agreements into the implementation guide before testing, because a missing qualifier discovered in production means returns arrive with no RMA to match.
Scroll horizontally to see all columns.
| Item | What to agree or test | Done when |
|---|---|---|
| Message directions | Which BGN01 codes each side sends | Guide lists 13, 11 and any notice code with examples |
| RMA reference | N9 qualifier QJ or RZ, heading or line level | Label template prints the same value the WMS scans |
| Reason and disposition lists | Subset of RDR01, RDR02 and RDR03 codes honoured | Unlisted codes rejected in test |
| Expiry and dates | DTM qualifier for RMA expiry and request date | Expired RMA blocks receipt in test |
| Product identifiers | BLI01 qualifier, extra ID pairs | Every test UPC resolves to one item |
| Freight terms | Who books and pays; TD5 usage | Return freight cost lands on the right party |
| Credit message | 812, remittance or invoice adjustment | Credit cites the RMA and received count |
| India legs, if any | E-way bill trigger and credit note timing | Test return above ₹50,000 generates Part A |
| Acknowledgement | 997 or 999, timing | Rejected test message returns an error within the window |
A well-mapped 180 turns returns from an email negotiation into a sequence the dock, credit team and tax team can each verify. The wider logistics and supply chain library covers the receipt, deduction and settlement steps around it. If you are planning EDI or returns software work and want a view on scope and effort, share your requirements and we will respond with a proposed approach.
Discuss this workflow
Describe your current systems, the recurring exception and the outcome you need. Keep shipment, customer and financial records out of the initial message.
Common operational questions
Practical answers for operations, engineering, and finance teams working on edi 180 return merchandise authorization in logistics & supply chain.
Which X12 document carries the money for a return, the 180 or the 812?
What does RDR05 mean on an EDI 180 line?
Where should the RMA number go in an X12 180?
Does a return of goods in India need an e-way bill?
References
Sources checked 13 November 2026. US and India statutory authorities and vendor documentation support platform facts; the worked examples and diagrams are original.
- X12 - Transaction set 180, Return Merchandise Authorization and Notification (product catalogue entry)Purpose statement confirming request, authorization or disposition, notification of return and notification of consumer return. Accessed 13 November 2026.
- Stedi - X12 004010 180 segment structure and element code lists (BGN, BLI, RDR, elements 128, 353, 374, 1292, 1293, 1294)Secondary reference publishing the X12 004010 dictionary; the official X12 standard is licensed. Segment positions and code meanings checked here. Accessed 13 November 2026.
- CBIC - Central Goods and Services Tax Act, 2017, Section 34 (credit and debit notes)30 November declaration limit from 1 October 2022 and the proviso substituted from 1 October 2025 on recipient credit reversal. Accessed 13 November 2026.
- CBIC - Central Goods and Services Tax Rules, 2017, Rule 138 (e-way bill)Sub-rule (1): consignment value exceeding fifty thousand rupees, for supply or for reasons other than supply. Accessed 13 November 2026.
- FASB - Accounting Standards Codification 606-10-55-23 and 55-28 (sale with a right of return; exchanges)Codification requires sign-in; paragraph content checked against the excerpts in PwC Viewpoint, Revenue from contracts with customers, section 8.2. Accessed 13 November 2026.
- PwC Viewpoint - Revenue guide, 8.2 Rights of return (US)Reproduces ASC 606-10-55-23 and 55-28 and explains the refund liability and return asset. Accessed 13 November 2026.
- Ministry of Corporate Affairs - Ind AS 115 Revenue from Contracts with Customers, paragraphs B20 to B27Sale with a right of return guidance; paragraph range and B21 mechanics checked against ICAI WIRC study material because the MCA site blocks automated access. Accessed 13 November 2026.
- FMCSA — 49 CFR Part 395 Hours of Service & Electronic Logging Devices (ELD)US federal motor carrier dispatch and driver duty-status compliance mandate.
- ULIP & NIC GST E-Way Bill Portal — Unified Logistics & Rule 138 ComplianceIndian statutory goods-in-transit and multi-modal logistics verification framework.