1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.MOA
13 import Text.Edifact.D96A.Composites (compositeC516)
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
18 -- | Derived from this specification:
20 -- > MOA MONETARY AMOUNT
22 -- > Function: To specify a monetary amount.
24 -- > 010 C516 MONETARY AMOUNT M
25 -- > 5025 Monetary amount type qualifier M an..3
26 -- > 5004 Monetary amount C n..18
27 -- > 6345 Currency, coded C an..3
28 -- > 6343 Currency qualifier C an..3
29 -- > 4405 Status, coded C an..3
31 -- Dependencies: 'compositeC516'.
32 segmentMOA :: Parser Value
35 [ "010" .@ mandatory compositeC516