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