aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S5387.hs
blob: 61dce03b22a8da80235eec936696be963f609a45 (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
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
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D01B.Simples.S5387
  ( simple5387
  ) where

import           Text.Edifact.Parsing
import           Text.Edifact.Types   (Value)

-- | Derived from this specification:
--
-- >      5387  Price specification code                                [B]
-- >
-- >      Desc: Code identifying pricing specification.
-- >
-- >      Repr: an..3
-- >
-- >      AAA   Reference price
-- >               Code identifying a reference price.
-- >
-- >      AAB   Price includes tax
-- >               Code specifying that the price is inclusive of tax.
-- >
-- >      AAC   Buyer suggested retail price
-- >               The suggested retail price as suggested or determined by
-- >               the party purchasing the goods.
-- >
-- >      AAD   Ocean charges rate
-- >               The charges imposed by the ocean transportation industry
-- >               above and beyond the basic freight.
-- >
-- >      AAE   Not subject to fluctuation
-- >               Not subject to escalation or adjustment.
-- >
-- >      AAF   Subject to escalation
-- >               Subject to increase or development by successive stages.
-- >
-- >      AAG   Subject to price adjustment
-- >               Code specifying that the price is subject to adjustment.
-- >
-- >      AAH   Subject to escalation and price adjustment
-- >               Subject to increase or development by successive stages
-- >               and price adjustment.
-- >
-- >      AAI   Fluctuation conditions not specified
-- >               Code specifying that the fluctuation conditions are not
-- >               identified.
-- >
-- >      AAJ   All in price
-- >               Firm price for specified work.
-- >
-- >      AAK   New price
-- >               A price valid from an effective date/time/period.
-- >
-- >      AAL   Old price
-- >               A price valid prior to an effective date/time/period of
-- >               a new price.
-- >
-- >      AAM   Per week
-- >               To indicate that the given price applies per week.
-- >
-- >      AAN   Price on application
-- >               Price can be obtained on request from seller.
-- >
-- >      AAO   Unpacked price
-- >               The price given is the price of the item without
-- >               packaging.
-- >
-- >      AAP   Trade price
-- >               Discount price available to all customers except the
-- >               retail customer.
-- >
-- >      AAQ   Firm price
-- >               Price which will remain unchanged for a given time
-- >               period.
-- >
-- >      AAR   Material share of item price
-- >               The per unit cost of referenced material based on a
-- >               given quotation for that material.
-- >
-- >      AAS   Labour share of item price
-- >               The labour component of the per-unit item price.
-- >
-- >      AAT   Transport share of item price
-- >               The transport component of the per-unit item price.
-- >
-- >      AAU   Packing share of item price
-- >               The packing component of the per-unit item price.
-- >
-- >      AAV   Tooling share of item price
-- >               The tooling component of the per-unit item price.
-- >
-- >      AAW   Temporary vehicle charge
-- >               The component of a price charged for providing a
-- >               temporary vehicle.
-- >
-- >      AAX   Price component due to interest
-- >               This is the component of the price which is charged due
-- >               to interest.
-- >
-- >      AAY   Price component due to management services
-- >               This is the component of the price which is charged due
-- >               to management services rendered.
-- >
-- >      AAZ   Price component due to maintenance
-- >               This is the component of the price which is charged due
-- >               to maintenance.
-- >
-- >      ABA   Individual buyer price
-- >               A price which is available to an individual buyer as
-- >               opposed to an institutional buyer.
-- >
-- >      ABB   Group buying price
-- >               A price which is available to a buying group.
-- >
-- >      ABC   Group member buying price
-- >               A special price given to a member of a buying group.
-- >
-- >      ABD   Pre-payment price
-- >               A special price if pre-payment is made for the article
-- >               ordered.
-- >
-- >      ABE   Retail price - excluding taxes
-- >               Retail price not including any applicable taxes.
-- >
-- >      ABF   Suggested retail price - excluding taxes
-- >               Suggested retail price not including any applicable
-- >               taxes.
-- >
-- >      ABG   Agreed minimum price
-- >               The minimum price agreed between trading partners.
-- >
-- >      ABH   Statutory minimum retail price
-- >               The legal minimum retail price.
-- >
-- >      ABI   Cost reimbursement price
-- >               A code to indicate that the price represents the
-- >               reimbursement of the actual costs incurred.
-- >
-- >      ABJ   Market price
-- >               A code to indicate that the given price is applicable
-- >               under normal competitive conditions.
-- >
-- >      ABK   Open tender price
-- >               A code to indicate that the price mentioned has been
-- >               submitted in the context of an open tender.
-- >
-- >      ABL   Base price
-- >               The base price of a product or service.
-- >
-- >      ABM   Base price difference
-- >               The difference in price against a base price.
-- >
-- >      ABN   Adjustable price prior to acceptance
-- >               A price which can be adjusted due to economic conditions
-- >               between the date of offer and the date of acceptance.
-- >
-- >      ABO   Revisable price after acceptance
-- >               A price which can be revised due to economic conditions
-- >               between the date of acceptance of the order and the date
-- >               of delivery.
-- >
-- >      ABP   Provisional ceiling price
-- >               A provisional price which cannot be exceeded.
-- >
-- >      ABQ   Adjustable provisional ceiling price
-- >               A provisional price which cannot be exceeded but which
-- >               can be adjusted due to economic conditions between the
-- >               date of offer and the date of acceptance.
-- >
-- >      ABR   Revisable provisional ceiling price
-- >               A provisional price which cannot be exceeded but is
-- >               revisable due to economic conditions between the date of
-- >               acceptance of the order through to the date of delivery.
-- >
-- >      ABS   Revisable provisional price
-- >               A provisional price which is revisable due to economic
-- >               conditions between the date of acceptance of the order
-- >               and the date of delivery.
-- >
-- >      ABT   Adjustable provisional price
-- >               A provisional price which is adjustable due to economic
-- >               conditions between the date of offer and the date of
-- >               acceptance.
-- >
-- >      ABU   Area price
-- >               Price connected to a geographical area.
-- >
-- >      ABV   Area system price
-- >               A basis price applied to a geographic area.
-- >
-- >      ABW   Special balance regulation price
-- >               The price applicable to the power generated as a result
-- >               of a special balance regulation.
-- >
-- >      ABX   Balance regulation price
-- >               The price applicable to the power generated as a result
-- >               of a balance regulation.
-- >
-- >      ABY   Upward balance regulation price
-- >               The price applicable to the power generated as a result
-- >               of an upward balance regulation.
-- >
-- >      ABZ   Downward balance regulation price
-- >               The price applicable to the power generated as a result
-- >               of a downward balance regulation.
-- >
-- >      AI    Active ingredient
-- >               Code specifying that price is based on the active
-- >               ingredient.
-- >
-- >      ALT   Alternate price
-- >               A substitute cost.
-- >
-- >      AP    Advice price
-- >               Code specifying an advice price.
-- >
-- >      BR    Broker price
-- >               Code specifying a broker price.
-- >
-- >      CAT   Catalogue price
-- >               Price per unit of quantity of a product as specified in
-- >               a catalogue.
-- >
-- >      CDV   Current domestic value
-- >               The present worth of a thing which comes from one's
-- >               homeland, in terms of money or goods.
-- >
-- >      CON   Contract price
-- >               Price per unit of quantity of a product/service as
-- >               agreed in a contract between parties.
-- >
-- >      CP    Current price
-- >               Price at time of transaction, but subject to future
-- >               change.
-- >
-- >      CU    Consumer unit
-- >               Code specifying that the price is based on consumer
-- >               unit.
-- >
-- >      CUP   Confirmed unit price
-- >               The value of a single item that proves to be correct.
-- >
-- >      CUS   Declared customs unit value
-- >               A clearly known duty on a single item which is imposed
-- >               by law.
-- >
-- >      DAP   Dealer adjusted price
-- >               The necessary or desirable changes that the sales agency
-- >               makes with respect to the value of the product.
-- >
-- >      DIS   Distributor price
-- >               The cost associated with the agency that markets goods.
-- >
-- >      DPR   Discount price
-- >               A reduction from the usual list value.
-- >
-- >      DR    Dealer price
-- >               Code specifying a dealer price.
-- >
-- >      DSC   Discount amount allowed
-- >               A certain price up to which one is able to make
-- >               reductions from the usual list value.
-- >
-- >      EC    ECSC price
-- >               Price registered at European Commission Steel and Carbon
-- >               office (DG III).
-- >
-- >      ES    Estimated price
-- >               Code specifying an estimated price.
-- >
-- >      EUP   Expected unit price
-- >               The anticipated value of a single item.
-- >
-- >      FCR   Freight/charge rate
-- >               The price that is either a freight rate or a rate on
-- >               which freight charges are calculated.
-- >
-- >      GRP   Gross unit price
-- >               Unit price to which allowances and charges apply.
-- >
-- >      INV   Invoice price
-- >               Price per unit of quantity of a product as specified on
-- >               an invoice.
-- >
-- >      LBL   Labelling price
-- >               Retail price of the buyer that should be printed by the
-- >               producer on the article's label. The labelling price is
-- >               not necessary the effective retail price.
-- >
-- >      MAX   Maximum order quantity price
-- >               The greatest amount of goods or services which one can
-- >               buy to receive a certain value.
-- >
-- >      MIN   Minimum order quantity price
-- >               The least amount of goods or services that one can buy
-- >               to receive a certain value.
-- >
-- >      MNR   Minimum release quantity price
-- >               The least amount of an order one can place in order to
-- >               receive a certain value.
-- >
-- >      MSR   Manufacturer's suggested retail
-- >               Price that reflects "Sales to other manufacturers" or
-- >               "Sales for resale".
-- >
-- >      MXR   Maximum release quantity price
-- >               The greatest amount of an order that one can place in
-- >               order to receive a certain value.
-- >
-- >      NE    Not-to-exceed price
-- >               Code specifying a price that cannot be increased.
-- >
-- >      NQT   No quote
-- >               No price available.
-- >
-- >      NTP   Net unit price
-- >               Unit price to which no allowances and charges apply.
-- >
-- >      NW    Net weight
-- >               Code specifying a net weight price.
-- >
-- >      OFR   Ocean freight rate
-- >               The price per pricing unit of ocean transportation
-- >               services for moving cargo from one location to another.
-- >
-- >      PAQ   Price break quantity(s)
-- >               Numerical amounts of goods or services which are
-- >               associated with different sums of money. As the amount
-- >               goes up, the price per individual item decreases.
-- >
-- >      PBQ   Unit price beginning quantity
-- >               The starting amount at which you can place a value on a
-- >               single item.
-- >
-- >      PPD   Prepaid freight charges
-- >               The cost of shipping is paid before the goods are
-- >               shipped.
-- >
-- >      PPR   Provisional price
-- >               Price per unit of quantity of a product as provisionally
-- >               agreed.
-- >
-- >      PRO   Producer's price
-- >               The value that the maker of a good places on an item.
-- >
-- >      PRP   Promotional price
-- >               The value that is placed on an item that is being
-- >               developed. The idea is to sell this product for less
-- >               than one normally would, and make up for it by selling a
-- >               larger quantity.
-- >
-- >      PW    Gross weight
-- >               Code specifying a gross weight price.
-- >
-- >      QTE   Quote price
-- >               Price per unit of quantity of a product as specified in
-- >               a quote.
-- >
-- >      RES   Resale price
-- >               Price per unit of quantity of a product to be used for
-- >               resale.
-- >
-- >      RTP   Retail price
-- >               Price per unit of quantity of a product to be used for
-- >               retail.
-- >
-- >      SHD   Ship and debit
-- >               To transport goods and be owed money by the customer for
-- >               the services performed.
-- >
-- >      SRP   Suggested retail price
-- >               Price per unit of quantity of a product suggested for
-- >               retail.
-- >
-- >      SW    Gross weight without wooden pallets
-- >               Used in steel industry.
-- >
-- >      TB    To be negotiated
-- >               Code specifying that the price has to be negotiated.
-- >
-- >      TRF   Transfer
-- >               To carry or remove from one place, situation, or person
-- >               to another.
-- >
-- >      TU    Traded unit
-- >               Code specifying a traded unit price.
-- >
-- >      TW    Theoretical weight
-- >               Code specifying a price based on a theoretical weight.
-- >
-- >      WH    Wholesale price
-- >               Code specifying a wholesale price.
simple5387 :: Parser Value
simple5387 = simple "5387" (alphaNumeric `upTo` 3)