1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S5249
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 5249 Percentage basis identification code [B]
17 -- > Desc: Code specifying the basis on which a percentage is
23 -- > Referenced percentage applies on a single unit basis.
26 -- > Reduction percentage is applied per transported ton.
28 -- > 3 Per equipment unit
29 -- > Reduction percentage is applied per main equipment unit
30 -- > (for rail purpose, only rail wagons).
33 -- > Reduction percentage is applied on the unit price, which
34 -- > is the basis of the charge calculation.
37 -- > Reduction percentage applied on the unit price and
38 -- > conceded to a consignor after he reached a specified
39 -- > tonnage of transport.
42 -- > Code to indicate that the IATA experimental special
43 -- > charge within Europe is the basis for the percentage
44 -- > reduction or surcharge.
46 -- > 7 Rate per kilogram
47 -- > Code to indicate that the IATA experimental special rate
48 -- > within in Europe is the basis for the percentage
49 -- > reduction or surcharge.
52 -- > Code to indicate that the IATA minimum charge is the
53 -- > basis for the percentage reduction or surcharge.
56 -- > Code to indicate that the IATA normal rate is the basis
57 -- > for the percentage reduction or surcharge.
60 -- > Code to indicate that the IATA quantity rate is the
61 -- > basis for the percentage reduction or surcharge.
63 -- > 11 Amount of drawing
64 -- > Referenced percentage applies on the amount of drawing
65 -- > under the documentary credit.
67 -- > 12 Documentary credit amount
68 -- > Referenced percentage applies on documentary credit
72 -- > Referenced percentage applies on the invoice value.
75 -- > Referenced percentage applies on CIF value.
78 -- > The percentage applied to the contract cost.
81 -- > The percentage applied to the labour hours.
83 -- > 17 LIBOR (London Inter-Bank Offered Rate)
84 -- > The percentage basis is London Inter-Bank Offered Rate
87 -- > 18 FIBOR (Frankfurt Inter-Bank Offered Rate)
88 -- > The percentage basis is Frankfurt Inter-Bank Offered
91 -- > 19 PIBOR (Paris Inter-Bank Offered Rate)
92 -- > The percentage basis is Paris Inter-Bank Offered Rate
95 -- > 20 Nationally based percentage basis
96 -- > The percentage basis is nationally based.
97 simple5249 :: Parser Value
98 simple5249 = simple "5249" (alphaNumeric `upTo` 3)