810 - Invoice
This topic describes the Electronic Data Interchange (EDI) standards that Business Transaction Intelligence implements for document type 810, or invoice, which itemizes the buyer's purchases.
Segment: BIG - Beginning segment for invoice
Loop
Level: Heading
Usage: Must use
Semantic notes:
- BIG01 is the invoice date.
- BIG04 must contain the purchase order number in order for the purchase order to be linked to the invoice.
- If multiple purchase order numbers are associated with this invoice, an invoice detail is required.
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| BIG01 | Date | Mandatory | Must use |
| BIG02 | Invoice Number | Mandatory | Must use |
| BIG03 | Date | Optional | Not used |
| BIG04 | Purchase Order Number | Optional | Must use |
Segment: CUR - Currency
Loop
Level: Heading
Usage: Optional - Used
Comment: This segment specifies the currency that is used in a transaction.
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| CUR01 | Entity Identifier Code | Mandatory | Must use |
| CUR02 | Currency Code | Mandatory | Must use |
Segment: REF - Reference identification
Loop
Level: Heading
Usage: Optional - Used
Syntax note:- If REF01 is set, REF02 is required.
Semantic notes:
- If REF01 is set to PO, REF02 is the purchase order number when the number exceeds 22 characters.
- If REF01 is set to CN, REF02 is the pro/invoice number.
- If REF01 is set to BM, REF02 is the bill of lading number.
- If REF01 is set to MA, REF02 is the manifest number.
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| REF01 | Reference Identification Qualifier | Optional | Used |
| REF02 | Reference Identification | Optional | Used |
Segment: IT1 - Baseline item data (invoice detail)
Loop: IT1
Level: Detail
Usage: Optional
Syntax note:
- If any qualifier field specifies a PO, the corresponding service/ID field is required.
- IT101 refers to the line item on the original purchase order.
- IT103 is interpreted as UN (Units) if it is not specified.
- IT105 is interpreted as PE (Price for Each) if it is not specified.
- If multiple purchase orders are referenced by this invoice, then one of the qualifier fields IT106, IT108, and so on, is set to PO.
- If multiple purchase orders are referenced by this invoice, then one of the service/ID fields that is associated with the PO qualifier stores the purchase order number of that line item.
- The first UPC qualifier that is found in this list is used. The following product/service ID
qualifiers are UPC-related :
- U2 - UPC/EAN shipping container code (1-2-5-5-1)
- UA - UPC/EAN case code (2-5-5)
- UD - UPC/EAN consumer package code (2-5-5)
- UI - UPC consumer package code (1-5-5)
- UK - GTIN (14 digits) - UPC/EAN shipping container code (1-2-5-5-1)
- UP - UPC consumer package code (1-5-5-1)
- UN - UPC/EAN Case Code Number (1-1-5-5)
-
The default configuration searches for the following list of product qualifier codes for matches:
MG, PI, SK, VC, VN, VP, MN, EN, EO, OM, PU, PN, ZZ, XA, XP, IS, GS, BP, CB, IN, EP, F1The first product qualifier code found in this list is extracted and displayed in the UI in the line item section when using the default configuration. The content associated with the product qualifier is referenced by the line item matching algorithm, which links line items between two related doc types. All line item qualifier codes in the list, and their values, are extracted but are not displayed. This data is used as a backup option for line item matching if the primary algorithm does not find a definitive link. Matches by this method are indicated with a low confidence rating.
Note: If the line item qualifier, that is relevant between two doc types, is not displayed first or isn't in the list, create a company or trading partner level configuration to force the selection of the qualifier you want to use.
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| IT101 | Assigned Identification | Optional | Must use |
| IT102 | Quantity Invoiced | Optional | Must use |
| IT103 | Unit of Measure Code | Optional | Used |
| IT104 | Line Unit Price | Optional | Must use |
| IT105 | Line Unit Price Code | Optional | Used |
| IT106 | Product/Service ID Qualifier | Optional | Used |
| IT107 | Product/ Service ID | Optional | Used |
| IT108 | Product/Service ID Qualifier | Optional | Used |
| IT109 | Product/Service ID | Optional | Used |
| IT110 | Product/Service ID Qualifier | Optional | Used |
| IT111 | Product/Service ID | Optional | Used |
| IT112 | Product/Service ID Qualifier | Optional | Used |
| IT113 | Product/Service ID | Optional | Used |
| IT114 | Product/Service ID Qualifier | Optional | Used |
| IT115 | Product/Service ID | Optional | Used |
| IT116 | Product/Service ID Qualifier | Optional | Used |
| IT117 | Product/Service ID | Optional | Used |
| IT118 | Product/Service ID Qualifier | Optional | Used |
| IT119 | Product/Service ID | Optional | Used |
| IT120 | Product/Service ID Qualifier | Optional | Used |
| IT121 | Product/Service ID | Optional | Used |
| IT122 | Product/Service ID Qualifier | Optional | Used |
| IT123 | Product/Service ID | Optional | Used |
| IT124 | Product/Service ID Qualifier | Optional | Used |
| IT125 | Product/Service ID | Optional | Used |
Segment: CTP - Pricing information
Loop: IT1
Level: Detail
Usage: Optional - Used
Comment: This segment specifies the unit price code that is used in a transaction.
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| CTP02 | Qualifier | Optional | Used |
| CTP03 | lineUnitPrice if CTP02 = INV, LPR, NET | Optional | Used |
| CTP09 | lineUnitPriceCode if CTP02 = INV, LPR, NET | Optional | Used |
Segment: PID - Product / item description
Loop: IT1/PID
Level: Detail
Usage: Optional - Used
Semantic note:
- PID01 is set to Free Form (F).
- PID05 is the description that is associated with the SLN line item.
- The first PID instance is used.
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| PID01 | Item Description Type | Mandatory | Must use |
| PID02 | Product/Process Characteristic Code | Optional | Not used |
| PID03 | Agency Qualifier Code | Optional | Not used |
| PID04 | Product Description Code | Optional | Not used |
| PID05 | Description | Optional | Must use |
Segment: SLN - Subline item detail
Loop: IT1/SLN
Level: Detail
Usage: Optional - Used
Syntax notes:
- If SLN09 is specified, SLN10 is required.
- If SLN11 is specified, SLN12 is required.
- If SLN13 is specified, SLN14 is required.
- If SLN15 is specified, SLN16 is required.
- If SLN17 is specified, SLN18 is required.
- If SLN19 is specified, SLN20 is required.
- If SLN21 is specified, SLN22 is required.
- If SLN23 is specified, SLN24 is required.
- If SLN25 is specified, SLN26 is required.
- If SLN27 is specified, SLN28 is required.
Semantic notes:
- The first UPC qualifier that is found in this list is used. The following product/service ID
qualifiers are UPC-related :
- U2 - UPC/EAN shipping container code (1-2-5-5-1)
- UA - UPC/EAN case code (2-5-5)
- UD - UPC/EAN consumer package code (2-5-5)
- UI - UPC consumer package code (1-5-5)
- UK - GTIN (14 digits) - UPC/EAN shipping container code (1-2-5-5-1)
- UP - UPC consumer package code (1-5-5-1)
- UN - UPC/EAN Case Code Number (1-1-5-5)
- Seller/supplier qualifiers are preferred over buyer qualifiers. The first seller/supplier
qualifier that is found (MG-VP) in the list is used. If a seller/supplier qualifier is not found,
the first found buyer qualifier is used. The following product number or ID-related product/service
ID qualifiers are seller or buyer-related:
- MG - the part number of the manufacturer
- PI - the item code of the purchaser
- SK - stock keeping unit
- VC - the catalog number of the vendor (seller)
- VN - the item number of the vendor (seller)
- VP - the part number of the vendor (seller)
- BP - the part number of the buyer
- CB - the catalog number of the buyer
- IN - the item number of the buyer
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| SLN01 | Assigned Identification | Mandatory | Must use |
| SLN02 | Assigned Identification | Optional | Used |
| SLN03 | Relationship Code | Mandatory | Must use |
| SLN04 | Quantity | Optional | Used |
| SLN05 | Unit of Measure | Optional | Used |
| SLN06 | Unit Price | Optional | Used |
| SLN07 | Basis Of Unit Price | Optional | Not used |
| SLN08 | Relationship Code | Optional | Not used |
| SLN09 | Product/Service ID Qualifier | Optional | Used |
| SLN10 | Product/Service ID | Optional | Used |
| SLN11 | Product/Service ID Qualifier | Optional | Used |
| SLN12 | Product/Service ID | Optional | Used |
| SLN13 | Product/Service ID Qualifier | Optional | Used |
| SLN14 | Product/Service ID | Optional | Used |
| SLN15 | Product/Service ID Qualifier | Optional | Used |
| SLN16 | Product/Service ID | Optional | Used |
| SLN17 | Product/Service ID Qualifier | Optional | Used |
| SLN18 | Product/Service ID | Optional | Used |
| SLN19 | Product/Service ID Qualifier | Optional | Used |
| SLN20 | Product/Service ID | Optional | Used |
| SLN21 | Product/Service ID Qualifier | Optional | Used |
| SLN22 | Product/Service ID | Optional | Used |
| SLN23 | Product/Service ID Qualifier | Optional | Used |
| SLN24 | Product/Service ID | Optional | Used |
| SLN25 | Product/Service ID Qualifier | Optional | Used |
| SLN26 | Product/Service ID | Optional | Used |
| SLN27 | Product/Service ID Qualifier | Optional | Used |
| SLN28 | Product/Service ID | Optional | Used |
Segment: TDS - Total monetary value summary
Loop
Level: Summary
Usage: Mandatory
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| TDS01 | Amount | Mandatory | Must use |
Segment: CTT - Transaction totals
Loop
Level: Summary
Usage: Optional
Semantic notes:
- CTT01 is equal to the number of IT1 segments in a transaction.
- CTT02 is equal to the total quantity of IT102 fields. If that value is missing, this quantity is calculated.
| Reference | Element name | Requirement | Usage |
|---|---|---|---|
| CTT01 | Number of Line Items | Mandatory | Must use |
| CTT02 | Number of Quantity | Optional | Used. Total quantity of units in the IT102. |