1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S1373
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 1373 Document status code [B]
17 -- > Desc: Code specifying the status of a document.
22 -- > The specified document is accepted.
24 -- > 2 Accompanying goods
25 -- > Notice that a specific document will be accompanying the
28 -- > 3 Conditionally accepted
29 -- > The specified document is conditionally accepted.
31 -- > 4 To arrive by separate EDI message
32 -- > Notice that a specific document/message will be
33 -- > transmitted via a separate EDI message.
35 -- > 5 Information only
36 -- > Notice that the specific document or message is for
37 -- > information only.
39 -- > 6 To arrive by manual means
40 -- > Notice that a specific document or message will not be
43 -- > 7 To be raised and sent
44 -- > Request for a specific message to be formatted and
45 -- > transmitted or a request for a specific document to be
49 -- > The specified document is rejected.
52 -- > The document or message is to be printed.
54 -- > 10 Document currently valid
55 -- > Specific document is currently valid.
57 -- > 11 Document not available
58 -- > Specified document is not available.
60 -- > 12 Document exhausted by declaration and attached
61 -- > Customs declaration to which the document is related
62 -- > completed or exhaust the allowance stated on the
63 -- > document. The document is attached to the Customs
66 -- > 13 Document not exhausted by declaration and attached
67 -- > Customs declaration to which the document is related
68 -- > does not complete or exhaust the allowance stated on the
69 -- > document . The document is not attached to the
70 -- > declaration but has already been lodged in the Customs
73 -- > 14 Document exhausted by declaration and previously lodged
74 -- > Customs declaration to which the document is related
75 -- > completed or exhaust the allowance stated on the
76 -- > document. The usage of the document is complete. The
77 -- > document is not attached to the declaration but has
78 -- > already been lodged in the Customs station.
80 -- > 15 Document not exhausted by declaration and previously lodged
81 -- > Customs declaration to which the document is related
82 -- > does not complete or exhaust the allowance stated on the
83 -- > document. The document can continue to be used for
84 -- > future declarations until the allowance is exhausted.
85 -- > The document is not attached to the declaration but has
86 -- > already been lodged in the Customs station.
88 -- > 16 Document not attached
89 -- > Specified document is not or cannot be attached.
91 -- > 17 Document with the goods
92 -- > Document not attached to the Customs declaration but is
93 -- > attached to the goods.
95 -- > 18 Document attached, to be returned after endorsement
96 -- > Specified document is attached to the Customs
97 -- > declaration and will be required to be returned to the
98 -- > declarant after Customs endorsement.
100 -- > 19 Document applied for
101 -- > Application has been submitted for that document.
103 -- > 20 Received for shipment
104 -- > Indicates that the document has legal validity from the
105 -- > date of receival of the cargo.
107 -- > 21 Shipped on board
108 -- > Indicates that the document has legal validity from the
109 -- > date that cargo is loaded on board a vessel.
112 -- > Message is at status 0.
115 -- > Message is at status 1.
118 -- > Message is at status 2.
120 -- > 25 Message under development
121 -- > Message is under development.
123 -- > 26 Document not freighted
124 -- > Document not to include freight figures.
126 -- > 27 Document freighted
127 -- > Document to include freight figures.
130 -- > The document or message has been archived.
133 -- > The document or message has no official status.
135 -- > 30 Documents enclosed in the first transmission
136 -- > The documents are enclosed in the first transmission.
138 -- > 31 Documents enclosed in the second transmission
139 -- > The documents are enclosed in the second transmission.
141 -- > 32 Document not required, waiver issued
142 -- > The document is not required, waiver of requirement has
145 -- > 33 Already on file with receiver of this message
146 -- > The document is already on file with the party receiving
149 -- > 34 Retained by sender of this message, or by sender's agent or
151 -- > The document is in the possession of the sender or
152 -- > sender's agent or representative.
154 -- > 36 Document previously submitted
155 -- > The document has already been submitted.
156 simple1373 :: Parser Value
157 simple1373 = simple "1373" (alphaNumeric `upTo` 3)