Maersk
/
Invoice
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from Maersk. Contact Maersk for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Maersk logo

X12 810 Invoice

X12 Release 4010
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/maersk-line/invoice/01H3M9T93PWMVDA81W76Y6EQJ2
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
ST
010
Transaction Set Header
Max use 1
Required
BIG
020
Beginning Segment for Invoice
Max use 1
Required
CUR
040
Currency
Max use 1
Optional
REF
050
Fiscal Code
Max use 12
Optional
REF
050
Purchase Order Number
Max use 12
Optional
Customer
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)
U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
IN
Invoice Information (810,819)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
810
Invoice
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
BIG
020
Heading > BIG

Beginning Segment for Invoice

RequiredMax use 1
Example
Required
Date (DT)
CCYYMMDD format
BIG-02
76
Invoice Number
Required
String (AN)
Min 1Max 22
BIG-07
640
Transaction Type Code
Optional
Identifier (ID)
CN
Credit Invoice
CR
Credit Memo
DI
Debit Invoice
CUR
040
Heading > CUR

Currency

OptionalMax use 1
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
Min 2Max 3
CUR-02
100
Currency Code
Required
Identifier (ID)
Min 3Max 3
REF
050
Heading > REF

Fiscal Code

OptionalMax use 12
Example
Variants (all may be used)
REFPurchase Order Number
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
HH
Fiscal Code
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
REF
050
Heading > REF

Purchase Order Number

OptionalMax use 12
Usage notes
Example
Variants (all may be used)
REFFiscal Code
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
PO
Purchase Order Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
N1 Customer
OptionalMax >1
Variants (all may be used)
Remit To
N1
070
Heading > Customer > N1

Name

RequiredMax use 1
Usage notes
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
LW
Customer
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
91
Assigned by Seller or Seller's Agent
92
Assigned by Buyer or Buyer's Agent
ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
090
Heading > Customer > N3

Address Information

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
REF
110
Heading > Customer > REF

Reference Identification

OptionalMax use 12
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
HH
Fiscal Code
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
N1 Customer end
N1 Remit To
OptionalMax >1
Variants (all may be used)
Customer
N1
070
Heading > Remit To > N1

Name

RequiredMax use 1
Usage notes
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
RI
Remit To
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
91
Assigned by Seller or Seller's Agent
92
Assigned by Buyer or Buyer's Agent
ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
090
Heading > Remit To > N3

Address Information

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
REF
110
Heading > Remit To > REF

Reference Identification

OptionalMax use 12
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
HH
Fiscal Code
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
N1 Remit To end
V1 Loop
OptionalMax >1
V1
260
Heading > V1 Loop > V1

Vessel Identification

RequiredMax use 1
Example
At least one of Vessel Code (V1-01) or Vessel Name (V1-02) is required
If Vessel Code Qualifier (V1-08) is present, then Vessel Code (V1-01) is required
V1-01
597
Vessel Code
Optional
Identifier (ID)
Min 1Max 8
V1-02
182
Vessel Name
Optional
String (AN)
Min 2Max 28
V1-04
55
Flight/Voyage Number
Optional
String (AN)
Min 2Max 10
V1-05
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
V1-08
897
Vessel Code Qualifier
Optional
Identifier (ID)
C
Ship's Radio Call Signal
L
Lloyd's Register of Shipping
V1-09
91
Transportation Method/Type Code
Optional
Identifier (ID)
B
Barge
R
Rail
VE
Vessel, Ocean
R4
270
Heading > V1 Loop > R4

Port or Terminal

OptionalMax use >1
Usage notes
Example
If either Location Qualifier (R4-02) or Location Identifier (R4-03) is present, then the other is required
R4-01
115
Port or Terminal Function Code
Required
Identifier (ID)
D
Port of Discharge (Operational)
E
Place of Delivery (Contractual)
L
Port of Loading (Operational)
M
Destination (Operational)
R
Place of Receipt (Contractual)
R4-02
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2
R4-03
310
Location Identifier
Optional
String (AN)
Min 1Max 30
R4-04
114
Port Name
Optional
String (AN)
Min 2Max 24
R4-05
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
V1 Loop end
Heading end

Detail

IT1 Loop
OptionalMax >1
IT1
010
Detail > 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
IT1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
IT1-02
358
Quantity Invoiced
Optional
Decimal number (R)
Min 1Max 10
IT1-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CH
Container
DA
Days
EA
Each
HR
Hours
UN
Unit
IT1-04
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
IT1-05
639
Basis of Unit Price Code
Optional
Identifier (ID)
HP
Price per Hundred
PE
Price per Each
PN
Price per Ten
TP
Price per Thousand
TT
Price Per 10,000
CTP
050
Detail > IT1 Loop > CTP

