aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S5125.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Simples/S5125.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Simples/S5125.hs50
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
6module Text.Edifact.D96A.Simples.S5125
7 ( simple5125
8 ) where
9
10import Text.Edifact.Parsing
11import 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.
49simple5125 :: Parser Value
50simple5125 = simple "5125" (alphaNumeric `upTo` 3)