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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D96A.Simples.S4451
( simple4451
) where
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > * 4451 Text subject qualifier
-- >
-- > Desc: Code specifying subject of a free text.
-- >
-- > Repr: an..3
-- >
-- > AAA Goods description
-- > [7002] Plain language description of the nature of the
-- > goods sufficient to identify them at the level required
-- > for banking, Customs, statistical or transport purposes,
-- > avoiding unnecessary detail (Generic term).
-- > AAB Terms of payments
-- > [4276] Conditions of payment between the parties to a
-- > transaction (generic term).
-- > AAC Dangerous goods additional information
-- > Additional information concerning dangerous goods.
-- > AAD Dangerous goods, technical name
-- > Proper shipping name, supplemented as necessary with the
-- > correct technical name, by which a dangerous substance or
-- > article may be correctly identified or which is
-- > sufficiently informative to permit identification by
-- > reference to generally available literature.
-- > AAE Acknowledgement description
-- > The content of an acknowledgement.
-- > AAF Rate additional information
-- > Specific details applying to rates.
-- > AAG Party instructions
-- > Indicates that the segment contains instructions to be
-- > passed on to the identified party.
-- > AAH Customs information
-- > [4034] Information entered by Customs on the CIM.
-- > AAI General information
-- > Self explanatory.
-- > AAJ Additional conditions of sale/purchase
-- > Additional conditions specific to this order or project.
-- > AAK Price conditions
-- > Information on the price conditions that are expected or
-- > given.
-- > AAL Goods dimensions in characters
-- > Expression of a number in characters as length of ten
-- > meters.
-- > AAM Equipment re-usage restrictions
-- > Technical or commercial reasons why a piece of equipment
-- > may not be re-used after the current transport
-- > terminates.
-- > AAN Handling restriction
-- > Restrictions in handling depending on the technical
-- > characteristics of the piece of equipment or on the
-- > nature of the goods.
-- > AAO Error description (free text)
-- > Error described by a free text.
-- > AAP Response (free text)
-- > Free text of the response to a communication.
-- > AAQ Package content's description
-- > Self explanatory.
-- > AAR Terms of delivery
-- > (4053) Free text of the non Incoterms terms of delivery.
-- > For Incoterms, use: 4053.
-- > AAS Bill of lading remarks
-- > Self explanatory.
-- > AAT Mode of settlement information
-- > Free text information on an IATA Air Waybill to indicate
-- > means by which account is to be settled.
-- > AAU Consignment invoice information
-- > Self explanatory.
-- > AAV Clearance invoice information
-- > Self explanatory.
-- > AAW Letter of credit information
-- > Self explanatory.
-- > AAX License information
-- > Self explanatory.
-- > AAY Certification statements
-- > Self explanatory.
-- > AAZ Additional export information
-- > Self explanatory.
-- > ABA Tariff statements
-- > Self explanatory.
-- > ABC Conditions of sale or purchase
-- > Additional information regarding terms and conditions
-- > which apply to the transaction.
-- > ABD Nature of transaction
-- > An indication for customs of the type of contract under
-- > which goods are supplied.
-- > ABE Additional terms and/or conditions (documentary credit)
-- > Additional terms and/or conditions to the documentary
-- > credit.
-- > ABF Instructions or information about standby documentary credit
-- > Instruction or information about a standby documentary
-- > credit.
-- > ABG Instructions or information about partial shipment(s)
-- > Instructions or information about partial shipment(s).
-- > ABH Instructions or information about transhipment(s)
-- > Instructions or information about transhipment(s).
-- > ABI Additional handling instructions documentary credit
-- > Additional handling instructions for a documentary
-- > credit.
-- > ABJ Domestic routing information
-- > Self explanatory.
-- > ABK Chargeable category of equipment
-- > Equipment types are coded by category for financial
-- > purposes.
-- > ABL Government information
-- > Self explanatory.
-- > ABM Onward routing information
-- > Self explanatory.
-- > ABN Accounting information
-- > Self explanatory.
-- > ABO Discrepancy information
-- > Free text or coded information to indicate a specific
-- > discrepancy.
-- > ABP Confirmation instructions
-- > Documentary credit confirmation instructions.
-- > ABQ Method of issuance
-- > Method of issuance of documentary credit.
-- > ABR Documents delivery instructions
-- > Delivery instructions for documents required under a
-- > documentary credit.
-- > ABS Additional conditions
-- > Additional conditions to the issuance of a documentary
-- > credit.
-- > ABT Information/instructions about additional amounts covered
-- > Additional amounts information/instruction.
-- > ABU Deferred payment termed additional
-- > Additional terms concerning deferred payment.
-- > ABV Acceptance terms additional
-- > Additional terms concerning acceptance.
-- > ABW Negotiation terms additional
-- > Additional terms concerning negotiation.
-- > ABX Document name and documentary requirements
-- > Document name and documentary requirements.
-- > ABY Regulatory information
-- > The free text contains information for regulatory
-- > authority.
-- > ABZ Instructions/information about revolving documentary credit
-- > Instructions/information about a revolving documentary
-- > credit.
-- > ACA Documentary requirements
-- > Specification of the documentary requirements.
-- > ACB Additional information
-- > Self explanatory.
-- > ACC Factor assignment clause
-- > Assignment based on an agreement between seller and
-- > factor.
-- > ACD Reason
-- > Reason for a request or response.
-- > ACE Dispute
-- > A notice, usually from buyer to seller, that something
-- > was found wrong with goods delivered or the services
-- > rendered, or with the related invoice.
-- > ACF Additional attribute information
-- > The text refers to information about an additional
-- > attribute not otherwise specified.
-- > ACG Absence declaration
-- > A declaration on the reason of the absence.
-- > ACH Aggregation statement
-- > A statement on the way a specific variable or set of
-- > variables has been aggregated.
-- > ACI Compilation statement
-- > A statement on the compilation status of an array or
-- > other set of figures or calculations.
-- > ACJ Definitional exception
-- > An exception to the agreed definition of a term, concept,
-- > formula or other object.
-- > ACK Privacy statement
-- > A statement on the privacy or confidential nature of an
-- > object.
-- > ACL Quality statement
-- > A statement on the quality of an object.
-- > ACM Statistical description
-- > The description of a statistical object such as a value
-- > list, concept, or structure definition.
-- > ACN Statistical definition
-- > The definition of a statistical object such as a value
-- > list, concept, or structure definition.
-- > ACO Statistical name
-- > The name of a statistical object such as a value list,
-- > concept or structure definition.
-- > ACP Statistical title
-- > The title of a statistical object such as a value list,
-- > concept, or structure definition.
-- > ACQ Off-dimension information
-- > Information relating to differences between the actual
-- > transport dimensions and the normally applicable
-- > dimensions.
-- > ACR Unexpected stops information
-- > Information relating to unexpected stops during a
-- > conveyance.
-- > ACS Principles
-- > Text subject is principles section of the UN/EDIFACT
-- > rules for presentation of standardized message and
-- > directories documentation.
-- > ACT Terms and definition
-- > Text subject is terms and definition section of the
-- > UN/EDIFACT rules for presentation of standardized message
-- > and directories documentation.
-- > ACU Segment name
-- > Text subject is segment name.
-- > ACV Simple data element name
-- > Text subject is name of simple data element.
-- > ACW Scope
-- > Text subject is scope section of the UN/EDIFACT rules for
-- > presentation of standardized message and directories
-- > documentation.
-- > ACX Message type name
-- > Text subject is name of message type.
-- > ACY Introduction
-- > Text subject is introduction section of the UN/EDIFACT
-- > rules for presentation of standardized message and
-- > directories documentation.
-- > ACZ Glossary
-- > Text subject is glossary section of the UN/EDIFACT rules
-- > for presentation of standardized message and directories
-- > documentation.
-- > ADA Functional definition
-- > Text subject is functional definition section of the
-- > UN/EDIFACT rules for presentation of standardized message
-- > and directories documentation.
-- > ADB Examples
-- > Text subject is examples as given in the example(s)
-- > section of the UN/EDIFACT rules for presentation of
-- > standardized message and directories documentation.
-- > ADC Cover page
-- > Text subject is cover page of the UN/EDIFACT rules for
-- > presentation of standardized message and directories
-- > documentation.
-- > ADE Code value name
-- > Text subject is name of code value.
-- > ADF Code list name
-- > Text subject is name of code list.
-- > ADG Clarification of usage
-- > Text subject is an explanation of the intended usage of a
-- > segment or segment group.
-- > ADH Composite data element name
-- > Text subject is name of composite data element.
-- > ADI Field of application
-- > Text subject is field of application of the UN/EDIFACT
-- > rules for presentation of standardized message and
-- > directories documentation.
-- > + ADJ Type of assets and liabilities
-- > Information describing the type of assets and
-- > liabilities.
-- > + ADK Promotion information
-- > The text contains information about a promotion.
-- > + ADL Meter condition
-- > Description of the condition of a meter.
-- > + ADM Meter reading information
-- > Information related to a particular reading of a meter.
-- > + ADN Type of transaction reason
-- > Information describing the type of the reason of
-- > transaction.
-- > + ADO Type of survey question
-- > Type of survey question.
-- > ALC Allowance/charge information
-- > Information referring to allowance/charge.
-- > ALL All documents
-- > The note implies to all documents.
-- > ARR Arrival conditions
-- > Conditions under which arrival takes place.
-- > AUT Authentication
-- > Name, code, password etc. given for authentication
-- > purposes.
-- > BLC Bill of lading clause
-- > Clause on the bill of lading regarding the cargo being
-- > shipped.
-- > BLR Transport document remarks
-- > Remarks concerning the complete consignment to be printed
-- > on the bill of lading.
-- > CCI Customs clearance instructions
-- > Any coded or clear instruction agreed by customer and
-- > carrier regarding the declaration of the goods.
-- > CEX Customs clearance instructions export
-- > Any coded or clear instruction agreed by customer and
-- > carrier regarding the export declaration of the goods.
-- > CHG Change information
-- > Note contains change information.
-- > CIP Customs clearance instruction import
-- > Any coded or clear instruction agreed by customer and
-- > carrier regarding the import declaration of the goods.
-- > CLP Clearance place requested
-- > Name of the place where Customs clearance is asked to be
-- > executed as requested by the consignee/consignor.
-- > CLR Loading remarks
-- > Instructions concerning the loading of the container.
-- > COI Order information
-- > Additional information related to an order.
-- > CUR Customer remarks
-- > Remarks from or for a supplier of goods or services.
-- > CUS Customs declaration information
-- > Note contains customs declaration information.
-- > DAR Damage remarks
-- > Remarks concerning damage on the cargo.
-- > DCL Declaration
-- > [4020] Text of a declaration made by the issuer of the
-- > document (CIM 12).
-- > DEL Delivery information
-- > Information about delivery.
-- > DIN Delivery instructions
-- > Instructions regarding the delivery of the cargo.
-- > DOC Documentation instructions
-- > Self explanatory.
-- > DUT Duty declaration
-- > Self explanatory.
-- > EUR Effective used routing
-- > Physical route effectively used for the movement of the
-- > means of transport.
-- > FBC First block to be printed on the transport contract
-- > Self explanatory.
-- > GBL Government bill of lading information
-- > Free text information on a transport document to indicate
-- > payment information by Government Bill of Lading.
-- > GEN Entire transaction set
-- > Note is general in nature, applies to entire transaction
-- > segment.
-- > GS7 Further information concerning GGVS par. 7
-- > Special permission for road transport of certain goods in
-- > the German dangerous goods regulation for road transport.
-- > HAN Handling instructions
-- > [4078] Instructions on how specified goods, packages or
-- > containers should be handled.
-- > HAZ Hazard information
-- > Self explanatory.
-- > ICN Information for consignee
-- > [4070] Any remark given for the information of the
-- > consignee (CIM 21).
-- > IIN Insurance instructions
-- > Instructions regarding the cargo insurance.
-- > IMI Invoice mailing instructions
-- > Instructions as to which freight and charges components
-- > have to be mailed to whom.
-- > IND Commercial invoice item description
-- > Free text describing goods on a commercial invoice line.
-- > INS Insurance information
-- > Specific note contains insurance information.
-- > INV Invoice instruction
-- > Note contains invoice instructions.
-- > IRP Information for railway purpose
-- > [4090] Date entered by railway stations when required,
-- > e.g. specified trains, additional sheets for freight
-- > calculations, special measures, etc.. (CIM 8).
-- > ITR Inland transport details
-- > Information concerning the pre-carriage to the port of
-- > discharge if by other means than a vessel.
-- > ITS Testing instructions
-- > Instructions regarding the testing that is required to be
-- > carried out on the items in the transaction.
-- > LIN Line item
-- > Note contains line item information.
-- > LOI Loading instruction
-- > Instructions where specified packages or containers are
-- > to be loaded on a means of transport.
-- > MCO Miscellaneous charge order
-- > Free text accounting information on an IATA Air Waybill
-- > to indicate payment information by Miscellaneous charge
-- > order.
-- > MKS Additional marks/numbers information
-- > Self explanatory.
-- > ORI Order instruction
-- > Free text contains order instructions.
-- > OSI Other service information
-- > General information created by the sender of general or
-- > specific value.
-- > PAC Packing/marking information
-- > Information regarding the packaging and/or marking of
-- > goods.
-- > PAI Payment instructions information
-- > The free text contains payment instructions information
-- > relevant to the message.
-- > PAY Payables information
-- > Note contains payables information.
-- > PKG Packaging information
-- > Note contains packaging instructions.
-- > PKT Packaging terms information
-- > Self explanatory.
-- > PMD Payment detail/remittance information
-- > The free text contains payment details.
-- > PMT Payment information
-- > Note contains payments information.
-- > PRD Product information
-- > Self explanatory.
-- > PRF Price calculation formula
-- > Additional information regarding the price formula used
-- > for calculating the item price.
-- > PRI Priority information
-- > Note contains priority information.
-- > PUR Purchasing information
-- > Note contains purchasing information.
-- > QIN Quarantine instructions
-- > Instructions regarding quarantine, i.e. the period during
-- > which an arriving vessel, including its equipment, cargo,
-- > crew or passengers, suspected to carry or carrying a
-- > contagious disease is detained in strict isolation to
-- > prevent the spread of such a disease.
-- > QQD Quality demands/requirements
-- > Specification of the quality/performance expectations or
-- > standards to which the items must conform.
-- > QUT Quotation instruction/information
-- > Note contains quotation information.
-- > RAH Risk and handling information
-- > Information concerning risks induced by the goods and/or
-- > handling instruction.
-- > REG Regulatory information
-- > The free text contains information for regulatory
-- > authority.
-- > RET Return to origin information
-- > Free text information on an IATA Air Waybill to indicate
-- > consignment returned because of non delivery.
-- > REV Receivables
-- > Description to be provided.
-- > RQR Requested routes/routing instructions
-- > [3074] Names of places via which the consignor requests a
-- > consignment to be routed.
-- > RQT Tariffs and route requested
-- > [4120] Stipulation of the tariffs to be applied showing,
-- > where applicable, special-agreement numbers or
-- > references; indication of routes by frontier points or by
-- > frontier stations and, when necessary, by transit
-- > stations between.
-- > SAF Safety information
-- > Self explanatory.
-- > SIC Sender's instruction to carrier
-- > [4284] Instructions given and declarations made by the
-- > sender to the carrier concerning Customs, insurance, and
-- > other formalities.
-- > SIN Special instructions
-- > Special instructions like licence no, high value, handle
-- > with care, glass.
-- > SLR Ship line requested
-- > Shipping line requested to be used for traffic between
-- > European continent and U.K. for Ireland.
-- > SPA Special permission for transport, generally
-- > Statement that a special permission has been obtained for
-- > the transport (and/or routing) in general, and reference
-- > to such permission.
-- > SPG Special permission concerning the goods to be transported
-- > Statement that a special permission has been obtained for
-- > the transport (and/or routing) of the goods specified,
-- > and reference to such permission.
-- > SPH Special handling
-- > Note contains special handling information.
-- > SPP Special permission concerning package
-- > Statement that a special permission has been obtained for
-- > the packaging, and reference to such permission.
-- > SPT Special permission concerning transport means
-- > Statement that a special permission has been obtained for
-- > the use of the means transport, and reference to such
-- > permission.
-- > SRN Subsidiary risk number (IATA/DGR)
-- > Number(s) of subsidiary risks, induced by the goods,
-- > according to the valid classification.
-- > SSR Special service request
-- > Request for a special service concerning the transport of
-- > the goods.
-- > SUR Supplier remarks
-- > Remarks from or for a supplier of goods or services.
-- > TCA Tariff and class applied
-- > [5430] Specification of tariff applied (CIM 55).
-- > TDT Transport details remarks
-- > Additional information related to transport details.
-- > TRA Transportation information
-- > General information regarding the transport of the cargo.
-- > TRR Requested tariff
-- > Stipulation of the tariffs to be applied showing, where
-- > applicable, special agreement numbers or references.
-- > TXD Tax declaration
-- > Description to be provided.
-- > WHI Warehouse instruction/information
-- > Note contains warehouse information.
-- > ZZZ Mutually defined
-- > Note contains information mutually defined by trading
-- > partners.
simple4451 :: Parser Value
simple4451 = simple "4451" (alphaNumeric `upTo` 3)
|