215 Motor Carrier Pickup Manifest (005050)
This is the standard X12 005050 spec, with 7 loops and 63 segment positions, as OpenEDI JSON, an ediFabric C# template and an ediFabric Native model. To change it for a trading partner, customize it in the EDI Spec Builder.
Use the 215 spec in your code
ediFabric .NET
Add the C# template and its common files to your project, or reference the template NuGet package, and read 215 files into TS215 objects. See ediFabric .NET.
ediFabric Native
Map version 005050 to the Native model with set_map, then parse 215 files to JSON from Python, Java, C or C#. See Convert between EDI and JSON.
OpenEDI
Select Customize in Spec Builder to copy the spec under your own name, change it for your partner, and parse files against it in EdiNation, ediFabric Native or ediFabric Cloud. Read about OpenEDI.
Generate 215 classes in Python, Java, Node.js, Go, Rust or C
ediFabric Native returns each 215 as JSON, with the property names of the OpenEDI schema. To work with that JSON as typed objects, generate classes from the OpenEDI file in your language and deserialize the JSON into TS215. Serialize the objects back to JSON to build EDI with ediFabric Native. The classes keep the loops, segments, lengths and code lists, but not the EDI data formats, so validate files with ediFabric Native. Read more in Generate a class from OpenEDI.
Python: datamodel-code-generator. Node.js: openapi-typescript. Java, Go, Rust and C: OpenAPI Generator.
215 structure
Loops and segments of the standard 215, with their usage and maximum repeats.
| ID | Name | Usage | Max use |
|---|---|---|---|
| ST | Transaction Set Header | Optional | 1 |
| B1 | Beginning Segment for Booking or Pickup/Delivery | Mandatory | 1 |
| C3 | Currency Identifier | Optional | 1 |
| L11 | Business Instructions and Reference Number | Optional | 10 |
| G62 | Date/Time | Optional | 6 |
| Loop N1 | Party Identification | Mandatory | 1 |
| N1 | Party Identification | Mandatory | 1 |
| N2 | Additional Name Information | Optional | 1 |
| N3 | Party Location | Optional | 2 |
| N4 | Geographic Location | Optional | 1 |
| L11 | Business Instructions and Reference Number | Optional | 10 |
| PER | Administrative Communications Contact | Optional | 10 |
| X1 | Export License | Optional | 10 |
| X2 | Import License | Optional | 10 |
| Loop SMD | Consolidated Shipment Manifest Data | Mandatory | 999999 |
| SMD | Consolidated Shipment Manifest Data | Mandatory | 1 |
| L11 | Business Instructions and Reference Number | Optional | 20 |
| L5 | Description, Marks and Numbers | Optional | 10 |
| MS6 | Shipment Quantity and Weight | Optional | 10 |
| MS5 | Shipment Rates and Charges | Optional | 5 |
| MS4 | Shipment or Package Dimensions | Optional | 1 |
| ACS | Ancillary Charges | Optional | 10 |
| NTE | Note/Special Instruction | Optional | 10 |
| Loop N1 | Party Identification | Optional | 10 |
| N1 | Party Identification | Mandatory | 1 |
| N2 | Additional Name Information | Optional | 1 |
| N3 | Party Location | Optional | 2 |
| N4 | Geographic Location | Optional | 1 |
| L11 | Business Instructions and Reference Number | Optional | 10 |
| G61 | Contact | Optional | 10 |
| X1 | Export License | Optional | 10 |
| X2 | Import License | Optional | 10 |
| R4 | Port or Terminal | Optional | 10 |
| Loop CD3 | Carton (Package) Detail | Mandatory | 999999 |
| CD3 | Carton (Package) Detail | Mandatory | 1 |
| MAN | Marks and Numbers Information | Optional | 100 |
| MS4 | Shipment or Package Dimensions | Optional | 1 |
| L11 | Business Instructions and Reference Number | Optional | 10 |
| L5 | Description, Marks and Numbers | Optional | 10 |
| MS6 | Shipment Quantity and Weight | Optional | 5 |
| ACS | Ancillary Charges | Optional | 10 |
| NTE | Note/Special Instruction | Optional | 10 |
| Loop N1 | Party Identification | Optional | 999999 |
| N1 | Party Identification | Mandatory | 1 |
| N2 | Additional Name Information | Optional | 1 |
| N3 | Party Location | Optional | 2 |
| N4 | Geographic Location | Optional | 1 |
| L11 | Business Instructions and Reference Number | Optional | 10 |
| G61 | Contact | Optional | 10 |
| X1 | Export License | Optional | 10 |
| X2 | Import License | Optional | 10 |
| R4 | Port or Terminal | Optional | 10 |
| Loop AT6 | International Manifest Information | Optional | 999999 |
| AT6 | International Manifest Information | Mandatory | 1 |
| MS5 | Shipment Rates and Charges | Optional | 1 |
| IT1 | Baseline Item Data (Invoice) | Optional | 1 |
| CGS | Charge | Optional | 10 |
| L11 | Business Instructions and Reference Number | Optional | 1 |
| PID | Product/Item Description | Optional | 1000 |
| TXI | Tax Information | Optional | 10 |
| MS4 | Shipment or Package Dimensions | Optional | 1 |
| L5 | Description, Marks and Numbers | Optional | 1 |
| Loop SLN | Subline Item Detail | Optional | 999999 |
| SLN | Subline Item Detail | Mandatory | 1 |
| L11 | Business Instructions and Reference Number | Optional | 10 |
| PID | Product/Item Description | Optional | 10 |
| N10 | Quantity and Description | Optional | 10 |
| TXI | Tax Information | Optional | 10 |
| NTE | Note/Special Instruction | Optional | 10 |
| SE | Transaction Set Trailer | Optional | 1 |