1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S6347
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 6347 Currency usage code qualifier [C]
17 -- > Desc: Code qualifying the usage of a currency.
21 -- > 1 Charge payment currency
22 -- > The currency in which charges are to be paid.
24 -- > 2 Reference currency
25 -- > The currency applicable to amounts stated. It may have
28 -- > 3 Target currency
29 -- > The currency which should be used to the target
30 -- > destination of the transaction.
32 -- > 4 Transport document currency
33 -- > Currency applicable to amounts stated in a transport
34 -- > document/message.
36 -- > 5 Calculation base currency
37 -- > Currency on which the calculation is based.
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.
44 -- > 7 Currency of the account
45 -- > Currency in which the account is held.
46 simple6347 :: Parser Value
47 simple6347 = simple "6347" (alphaNumeric `upTo` 3)