diff options
author | Frédéric Menou <frederic.menou@fretlink.com> | 2016-12-08 10:19:15 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2022-05-17 18:01:51 +0200 |
commit | a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 (patch) | |
tree | adf3186fdccaeef19151026cdfbd38a530cf9ecb /specification/src/Text/Edifact/D96A/Simples/S5125.hs | |
download | edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.gz edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.zst edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.zip |
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Simples/S5125.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Simples/S5125.hs | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Simples/S5125.hs b/specification/src/Text/Edifact/D96A/Simples/S5125.hs new file mode 100644 index 0000000..afa22b0 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Simples/S5125.hs | |||
@@ -0,0 +1,50 @@ | |||
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) | ||