Pricing Information

OptionalMax use 25
Example
If Price Multiplier Qualifier (CTP-06) is present, then Multiplier (CTP-07) is required
CTP-06
648
Price Multiplier Qualifier
Optional
Identifier (ID)
DIS
Discount Multiplier
PSP
Percent Solution Multiplier
CTP-07
649
Multiplier
Optional
Decimal number (R)
Min 1Max 10
Usage notes
CTP-08
782
Monetary Amount
Optional
Decimal number (R)
Min 1Max 15
Usage notes
PID Loop
OptionalMax >1
PID
060
Detail > IT1 Loop > PID Loop > PID

Product/Item Description

RequiredMax use 1
Example
At least one of Product Description Code (PID-04) or Description (PID-05) is required
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
PID-01
349
Item Description Type
Required
Identifier (ID)
Min 1Max 1
PID-02
750
Product/Process Characteristic Code
Optional
Identifier (ID)
Min 2Max 3
PID-03
559
Agency Qualifier Code
Optional
Identifier (ID)
A4
Assigned by Carrier
PID-04
751
Product Description Code
Optional
String (AN)
Min 1Max 12
PID-05
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
PID Loop end
CAD
160
Detail > IT1 Loop > CAD

Carrier Detail

OptionalMax use >1
Usage notes
Example
If Reference Identification Qualifier (CAD-07) is present, then Reference Identification (CAD-08) is required
CAD-01
91
Transportation Method/Type Code
Optional
Identifier (ID)
Usage notes
B
Barge
R
Rail
VE
Vessel, Ocean
CAD-03
207
Equipment Number
Optional
String (AN)
Min 1Max 10
CAD-04
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
CAD-07
128
Reference Identification Qualifier
Optional
Identifier (ID)
L5
Subexhibit Line Item Number
CAD-08
127
Reference Identification
Optional
String (AN)
Min 1Max 30
Usage notes
SLN Loop
OptionalMax >1
SLN
200
Detail > IT1 Loop > SLN Loop > SLN

Subline Item Detail

RequiredMax use 1
Example
SLN-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20
SLN-02
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
SLN-03
662
Relationship Code
Required
Identifier (ID)
A
Add
SLN-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
SLN-05
C001
Composite Unit of Measure
OptionalMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CH
Container
DA
Days
EA
Each
HR
Hours
UN
Unit
DTM
205
Detail > IT1 Loop > SLN Loop > DTM

Date/Time Reference

OptionalMax use 1
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
161
Loaded on Vessel
186
Invoice Period Start
187
Invoice Period End
370
Actual Departure Date
372
Actual Arrival Date
Optional
Date (DT)
CCYYMMDD format
DTM-05
1250
Date Time Period Format Qualifier
Optional
Identifier (ID)
D8
Date Expressed in Format CCYYMMDD
SLN Loop end
IT1 Loop end
Detail end

Summary

TDS
010
Summary > TDS

Total Monetary Value Summary

RequiredMax use 1
Example
TDS-01
610
Amount
Required
Numeric (N2)
Min 1Max 15
TXI
020
Summary > TXI

Tax Information

OptionalMax use 10
Example
At least one of Monetary Amount (TXI-02), Percent (TXI-03) or Tax Exempt Code (TXI-06) is required
TXI-01
963
Tax Type Code
Required
Identifier (ID)
TX
All Taxes
VA
Value Added Tax
TXI-02
782
Monetary Amount
Optional
Decimal number (R)
Min 1Max 15
TXI-03
954
Percent
Optional
Decimal number (R)
Min 1Max 10
TXI-06
441
Tax Exempt Code
Optional
Identifier (ID)
Usage notes
9
Exempt (Per State Law)
C
Not Taxable
E
Exempt Toll Service
CTT
070
Summary > CTT

Transaction Totals

OptionalMax use 1
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
SE
080
Summary > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Summary end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
EDI Samples

Sample

BIG*20221025*US22-0003DGO2*****DI~
CUR*G7*GBP~
REF*PO*36444667905~
REF*PO*36444667905~
REF*HH*GB99999~
N1*LW*Maersk A/S Esplanaden 50*ZZ*1000~
REF*HH*DK53139655~
V1*9298686*MAERSK IOWA**1412*MAEU***L*VE~
R4*D***GBFXT~
IT1*1*9*DA*441.33*PE~
CTP********3972~
PID*F**A4*T00179*REEFER COSTS~
CAD*VE**4229999*MNXX***L5*1~
CAD*VE**4229999*MNXX***L5*2~
SLN*01*01*A*9*EA~
DTM*186*20221226~
SLN*01*02*A*9*EA~
DTM*186*20221227~
TDS*3972~
TXI*TX*0*0***E~
CTT*1~

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.