X12 863 — Report of Test Results
The 863 transmits a structured report of quality or compliance test results from a manufacturer or laboratory to a customer or regulator.
Purpose
The 863 documents test results: material tests, dimensional inspections, environmental tests, lab analyses (chemical, microbiological). It carries sample identifier, applied method, measurements, units, accepted spec, and pass/fail status.
It is part of aerospace, automotive, food/beverage, and pharma quality programs. Acknowledged by 997; a NON-CONFORM 863 may trigger an 842 (Nonconformance Report) or a non-EDI CAR (Corrective Action Request).
Envelope structure
The 863 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group QT, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*ACMELAB *ZZ*CUSTOMERCO *260514*2100*U*00401*000000863*0*P*>~
GS*QT*ACMELAB*CUSTOMERCO*20260514*2100*1*X*004010~
ST*863*0001~
BGN*00*QT-2026-0042*20260514~
N1*SR*ACME LAB*24*EIN-LAB~
N1*CN*CUSTOMER CO*24*EIN-CUSTOMER~
LIN**UP*012345678905~
REF*ZZ*BATCH-2026-04-0099~
LX*1~
REF*ZZ*TEST-METHOD-ASTM-D790~
MEA*ZZ*FS*450*PSI~
MSG*PASS - WITHIN SPEC 400-500 PSI~
SE*10*0001~
GE*1*1~
IEA*1*000000863~ Common segments
- Header —
ST,BGN. - Parties —
N1*SR(Reporting lab),N1*CN(Customer). - Sample / Item —
LIN(item identifier),REF*ZZ(batch / lot). - Tests — repeated
LXloop:REF*ZZ(ASTM / ISO method),MEA*ZZ(measure with unit),MSG(pass/fail + comment). - Summary —
SE.
Common pitfalls
- Referenced test method: the method (ASTM D790, ISO 17025, USP chapter 61) must be identified; an 863 without method can be contested in case of a spec dispute.
- Units consistency:
MEArequires a unit; mixing PSI and MPa across batches breaks SPC (Statistical Process Control) statistics. - Pass/fail vs measurement: a test may be numerically passing but flagged FAIL for out-of-control method; the
MSGmust distinguish numerical pass from procedural pass.
Related transactions
Documentation
The code 863 and the name Report of Test Results are public and listed on x12.org/products/transaction-sets. The complete structure of loops, qualifiers and code lists is distributed by DISA via the proprietary Implementation Guides (TR3). ediverse.io covers only public concepts, the envelope and didactic examples.