aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S5249.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Simples/S5249.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Simples/S5249.hs63
1 files changed, 63 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Simples/S5249.hs b/specification/src/Text/Edifact/D96A/Simples/S5249.hs
new file mode 100644
index 0000000..caeeda0
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Simples/S5249.hs
@@ -0,0 +1,63 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Simples.S5249
7 ( simple5249
8 ) where
9
10import Text.Edifact.Parsing
11import Text.Edifact.Types (Value)
12
13-- | Derived from this specification:
14--
15-- > 5249 Percentage basis, coded
16-- >
17-- > Desc: Indication of the application of a percentage.
18-- >
19-- > Repr: an..3
20-- >
21-- > 1 Per unit
22-- > Referenced percentage applies on a single unit basis.
23-- > 2 Per ton
24-- > Reduction percentage is applied per transported ton.
25-- > 3 Per equipment unit
26-- > Reduction percentage is applied per main equipment unit
27-- > (for rail purpose, only rail wagons).
28-- > 4 Per unit price
29-- > Reduction percentage is applied on the unit price, which
30-- > is the basis of the charge calculation.
31-- > 5 Per quantity
32-- > Reduction percentage applied on the unit price and
33-- > conceded to a consignor after he reached a specified
34-- > tonnage of transport.
35-- > 6 Basic charge
36-- > Code to indicate that the IATA experimental special
37-- > charge within Europe is the basis for the percentage
38-- > reduction or surcharge.
39-- > 7 Rate per kilogram
40-- > Code to indicate that the IATA experimental special rate
41-- > within in Europe is the basis for the percentage
42-- > reduction or surcharge.
43-- > 8 Minimum charge
44-- > Code to indicate that the IATA minimum charge is the
45-- > basis for the percentage reduction or surcharge.
46-- > 9 Normal rate
47-- > Code to indicate that the IATA normal rate is the basis
48-- > for the percentage reduction or surcharge.
49-- > 10 Quantity rate
50-- > Code to indicate that the IATA quantity rate is the basis
51-- > for the percentage reduction or surcharge.
52-- > 11 Amount of drawing
53-- > Referenced percentage applies on the amount of drawing
54-- > under the documentary credit.
55-- > 12 Documentary credit amount
56-- > Referenced percentage applies on documentary credit
57-- > amount.
58-- > 13 Invoice value
59-- > Referenced percentage applies on the invoice value.
60-- > 14 CIF value
61-- > Referenced percentage applies on CIF value.
62simple5249 :: Parser Value
63simple5249 = simple "5249" (alphaNumeric `upTo` 3)