x12_types/v005010/element/e02xx.rs
1//! X12 data elements 0200-0299.
2
3crate::code_enum!(
4 /// **208** Hazardous Material Code Qualifier
5 ///
6 /// - Data element: 208
7 /// - Type: Identifier (ID)
8 /// - Length: min 1, max 1
9 ///
10 /// Code which qualifies the Hazardous Material Class Code (209).
11 E208 {
12 /// 46 Level DOT Code
13 "4" => N4,
14 /// Airline Tariff 6D
15 "6" => N6,
16 /// Title 49, Code of Federal Regulations (CFR)
17 "9" => N9,
18 /// International Civil Aviation Organization (ICAO) Code
19 "A" => A,
20 /// Uniform Fire Code (UFC)
21 "B" => B,
22 /// Hazardous Materials ID, DOT
23 "D" => D,
24 /// Intergovernmental Maritime Organization (IMO) Code
25 "I" => I,
26 /// International Air Transport Association Dangerous Goods Code List
27 "T" => T,
28 /// United Nations
29 "U" => U,
30 /// Hazard Class or Division
31 "X" => X,
32 }
33);
34
35crate::code_enum!(
36 /// **209** Hazardous Material Class Code
37 ///
38 /// - Data element: 209
39 /// - Type: Identifier (ID)
40 /// - Length: min 1, max 4
41 ///
42 /// The hazard class of a material (UN hazard classes 1-9).
43 E209 {
44 /// Explosives
45 "1" => N1,
46 /// Gases
47 "2" => N2,
48 /// Flammable Liquids
49 "3" => N3,
50 /// Flammable Solids
51 "4" => N4,
52 /// Oxidizers and Organic Peroxides
53 "5" => N5,
54 /// Toxic and Infectious Substances
55 "6" => N6,
56 /// Radioactive Material
57 "7" => N7,
58 /// Corrosives
59 "8" => N8,
60 /// Miscellaneous Dangerous Goods
61 "9" => N9,
62 }
63);
64
65crate::code_enum!(
66 /// **248** Allowance or Charge Indicator
67 ///
68 /// - Data element: 248
69 /// - Type: Identifier (ID)
70 /// - Length: min 1, max 1
71 ///
72 /// Code which indicates an allowance or charge for the service specified.
73 E248 {
74 /// Allowance
75 "A" => A,
76 /// Charge
77 "C" => C,
78 /// No Allowance or Charge
79 "N" => N,
80 /// Charge to be Subtracted from Order
81 "S" => S,
82 }
83);
84
85crate::code_enum!(
86 /// **235** Product/Service ID Qualifier
87 ///
88 /// - Data element: 235
89 /// - Type: Identifier (ID)
90 /// - Length: min 2, max 2
91 ///
92 /// Code identifying the type/source of the descriptive number used in
93 /// Product/Service ID (234). Common codes named below.
94 E235 {
95 /// Buyer's Item Number
96 "BP" => Bp,
97 /// EAN/UCC - 13
98 "EN" => En,
99 /// EAN/UCC - 8
100 "EO" => Eo,
101 /// Grade
102 "GR" => Gr,
103 /// Purchase Order Number
104 "PO" => Po,
105 /// Style Number
106 "SN" => Sn,
107 /// UPC Consumer Package Code (1-5-5)
108 "UA" => Ua,
109 /// UPC/EAN Shipping Container Code (1-2-5-5)
110 "UK" => Uk,
111 /// UPC Consumer Package Code (1-5-5-1)
112 "UP" => Up,
113 /// Vendor's (Seller's) Item Number
114 "VN" => Vn,
115 /// Vendor's Style Number
116 "VS" => Vs,
117 /// Commodity
118 "C3" => C3,
119 }
120);
121
122crate::num_element!(
123 /// **205** Dunnage
124 ///
125 /// - Data element: 205
126 /// - Type: Numeric (N0)
127 /// - Length: min 1, max 6
128 ///
129 /// Dunnage.
130 E205
131);
132
133crate::num_element!(
134 /// **212** Unit Price
135 ///
136 /// - Data element: 212
137 /// - Type: Numeric (R)
138 /// - Length: min 1, max 17
139 ///
140 /// Unit Price.
141 E212
142);
143
144crate::num_element!(
145 /// **213** Lading Line Item Number
146 ///
147 /// - Data element: 213
148 /// - Type: Numeric (N0)
149 /// - Length: min 1, max 3
150 ///
151 /// Lading Line Item Number.
152 E213
153);
154
155crate::num_element!(
156 /// **220** Billed/Rated-as Quantity
157 ///
158 /// - Data element: 220
159 /// - Type: Numeric (R)
160 /// - Length: min 1, max 11
161 ///
162 /// Billed/Rated-as Quantity.
163 E220
164);
165
166crate::num_element!(
167 /// **232** Weight Allowance
168 ///
169 /// - Data element: 232
170 /// - Type: Numeric (N0)
171 /// - Length: min 2, max 6
172 ///
173 /// Weight Allowance.
174 E232
175);
176
177crate::num_element!(
178 /// **237** Item List Cost
179 ///
180 /// - Data element: 237
181 /// - Type: Numeric (R)
182 /// - Length: min 1, max 9
183 ///
184 /// Item List Cost.
185 E237
186);
187
188crate::num_element!(
189 /// **258** Quantity Cost
190 ///
191 /// - Data element: 258
192 /// - Type: Numeric (N)
193 /// - Length: min 1, max 9
194 ///
195 /// Quantity Cost.
196 E258
197);
198
199crate::num_element!(
200 /// **267** Net Explosive Quantity
201 ///
202 /// - Data element: 267
203 /// - Type: Numeric (N0)
204 /// - Length: min 1, max 6
205 ///
206 /// Net Explosive Quantity.
207 E267
208);
209
210crate::date_element!(
211 /// **275** Authorization Date
212 ///
213 /// - Data element: 275
214 /// - Type: Date (DT)
215 /// - Length: min 8, max 8
216 ///
217 /// Authorization Date.
218 E275
219);
220
221crate::date_element!(
222 /// **282** Terms Start Date
223 ///
224 /// - Data element: 282
225 /// - Type: Date (DT)
226 /// - Length: min 8, max 8
227 ///
228 /// Terms Start Date.
229 E282
230);
231
232crate::num_element!(
233 /// **289** Multiple Price Quantity
234 ///
235 /// - Data element: 289
236 /// - Type: Numeric (N0)
237 /// - Length: min 1, max 2
238 ///
239 /// Multiple Price Quantity.
240 E289
241);
242
243crate::code_enum!(
244 /// **201** Business Transaction Status
245 ///
246 /// - Data element: 201
247 /// - Type: Identifier (ID)
248 /// - Length: min 1, max 3
249 ///
250 /// Business Transaction Status. Code values verified against the Stedi X12 reference.
251 E201 {
252 /// B/L Not Received
253 "BNR" => Bnr,
254 /// Demurrage Completely Paid
255 "DCP" => Dcp,
256 /// Demurrage Not Paid
257 "DNP" => Dnp,
258 /// Demurrage Partially Paid
259 "DPP" => Dpp,
260 /// Freight Completely Paid
261 "FCP" => Fcp,
262 /// Freight Not Paid
263 "FNP" => Fnp,
264 /// Freight Partially Paid
265 "FPP" => Fpp,
266 /// Letter of Guarantee Received
267 "LGR" => Lgr,
268 /// Original B/L Received
269 "OBR" => Obr,
270 /// Transaction Completely Rated
271 "TCR" => Tcr,
272 /// Transaction Not Rated
273 "TNR" => Tnr,
274 /// Transaction Partially Rated
275 "TPR" => Tpr,
276 }
277);
278
279crate::code_enum!(
280 /// **211** Packaging Form Code
281 ///
282 /// - Data element: 211
283 /// - Type: Identifier (ID)
284 /// - Length: min 3, max 3
285 ///
286 /// Packaging Form Code. Code values verified against the Stedi X12 reference.
287 E211 {
288 /// Ammo Pack
289 "AMM" => Amm,
290 /// Bag
291 "BAG" => Bag,
292 /// Bale
293 "BAL" => Bal,
294 /// Barrel
295 "BBL" => Bbl,
296 /// Bundle
297 "BDL" => Bdl,
298 /// Beam
299 "BEM" => Bem,
300 /// Bing Chest
301 "BIC" => Bic,
302 /// Bin
303 "BIN" => Bin,
304 /// Bulk Bag
305 "BKG" => Bkg,
306 /// Bulk
307 "BLK" => Blk,
308 /// Bobbin
309 "BOB" => Bob,
310 /// Bottle
311 "BOT" => Bot,
312 /// Box
313 "BOX" => Box,
314 /// Barge
315 "BRG" => Brg,
316 /// Basket or hamper
317 "BSK" => Bsk,
318 /// Box, with inner container
319 "BXI" => Bxi,
320 /// Bucket
321 "BXT" => Bxt,
322 /// Cabinet
323 "CAB" => Cab,
324 /// Cage
325 "CAG" => Cag,
326 /// Can
327 "CAN" => Can,
328 /// Carrier
329 "CAR" => Car,
330 /// Case
331 "CAS" => Cas,
332 /// Containers of Bulk Cargo
333 "CBC" => Cbc,
334 /// Carboy
335 "CBY" => Cby,
336 /// Can Case
337 "CCS" => Ccs,
338 /// Cheeses
339 "CHE" => Che,
340 /// Chest
341 "CHS" => Chs,
342 /// Car Load, Rail
343 "CLD" => Cld,
344 /// Household Goods Containers, Wood
345 "CNA" => Cna,
346 /// Container, MAC-ISO (Military Airlift Container - International Standards Organization) Light Weight 8x8x20 Foot Air
347 "CNB" => Cnb,
348 /// Container, Navy Cargo Transporter
349 "CNC" => Cnc,
350 /// Container, Commercial Highway Lift
351 "CND" => Cnd,
352 /// Engine Container
353 "CNE" => Cne,
354 /// Multiwall Container Secured to Warehouse Pallet
355 "CNF" => Cnf,
356 /// Container
357 "CNT" => Cnt,
358 /// CONEX - Container Express
359 "CNX" => Cnx,
360 /// Coil
361 "COL" => Col,
362 /// Cones
363 "CON" => Con,
364 /// Core
365 "COR" => Cor,
366 /// Cradle
367 "CRD" => Crd,
368 /// Crate
369 "CRT" => Crt,
370 /// Cask
371 "CSK" => Csk,
372 /// Carton
373 "CTN" => Ctn,
374 /// Cube
375 "CUB" => Cub,
376 /// Cylinder
377 "CYL" => Cyl,
378 /// Dry Bulk
379 "DBK" => Dbk,
380 /// Double-length Rack
381 "DRK" => Drk,
382 /// Drum
383 "DRM" => Drm,
384 /// Double-length Skid
385 "DSK" => Dsk,
386 /// Double-length Tote Bin
387 "DTB" => Dtb,
388 /// Duffle Bag
389 "DUF" => Duf,
390 /// Envelope
391 "ENV" => Env,
392 /// Firkin
393 "FIR" => Fir,
394 /// Flo-bin
395 "FLO" => Flo,
396 /// Liner Bag Liquid
397 "FLX" => Flx,
398 /// Frame
399 "FRM" => Frm,
400 /// Flask
401 "FSK" => Fsk,
402 /// Forward Reel
403 "FWR" => Fwr,
404 /// Garments on Hangers
405 "GOH" => Goh,
406 /// Heads of Beef
407 "HED" => Hed,
408 /// Hogshead
409 "HGH" => Hgh,
410 /// Hamper
411 "HPR" => Hpr,
412 /// Hopper Truck
413 "HPT" => Hpt,
414 /// On Hanger or Rack in Boxes
415 "HRB" => Hrb,
416 /// Half-standard Rack
417 "HRK" => Hrk,
418 /// Half-Standard Tote Bin
419 "HTB" => Htb,
420 /// Jar
421 "JAR" => Jar,
422 /// Jug
423 "JUG" => Jug,
424 /// Keg
425 "KEG" => Keg,
426 /// Kit
427 "KIT" => Kit,
428 /// Knockdown Rack
429 "KRK" => Krk,
430 /// Knockdown Tote Bin
431 "KTB" => Ktb,
432 /// Liquid Bulk
433 "LBK" => Lbk,
434 /// Lifts
435 "LIF" => Lif,
436 /// Log
437 "LOG" => Log,
438 /// Loose
439 "LSE" => Lse,
440 /// Lug
441 "LUG" => Lug,
442 /// Lift Van
443 "LVN" => Lvn,
444 /// MILVAN - Military Van
445 "MLV" => Mlv,
446 /// Multi-Roll Pack
447 "MRP" => Mrp,
448 /// MSCVAN - Military Sealift Command Van
449 "MSV" => Msv,
450 /// Mixed Type Pack
451 "MXD" => Mxd,
452 /// Noil
453 "NOL" => Nol,
454 /// Overwrap
455 "OVW" => Ovw,
456 /// Pail
457 "PAL" => Pal,
458 /// Packed - not otherwise specified
459 "PCK" => Pck,
460 /// Pieces
461 "PCS" => Pcs,
462 /// Pims
463 "PIR" => Pir,
464 /// Package
465 "PKG" => Pkg,
466 /// Platform
467 "PLF" => Plf,
468 /// 463L Air Pallet
469 "PLL" => Pll,
470 /// Pipeline
471 "PLN" => Pln,
472 /// Pallet
473 "PLT" => Plt,
474 /// Private Vehicle
475 "POV" => Pov,
476 /// Pipe Rack
477 "PRK" => Prk,
478 /// Quarter of Beef
479 "QTR" => Qtr,
480 /// Rail (Semiconductor)
481 "RAL" => Ral,
482 /// Rack
483 "RCK" => Rck,
484 /// Reel
485 "REL" => Rel,
486 /// Roll
487 "ROL" => Rol,
488 /// Reverse Reel
489 "RVR" => Rvr,
490 /// Sack
491 "SAK" => Sak,
492 /// Liner Bag Dry
493 "SBC" => Sbc,
494 /// Suitcase
495 "SCS" => Scs,
496 /// Shook
497 "SHK" => Shk,
498 /// Sheet
499 "SHT" => Sht,
500 /// Side of Beef
501 "SID" => Sid,
502 /// Skid
503 "SKD" => Skd,
504 /// Skid, elevating or lift truck
505 "SKE" => Ske,
506 /// Slip Sheet
507 "SLP" => Slp,
508 /// Sleeve
509 "SLV" => Slv,
510 /// Spin Cylinders
511 "SPI" => Spi,
512 /// Spool
513 "SPL" => Spl,
514 /// SEAVAN - Sea Van
515 "SVN" => Svn,
516 /// Tube
517 "TBE" => Tbe,
518 /// Tote Bin
519 "TBN" => Tbn,
520 /// Tank Car
521 "TKR" => Tkr,
522 /// Tank Truck
523 "TKT" => Tkt,
524 /// Intermodal Trailer/Container Load (Rail)
525 "TLD" => Tld,
526 /// Tank
527 "TNK" => Tnk,
528 /// Tierce
529 "TRC" => Trc,
530 /// Triwall Box
531 "TRI" => Tri,
532 /// Trunk and Chest
533 "TRK" => Trk,
534 /// Truck
535 "TRU" => Tru,
536 /// Tray
537 "TRY" => Try,
538 /// Trunk, Salesmen Sample
539 "TSS" => Tss,
540 /// Tote Can
541 "TTC" => Ttc,
542 /// Tub
543 "TUB" => Tub,
544 /// Unpacked
545 "UNP" => Unp,
546 /// Unit
547 "UNT" => Unt,
548 /// Vehicles
549 "VEH" => Veh,
550 /// Van Pack
551 "VPK" => Vpk,
552 /// On Own Wheel
553 "WHE" => Whe,
554 /// Wheeled Carrier
555 "WLC" => Wlc,
556 /// Wrapped
557 "WRP" => Wrp,
558 }
559);
560
561crate::code_enum!(
562 /// **214** Waybill Request Code
563 ///
564 /// - Data element: 214
565 /// - Type: Identifier (ID)
566 /// - Length: min 1, max 1
567 ///
568 /// Waybill Request Code. Code values verified against the Stedi X12 reference.
569 E214 {
570 /// Electronic Car Movement
571 "C" => C,
572 /// Electronic Revenue Waybill
573 "E" => E,
574 /// Electronic Haulage Waybill
575 "H" => H,
576 /// Paper Revenue Waybill Document
577 "P" => P,
578 }
579);
580
581crate::code_enum!(
582 /// **221** Billed/Rated-as Qualifier
583 ///
584 /// - Data element: 221
585 /// - Type: Identifier (ID)
586 /// - Length: min 2, max 2
587 ///
588 /// Billed/Rated-as Qualifier. Code values verified against the Stedi X12 reference.
589 E221 {
590 /// Appurtenance (Enhancements/Additions to Equipment)
591 "AR" => Ar,
592 /// Barrels
593 "BA" => Ba,
594 /// Box
595 "BX" => Bx,
596 /// Cubic Centimeter
597 "CC" => Cc,
598 /// Cubic Foot
599 "CF" => Cf,
600 /// Centimeter
601 "CM" => Cm,
602 /// Kilometers
603 "DK" => Dk,
604 /// Miles
605 "DM" => Dm,
606 /// Drivers
607 "DR" => Dr,
608 /// Each
609 "EA" => Ea,
610 /// Flat Rate
611 "FR" => Fr,
612 /// Foot
613 "FT" => Ft,
614 /// 100 Gallons
615 "GC" => Gc,
616 /// Gallon
617 "GL" => Gl,
618 /// Kilogram
619 "KG" => Kg,
620 /// Pound
621 "LB" => Lb,
622 /// 100 Pounds
623 "LC" => Lc,
624 /// 100 Liters
625 "LH" => Lh,
626 /// Liter
627 "LR" => Lr,
628 /// Mileage
629 "MR" => Mr,
630 /// Measurement Ton
631 "MT" => Mt,
632 /// Monetary Value
633 "MV" => Mv,
634 /// Barge
635 "NB" => Nb,
636 /// Car
637 "NC" => Nc,
638 /// Cord
639 "ND" => Nd,
640 /// Nights
641 "NG" => Ng,
642 /// Load
643 "NL" => Nl,
644 /// Train
645 "NN" => Nn,
646 /// Piece
647 "NP" => Np,
648 /// Container
649 "NR" => Nr,
650 /// Trailer
651 "NT" => Nt,
652 /// Unit
653 "NU" => Nu,
654 /// Vehicle
655 "NV" => Nv,
656 /// Other
657 "OR" => Or,
658 /// Package
659 "PK" => Pk,
660 /// Persons
661 "PR" => Pr,
662 /// Release Value
663 "RV" => Rv,
664 /// Stops
665 "SP" => Sp,
666 /// Number of States
667 "ST" => St,
668 /// Square Yards
669 "SY" => Sy,
670 /// Days
671 "TD" => Td,
672 /// Hours
673 "TH" => Th,
674 /// Tons
675 "TN" => Tn,
676 /// Time
677 "TR" => Tr,
678 /// Actual Volume
679 "VA" => Va,
680 /// Chargeable Volume
681 "VC" => Vc,
682 /// Volume Metric Unit
683 "VM" => Vm,
684 }
685);
686
687crate::code_enum!(
688 /// **226** Section Seven Code
689 ///
690 /// - Data element: 226
691 /// - Type: Identifier (ID)
692 /// - Length: min 1, max 1
693 ///
694 /// Section Seven Code. Code values verified against the Stedi X12 reference.
695 E226 {
696 /// Not in Effect
697 "N" => N,
698 /// In Effect
699 "S" => S,
700 }
701);
702
703crate::code_enum!(
704 /// **231** Cross Reference Type Code
705 ///
706 /// - Data element: 231
707 /// - Type: Identifier (ID)
708 /// - Length: min 1, max 1
709 ///
710 /// Cross Reference Type Code. Code values verified against the Stedi X12 reference.
711 E231 {
712 /// Additional Equipment for Manifest Billing
713 "A" => A,
714 /// Basket Attached to Chassis (to hold generator set)
715 "B" => B,
716 /// Prior Load Credit
717 "C" => C,
718 /// Chassis Attached to Container
719 "D" => D,
720 /// Conveying Flat Car
721 "F" => F,
722 /// Reference to Lead Equipment for Manifest Billing
723 "G" => G,
724 /// Generator Set
725 "H" => H,
726 /// Clip-on Front-Mounted Generator Unit For Container
727 "K" => K,
728 /// Lead Car
729 "L" => L,
730 /// Mated
731 "M" => M,
732 /// Cryogenic Apparatus
733 "N" => N,
734 /// Tractor
735 "R" => R,
736 /// Saddle to Conveying Flatcar
737 "S" => S,
738 /// Trailer
739 "T" => T,
740 /// Transfer Load
741 "X" => X,
742 }
743);
744
745crate::code_enum!(
746 /// **236** Price Identifier Code
747 ///
748 /// - Data element: 236
749 /// - Type: Identifier (ID)
750 /// - Length: min 3, max 3
751 ///
752 /// Price Identifier Code. Code values verified against the Stedi X12 reference.
753 E236 {
754 /// Actual
755 "ACT" => Act,
756 /// Average Generic Product Price
757 "AGC" => Agc,
758 /// Alternate Price
759 "ALT" => Alt,
760 /// Average Wholesale Price
761 "AWP" => Awp,
762 /// Balance-Based Price
763 "BBP" => Bbp,
764 /// Base Charge
765 "BCH" => Bch,
766 /// Bid Price
767 "BID" => Bid,
768 /// Contract Tier 1
769 "C01" => C01,
770 /// Contract Tier 2
771 "C02" => C02,
772 /// Contract Tier 3
773 "C03" => C03,
774 /// Contract Tier 4
775 "C04" => C04,
776 /// Contract Tier 5
777 "C05" => C05,
778 /// Contract Tier 6
779 "C06" => C06,
780 /// Contract Tier 7
781 "C07" => C07,
782 /// Contract Tier 8
783 "C08" => C08,
784 /// Contract Tier 9
785 "C09" => C09,
786 /// Contract Tier 10
787 "C10" => C10,
788 /// Contract Tier 11
789 "C11" => C11,
790 /// Contract Tier 12
791 "C12" => C12,
792 /// Contract Tier 13
793 "C13" => C13,
794 /// Contract Tier 14
795 "C14" => C14,
796 /// Contract Tier 15
797 "C15" => C15,
798 /// Contract Tier 16
799 "C16" => C16,
800 /// Contract Tier 17
801 "C17" => C17,
802 /// Contract Tier 18
803 "C18" => C18,
804 /// Contract Tier 19
805 "C19" => C19,
806 /// Contract Tier 20
807 "C20" => C20,
808 /// Contract Tier 21
809 "C21" => C21,
810 /// Contract Tier 22
811 "C22" => C22,
812 /// Contract Tier 23
813 "C23" => C23,
814 /// Contract Tier 24
815 "C24" => C24,
816 /// Contract Tier 25
817 "C25" => C25,
818 /// Contract Tier 26
819 "C26" => C26,
820 /// Contract Tier 27
821 "C27" => C27,
822 /// Contract Tier 28
823 "C28" => C28,
824 /// Contract Tier 29
825 "C29" => C29,
826 /// Contract Tier 30
827 "C30" => C30,
828 /// Cancellation Charge
829 "CAN" => Can,
830 /// Catalog Price
831 "CAT" => Cat,
832 /// Central Distribution Facility (Warehouse)
833 "CDF" => Cdf,
834 /// Current Domestic Value
835 "CDV" => Cdv,
836 /// Changed Price
837 "CHG" => Chg,
838 /// Contract Price
839 "CON" => Con,
840 /// Confirmed Unit Price
841 "CUP" => Cup,
842 /// Declared Customs Unit Value
843 "CUS" => Cus,
844 /// Federal Supply Schedule (FSS) Price
845 "D01" => D01,
846 /// Depot Price
847 "D02" => D02,
848 /// Distribution and Pricing Agreement (DAPA) Price
849 "D03" => D03,
850 /// Dealer Adjusted Price
851 "DAP" => Dap,
852 /// Distributor's Price
853 "DIS" => Dis,
854 /// Discount Price
855 "DPR" => Dpr,
856 /// Discount Amount Allowed
857 "DSC" => Dsc,
858 /// Direct Store Delivery
859 "DSD" => Dsd,
860 /// Direct Ship Program Price
861 "DSP" => Dsp,
862 /// Emergency Direct Ship Price (Original Equipment Manufacturer)
863 "EDM" => Edm,
864 /// Emergency Direct Ship Price
865 "EDP" => Edp,
866 /// Emergency Direct Ship Price (Supplier)
867 "EDS" => Eds,
868 /// Emergency Direct Ship Price (Warehouse)
869 "EDW" => Edw,
870 /// Estimated Landed Cost
871 "ELC" => Elc,
872 /// Estimated Price
873 "EST" => Est,
874 /// Expected Unit Price
875 "EUP" => Eup,
876 /// Flat Charge
877 "FCH" => Fch,
878 /// First Cost Price
879 "FCP" => Fcp,
880 /// Frequent Delivery Service
881 "FDS" => Fds,
882 /// Federal Excise Tax
883 "FET" => Fet,
884 /// Free Goods Price
885 "FGP" => Fgp,
886 /// Formula Price
887 "FOR" => For,
888 /// Free Service Price
889 "FSP" => Fsp,
890 /// Federal Upper Limit Price (Maximum Allowable Cost Pricing for Drugs)
891 "FUL" => Ful,
892 /// Firm Price - Do Not Advise
893 "FUP" => Fup,
894 /// Advertising Price
895 "GAP" => Gap,
896 /// Display Price
897 "GDP" => Gdp,
898 /// Government Price
899 "GOV" => Gov,
900 /// Shelf Price
901 "GSP" => Gsp,
902 /// Temporary Price Reduction Price
903 "GTP" => Gtp,
904 /// Unit Price Through Quantity
905 "ICL" => Icl,
906 /// Industrial Price
907 "IND" => Ind,
908 /// Institutional Price
909 "INS" => Ins,
910 /// Invoice Billing Price
911 "INV" => Inv,
912 /// Labor Rate
913 "LAR" => Lar,
914 /// Last Cost Price
915 "LCP" => Lcp,
916 /// Lease to Purchase Price
917 "LPP" => Lpp,
918 /// List Price
919 "LPR" => Lpr,
920 /// Mandatory to Advise Unit Price
921 "MAP" => Map,
922 /// Minimum Activity Surcharge
923 "MAS" => Mas,
924 /// Maximum Order Quantity Price
925 "MAX" => Max,
926 /// Minimum Order Quantity Price
927 "MIN" => Min,
928 /// Minimum Charge
929 "MNC" => Mnc,
930 /// Minimum Release Quantity Price
931 "MNR" => Mnr,
932 /// Modal Premium
933 "MOD" => Mod,
934 /// Maximum Price Reduction
935 "MPR" => Mpr,
936 /// Manufacturer's Suggested Retail
937 "MSR" => Msr,
938 /// Maximum Release Quantity Price
939 "MXR" => Mxr,
940 /// Noncontract Tier 1
941 "N01" => N01,
942 /// Noncontract Tier 2
943 "N02" => N02,
944 /// Noncontract Tier 3
945 "N03" => N03,
946 /// Noncontract Tier 4
947 "N04" => N04,
948 /// Noncontract Tier 5
949 "N05" => N05,
950 /// Noncontract Tier 6
951 "N06" => N06,
952 /// Noncontract Tier 7
953 "N07" => N07,
954 /// Noncontract Tier 8
955 "N08" => N08,
956 /// Noncontract Tier 9
957 "N09" => N09,
958 /// Noncontract Tier 10
959 "N10" => N10,
960 /// Noncontract Tier 11
961 "N11" => N11,
962 /// Noncontract Tier 12
963 "N12" => N12,
964 /// Noncontract Tier 13
965 "N13" => N13,
966 /// Noncontract Tier 14
967 "N14" => N14,
968 /// Noncontract Tier 15
969 "N15" => N15,
970 /// Noncontract Tier 16
971 "N16" => N16,
972 /// Noncontract Tier 17
973 "N17" => N17,
974 /// Noncontract Tier 18
975 "N18" => N18,
976 /// Noncontract Tier 19
977 "N19" => N19,
978 /// Noncontract Tier 20
979 "N20" => N20,
980 /// Noncontract Tier 21
981 "N21" => N21,
982 /// Noncontract Tier 22
983 "N22" => N22,
984 /// Noncontract Tier 23
985 "N23" => N23,
986 /// Noncontract Tier 24
987 "N24" => N24,
988 /// Noncontract Tier 25
989 "N25" => N25,
990 /// Noncontract Tier 26
991 "N26" => N26,
992 /// Noncontract Tier 27
993 "N27" => N27,
994 /// Noncontract Tier 28
995 "N28" => N28,
996 /// Noncontract Tier 29
997 "N29" => N29,
998 /// Noncontract Tier 30
999 "N30" => N30,
1000 /// No Charge
1001 "N31" => N31,
1002 /// Net Item Price
1003 "NET" => Net,
1004 /// Optional to Advise Unit Price
1005 "OAP" => Oap,
1006 /// Original Purchase Order Price
1007 "OPP" => Opp,
1008 /// Protection Level Price
1009 "PAP" => Pap,
1010 /// Price Break Quantity(s)
1011 "PAQ" => Paq,
1012 /// Unit Price Beginning Quantity
1013 "PBQ" => Pbq,
1014 /// Price Break Purchase Order Count
1015 "PBR" => Pbr,
1016 /// Public Health Service Price
1017 "PHS" => Phs,
1018 /// Price in Effect at Time of Shipment
1019 "PIE" => Pie,
1020 /// Producing Plant Price
1021 "PLT" => Plt,
1022 /// Packing Level Price
1023 "PPA" => Ppa,
1024 /// Prepaid Freight Charges
1025 "PPD" => Ppd,
1026 /// Professional Price
1027 "PRF" => Prf,
1028 /// Producer's Price
1029 "PRO" => Pro,
1030 /// Promotional price
1031 "PRP" => Prp,
1032 /// Purchase
1033 "PUR" => Pur,
1034 /// Quote Price
1035 "QTE" => Qte,
1036 /// Regular Charge
1037 "REG" => Reg,
1038 /// Resale
1039 "RES" => Res,
1040 /// Rental Price, Annual
1041 "RPA" => Rpa,
1042 /// Rental Price, Monthly
1043 "RPM" => Rpm,
1044 /// Replacement Price
1045 "RPP" => Rpp,
1046 /// Rush Charge
1047 "RSH" => Rsh,
1048 /// Retail
1049 "RTL" => Rtl,
1050 /// Service Attempted Charge
1051 "SAC" => Sac,
1052 /// Suggested Dealer Net Price
1053 "SDP" => Sdp,
1054 /// Suggested Fleet Price
1055 "SFP" => Sfp,
1056 /// Ship and Debit
1057 "SHD" => Shd,
1058 /// Suggested List Price
1059 "SLP" => Slp,
1060 /// Special Price
1061 "SPC" => Spc,
1062 /// Single Price (Factors Equalized)
1063 "SPE" => Spe,
1064 /// Secondary Supply Plant
1065 "SSP" => Ssp,
1066 /// Standard Price
1067 "STA" => Sta,
1068 /// Sum of Line Items
1069 "SUM" => Sum,
1070 /// Suggested Wholesale Price
1071 "SWP" => Swp,
1072 /// Threshold Price
1073 "THP" => Thp,
1074 /// Total Invoice Amount Due
1075 "TOT" => Tot,
1076 /// Transfer
1077 "TRF" => Trf,
1078 /// Unit cost price
1079 "UCP" => Ucp,
1080 /// Unsalable Item List Cost
1081 "ULC" => Ulc,
1082 /// Public Warehouse Price
1083 "WAR" => War,
1084 /// Wholesale
1085 "WHL" => Whl,
1086 /// Waived Service Price
1087 "WSP" => Wsp,
1088 /// Zone Price
1089 "ZNP" => Znp,
1090 }
1091);
1092
1093crate::code_enum!(
1094 /// **240** Car Service Order Code
1095 ///
1096 /// - Data element: 240
1097 /// - Type: Identifier (ID)
1098 /// - Length: min 3, max 5
1099 ///
1100 /// Car Service Order Code. Code values verified against the Stedi X12 reference.
1101 E240 {
1102 /// Empty car under directive CSD145
1103 "145" => N145,
1104 /// Loaded car under directive CSD145 that is to return to agent at city specified
1105 "145A" => N145A,
1106 /// Loaded car under directive CSD145 that is to return to shipper at billed origin
1107 "145S" => N145S,
1108 /// Assigned TTX car that is to be returned to shipper at billed origin by reverse of loaded move
1109 "145X" => N145X,
1110 /// Unassigned special equipped car that is to be handled in accordance with the provisions of directive CSD150
1111 "150" => N150,
1112 /// Unassigned TTX car that is to be handled in accordance with trailer train directive 150
1113 "150X" => N150X,
1114 /// Empty car under CSD155
1115 "155" => N155,
1116 /// Loaded car under directive CSD155 that is to return to agent at city specified
1117 "155A" => N155A,
1118 /// Loaded car under directive CSD155 that is to return to shipper at billed origin
1119 "155S" => N155S,
1120 /// Empty car under directive CSD435
1121 "435" => N435,
1122 /// Loaded car under directive CSD435 that is to return to agent at city specified
1123 "435A" => N435A,
1124 /// Loaded car under directive CSD435 that is to return to shipper at billed origin
1125 "435S" => N435S,
1126 /// Special heavy duty flat car that is to be handled under the provisions of directive CSD439
1127 "439" => N439,
1128 /// Car being returned per car owner's instructions
1129 "34617" => N34617,
1130 /// Car being returned per the pool operator's instructions
1131 "34618" => N34618,
1132 /// Car being returned per AAR/ICC instructions
1133 "34619" => N34619,
1134 /// Loaded TTX cars under directive CMD1 that are to be returned to the origin road at the city specified
1135 "CMD1A" => Cmd1a,
1136 /// Loaded TTX cars under directive CMD1 that are to be returned to shipper at billed origin
1137 "CMD1S" => Cmd1s,
1138 /// Empty Car Moving Under Car Service Rule 5 Charges
1139 "CSR5" => Csr5,
1140 }
1141);
1142
1143crate::code_enum!(
1144 /// **241** Protective Service Code
1145 ///
1146 /// - Data element: 241
1147 /// - Type: Identifier (ID)
1148 /// - Length: min 1, max 4
1149 ///
1150 /// Protective Service Code. Code values verified against the Stedi X12 reference.
1151 E241 {
1152 /// Body Ice
1153 "B" => B,
1154 /// Body Ice Consumed or Removed
1155 "BC" => Bc,
1156 /// Discontinue Service
1157 "D" => D,
1158 /// Do Not Heat
1159 "HDN" => Hdn,
1160 /// Do Not Heat in Canada
1161 "HDNC" => Hdnc,
1162 /// Standard Heating In Canada
1163 "HSC" => Hsc,
1164 /// Standard Mechanical Protective Service
1165 "M" => M,
1166 /// Modified Mechanical Protective Service
1167 "MN" => Mn,
1168 /// Do Not Operate
1169 "MNU" => Mnu,
1170 }
1171);
1172
1173crate::code_enum!(
1174 /// **242** Vent Instruction Code
1175 ///
1176 /// - Data element: 242
1177 /// - Type: Identifier (ID)
1178 /// - Length: min 1, max 7
1179 ///
1180 /// Vent Instruction Code. Code values verified against the Stedi X12 reference.
1181 E242 {
1182 /// Standard Ventilation at "--" Degrees (Other than 32 Degrees)
1183 "V40" => V40,
1184 /// Vents Closed to Destination
1185 "VC" => Vc,
1186 /// Diagonal Ventilation at "--" Degrees (Other than 32 Degrees) - Open Vent Each End of Car
1187 "VD40" => Vd40,
1188 /// Diagonal Vents on Irons
1189 "VDOI" => Vdoi,
1190 /// Vents Open to Destination
1191 "VO" => Vo,
1192 /// Vents on Irons
1193 "VOI" => Voi,
1194 /// Standard Ventilation at 32 Degrees
1195 "VS" => Vs,
1196 /// Standard Ventilation - Substitute Carrier's Protective Service at First Terminal Train Yard where Heaters Are Available and Outside Temperature is 10 Degrees Above Zero or Lower (PPT #619 Rules 385 and 515)
1197 "VS10" => Vs10,
1198 }
1199);
1200
1201crate::code_enum!(
1202 /// **246** Certification/Clause Code
1203 ///
1204 /// - Data element: 246
1205 /// - Type: Identifier (ID)
1206 /// - Length: min 2, max 4
1207 ///
1208 /// Certification/Clause Code. Code values verified against the Stedi X12 reference.
1209 E246 {
1210 /// Shipper's Load and Count
1211 "01" => N01,
1212 /// Shipper's Load, Stowage and Count
1213 "02" => N02,
1214 /// Laden on Board
1215 "03" => N03,
1216 /// Laden on Board Vessel
1217 "04" => N04,
1218 /// Vessel Not Responsible for Freezing
1219 "05" => N05,
1220 /// Container(s) Sealed by Shipper
1221 "06" => N06,
1222 /// On Deck at Shipper's Risk
1223 "07" => N07,
1224 /// Short-Shipped
1225 "08" => N08,
1226 /// Sea Waybill
1227 "09" => N09,
1228 /// This Shipment is Effected under a Sea Waybill
1229 "10" => N10,
1230 /// Memo Bill of Lading Only
1231 "11" => N11,
1232 /// Refrigerated Cargo
1233 "12" => N12,
1234 /// Cool Cargo
1235 "13" => N13,
1236 /// Freeze Cargo
1237 "14" => N14,
1238 /// Inland Transportation Arranged as Agents Only with such Arranged Transportation Being Solely for Account and Risk of Cargo
1239 "15" => N15,
1240 /// Sea-Air Cargo
1241 "16" => N16,
1242 /// Freight Prepaid
1243 "17" => N17,
1244 /// Freight Collect
1245 "18" => N18,
1246 /// Freight as Agreed
1247 "19" => N19,
1248 /// No Shipper's Export Declaration Required (Section 30.39)
1249 "20" => N20,
1250 /// Carrier Reserves the Right to Place Container(s) in Heated Warehouse at a Set Cost
1251 "21" => N21,
1252 /// On Board Rail
1253 "22" => N22,
1254 /// On Board Truck
1255 "23" => N23,
1256 /// On Board Vessel
1257 "24" => N24,
1258 /// Received For Shipment
1259 "25" => N25,
1260 /// On Board Container
1261 "26" => N26,
1262 /// On Board Airplane
1263 "27" => N27,
1264 /// On Board Boxcar
1265 "28" => N28,
1266 /// Emergency Response Statement
1267 "29" => N29,
1268 /// International Maritime Organization Certification
1269 "30" => N30,
1270 /// Statement of Correctness
1271 "31" => N31,
1272 /// Destination Control Statements
1273 "32" => N32,
1274 /// Producing Country of Origin
1275 "33" => N33,
1276 /// Laden on Board Named Vessel
1277 "34" => N34,
1278 /// Age of Vessel
1279 "35" => N35,
1280 /// Kosher
1281 "36" => N36,
1282 /// Route
1283 "37" => N37,
1284 /// Certification Statements
1285 "38" => N38,
1286 /// Destination Country
1287 "39" => N39,
1288 /// Title Passage Clause
1289 "40" => N40,
1290 /// Container Safety Act
1291 "41" => N41,
1292 /// Substantial Transformation
1293 "42" => N42,
1294 /// Canada Value Added
1295 "43" => N43,
1296 /// Mexican Value Added
1297 "44" => N44,
1298 /// General Agreement on Tariff and Trade (GATT)
1299 "45" => N45,
1300 /// Prior Damage Remarks
1301 "46" => N46,
1302 /// Administrative
1303 "AM" => Am,
1304 /// Caribbean Basin Initiative (CBI)
1305 "CB" => Cb,
1306 /// Custom
1307 "CC" => Cc,
1308 /// Container Packing Certificate
1309 "CP" => Cp,
1310 /// Disclaimer
1311 "DC" => Dc,
1312 /// Delivery Order Liability Clause
1313 "DV" => Dv,
1314 /// Estimate Error
1315 "EE" => Ee,
1316 /// Estimate Remarks
1317 "ER" => Er,
1318 /// General System of Preferences (GSP)
1319 "GS" => Gs,
1320 /// Heading
1321 "HD" => Hd,
1322 /// Hidden
1323 "HN" => Hn,
1324 /// Israeli Free Trade Agreement
1325 "IS" => Is,
1326 /// North American Free Trade Agreement (NAFTA)
1327 "NF" => Nf,
1328 }
1329);
1330
1331crate::code_enum!(
1332 /// **256** Manifest Type Code
1333 ///
1334 /// - Data element: 256
1335 /// - Type: Identifier (ID)
1336 /// - Length: min 1, max 1
1337 ///
1338 /// Manifest Type Code. Code values verified against the Stedi X12 reference.
1339 E256 {
1340 /// Original Manifest From Carrier To Port of Discharge
1341 "A" => A,
1342 /// Updating Manifest Prior To Vessel Arrival From Carrier To Port of Discharge
1343 "B" => B,
1344 /// Amendment To Manifest From Carrier To Port of Discharge
1345 "C" => C,
1346 /// Updating Export Manifest Prior to Vessel Departure From Carrier to U.S. Customs
1347 "D" => D,
1348 /// Original Export Manifest from Carrier to U.S. Customs
1349 "E" => E,
1350 /// Amendment to Export Manifest From Carrier to U.S. Customs
1351 "F" => F,
1352 /// General Order Items from Carriers to US Customs
1353 "G" => G,
1354 /// Arrival Notification from Carrier to U.S. Customs
1355 "H" => H,
1356 /// Supplementary In-bond Information from Carrier to U.S. Customs
1357 "I" => I,
1358 /// Sent from U.S. Customs (Export) to Carriers
1359 "J" => J,
1360 /// Departure Notification from Carrier to U.S. Customs
1361 "K" => K,
1362 /// Transfer of Liability
1363 "L" => L,
1364 /// Driver Information Update
1365 "M" => M,
1366 /// Preliminary Manifest from Carrier to U.S. Customs
1367 "P" => P,
1368 /// Consist Manifest from Carrier to U.S. Customs
1369 "S" => S,
1370 /// Transit
1371 "T" => T,
1372 /// Amendment to Manifest Required by US Customs
1373 "V" => V,
1374 /// Original Manifest from Carriers to US Customs
1375 "W" => W,
1376 /// Updating Manifest Prior to Vessel Arrival from Carriers to US Customs
1377 "X" => X,
1378 /// Amendment to Manifest from Carrier to US Customs
1379 "Y" => Y,
1380 /// Sent from US Customs to Carriers
1381 "Z" => Z,
1382 }
1383);
1384
1385crate::code_enum!(
1386 /// **257** Tariff Application Code
1387 ///
1388 /// - Data element: 257
1389 /// - Type: Identifier (ID)
1390 /// - Length: min 1, max 1
1391 ///
1392 /// Tariff Application Code. Code values verified against the Stedi X12 reference.
1393 E257 {
1394 /// Intrastate - Intraplant
1395 "A" => A,
1396 /// Interstate - Intraplant
1397 "B" => B,
1398 /// Commingled
1399 "C" => C,
1400 /// Reciprocal
1401 "D" => D,
1402 /// Intraterminal
1403 "E" => E,
1404 /// Interterminal
1405 "F" => F,
1406 /// International
1407 "I" => I,
1408 /// Interstate
1409 "N" => N,
1410 /// Regional
1411 "R" => R,
1412 /// Intrastate
1413 "S" => S,
1414 }
1415);
1416
1417crate::code_enum!(
1418 /// **259** Change Type Code
1419 ///
1420 /// - Data element: 259
1421 /// - Type: Identifier (ID)
1422 /// - Length: min 1, max 1
1423 ///
1424 /// Change Type Code. Code values verified against the Stedi X12 reference.
1425 E259 {
1426 /// Add Rate
1427 "A" => A,
1428 /// Original Price Change Transaction
1429 "B" => B,
1430 /// Cancel Previous Price Change Transaction
1431 "C" => C,
1432 /// Decrease Rate
1433 "D" => D,
1434 /// Eliminate/Expire
1435 "E" => E,
1436 /// Confirmation Of A Discussion Between Buyer And Sales Representative
1437 "F" => F,
1438 /// Add Items To A Previous Change Transaction
1439 "G" => G,
1440 /// Delete Items From A Previous Change Transaction
1441 "H" => H,
1442 /// Increase Rate
1443 "I" => I,
1444 /// Replace All Dates Shown In A Previous Change
1445 "J" => J,
1446 /// Replace Prices Shown In A Previous Change Transaction
1447 "K" => K,
1448 /// Replace Restrictions (Conditions) At An Item Level Shown In A Previous Change
1449 "L" => L,
1450 /// Replace Marketing Area Shown In A Previous Announcement
1451 "M" => M,
1452 /// Change Having No Effect on Rates
1453 "N" => N,
1454 /// Replace Restrictions (Conditions) At A Transaction Level Shown In A Previous Change
1455 "O" => O,
1456 /// Replace Price Area Shown In A Previous Change
1457 "P" => P,
1458 /// Replace Previous Change Transaction Entirely Because of Multiple Kinds Of Changes Or To Make Changes Not Specifically Indicated By Another Code In This Data Element
1459 "Q" => Q,
1460 /// Replace Allowance Rates Shown In A Previous Announcement
1461 "R" => R,
1462 /// Modified
1463 "T" => T,
1464 /// New
1465 "W" => W,
1466 /// No Modification
1467 "X" => X,
1468 }
1469);
1470
1471crate::code_enum!(
1472 /// **262** Geography Qualifier Code
1473 ///
1474 /// - Data element: 262
1475 /// - Type: Identifier (ID)
1476 /// - Length: min 1, max 1
1477 ///
1478 /// Geography Qualifier Code. Code values verified against the Stedi X12 reference.
1479 E262 {
1480 /// And
1481 "A" => A,
1482 /// Between
1483 "B" => B,
1484 /// Destination
1485 "D" => D,
1486 /// From
1487 "F" => F,
1488 /// Intermediate Location
1489 "I" => I,
1490 /// Geographic Listing
1491 "L" => L,
1492 /// Origin
1493 "O" => O,
1494 /// Prior Origin
1495 "P" => P,
1496 /// To
1497 "T" => T,
1498 /// Ultimate Destination
1499 "U" => U,
1500 }
1501);
1502
1503crate::code_enum!(
1504 /// **271** Subsidiary Risk Indicator
1505 ///
1506 /// - Data element: 271
1507 /// - Type: Identifier (ID)
1508 /// - Length: min 1, max 2
1509 ///
1510 /// Subsidiary Risk Indicator. Code values verified against the Stedi X12 reference.
1511 E271 {
1512 /// Potentially Explosive
1513 "E" => E,
1514 /// Potentially Very Damaging To The Eyes
1515 "I" => I,
1516 }
1517);
1518
1519crate::code_enum!(
1520 /// **272** Hazardous Certification Code
1521 ///
1522 /// - Data element: 272
1523 /// - Type: Identifier (ID)
1524 /// - Length: min 1, max 1
1525 ///
1526 /// Hazardous Certification Code. Code values verified against the Stedi X12 reference.
1527 E272 {
1528 /// Abbreviated Hazardous Certification
1529 "1" => N1,
1530 /// Long Form of Hazardous Certification
1531 "2" => N2,
1532 }
1533);
1534
1535crate::code_enum!(
1536 /// **283** Terms Due Date Qualifier
1537 ///
1538 /// - Data element: 283
1539 /// - Type: Identifier (ID)
1540 /// - Length: min 2, max 2
1541 ///
1542 /// Terms Due Date Qualifier. Code values verified against the Stedi X12 reference.
1543 E283 {
1544 /// Mailed by Date (Postmark Date)
1545 "01" => N01,
1546 /// Received by date
1547 "02" => N02,
1548 /// Electronics Funds Transfer Settlement Date
1549 "03" => N03,
1550 /// Funds Deposited by Date
1551 "04" => N04,
1552 }
1553);
1554
1555crate::code_enum!(
1556 /// **284** Service Level Code
1557 ///
1558 /// - Data element: 284
1559 /// - Type: Identifier (ID)
1560 /// - Length: min 2, max 2
1561 ///
1562 /// Service Level Code. Code values verified against the Stedi X12 reference.
1563 E284 {
1564 /// Bulk Commodity Train
1565 "01" => N01,
1566 /// Three Day Service
1567 "3D" => N3D,
1568 /// Premium Surface
1569 "09" => N09,
1570 /// 9 A.M.
1571 "9A" => N9A,
1572 /// Air Cargo
1573 "AC" => Ac,
1574 /// Air Economy
1575 "AE" => Ae,
1576 /// A.M.
1577 "AM" => Am,
1578 /// Business Class
1579 "BC" => Bc,
1580 /// Consignee Billing Service
1581 "CB" => Cb,
1582 /// Courier Express
1583 "CE" => Ce,
1584 /// Ground
1585 "CG" => Cg,
1586 /// Express Service
1587 "CX" => Cx,
1588 /// Delivery Scheduled Next Day by Cartage Agent
1589 "D1" => D1,
1590 /// Delivery scheduled second day by cartage agent
1591 "D2" => D2,
1592 /// Delivery scheduled third day by cartage agent
1593 "D3" => D3,
1594 /// Delivery Confirmation
1595 "DC" => Dc,
1596 /// Deferred Service
1597 "DF" => Df,
1598 /// Delivery Confirmation Return
1599 "DR" => Dr,
1600 /// Door Service
1601 "DS" => Ds,
1602 /// Delivery Notification Only
1603 "DT" => Dt,
1604 /// Expedited Service
1605 "ES" => Es,
1606 /// Proof of Delivery (POD) with Signature
1607 "ET" => Et,
1608 /// First Class
1609 "FC" => Fc,
1610 /// Standard Service
1611 "G2" => G2,
1612 /// Express Service Plus
1613 "GP" => Gp,
1614 /// Tracking - Ground
1615 "GT" => Gt,
1616 /// International Second Day
1617 "I2" => I2,
1618 /// IATA
1619 "IA" => Ia,
1620 /// Expedited Service - Worldwide
1621 "IE" => Ie,
1622 /// International Service
1623 "IS" => Is,
1624 /// Express Service - Worldwide
1625 "IX" => Ix,
1626 /// Metro
1627 "ME" => Me,
1628 /// Multiweight
1629 "MW" => Mw,
1630 /// Next Day Air
1631 "ND" => Nd,
1632 /// Next Flight Out
1633 "NF" => Nf,
1634 /// Next Day Hundred Weight
1635 "NH" => Nh,
1636 /// Next Morning
1637 "NM" => Nm,
1638 /// Not Served
1639 "NS" => Ns,
1640 /// Overnight
1641 "ON" => On,
1642 /// Priority Service
1643 "P1" => P1,
1644 /// Primary Service Area
1645 "P2" => P2,
1646 /// Primary Service Area - Next Day by 10:30 A.M.
1647 "PA" => Pa,
1648 /// Priority Mail
1649 "PB" => Pb,
1650 /// Primary Service Area - Next Day By 9:30 AM
1651 "PC" => Pc,
1652 /// Priority Mail Insured
1653 "PI" => Pi,
1654 /// PM
1655 "PM" => Pm,
1656 /// Primary Service Area - Next Day by Noon
1657 "PN" => Pn,
1658 /// P.O. Box/Zip Code
1659 "PO" => Po,
1660 /// Primary Service Area - Next Day by 5:00 P.M.
1661 "PR" => Pr,
1662 /// Primary Service Area - Second Day by Noon
1663 "PS" => Ps,
1664 /// Premium Service
1665 "PX" => Px,
1666 /// Passenger Service
1667 "R1" => R1,
1668 /// Quality Intermodal High Speed 70 Miles Per Hour (MPH)
1669 "R2" => R2,
1670 /// Other Intermodal and Stack Service
1671 "R3" => R3,
1672 /// 60 Miles Per Hour (MPH) Service
1673 "R4" => R4,
1674 /// Manifest Freight
1675 "R5" => R5,
1676 /// Circus Train
1677 "R6" => R6,
1678 /// Work Train
1679 "R7" => R7,
1680 /// Commuter Service
1681 "R8" => R8,
1682 /// Authorized Return Service
1683 "RS" => Rs,
1684 /// Same Day
1685 "SA" => Sa,
1686 /// Second Day Air
1687 "SC" => Sc,
1688 /// Saturday
1689 "SD" => Sd,
1690 /// Second Day
1691 "SE" => Se,
1692 /// Standard Ground
1693 "SG" => Sg,
1694 /// Second Day Hundred Weight
1695 "SH" => Sh,
1696 /// Standard Ground Hundred Weight
1697 "SI" => Si,
1698 /// Second Morning
1699 "SM" => Sm,
1700 /// Saturday Pickup
1701 "SP" => Sp,
1702 /// Standard Class
1703 "ST" => St,
1704 /// Mutually Defined
1705 "ZZ" => Zz,
1706 }
1707);
1708
1709crate::code_enum!(
1710 /// **288** Pre-priced Option Code
1711 ///
1712 /// - Data element: 288
1713 /// - Type: Identifier (ID)
1714 /// - Length: min 1, max 1
1715 ///
1716 /// Pre-priced Option Code. Code values verified against the Stedi X12 reference.
1717 E288 {
1718 /// Pre-Priced Prices included and price qualifier applies
1719 "A" => A,
1720 /// Bonus Pack
1721 "B" => B,
1722 /// Cents-off Pack
1723 "C" => C,
1724 /// Feature Price
1725 "F" => F,
1726 /// Not Pre-Priced
1727 "N" => N,
1728 /// Pre-Priced (Prices Included)
1729 "Y" => Y,
1730 /// Pre-Priced (Prices Not Included)
1731 "Z" => Z,
1732 }
1733);
1734
1735crate::code_enum!(
1736 /// **290** Price Condition Code
1737 ///
1738 /// - Data element: 290
1739 /// - Type: Identifier (ID)
1740 /// - Length: min 2, max 2
1741 ///
1742 /// Price Condition Code. Code values verified against the Stedi X12 reference.
1743 E290 {
1744 /// Price Protection Applies
1745 "01" => N01,
1746 /// Allocation Applies
1747 "02" => N02,
1748 /// Advance Ship Notice/Pallet Tags
1749 "03" => N03,
1750 /// Bar Code Case Label
1751 "04" => N04,
1752 /// Bottom Load Only
1753 "05" => N05,
1754 /// Color Coding
1755 "06" => N06,
1756 /// Synchronization of Prices
1757 "07" => N07,
1758 /// Dedicated Carrier
1759 "08" => N08,
1760 /// Drop Trailer
1761 "09" => N09,
1762 /// Financial Electronic Data Interchange (FEDI)
1763 "10" => N10,
1764 /// Fax a Manifest
1765 "11" => N11,
1766 /// Hand Stack - Special Loading
1767 "12" => N12,
1768 /// Modular Pallets
1769 "13" => N13,
1770 /// No Diverting
1771 "14" => N14,
1772 /// Order Lead Time Requirement
1773 "15" => N15,
1774 /// Order Quality (No-Touch EDI)
1775 "16" => N16,
1776 /// Pallet Placards
1777 "17" => N17,
1778 /// Pick and Pack
1779 "18" => N18,
1780 /// Pre-set Appointments
1781 "19" => N19,
1782 /// Rapid Deployment (Same Day Ship)
1783 "20" => N20,
1784 /// Slipsheet
1785 "21" => N21,
1786 /// Strap Packages
1787 "22" => N22,
1788 /// Third Party Pallet
1789 "23" => N23,
1790 /// Unload Time Required
1791 "24" => N24,
1792 }
1793);
1794
1795crate::code_enum!(
1796 /// **291** Price Condition Applies Code
1797 ///
1798 /// - Data element: 291
1799 /// - Type: Identifier (ID)
1800 /// - Length: min 3, max 3
1801 ///
1802 /// Price Condition Applies Code. Code values verified against the Stedi X12 reference.
1803 E291 {
1804 /// Yes at Transaction Set Level
1805 "001" => N001,
1806 /// Yes at Line Item Level
1807 "002" => N002,
1808 /// No Conditions Apply
1809 "003" => N003,
1810 }
1811);
1812
1813crate::code_enum!(
1814 /// **292** Quantity Basis
1815 ///
1816 /// - Data element: 292
1817 /// - Type: Identifier (ID)
1818 /// - Length: min 3, max 3
1819 ///
1820 /// Quantity Basis. Code values verified against the Stedi X12 reference.
1821 E292 {
1822 /// Quantity per Customer Allowed
1823 "001" => N001,
1824 /// Quantity per Market Allowed
1825 "002" => N002,
1826 }
1827);
1828
1829crate::code_enum!(
1830 /// **293** Promotion Condition Qualifier
1831 ///
1832 /// - Data element: 293
1833 /// - Type: Identifier (ID)
1834 /// - Length: min 2, max 2
1835 ///
1836 /// Promotion Condition Qualifier. Code values verified against the Stedi X12 reference.
1837 E293 {
1838 /// "AND" Relationship Between Current and Immediately Prior Occurrences of the Same Segment
1839 "01" => N01,
1840 /// "OR" Relationship Between Current and All Preceding Occurrences of the Same Segment
1841 "02" => N02,
1842 /// Refer to Free-form Description
1843 "99" => N99,
1844 }
1845);
1846
1847crate::code_enum!(
1848 /// **295** Distance Qualifier
1849 ///
1850 /// - Data element: 295
1851 /// - Type: Identifier (ID)
1852 /// - Length: min 1, max 1
1853 ///
1854 /// Distance Qualifier. Code values verified against the Stedi X12 reference.
1855 E295 {
1856 /// Air Miles
1857 "A" => A,
1858 /// Carrier's Rate Basis Number
1859 "B" => B,
1860 /// Carrier's Docket 28300 Miles
1861 "D" => D,
1862 /// Air Kilometers
1863 "F" => F,
1864 /// Kilometers (Actual)
1865 "K" => K,
1866 /// Tariff Kilometers
1867 "L" => L,
1868 /// Miles (Actual)
1869 "M" => M,
1870 /// Tariff Miles
1871 "T" => T,
1872 /// Maximum Miles
1873 "X" => X,
1874 }
1875);
1876
1877crate::num_element!(
1878 /// **294** Tariff Distance
1879 ///
1880 /// - Data element: 294
1881 /// - Type: Numeric (N0)
1882 /// - Length: min 1, max 5
1883 ///
1884 /// Tariff Distance.
1885 E294
1886);