Stedi maintains this guide based on public documentation from AT&T. Contact AT&T for official EDI specifications. To report any errors in this guide, please contact us.

X12 811 Consolidated Service Invoice/Statement
—
Delimiters
- ~ Segment
- * Element
- > Component
EDI samples
- None included
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
detail
HL Loop
HL
010
Hierarchical Level
Max use 1
Required
HL Loop
HL
010
Hierarchical Level
Max use 1
Required
HL Loop Group
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- CI
- Consolidated Service Invoice/Statement (811)
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
N1 Loop
Max >1
N1 Loop end
Heading end
Detail
HL Loop
Max >1
LX Loop
Max >1
PID
040
Detail > HL Loop > LX Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
QTY Loop
Max >1
QTY Loop end
LX Loop end
HL Loop
Max >1
LX Loop
Max >1
SI
030
Detail > HL Loop > HL Loop > LX Loop > SI
Service Characteristic Identification
Max use 8
—
Example
PID
040
Detail > HL Loop > HL Loop > LX Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
LX Loop end
NM1 Loop
Max >1
NM1
110
Detail > HL Loop > HL Loop > NM1 Loop > NM1
Individual or Organizational Name
RequiredMax use 1
—
Example
If either Identification Code Qualifier (NM1-08) or Identification Code (NM1-09) is present, then the other is required
NM1 Loop end
ITA Loop
Max >1
ITA
180
Detail > HL Loop > HL Loop > ITA Loop > ITA
Allowance, Charge or Service
RequiredMax use 1
—
Example
If either Quantity (ITA-10) or Unit or Basis for Measurement Code (ITA-11) is present, then the other is required
ITA Loop end
HL Loop Group
Max >1
Variants (all may be used)
HL Loop Sub Billing ArrangementIT1 Loop
Max >1
IT1
210
Detail > HL Loop > HL Loop > HL Loop Group > IT1 Loop > IT1
Baseline Item Data (Invoice)
RequiredMax use 1
—
Example
If either Quantity Invoiced (IT1-02), Unit or Basis for Measurement Code (IT1-03) or Unit Price (IT1-04) are present, then the others are required
If either Product/Service ID Qualifier (IT1-06) or Product/Service ID (IT1-07) is present, then the other is required
If either Product/Service ID Qualifier (IT1-08) or Product/Service ID (IT1-09) is present, then the other is required
PID
230
Detail > HL Loop > HL Loop > HL Loop Group > IT1 Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
QTY Loop
Max >1
QTY
290
Detail > HL Loop > HL Loop > HL Loop Group > IT1 Loop > QTY Loop > QTY
Quantity
RequiredMax use 1
—
Example
QTY Loop end
IT1 Loop end
HL Loop
Max >1
HL
010
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > HL
Hierarchical Level
RequiredMax use 1
—
Example
SLN Loop
Max >1
SLN
390
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Example
If Relationship Code (SLN-08) is present, then Unit Price (SLN-06) is required
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
Max use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
SI
400
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > SLN Loop > SI
Service Characteristic Identification
Max use 2
—
Example
PID
410
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > SLN Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
MEA
415
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > SLN Loop > MEA
Measurements
Max use 20
—
Example
DTM
480
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > SLN Loop > DTM
Date/Time Reference
Max use 10
—
Example
AMT
490
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > SLN Loop > AMT
Monetary Amount
Max use 15
—
Example
MSG
500
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > SLN Loop > MSG
Message Text
Max use >1
—
Example
QTY Loop
Max >1
QTY
510
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > SLN Loop > QTY Loop > QTY
Quantity
RequiredMax use 1
—
Example
QTY Loop end
SLN Loop end
HL Loop
Max >1
HL
010
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > HL Loop > HL
Hierarchical Level
RequiredMax use 1
—
Example
IT1 Loop
Max >1
IT1
210
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > HL Loop > IT1 Loop > IT1
Baseline Item Data (Invoice)
RequiredMax use 1
—
Example
If either Quantity Invoiced (IT1-02), Unit or Basis for Measurement Code (IT1-03) or Unit Price (IT1-04) are present, then the others are required
If either Product/Service ID Qualifier (IT1-06) or Product/Service ID (IT1-07) is present, then the other is required
If either Product/Service ID Qualifier (IT1-08) or Product/Service ID (IT1-09) is present, then the other is required
PID
230
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > HL Loop > IT1 Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
QTY Loop
Max >1
QTY
290
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > HL Loop > IT1 Loop > QTY Loop > QTY
Quantity
RequiredMax use 1
—
Example
QTY Loop end
IT1 Loop end
TCD Loop
Max >1
TCD
590
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > HL Loop > TCD Loop > TCD
Itemized Call Detail
RequiredMax use 1
—
Example
If either Location Qualifier (TCD-04) or Location Identifier (TCD-05) is present, then the other is required
SI
600
Detail > HL Loop > HL Loop > HL Loop Group > HL Loop > HL Loop > TCD Loop > SI
Service Characteristic Identification
Max use 2
—
Example
If either Service Characteristics Qualifier (SI-04) or Product/Service ID (SI-05) is present, then the other is required
If either Service Characteristics Qualifier (SI-06) or Product/Service ID (SI-07) is present, then the other is required
If either Service Characteristics Qualifier (SI-08) or Product/Service ID (SI-09) is present, then the other is required
If either Service Characteristics Qualifier (SI-10) or Product/Service ID (SI-11) is present, then the other is required
TCD Loop end
HL Loop end
HL Loop end
HL Loop Group end
HL Loop Sub Billing Arrangement
Max >1
Variants (all may be used)
HL Loop GroupHL
010
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL
Hierarchical Level
RequiredMax use 1
—
Example
LX Loop
Max >1
LX
020
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > LX Loop > LX
Assigned Number
RequiredMax use 1
—
Example
SI
030
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > LX Loop > SI
Service Characteristic Identification
Max use 8
—
Example
PID
040
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > LX Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
REF
050
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > LX Loop > REF
Reference Identification
Max use >1
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
AMT
060
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > LX Loop > AMT
Monetary Amount
Max use 5
—
Example
DTM
070
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > LX Loop > DTM
Date/Time Reference
Max use 8
—
Example
QTY Loop
Max >1
QTY
090
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > LX Loop > QTY Loop > QTY
Quantity
RequiredMax use 1
—
Example
QTY Loop end
LX Loop end
NM1 Loop
Max >1
NM1
110
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > NM1 Loop > NM1
Individual or Organizational Name
RequiredMax use 1
—
Example
If either Identification Code Qualifier (NM1-08) or Identification Code (NM1-09) is present, then the other is required
N2
120
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > NM1 Loop > N2
Additional Name Information
Max use 2
—
Example
TXI
170
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > NM1 Loop > TXI
Tax Information
Max use >1
—
Example
NM1 Loop end
ITA Loop
Max >1
ITA
180
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > ITA Loop > ITA
Allowance, Charge or Service
RequiredMax use 1
—
Example
If either Quantity (ITA-10) or Unit or Basis for Measurement Code (ITA-11) is present, then the other is required
ITA Loop end
HL Loop
Max >1
HL
010
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL
Hierarchical Level
RequiredMax use 1
—
Example
IT1 Loop
Max >1
IT1
210
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > IT1 Loop > IT1
Baseline Item Data (Invoice)
RequiredMax use 1
—
Example
If either Quantity Invoiced (IT1-02), Unit or Basis for Measurement Code (IT1-03) or Unit Price (IT1-04) are present, then the others are required
If either Product/Service ID Qualifier (IT1-06) or Product/Service ID (IT1-07) is present, then the other is required
If either Product/Service ID Qualifier (IT1-08) or Product/Service ID (IT1-09) is present, then the other is required
PID
230
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > IT1 Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
QTY Loop
Max >1
QTY
290
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > IT1 Loop > QTY Loop > QTY
Quantity
RequiredMax use 1
—
Example
QTY Loop end
IT1 Loop end
HL Loop
Max >1
HL
010
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > HL
Hierarchical Level
RequiredMax use 1
—
Example
SLN Loop
Max >1
SLN
390
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Example
If Relationship Code (SLN-08) is present, then Unit Price (SLN-06) is required
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
Max use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
SI
400
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > SLN Loop > SI
Service Characteristic Identification
Max use 2
—
Example
PID
410
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > SLN Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
MEA
415
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > SLN Loop > MEA
Measurements
Max use 20
—
Example
DTM
480
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > SLN Loop > DTM
Date/Time Reference
Max use 10
—
Example
AMT
490
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > SLN Loop > AMT
Monetary Amount
Max use 15
—
Example
MSG
500
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > SLN Loop > MSG
Message Text
Max use >1
—
Example
QTY Loop
Max >1
QTY
510
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > SLN Loop > QTY Loop > QTY
Quantity
RequiredMax use 1
—
Example
QTY Loop end
SLN Loop end
HL Loop
Max >1
HL
010
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > HL Loop > HL
Hierarchical Level
RequiredMax use 1
—
Example
IT1 Loop
Max >1
IT1
210
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > HL Loop > IT1 Loop > IT1
Baseline Item Data (Invoice)
RequiredMax use 1
—
Example
If either Quantity Invoiced (IT1-02), Unit or Basis for Measurement Code (IT1-03) or Unit Price (IT1-04) are present, then the others are required
If either Product/Service ID Qualifier (IT1-06) or Product/Service ID (IT1-07) is present, then the other is required
If either Product/Service ID Qualifier (IT1-08) or Product/Service ID (IT1-09) is present, then the other is required
PID
230
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > HL Loop > IT1 Loop > PID
Product/Item Description
Max use 200
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
QTY Loop
Max >1
QTY
290
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > HL Loop > IT1 Loop > QTY Loop > QTY
Quantity
RequiredMax use 1
—
Example
QTY Loop end
IT1 Loop end
TCD Loop
Max >1
TCD
590
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > HL Loop > TCD Loop > TCD
Itemized Call Detail
RequiredMax use 1
—
Example
If either Location Qualifier (TCD-04) or Location Identifier (TCD-05) is present, then the other is required
SI
600
Detail > HL Loop > HL Loop > HL Loop Sub Billing Arrangement > HL Loop > HL Loop > HL Loop > TCD Loop > SI
Service Characteristic Identification
Max use 2
—
Example
If either Service Characteristics Qualifier (SI-04) or Product/Service ID (SI-05) is present, then the other is required
If either Service Characteristics Qualifier (SI-06) or Product/Service ID (SI-07) is present, then the other is required
If either Service Characteristics Qualifier (SI-08) or Product/Service ID (SI-09) is present, then the other is required
If either Service Characteristics Qualifier (SI-10) or Product/Service ID (SI-11) is present, then the other is required
TCD Loop end
HL Loop end
HL Loop end
HL Loop end
HL Loop Sub Billing Arrangement end
HL Loop end
HL Loop end
Detail end
Summary
BAL Loop
Max >1
BAL Loop end
Summary end
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.