The EDI 842 is the supplier quality complaint, sent as data. When a receiving inspector or a line operator finds a bracket with a hole in the wrong place, the plant raises a nonconformance report. In many supply chains that report still goes out as an email with a PDF form, and the supplier's quality engineer retypes it into their own system. The 842 sends the part number, shipment, defect, measurement and required action in a structure both quality systems can file and track.
This guide covers what the 842 carries, how it fits a supplier corrective action process, every segment you will map, a live example from a fictional automotive plant, the status and disposition codes, and the mistakes that leave reports unresolved.
What Is an EDI 842?
An EDI 842 is the Nonconformance Report transaction set defined by ASC X12, used to report the nonconformance of an item to an established specification or requirement, and the actions taken or requested. Its functional group code in GS01 is NC. The header opens with a BNR segment, and the detail is built from hierarchical HL loops, so a single 842 can describe several parts or several defects on one part.
Authoritative references for 842 work:
- The X12 transaction set catalog defines the 842 and its segment order
- The Stedi 004010 842 reference lists every loop, including the NCD (nonconformance description), NCA (nonconformance action), RC (root cause) and EFI/BIN (attached file) structures
- The code lists for report status, nonconformance determination and resultant action are X12 elements 886, 888 and 887, listed on the Stedi element reference
- The customer's own supplier quality manual governs what triggers a report, which fields are required, and how fast the supplier must respond
Who sends it? Usually the customer: the manufacturing plant, its receiving inspection, or its supplier quality team. Some suppliers also send 842s to their customers or to their own sub-tier suppliers.
Who receives it? The supplier's quality team, ideally straight into its corrective action system.
When is it sent? When a nonconformance is found, at receiving inspection, on the line, or in the field, and again when the report's status changes.
Why does it matter? A nonconformance usually starts a clock. The customer contains the suspect stock, and the supplier is expected to respond with containment, root cause and corrective action within the time its customer's quality manual sets. Reports that sit in an inbox can turn into a supplier scorecard hit or a debit for sorting and scrap costs.
How a Nonconformance Report Moves
A typical automotive or aerospace cycle:
- Detection. The plant finds a defect at receiving, in production or in a customer return.
- Containment. Suspect stock is quarantined. The plant may sort its inventory, and may ask the supplier to sort stock in transit.
- 842 sent. The plant reports the part, the shipment or lot, what was wrong, how many pieces are affected, and what it wants: return, scrap, use as is, rework, or a cause and corrective action report.
- Supplier response. The supplier contains its own stock, investigates, and replies through the customer's process. Many customers use a structured problem-solving format such as an 8D report, sent through a portal or a follow-up 842.
- Disposition. Rejected material is returned, scrapped or reworked. Returns often move with a separate return authorization and, in some supply chains, a 180 return merchandise authorization.
- Closure. When the corrective action is verified, the report status moves to closed.
The BNR05 status code tracks where a report sits in this cycle, from open and waiting for a corrective action report to final or closed.
Interactive Example: Automotive Nonconformance Report (842)
A fictional axle assembly plant receives 2,400 front mounting brackets from a fictional stamping supplier. Receiving inspection finds 240 with the mounting hole out of tolerance: measured at 10.6 mm against a 9.8 to 10.2 mm limit. The 842 carries report number NCR-26-01187 with status OC (open, waiting for a cause and corrective action report), the part and its engineering change level, the ASN reference, the defect description and measurement in the NCD loop, and two NCA actions: return the 240 pieces, and send a corrective action report.
Use the Plain English tab for a readable summary, or click any segment to break it down element by element.
Automotive Nonconformance Report (842)
A fictional axle assembly plant reports a supplier nonconformance: BNR status OC (waiting for a cause and corrective action report), the part and engineering change level in LIN, the ASN reference, an NCD defect description with the out-of-tolerance measurement, and NCA actions to return 240 pieces and respond with corrective action.
- Document
- 842 Nonconformance Report
- From / to
- NORTHFIELDAXLE → BRAMBLEPREC
- Segments
- 21
- Interchange date
- Nov 5, 2026
Raw EDI (X12)
Human-Readable
Interchange
Functional Group
Transaction 842
Nonconformance ReportSegment Detail
842 Structure at a Glance
| Area | Segment | Name | Usage | Notes |
|---|---|---|---|---|
| Header | ST | Transaction Set Header | Mandatory | ST01 = 842 |
| Header | BNR | Beginning Segment for Nonconformance Report | Mandatory | Purpose, report number, date, time, status |
| Header | REF | Reference Identification | Optional | Purchase order, contract, supplier's references |
| Header | DTM | Date/Time Reference | Optional | Date found, date received |
| Header loops | MEA / PWK | Measurements and paperwork | Optional | Report-level measurements, attached paperwork references |
| Header loop | N1 / N3 / N4 / REF / PER | Parties | Optional | Reporting plant, supplier, contacts |
| Detail loop | HL | Hierarchical Level | Mandatory, repeats | One level per part (or shipment, or lot) being reported |
| HL loop | LIN / PID | Item identification and description | Optional | Part number, revision, lot or serial |
| HL loop | REF / DTM / QTY | Item references, dates and quantities | Optional | ASN or shipment ID, quantities received or inspected |
| HL loop | MEA / SPS / STA | Measurements and sampling | Optional | Inspection data and sampling plan |
| NCD loop | NCD | Nonconformance Description | Optional, repeats | One per defect |
| NCD loop | NTE / QTY / AMT / MEA / RC | Defect detail | Optional | Notes, defective quantity, cost, measured value, root cause |
| NCD loop | EFI / BIN | Attached file | Optional | Photos or drawings embedded in the transaction |
| NCA loop | NCA | Nonconformance Action | Optional, repeats | Each action requested or taken |
| Summary | SE | Transaction Set Trailer | Mandatory | Segment count and control number |
Customer guides use a fraction of this. Read the guide to see which levels, quantities and actions it sends, and which it expects back.
Key Segments Explained
BNR: Beginning Segment for Nonconformance Report
BNR*00*NCR-26-01187*20261105*0930*OC~
| Element | Name | Example | What it means |
|---|---|---|---|
| BNR01 | Transaction Set Purpose Code | 00 | 00 = original. Updates use the purpose codes in the customer's guide |
| BNR02 | Reference Identification | NCR-26-01187 | The nonconformance report number. Every reply and update references it |
| BNR03 | Date | 20261105 | Date the report was created |
| BNR04 | Time | 0930 | Time the report was created |
| BNR05 | Nonconformance Report Status Code | OC | Where the report stands (see below) |
| BNR06 | Transaction Type Code | Further classifies the report, when the guide uses it |
BNR05 status codes
| Code | Meaning (X12) |
|---|---|
OC | Open, waiting for cause and corrective action report |
OD | Open, waiting for authorization for material disposition |
OI | Open, waiting for cause and corrective action implementation |
OS | Open, waiting for supplier feedback |
OT | Open, waiting for additional test data |
RV | Revised |
RE | Reopened |
FI | Final |
CL | Closed |
Track the status per report number. An 842 with OC is asking you for something; an 842 with CL is telling you the matter is done.
HL and LIN: What Is Nonconforming
HL*1**I~
LIN**BP*7731-4402-A*EC*C~
PID*F****FRONT MOUNTING BRACKET~
REF*SI*ASN-889102~
HL*1**I opens an item level. LIN carries the part as qualifier and value pairs: BP is the buyer's part number and EC the engineering change level. The revision matters: a part made to revision B and inspected against revision C is a different conversation from a part made wrong. REF*SI is the shipper's identifying number, which ties the report to the ASN that delivered the stock. Some guides use lot (LT) or serial (SN) identifiers here too.
NCD: Nonconformance Description
NCD*52*5*1****MOUNTING HOLE POSITION OUT OF TOLERANCE~
| Element | Name | Example | What it means |
|---|---|---|---|
| NCD01 | Measurement Attribute Code | 52 | A coded assessment. 52 = non-conforming, 22 = fail, 14 = no good |
| NCD02 | Nonconformance Determination Code | 5 | What the deviation was from (see below) |
| NCD03 | Assigned Identification | 1 | Defect number within the report |
| NCD04 | Product/Process Characteristic Code | The class of characteristic, such as visual or mechanical | |
| NCD05 / NCD06 | Agency Qualifier and Product Description Code | A defect code from an industry or customer code list | |
| NCD07 | Description | MOUNTING HOLE POSITION OUT OF TOLERANCE | Free-text defect description |
At least one of NCD01 and NCD02 is required. NCD02 codes say what kind of requirement was missed:
| Code | Nonconformance resulted from deviation from... |
|---|---|
1 | Order specifications or requirements |
2 | Shipment specifications or requirements |
3 | Billing specifications or requirements |
4 | Receipt specifications or requirements |
5 | Acceptable specifications or requirements |
The segments inside the NCD loop add detail to that defect. In the example, NTE explains that 240 of 2,400 pieces failed the gauge check, and MEA*TR**10.6*MM*9.8*10.2 records the measured value against its limits. RC carries a root cause when one is known, and EFI with BIN can embed a photo or drawing, though many customers send images through a portal instead.
NCA: Nonconformance Action
NCA*1*RT**240*EA~
NCA*2*RS*SUPPLIER TO SUBMIT CAUSE AND CORRECTIVE ACTION REPORT~
| Element | Name | Example | What it means |
|---|---|---|---|
| NCA01 | Assigned Identification | 1 | Action number |
| NCA02 | Nonconformance Resultant Response Code | RT | The action (see below) |
| NCA03 | Description | Free text, required when NCA02 is not sent | |
| NCA04 | Quantity | 240 | How many pieces the action covers |
| NCA05 | Unit of Measure | EA | Unit for NCA04. If either is sent, both are |
| Code | Action (X12) |
|---|---|
RT | Return |
SC | Scrap |
RW | Rework |
RP | Repair |
UA | Use as is |
CA | Conditional use, as is |
RJ | Reject |
HE | Hold exhibit |
IN | Investigate deficiency |
RQ | Request for disposition |
RS | Response requirements follow |
FR | Follow-up report request |
RE | Reevaluate |
P | Prepare claim |
UC | Other action |
HE (hold exhibit) is worth noticing: it means the customer is keeping samples as evidence, so do not expect them back with the return. P (prepare claim) signals the customer intends to recover costs, which its supplier agreement governs.
842 vs 863, 861 and 824
| Document | Sent by | What it reports |
|---|---|---|
| 842 Nonconformance Report | Usually the customer | A part or material that failed a requirement, and the action required |
| 863 Report of Test Results | Supplier | Test results for a lot, such as a certificate of analysis |
| 861 Receiving Advice | Customer | What was received, including quantities rejected at the dock |
| 824 Application Advice | Receiver | A document that failed business validation, not a physical defect |
| 997 Functional Acknowledgment | Receiver | That a transaction arrived and was structurally valid |
The 863 says "here are the results for this lot." The 842 says "this lot or part did not meet the requirement, and here is what we need from you." The 861 may record that quantities were rejected, but it does not carry the defect, the measurement or the corrective action request.
Common 842 Errors and How to Prevent Them
| Error | What happens | Prevention |
|---|---|---|
| Report not linked to a shipment or lot | Supplier cannot find the affected stock to contain it | Always send the ASN, lot or serial reference in the HL loop |
| Engineering change level missing | Defect investigated against the wrong drawing revision | Send the revision in LIN with the part number |
| Free-text defect only | Cannot trend defects across reports | Use the customer's defect code list in NCD05/NCD06 where it has one |
Quantity without a unit in NCA | Syntax error | Send NCA04 and NCA05 together |
| Updates sent with a new report number | Two open reports for one problem | Keep BNR02 constant and change the status in BNR05 |
| Status changes not processed | Supplier keeps working a closed report, or misses a reopened one | Read BNR05 on every inbound 842 and update your record |
| 842 routed to the order desk | Quality team never sees it; response deadline missed | Route GS NC groups straight to quality |
| No 997 sent back | Customer cannot prove you received the report | Acknowledge every 842 |
842 Implementation Checklist
- Get the customer's 842 guide and its supplier quality manual
- Confirm whether you only receive 842s, or must also send them (for example, as status updates)
- Map
BNR05status codes to the states in your corrective action system - Map
NCA02actions to your disposition workflow: return, scrap, rework, use as is - Load the customer's defect code list, if it has one
- Make sure part numbers and revisions in
LINmatch your item master - Route
GS01=NCgroups to the quality team and send 997s - Agree how corrective action responses go back: follow-up 842, portal, or email
- Test an original report, a status update, a reopened report and a closed report
For more on X12 structure, see our essential guide to EDI and the EDI document types reference.
Where OrderSync Fits
OrderSync works on the order side of a manufacturer's EDI. It reads inbound purchase orders and releases in any format (EDI 850 and 830, PDF, email, spreadsheets), matches customers, parts and units to your item master, and outputs ERP data or valid X12. Parts suppliers can read more on EDI for automotive parts and EDI for contract manufacturing.
For the quality side, paste any 842 into the free EDI inspector to see the part, the defect, the measurement and the required actions explained in plain English. To see your own orders processed, book a 15-minute walkthrough.
Frequently Asked Questions
What is an EDI 842?
The EDI 842 is the X12 Nonconformance Report. A manufacturer sends it to tell a supplier that parts or material failed a requirement. It names the part and shipment, describes the defect and measurement, and states the action required, such as return, scrap or a corrective action report.
Who sends the EDI 842?
Usually the customer: the manufacturing plant, receiving inspection or supplier quality team that found the problem. Suppliers can also send 842s, for example to report status or to raise a nonconformance with their own sub-tier suppliers.
What industries use the EDI 842?
Automotive and aerospace manufacturers use it most, along with other manufacturers that run formal supplier quality programs and want defect reports in a structured format.
What is the NCD segment in an 842?
NCD is the Nonconformance Description. It identifies one defect: a coded assessment such as non-conforming, what kind of requirement was missed, a defect number, an optional defect code, and a free-text description. Segments inside its loop add notes, quantities, measurements and root cause.
What does NCA mean in an EDI 842?
NCA is the Nonconformance Action segment. NCA02 carries a code for the action, such as RT return, SC scrap, RW rework, UA use as is or RS response requirements follow, and NCA04 and NCA05 give the quantity and unit the action covers.
What does BNR05 OC mean?
OC is the status "Open, waiting for cause and corrective action report." The customer expects the supplier to investigate and respond with root cause and corrective action. Other status codes cover waiting for disposition authorization, waiting for test data, final and closed.
How is an 842 different from an 863?
The supplier sends the 863 to report test results for a lot, such as a certificate of analysis. The customer sends the 842 when a lot or part fails a requirement, to report the defect and request action.