1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.TCC
16 import Text.Edifact.D01B.Composites (compositeC200, compositeC203,
17 compositeC528, compositeC554)
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
22 -- | Derived from this specification:
24 -- > TCC CHARGE/RATE CALCULATIONS
26 -- > Function: To specify charges.
28 -- > 010 C200 CHARGE C 1
29 -- > 8023 Freight and other charges description
30 -- > identifier C an..17
31 -- > 1131 Code list identification code C an..17
32 -- > 3055 Code list responsible agency code C an..3
33 -- > 8022 Freight and other charges description C an..26
34 -- > 4237 Payment arrangement code C an..3
35 -- > 7140 Item identifier C an..35
37 -- > 020 C203 RATE/TARIFF CLASS C 1
38 -- > 5243 Rate or tariff class description code M an..9
39 -- > 1131 Code list identification code C an..17
40 -- > 3055 Code list responsible agency code C an..3
41 -- > 5242 Rate or tariff class description C an..35
42 -- > 5275 Supplementary rate or tariff code C an..6
43 -- > 1131 Code list identification code C an..17
44 -- > 3055 Code list responsible agency code C an..3
45 -- > 5275 Supplementary rate or tariff code C an..6
46 -- > 1131 Code list identification code C an..17
47 -- > 3055 Code list responsible agency code C an..3
49 -- > 030 C528 COMMODITY/RATE DETAIL C 1
50 -- > 7357 Commodity identification code C an..18
51 -- > 1131 Code list identification code C an..17
52 -- > 3055 Code list responsible agency code C an..3
54 -- > 040 C554 RATE/TARIFF CLASS DETAIL C 1
55 -- > 5243 Rate or tariff class description code C an..9
56 -- > 1131 Code list identification code C an..17
57 -- > 3055 Code list responsible agency code C an..3
59 -- Dependencies: 'compositeC200', 'compositeC203', 'compositeC528', 'compositeC554'.
60 segmentTCC :: Parser Value
63 [ "010" .@ optional compositeC200
64 , "020" .@ optional compositeC203
65 , "030" .@ optional compositeC528
66 , "040" .@ optional compositeC554