1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C082
15 import Text.Edifact.D01B.Simples (simple1131, simple3039, simple3055)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > C082 PARTY IDENTIFICATION DETAILS
24 -- > Desc: Identification of a transaction party by code.
26 -- > 010 3039 Party identifier M an..35
27 -- > 020 1131 Code list identification code C an..17
28 -- > 030 3055 Code list responsible agency code C an..3
30 -- Dependencies: 'simple1131', 'simple3039', 'simple3055'.
31 compositeC082 :: Parser Value
34 [ "010" .@ mandatory simple3039
35 , "020" .@ optional simple1131
36 , "030" .@ optional simple3055