]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D96A.Simples.S5125 | |
7 | ( simple5125 | |
8 | ) where | |
9 | ||
10 | import Text.Edifact.Parsing | |
11 | import Text.Edifact.Types (Value) | |
12 | ||
13 | -- | Derived from this specification: | |
14 | -- | |
15 | -- > * 5125 Price qualifier | |
16 | -- > | |
17 | -- > Desc: Identification of a type of price. | |
18 | -- > | |
19 | -- > Repr: an..3 | |
20 | -- > | |
21 | -- > AAA Calculation net | |
22 | -- > The price stated is the net price including allowances/ | |
23 | -- > charges. Allowances/charges may be stated for information | |
24 | -- > only. | |
25 | -- > AAB Calculation gross | |
26 | -- > The price stated is the gross price to which allowances/ | |
27 | -- > charges must be applied. | |
28 | -- > AAC Allowances and charges not included, tax included | |
29 | -- > The price does not include the allowances and charges, | |
30 | -- > but includes the taxes. | |
31 | -- > AAD Average selling price | |
32 | -- > Average selling price of a product. | |
33 | -- > + AAE Information price, excluding allowances or charges, | |
34 | -- > including taxes | |
35 | -- > The price stated is for information purposes only and | |
36 | -- > excludes all allowances and charges. Taxes however are | |
37 | -- > included in the price. | |
38 | -- > + AAF Information price, excluding allowances or charges, and | |
39 | -- > taxes | |
40 | -- > The price stated is for information purposes only and | |
41 | -- > excludes all allowances, charges and taxes. | |
42 | -- > CAL Calculation price | |
43 | -- > The price stated is the price for the calculation of the | |
44 | -- > line item amount. | |
45 | -- > INF Information | |
46 | -- > The price is provided for information. | |
47 | -- > INV Invoice price | |
48 | -- > Referenced price taken from an invoice. | |
49 | simple5125 :: Parser Value | |
50 | simple5125 = simple "5125" (alphaNumeric `upTo` 3) |