aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S6347.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Simples/S6347.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Simples/S6347.hs47
1 files changed, 47 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Simples/S6347.hs b/specification/src/Text/Edifact/D01B/Simples/S6347.hs
new file mode 100644
index 0000000..abc755e
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Simples/S6347.hs
@@ -0,0 +1,47 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Simples.S6347
7 ( simple6347
8 ) where
9
10import Text.Edifact.Parsing
11import Text.Edifact.Types (Value)
12
13-- | Derived from this specification:
14--
15-- > 6347 Currency usage code qualifier [C]
16-- >
17-- > Desc: Code qualifying the usage of a currency.
18-- >
19-- > Repr: an..3
20-- >
21-- > 1 Charge payment currency
22-- > The currency in which charges are to be paid.
23-- >
24-- > 2 Reference currency
25-- > The currency applicable to amounts stated. It may have
26-- > to be converted.
27-- >
28-- > 3 Target currency
29-- > The currency which should be used to the target
30-- > destination of the transaction.
31-- >
32-- > 4 Transport document currency
33-- > Currency applicable to amounts stated in a transport
34-- > document/message.
35-- >
36-- > 5 Calculation base currency
37-- > Currency on which the calculation is based.
38-- >
39-- > 6 Information Currency
40-- > Additional currency the message recipient needs for
41-- > information purposes. The actual message amount(s)
42-- > is/are not based upon this currency.
43-- >
44-- > 7 Currency of the account
45-- > Currency in which the account is held.
46simple6347 :: Parser Value
47simple6347 = simple "6347" (alphaNumeric `upTo` 3)