Skip to content
EDI 842 — EDI TransactionPublished Nov 7, 2026

EDI 842 Nonconformance Report: Quality Guide

EDI 842 explained: how manufacturers report supplier defects, the BNR, HL, NCD and NCA segments, status and action codes, and a live example.

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:

  1. Detection. The plant finds a defect at receiving, in production or in a customer return.
  2. Containment. Suspect stock is quarantined. The plant may sort its inventory, and may ask the supplier to sort stock in transit.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

Live exampleAutomotive OEM plant (fictional)EDI 842

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)

1
ISA*00* *00* *ZZ*NORTHFIELDAXLE *ZZ*BRAMBLEPREC *261105*0930*U*00401*000000842*0*P*:~
2
GS*NC*NORTHFIELDAXLE*BRAMBLEPREC*20261105*0930*842*X*004010~
3
ST*842*0001~
4
BNR*00*NCR-26-01187*20261105*0930*OC~
5
REF*PO*5500321876~
6
DTM*050*20261104~
7
N1*BY*NORTHFIELD AXLE ASSEMBLY*92*NAP02~
8
PER*IC*R KOWALSKI*TE*5555550188~
9
N1*SU*BRAMBLE PRECISION STAMPING*92*V40217~
10
HL*1**I~
11
LIN**BP*7731-4402-A*EC*C~
12
PID*F****FRONT MOUNTING BRACKET~
13
REF*SI*ASN-889102~
14
NCD*52*5*1****MOUNTING HOLE POSITION OUT OF TOLERANCE~
15
NTE*GEN*240 OF 2400 PCS ON ASN-889102 FAILED GAUGE CHECK~
16
MEA*TR**10.6*MM*9.8*10.2~
17
NCA*1*RT**240*EA~
18
NCA*2*RS*SUPPLIER TO SUBMIT CAUSE AND CORRECTIVE ACTION REPORT~
19
SE*17*0001~
20
GE*1*842~
21
IEA*1*000000842~

Human-Readable

Interchange

Sender ID(ZZ)NORTHFIELDAXLE
Receiver ID(ZZ)BRAMBLEPREC
Date261105
Time0930
Standards IDU
Version00401
Control Number000000842
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDNCNC
SenderNORTHFIELDAXLE
ReceiverBRAMBLEPREC
Date20261105
Time0930
Control Number842
Agency CodeX
Version004010
Transactions1
Reported Transaction Count (GE01)1

Transaction 842

Nonconformance Report
Transaction Type842
Control Number0001
Segments, ST to SE17
Count in SE0117 (matches)

Segment Detail

BNRBeginning Segment for Nonconformance Report
BNR01Transaction Set Purpose Code00
BNR02Nonconformance Report NumberNCR-26-01187
BNR03Date20261105
BNR04Time0930
BNR05Nonconformance Report Status CodeOC
REFReference Identification
REF01QualifierPO
REF02Reference ID5500321876
DTMDate/Time Reference
DTM01Date Qualifier050
DTM02Date20261104
N1Party Identification
N101Entity CodeBY
N102NameNORTHFIELD AXLE ASSEMBLY
N103ID Qualifier92
N104ID CodeNAP02
PERAdministrative Communications Contact
PER01Contact FunctionIC
PER02NameR KOWALSKI
PER03Comm QualifierTE
PER04Comm Number5555550188
N1Party Identification
N101Entity CodeSU
N102NameBRAMBLE PRECISION STAMPING
N103ID Qualifier92
N104ID CodeV40217
HLHierarchical Level
HL01Hierarchical ID1
HL03Level CodeI
LINItem Identification
LIN02ID QualifierBP
LIN03Product ID7731-4402-A
LIN04ID QualifierEC
LIN05Product IDC
PIDProduct/Item Description
PID01Description TypeF
PID05DescriptionFRONT MOUNTING BRACKET
REFReference Identification
REF01QualifierSI
REF02Reference IDASN-889102
NCDNonconformance Description
NCD01Measurement Attribute Code52
NCD02Nonconformance Determination Code5
NCD03Assigned Identification1
NCD07DescriptionMOUNTING HOLE POSITION OUT OF TOLERANCE
NTENote/Special Instruction
NTE01Note TypeGEN
NTE02Note240 OF 2400 PCS ON ASN-889102 FAILED GAUGE CHECK
MEAMeasurements
MEA01Measurement Reference ID CodeTR
MEA03Measurement Value10.6
MEA04Unit of MeasureMM
MEA05Range Minimum9.8
MEA06Range Maximum10.2
NCANonconformance Action
NCA01Assigned Identification1
NCA02Nonconformance Resultant Response CodeRT
NCA04Quantity240
NCA05Unit of MeasureEA
NCANonconformance Action
NCA01Assigned Identification2
NCA02Nonconformance Resultant Response CodeRS
NCA03DescriptionSUPPLIER TO SUBMIT CAUSE AND CORRECTIVE ACTION REPORT
1 functional group1 transactionControl #000000842Valid

842 Structure at a Glance

AreaSegmentNameUsageNotes
HeaderSTTransaction Set HeaderMandatoryST01 = 842
HeaderBNRBeginning Segment for Nonconformance ReportMandatoryPurpose, report number, date, time, status
HeaderREFReference IdentificationOptionalPurchase order, contract, supplier's references
HeaderDTMDate/Time ReferenceOptionalDate found, date received
Header loopsMEA / PWKMeasurements and paperworkOptionalReport-level measurements, attached paperwork references
Header loopN1 / N3 / N4 / REF / PERPartiesOptionalReporting plant, supplier, contacts
Detail loopHLHierarchical LevelMandatory, repeatsOne level per part (or shipment, or lot) being reported
HL loopLIN / PIDItem identification and descriptionOptionalPart number, revision, lot or serial
HL loopREF / DTM / QTYItem references, dates and quantitiesOptionalASN or shipment ID, quantities received or inspected
HL loopMEA / SPS / STAMeasurements and samplingOptionalInspection data and sampling plan
NCD loopNCDNonconformance DescriptionOptional, repeatsOne per defect
NCD loopNTE / QTY / AMT / MEA / RCDefect detailOptionalNotes, defective quantity, cost, measured value, root cause
NCD loopEFI / BINAttached fileOptionalPhotos or drawings embedded in the transaction
NCA loopNCANonconformance ActionOptional, repeatsEach action requested or taken
SummarySETransaction Set TrailerMandatorySegment 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~
ElementNameExampleWhat it means
BNR01Transaction Set Purpose Code0000 = original. Updates use the purpose codes in the customer's guide
BNR02Reference IdentificationNCR-26-01187The nonconformance report number. Every reply and update references it
BNR03Date20261105Date the report was created
BNR04Time0930Time the report was created
BNR05Nonconformance Report Status CodeOCWhere the report stands (see below)
BNR06Transaction Type CodeFurther classifies the report, when the guide uses it

BNR05 status codes

CodeMeaning (X12)
OCOpen, waiting for cause and corrective action report
ODOpen, waiting for authorization for material disposition
OIOpen, waiting for cause and corrective action implementation
OSOpen, waiting for supplier feedback
OTOpen, waiting for additional test data
RVRevised
REReopened
FIFinal
CLClosed

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~
ElementNameExampleWhat it means
NCD01Measurement Attribute Code52A coded assessment. 52 = non-conforming, 22 = fail, 14 = no good
NCD02Nonconformance Determination Code5What the deviation was from (see below)
NCD03Assigned Identification1Defect number within the report
NCD04Product/Process Characteristic CodeThe class of characteristic, such as visual or mechanical
NCD05 / NCD06Agency Qualifier and Product Description CodeA defect code from an industry or customer code list
NCD07DescriptionMOUNTING HOLE POSITION OUT OF TOLERANCEFree-text defect description

At least one of NCD01 and NCD02 is required. NCD02 codes say what kind of requirement was missed:

CodeNonconformance resulted from deviation from...
1Order specifications or requirements
2Shipment specifications or requirements
3Billing specifications or requirements
4Receipt specifications or requirements
5Acceptable 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~
ElementNameExampleWhat it means
NCA01Assigned Identification1Action number
NCA02Nonconformance Resultant Response CodeRTThe action (see below)
NCA03DescriptionFree text, required when NCA02 is not sent
NCA04Quantity240How many pieces the action covers
NCA05Unit of MeasureEAUnit for NCA04. If either is sent, both are
CodeAction (X12)
RTReturn
SCScrap
RWRework
RPRepair
UAUse as is
CAConditional use, as is
RJReject
HEHold exhibit
INInvestigate deficiency
RQRequest for disposition
RSResponse requirements follow
FRFollow-up report request
REReevaluate
PPrepare claim
UCOther 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

DocumentSent byWhat it reports
842 Nonconformance ReportUsually the customerA part or material that failed a requirement, and the action required
863 Report of Test ResultsSupplierTest results for a lot, such as a certificate of analysis
861 Receiving AdviceCustomerWhat was received, including quantities rejected at the dock
824 Application AdviceReceiverA document that failed business validation, not a physical defect
997 Functional AcknowledgmentReceiverThat 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

ErrorWhat happensPrevention
Report not linked to a shipment or lotSupplier cannot find the affected stock to contain itAlways send the ASN, lot or serial reference in the HL loop
Engineering change level missingDefect investigated against the wrong drawing revisionSend the revision in LIN with the part number
Free-text defect onlyCannot trend defects across reportsUse the customer's defect code list in NCD05/NCD06 where it has one
Quantity without a unit in NCASyntax errorSend NCA04 and NCA05 together
Updates sent with a new report numberTwo open reports for one problemKeep BNR02 constant and change the status in BNR05
Status changes not processedSupplier keeps working a closed report, or misses a reopened oneRead BNR05 on every inbound 842 and update your record
842 routed to the order deskQuality team never sees it; response deadline missedRoute GS NC groups straight to quality
No 997 sent backCustomer cannot prove you received the reportAcknowledge 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 BNR05 status codes to the states in your corrective action system
  • Map NCA02 actions 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 LIN match your item master
  • Route GS01 = NC groups 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.

James Darby
Last updated: 11/7/2026

Related Resources