diff --git a/.gitignore b/.gitignore
index d2c4c6db..c414446f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,19 +1,17 @@
-*.class
-
-# Mobile Tools for Java (J2ME)
-.mtj.tmp/
-
-# Package Files #
-*.war
-*.ear
-
-# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
-hs_err_pid*
-
.DS_Store
+
+# IDE files
.project
*.iml
target/
+
+# temp files
+zz*
+
+# vefa validator test folders
target-cii/
target-ubl/
-zz*
+
+# releases
+en16931-cii-*.zip
+en16931-ubl-*.zip
diff --git a/buildconfig-cii.xml b/buildconfig-cii.xml
index 467dbb94..132ba67f 100644
--- a/buildconfig-cii.xml
+++ b/buildconfig-cii.xml
@@ -15,7 +15,7 @@
TC434 CII Invoice
CrossIndustryInvoice::urn:cen.eu:en16931:2017
uncefact-d16b-uncoupled-crossindustryinvoice
-
+
@@ -23,7 +23,7 @@
TC434 CII Invoice FERD
CrossIndustryInvoice::urn:ferd:CrossIndustryDocument:invoice:1p0:comfort
uncefact-d16b-uncoupled-crossindustryinvoice
-
+
diff --git a/buildconfig-ubl.xml b/buildconfig-ubl.xml
index e87b208d..906baae0 100644
--- a/buildconfig-ubl.xml
+++ b/buildconfig-ubl.xml
@@ -18,7 +18,7 @@
TC434 UBL Invoice
Invoice::urn:cen.eu:en16931:2017
ubl-invoice-2.1
-
+
@@ -26,7 +26,7 @@
TC434 UBL Credit Note
CreditNote::urn:cen.eu:en16931:2017
ubl-creditnote-2.1
-
+
@@ -34,7 +34,7 @@
TC434 UBL Example
Invoice::urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
ubl-invoice-2.1
-
+
@@ -42,7 +42,7 @@
TC434 UBL Example
CreditNote::urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
ubl-creditnote-2.1
-
+
diff --git a/cii/examples/CII_business_example_Z.xml b/cii/examples/CII_business_example_Z.xml
new file mode 100644
index 00000000..f5460821
--- /dev/null
+++ b/cii/examples/CII_business_example_Z.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+ urn:ferd:CrossIndustryDocument:invoice:1p0:comfort
+
+
+
+ 2016166
+ 380
+
+ 20150109
+
+
+ This is an example invoice based on data that is used in real business.Sehr geehrter Herr xxx,
+
+ für die Unterstützung im September stellen wir Ihnen gemäß Auftrag foldende Rechnung.
+
+ Für das in uns gesetzte Vertrauen bedanken wir uns auf diesem Wege herzlich.
+
+ AAR
+
+
+ Sehr geehrter Herr xxx,
+
+ für die Unterstützung im September stellen wir Ihnen gemäß Auftrag foldende Rechnung.
+
+ Für das in uns gesetzte Vertrauen bedanken wir uns auf diesem Wege herzlich.
+
+
+
+
+
+
+
+ 1
+
+
+ 846
+ Festpreis
+ Neues DSL Portfolio 2016
+
+
+
+ 12122.5900
+
+
+
+ 1.000
+
+
+
+ VAT
+ Z
+ 0.00
+
+
+ 12122.59
+
+
+
+
+
+
+ 2
+
+
+ 832
+ Abzug
+
+
+
+ 606.1300
+
+
+
+ -1
+
+
+
+ VAT
+ Z
+ 0.00
+
+
+ -606.13
+
+
+
+
+
+
+ 16
+
+
+ 870
+ zzgl.
+
+
+
+ 1.5000
+
+
+
+ 1.000
+
+
+
+ VAT
+ Z
+ 0.00
+
+
+ 177.41
+
+
+
+
+
+ XXX AG
+
+ 57151520
+
+
+ 10369
+ Storkower Straße 207
+ Berlin
+ DE
+
+
+ DE37/302/30168
+
+
+
+ 10202
+ XXX AG
+
+ XXXX
+
+
+ 10369
+ Storkower Straße 207
+ Berlin
+ DE
+
+
+
+
+
+
+
+ 20160906
+
+
+
+
+
+ 2016166
+ EUR
+
+ 30
+
+ DE12500105170648489890
+
+
+
+ 0.00
+ VAT
+ 11693.87
+ Z
+ 0.00
+
+
+
+ 20150109
+
+
+
+ 11693.87
+ 11693.87
+ 0.0
+ 11693.87
+ 11693.87
+
+
+
+
diff --git a/cii/examples/CII_example2.xml b/cii/examples/CII_example2.xml
new file mode 100644
index 00000000..92862065
--- /dev/null
+++ b/cii/examples/CII_example2.xml
@@ -0,0 +1,487 @@
+
+
+
+
+
+
+
+
+ urn:cen.eu:en16931:2017
+
+
+
+ TOSL108
+ 380
+
+ 20130630
+
+
+ Ordered in our booth at the convention
+
+
+
+
+
+ 1
+
+ Scratch on box
+
+
+
+ 1234567890128
+ JB007
+ Laptop computer
+ Processor: Intel Core 2 Duo SU9400 LV (1.4GHz). RAM: 3MB. Screen 1440x900
+
+ Color
+ Black
+
+
+ 65434568
+
+
+ DE
+
+
+
+
+ 1
+
+
+ 1498
+ 1498
+
+
+ false
+
+ 225
+
+
+
+ 1273
+ 1273
+
+
+
+ 1
+
+
+
+ VAT
+ S
+ 25
+
+
+
+ 20130601
+
+
+ 20130601
+
+
+
+
+ false
+
+ 12
+ Damage
+
+
+
+ true
+
+ 12
+ Testing
+
+
+ 1273
+
+
+ BookingCode001
+
+
+
+
+
+ 2
+
+ Cover is slightly damaged.
+
+
+
+ 1234567890135
+ JB008
+ Returned "Advanced computing" book
+
+ 65434567
+
+
+
+
+ 5
+
+
+ 3.96
+ 3.96
+
+
+
+ -1
+
+
+
+ VAT
+ S
+ 15
+
+
+ -3.96
+
+
+ BookingCode002
+
+
+
+
+
+ 3
+
+
+ 1234567890142
+ JB009
+ "Computing for dummies" book
+
+ 65434566
+
+
+
+
+ 3
+
+
+ 2.75
+ 2.75
+
+
+ false
+
+ 0.275
+
+
+
+ 2.48
+ 2.48
+
+
+
+ 2
+
+
+
+ VAT
+ S
+ 15
+
+
+ 4.96
+
+
+ BookingCode003
+
+
+
+
+
+ 4
+
+
+ 1234567890159
+ JB010
+ Returned IBM 5150 desktop
+
+ 65434565
+
+
+
+
+ 2
+
+
+ 25
+ 25
+
+
+
+ -1
+
+
+
+ VAT
+ E
+ 0
+
+
+ -25
+
+
+ BookingCode004
+
+
+
+
+
+ 5
+
+
+ 1234567890166
+ JB011
+ Network cable
+
+ Type
+ Cat5
+
+
+ 12344325
+
+
+
+
+ 4
+
+
+ 0.75
+ 0.75
+
+
+
+ 250
+
+
+
+ VAT
+ S
+ 25
+
+
+ 187.5
+
+
+ BookingCode005
+
+
+
+
+
+ 1238764941386
+ Salescompany ltd.
+
+ 123456789
+
+
+ Antonio Salesmacher
+
+ 46211230
+
+
+ antonio@salescompany.no
+
+
+
+ 303
+ Main street 34
+ Suite 123
+ Big city
+ NO
+ RegionA
+
+
+ NO123456789MVA
+
+
+
+ 3456789012098
+ The Buyercompany
+
+ 987654321
+
+
+ John Doe
+
+ 5121230
+
+
+ john@buyercompany.no
+
+
+
+ 101
+ Anystreet 8
+ Back door
+ Anytown
+ NO
+ RegionB
+
+
+ NO987654321MVA
+
+
+
+ Tax handling company AS
+
+ 202
+ Regent street
+ Front door
+ Newtown
+ NO
+ RegionC
+
+
+ NO967611265MVA
+
+
+
+ 123
+
+
+ Contract321
+
+
+ Doc1
+ http://www.suppliersite.eu/sheet001.html
+ 916
+ Timesheet
+ SlZCRVJpMHhMalVOQ2lVTkNqRWdNQ0J2WW1vT3k2SlRaWDliY2dSVnhJVkcuLi50Ykxvc0NoVTJYUmY5eGIvb21zY2dUWS9sWEVoVWI=
+
+
+
+
+ 6754238987643
+
+ 523427
+ Deliverystreet 2
+ Side door
+ DeliveryCity
+ NO
+ RegionD
+
+
+
+
+ 20130615
+
+
+
+
+ 0003434323213231
+ NOK
+
+ 2298740918237
+ Ebeneser Scrooge AS
+
+ 989823401
+
+
+
+ 30
+
+ NO9386011117947
+
+
+ DNBANOKK
+
+
+
+ 30
+
+ NO9386011117947
+
+
+
+ 365.13
+ VAT
+ 1460.5
+ S
+
+ 20130630
+
+ 25
+
+
+ 0.15
+ VAT
+ 1
+ S
+ 15
+
+
+ 0
+ VAT
+ Exempt New Means of Transport
+ -25
+ E
+ 0
+
+
+
+ 20130601
+
+
+ 20130630
+
+
+
+
+ false
+
+ 100
+ 95
+ Promotion discount
+
+ VAT
+ S
+ 25
+
+
+
+
+ true
+
+ 100
+ Freight
+
+ VAT
+ S
+ 25
+
+
+
+ 2 % discount if paid within 2 days
+Penalty percentage 10% from due date
+ 20130720
+
+
+ 1436.5
+ 100
+ 100
+ 1436.5
+ 365.28
+ 1801.78
+ 1000
+ 801.78
+
+
+ Project cost code 123
+
+
+
+
diff --git a/cii/examples/CII_example5.xml b/cii/examples/CII_example5.xml
new file mode 100644
index 00000000..f85e4c7a
--- /dev/null
+++ b/cii/examples/CII_example5.xml
@@ -0,0 +1,442 @@
+
+
+
+
+
+
+
+
+ urn:cen.eu:en16931:2017
+
+
+
+ TOSL110
+ 380
+
+ 20130410
+
+
+ Ordered through our website
+ AAI
+
+
+
+
+
+ 1
+
+ first line
+
+
+
+ 1234567890128
+ JB007
+ BUY123
+ Printing paper
+ Printing paper, 2mm
+
+ Thickness
+ 2 mm
+
+
+ NL
+
+
+
+
+ 1
+
+
+ 1.1
+ 1.1
+
+
+ false
+
+ 10
+
+
+
+ 1
+ 1
+
+
+
+ 1000
+
+
+
+ VAT
+ S
+ 25
+
+
+
+ 20130310
+
+
+ 20130310
+
+
+
+
+ false
+
+ 10
+ 1000
+ 100
+ 95
+ Loyal customer
+
+
+
+ true
+
+ 10
+ 1000
+ 100
+ ABL
+ Packaging
+
+
+ 1000
+
+
+ Object2
+ 130
+
+
+ ACC7654
+
+
+
+
+
+ 2
+
+ Second line
+
+
+
+ JB008
+ Parker Pen
+ Parker Pen, Black, model Sansa
+
+ NL
+
+
+
+
+ 2
+
+
+ 5
+
+
+
+ 100
+
+
+
+ VAT
+ S
+ 25
+
+
+
+ 20130310
+
+
+ 20130310
+
+
+
+ 500
+
+
+ Object2
+ 130
+
+
+ ACC7654
+
+
+
+
+
+ 3
+
+
+ JB009
+ American Cookies
+
+
+
+ 5
+
+
+
+ 500
+
+
+
+ VAT
+ S
+ 12
+
+
+ 2500
+
+
+
+
+ qwerty
+
+ 5790000436101
+ SellerCompany
+ Export
+
+ NL16356706
+ SelCo
+
+
+ Anthon Larsen
+
+ +3198989898
+
+
+ Anthon@Selco.nl
+
+
+
+ 54321
+ Hoofdstraat 4
+ Om de hoek
+ Grootstad
+ NL
+ Overijssel
+
+
+ info@selco.nl
+
+
+ NL16356706
+
+
+ NL16356706
+
+
+
+ 5790000436057
+ Buyercompany ltd
+
+ DK16356607
+ Buyco
+
+
+ John Hansen
+
+ +4598989898
+
+
+ john.hansen@buyercompany.dk
+
+
+
+ 101
+ Anystreet, Building 1
+ 5th floor
+ Anytown
+ DK
+ Jutland
+
+
+ info@buyercompany.dk
+
+
+ DK16356607
+
+
+
+ Dick Panama
+
+ 101
+ Anystreet, Building 1
+ 6th floor
+ Anytown
+ DK
+ Jutland
+
+
+ DK16356609
+
+
+
+ 123
+
+
+ PO4711
+
+
+ 2013-05
+
+
+ Lot567
+
+
+ OBJ999
+
+
+ sales slip
+ 916
+ your sales slip
+ SlZCRVJpMHhMalVOQ2lVTkNqRWdNQ0J2WW1vT3k2SlRaWDliY2dSVnhJVkcuLi50Ykxvc0NoVTJYUmY5eGIvb21zY2dUWS9sWEVoVWI=
+
+
+ Project345
+ Project reference
+
+
+
+
+ 5790000436068
+ Logistic service Ltd
+
+ 9000
+ Deliverystreet
+ Gate 15
+ Deliverycity
+ DK
+ Jutland
+
+
+
+
+ 20130415
+
+
+
+ 5433
+
+
+ 3544
+
+
+
+ DK5678
+ Payref1
+ EUR
+ DKK
+
+ DK16356608
+ Dagobert Duck
+
+ DK16356608
+
+
+
+ 58
+ Half prepaid
+
+ DK1212341234123412
+
+
+
+ 58
+
+
+
+
+
+ 375
+ VAT
+ 1500
+ S
+
+ 20130410
+
+ 25
+
+
+ 300
+ VAT
+ 2500
+ S
+ 12
+
+
+
+ 20130310
+
+
+ 20130410
+
+
+
+
+ false
+
+ 10
+ 1500
+ 150
+ 95
+ Loyal customer
+
+ VAT
+ S
+ 25
+
+
+
+
+ true
+
+ 10
+ 1500
+ 150
+ ABL
+ Packaging
+
+ VAT
+ S
+ 25
+
+
+
+ 50% prepaid, 50% within one month
+ 20130510
+ 123456
+
+
+ 4000.00
+ 150
+ 150
+ 4000
+ 675.00
+ 628.62
+ 4675
+ 2337.5
+ 2337.5
+
+
+ TOSL109
+
+ 20130310
+
+
+
+ 67543
+
+
+
+
diff --git a/cii/examples/huf_example_cii.xml.xml b/cii/examples/huf_example_cii.xml
similarity index 100%
rename from cii/examples/huf_example_cii.xml.xml
rename to cii/examples/huf_example_cii.xml
diff --git a/pom-license.xml b/pom-license.xml
index 4583a0f0..7006eb51 100644
--- a/pom-license.xml
+++ b/pom-license.xml
@@ -48,6 +48,8 @@
cii/schema/**
edifact/examples/**
edifact/schema/**
+
+ zz*
target-cii/**
target-ubl/**
diff --git a/ubl/examples/BIS3_Invoice_negativ.XML b/ubl/examples/BIS3_Invoice_negativ.XML
new file mode 100644
index 00000000..502a6e33
--- /dev/null
+++ b/ubl/examples/BIS3_Invoice_negativ.XML
@@ -0,0 +1,159 @@
+
+
+
+ urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
+ 12345
+ 2019-01-25
+ 2019-02-24
+ 380
+ text
+ DKK
+ n/a
+ n/a
+
+ 2018-09-01
+ 2018-09-30
+
+
+ n/a
+
+
+ 12345
+
+
+
+ 12345678
+
+ 12345678
+
+
+ Company A
+
+
+ Street
+ Copenhagen
+ 1057
+
+ DK
+
+
+
+ DK12345678
+
+ VAT
+
+
+
+ Company A
+ 12345678
+
+
+
+
+
+ 87654321
+
+ 87654321
+
+
+ Company B
+
+
+ Bjerkåsholmen 125
+ Slemmestad
+ NO-3470
+
+ DK
+
+
+
+ DK87654321
+
+ VAT
+
+
+
+ Company B
+ 87654321
+
+
+ n/a
+
+
+
+
+ 2019-01-25
+
+
+ Street
+ Copenhagen
+ 1057
+
+ DK
+
+
+
+
+
+ 58
+ 12345667890
+
+ 1234567891234
+
+
+
+ -156435.89
+
+ -625743.54
+ -156435.89
+
+ S
+ 25
+
+ VAT
+
+
+
+
+
+ -625743.54
+ -625743.54
+ -782179.43
+ -782179.43
+
+
+ 1
+ -1
+ -625743.54
+ n/a
+
+ 2018-09-01
+ 2018-09-30
+
+
+ text
+ text
+
+ 12345
+
+
+ DK
+
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 625743.54
+
+
+
diff --git a/ubl/examples/BIS3_Invoice_positive.XML b/ubl/examples/BIS3_Invoice_positive.XML
new file mode 100644
index 00000000..c6a9836a
--- /dev/null
+++ b/ubl/examples/BIS3_Invoice_positive.XML
@@ -0,0 +1,159 @@
+
+
+
+ urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
+ 12345
+ 2019-01-25
+ 2019-02-24
+ 380
+ text
+ DKK
+ n/a
+ n/a
+
+ 2018-09-01
+ 2018-09-30
+
+
+ n/a
+
+
+ 12345
+
+
+
+ 12345678
+
+ 12345678
+
+
+ Company A
+
+
+ Street
+ Copenhagen
+ 1057
+
+ DK
+
+
+
+ DK12345678
+
+ VAT
+
+
+
+ Company A
+ 12345678
+
+
+
+
+
+ 87654321
+
+ 87654321
+
+
+ Company B
+
+
+ Bjerkåsholmen 125
+ Slemmestad
+ NO-3470
+
+ DK
+
+
+
+ DK87654321
+
+ VAT
+
+
+
+ Company B
+ 87654321
+
+
+ n/a
+
+
+
+
+ 2019-01-25
+
+
+ Street
+ Copenhagen
+ 1057
+
+ DK
+
+
+
+
+
+ 58
+ 12345667890
+
+ 1234567891234
+
+
+
+ 156435.89
+
+ 625743.54
+ 156435.89
+
+ S
+ 25
+
+ VAT
+
+
+
+
+
+ 625743.54
+ 625743.54
+ 782179.43
+ 782179.43
+
+
+ 1
+ 1
+ 625743.54
+ n/a
+
+ 2018-09-01
+ 2018-09-30
+
+
+ text
+ text
+
+ 12345
+
+
+ DK
+
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 625743.54
+
+
+
diff --git a/ubl/examples/guide-example1.xml b/ubl/examples/guide-example1.xml
new file mode 100644
index 00000000..b5d9438f
--- /dev/null
+++ b/ubl/examples/guide-example1.xml
@@ -0,0 +1,528 @@
+
+
+
+ urn:cen.eu:en16931:2017
+ 12115118
+ 2015-01-09
+ 2015-01-09
+ 380
+ Alle leveringen zijn franco. Alle prijzen zijn incl. BTW. Betalingstermijn: 14 dagen netto. Prijswijzigingen voorbehouden. Op al onze aanbiedingen, leveringen en overeenkomsten zijn van toepassing in de algemene verkoop en leveringsvoorwaarden. Gedeponeerd bij de K.v.K. te Amsterdam 25-04-'85##Delivery terms
+ EUR
+
+
+
+ Postbus 7l
+ Velsen-Noord
+ 1950 AB
+
+ NL
+
+
+
+ NL8200.98.395.B.01
+
+ VAT
+
+
+
+ De Koksmaat
+ 57151520
+
+
+
+
+
+
+ 10202
+
+
+ POSTBUS 367
+ HEEMSKERK
+ 1960 AJ
+
+ NL
+
+
+
+ ODIN 59
+
+
+ Dhr. J BLOKKER
+
+
+
+
+ 31
+ Deb. 10202 / Fact. 12115118
+
+ NL57 RABO 0107307510
+
+
+
+ 31
+ Deb. 10202 / Fact. 12115118
+
+ NL03 INGB 0004489902
+
+
+
+ 20.73
+
+ 183.23
+ 10.99
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 46.37
+ 9.74
+
+ S
+ 21
+
+ VAT
+
+
+
+
+
+ 229.60
+ 229.60
+ 250.33
+ 250.33
+
+
+ 1
+ 2
+ 19.90
+
+ PATAT FRITES 10MM 10KG
+
+ 166022
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 9.95
+
+
+
+ 2
+ 1
+ 9.85
+
+ PKAAS 50PL. JONG BEL. 1KG
+
+ 661813
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 9.85
+
+
+
+ 3
+ 1
+ 8.29
+
+ POT KETCHUP 3 LT
+
+ 438146
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 8.29
+
+
+
+ 4
+ 2
+ 14.46
+
+ FRITESSAUS 3 LRR
+
+ 438103
+
+
+ S
+ 6
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S
+ 21
+
+ VAT
+
+
+
+
+ 3.80
+
+
+
+ 17
+ 2
+ 9.34
+
+ WC PAPIER
+
+ 999994
+
+
+ S
+ 21
+
+ VAT
+
+
+
+
+ 4.67
+
+
+
+ 18
+ 1
+ 18.63
+
+ BALPENNEN 50 ST BLAUW
+
+ 999993
+
+
+ S
+ 21
+
+ VAT
+
+
+
+
+ 18.63
+
+
+
+ 19
+ 6
+ 102.12
+
+ EM FRITUURVETxºxxx
+
+ 999992
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 17.02
+
+
+
+ 20
+ 6
+ -109.98
+
+ FRITUUR VET 10 KG RETOUR
+
+ 175137
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 18.33
+
+
+
diff --git a/ubl/examples/guide-example2.xml b/ubl/examples/guide-example2.xml
new file mode 100644
index 00000000..60b52525
--- /dev/null
+++ b/ubl/examples/guide-example2.xml
@@ -0,0 +1,445 @@
+
+
+
+ urn:cen.eu:en16931:2017
+ Invoicing on purchase order
+ TOSL108
+ 2013-06-30
+ 2013-07-20
+ 380
+ Ordered in our booth at the convention
+ 2013-06-30
+ NOK
+ Project cost code 123
+
+ 2013-06-01
+ 2013-06-30
+
+
+ 123
+
+
+ Contract321
+
+
+ Doc1
+ Timesheet
+
+
+ http://www.suppliersite.eu/sheet001.html
+
+
+
+
+ Doc2
+ EHF specification
+
+
+
+
+ 1238764941386
+
+
+ Main street 34
+ Suite 123
+ Big city
+ 303
+ RegionA
+
+ NO
+
+
+
+ NO123456789MVA
+
+ VAT
+
+
+
+ Salescompany ltd.
+ 123456789
+
+
+ Antonio Salesmacher
+ 46211230
+ antonio@salescompany.no
+
+
+
+
+
+
+ 3456789012098
+
+
+ Anystreet 8
+ Back door
+ Anytown
+ 101
+ RegionB
+
+ NO
+
+
+
+ NO987654321MVA
+
+ VAT
+
+
+
+ The Buyercompany
+ 987654321
+
+
+ John Doe
+ 5121230
+ john@buyercompany.no
+
+
+
+
+
+ 2298740918237
+
+
+ Ebeneser Scrooge AS
+
+
+ 989823401
+
+
+
+
+ Tax handling company AS
+
+
+ Regent street
+ Front door
+ Newtown
+ 202
+ RegionC
+
+ NO
+
+
+
+ NO967611265MVA
+
+ VAT
+
+
+
+
+ 2013-06-15
+
+ 6754238987643
+
+ Deliverystreet 2
+ Side door
+ DeliveryCity
+ 523427
+ RegionD
+
+ NO
+
+
+
+
+
+ 30
+ 0003434323213231
+
+ NO9386011117947
+
+ DNBANOKK
+
+
+
+
+ 2 % discount if paid within 2 days Penalty percentage 10% from due date
+
+
+ false
+ 71
+ Promotion discount
+ 100.00
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ true
+ Freight
+ 100.00
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 365.28
+
+ 1460.50
+ 365.13
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 1.00
+ 0.15
+
+ S
+ 15
+
+ VAT
+
+
+
+
+ -25.00
+ 0.00
+
+ E
+ 0
+ Exempt New Means of Transport
+
+
+ VAT
+
+
+
+
+
+ 1436.50
+ 1436.50
+ 1801.78
+ 100.00
+ 100.00
+ 1000.00
+ 801.78
+
+
+ 1
+ Scratch on box
+ 2
+ 1273.00
+ BookingCode001
+
+ 2013-06-01
+ 2013-06-30
+
+
+ 1
+
+
+ false
+ Damage
+ 12.00
+
+
+ true
+ Testing
+ 12.00
+
+
+ Processor: Intel Core 2 Duo SU9400 LV (1.4GHz). RAM: 3MB. Screen
+ 1440x900
+ Laptop computer
+
+ JB007
+
+
+ 1234567890128
+
+
+ DE
+
+
+ 65434568
+
+
+ S
+ 25
+
+ VAT
+
+
+
+ Color
+ Black
+
+
+
+ 1273.00
+ 1
+
+ false
+ 225.00
+
+
+
+
+ 2
+ Cover is slightly damaged.
+ -1
+ -3.96
+ BookingCode002
+
+ 5
+
+
+ Returned "Advanced computing" book
+
+ JB008
+
+
+ 1234567890135
+
+
+
+ 65434567
+
+
+ S
+ 15
+
+ VAT
+
+
+
+
+ 3.96
+ 1
+
+
+
+ 3
+ 2
+ 4.96
+ BookingCode003
+
+ 3
+
+
+ "Computing for dummies" book
+
+ JB009
+
+
+ 1234567890135
+
+
+
+ 65434567
+
+
+ S
+ 15
+
+ VAT
+
+
+
+
+ 2.48
+ 1
+
+ false
+ 0.75
+ 2.75
+
+
+
+
+ 4
+ -1
+ -25.00
+ BookingCode004
+
+ 2
+
+
+ Returned IBM 5150 desktop
+
+ JB010
+
+
+ 1234567890159
+
+
+
+ 65434565
+
+
+ E
+ 0
+
+ VAT
+
+
+
+
+ 25.00
+ 1
+
+
+
+ 5
+ 250
+ 187.50
+ BookingCode005
+
+
+
+
+ Network cable
+
+ JB011
+
+
+ 1234567890166
+
+
+
+ 65434564
+
+
+ S
+ 25
+
+ VAT
+
+
+
+ Type
+ Cat5
+
+
+
+ 0.75
+ 1
+
+
+
diff --git a/ubl/examples/guide-example3.xml b/ubl/examples/guide-example3.xml
new file mode 100644
index 00000000..a27fec5c
--- /dev/null
+++ b/ubl/examples/guide-example3.xml
@@ -0,0 +1,152 @@
+
+
+
+ urn:cen.eu:en16931:2017
+ TOSL108
+ 2013-04-10
+ 2013-05-10
+ 380
+ Contract was established through our website
+ DKK
+
+ 2013-01-01
+ 2013-04-01
+
+
+ SUBSCR571
+
+
+
+
+ 1238764941386
+
+
+ Main street 2, Building 4
+ Big city
+ 54321
+
+ DK
+
+
+
+ DK16356706
+
+ VAT
+
+
+
+ SubscriptionSeller
+ DK16356706
+
+
+ antonio@SubscriptionsSeller.dk
+
+
+
+
+
+
+ 5790000435975
+
+
+ Anystreet, Building 1
+ Anytown
+ 101
+
+ DK
+
+
+
+ Buyercompany ltd
+
+
+
+
+ 30
+ Payref1
+
+ DK1212341234123412
+
+
+
+ true
+ Freight charge
+ 100.00
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 225.00
+
+ 900.00
+ 225.00
+
+ S
+ 25
+
+ VAT
+
+
+
+
+
+ 800.00
+ 900.00
+ 1125.00
+ 100.00
+ 1125.00
+
+
+ 1
+ 2
+ 400.00
+
+ Subscription fee 1st quarter
+ Paper subscription
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 800.00
+
+
+
+ 2
+ 2
+ 400.00
+
+ Subscription fee 1st quarter
+ Paper subscription
+
+ S
+ 25.00
+
+ VAT
+
+
+
+
+ 800.00
+
+
+
+
diff --git a/ubl/examples/issue116.xml b/ubl/examples/issue116.xml
new file mode 100644
index 00000000..98eeae08
--- /dev/null
+++ b/ubl/examples/issue116.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+ urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
+ 2018210
+ 2018-02-08
+ 2018-03-07
+ 380
+ SEK
+ Buyer reference
+
+
+ 5566778899
+
+
+ AF
+
+
+
+ SE123456789001
+
+ VAT
+
+
+
+ SÄLJARNAMNET
+ 1234567890
+ Säte: Big CIty
+
+
+
+
+
+ 1234512345
+
+
+ AF
+
+
+
+ SE123451234501
+
+ VAT
+
+
+
+ Project services AB
+ 1234512345
+
+
+
+
+ 30 dagar netto. Dröjsmålsränta:12 %
+
+
+ false
+ Discount2
+ 0
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ false
+ Discount1
+ 1
+
+ E
+ 0
+
+ VAT
+
+
+
+
+ true
+ Standard charge
+ 1
+
+ E
+ 0
+
+ VAT
+
+
+
+
+ true
+ Extra charge
+ 0
+
+ E
+ 0
+
+ VAT
+
+
+
+
+ 130
+
+ 100
+ 6
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 400
+ 100
+
+ S
+ 25
+
+ VAT
+
+
+
+
+
+
+ 200
+ 24
+
+ S
+ 12
+
+ VAT
+
+
+
+
+ 0
+ 0
+
+ E
+ 0
+ Skatteundantag
+
+ VAT
+
+
+
+
+
+ 700
+ 700
+ 830
+ 1
+ 1
+ 0
+ 0
+ 830
+
+
+ 1
+ 1
+ 100
+
+ Newspaper (VAT 6%)
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 100
+
+
+
+ 2
+ 1
+ 50
+
+ Food (VAT 12%)
+
+ S
+ 12
+
+ VAT
+
+
+
+
+ 50
+
+
+
+ 3
+ 1
+ 150
+
+ Food (VAT 12%)
+
+ S
+ 12
+
+ VAT
+
+
+
+
+ 150
+
+
+
+ 4
+ 1
+ 400
+
+ Petrol (VAT 25%)
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 400
+
+
+
diff --git a/ubl/examples/sample-discount-price.xml b/ubl/examples/sample-discount-price.xml
new file mode 100644
index 00000000..048da500
--- /dev/null
+++ b/ubl/examples/sample-discount-price.xml
@@ -0,0 +1,125 @@
+
+
+
+ urn:cen.eu:en16931:2017
+ P1
+ test decimal 1
+ 2018-02-05
+ 2018-02-28
+ 380
+ EUR
+ EUR
+
+
+
+ 46830600751
+
+
+ ULICA 1
+ SPLIT
+ 10000
+
+ ULICA 1, 10000 SPLIT
+
+
+ HR
+
+
+
+ HR46830600751
+
+ VAT
+
+
+
+ HEP SPLIT
+ 086374645
+
+
+
+
+
+
+ 12346830600751
+
+
+ VUKOVARSKA PROMJENA ADRESE
+ ZAGREB
+ 10000
+
+ VUKOVARSKA PROMJENA ADRESE 20, 10000 ZAGREB
+
+
+ HR
+
+
+
+ HR46830600751
+
+ VAT
+
+
+
+ HEP-OPERATOR DISTRIBUCIJSKOG SUSTAVA D.O.O. ZA DISTRIBUCIJU I
+ OPSKRBU ELEKTRICNE ENERGIJE
+ 08634543
+
+
+
+
+ 4
+
+
+ 3.03
+
+ 12.12
+ 3.03
+
+ S
+ 25
+
+ VAT
+
+
+
+
+
+ 12.12
+ 12.12
+ 15.15
+ 15.15
+
+
+ 1
+ 100.000
+ 12.12
+
+ stavka 1
+
+ HR
+
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 0.1212
+ 1
+
+ false
+ 0.0022
+ 0.1234
+
+
+
+
diff --git a/ubl/examples/ubl-tc434-example10.xml b/ubl/examples/ubl-tc434-example10.xml
new file mode 100644
index 00000000..95f0362b
--- /dev/null
+++ b/ubl/examples/ubl-tc434-example10.xml
@@ -0,0 +1,532 @@
+
+
+
+ urn:cen.eu:en16931:2017
+ 12115118
+ 2015-01-09
+ 2015-01-09
+ 380
+ Alle leveringen zijn franco. Alle prijzen zijn incl. BTW. Betalingstermijn: 14 dagen netto. Prijswijzigingen voorbehouden. Op al onze aanbiedingen, leveringen en overeenkomsten zijn van toepassing in de algemene verkoop en leveringsvoorwaarden. Gedeponeerd bij de K.v.K. te Amsterdam 25-04-'85##Delivery terms
+ EUR
+ SEK
+
+
+
+ Postbus 7l
+ Velsen-Noord
+ 1950 AB
+
+ NL
+
+
+
+ NL8200.98.395.B.01
+
+ VAT
+
+
+
+ De Koksmaat
+ 57151520
+
+
+
+
+
+
+ 10202
+
+
+ POSTBUS 367
+ HEEMSKERK
+ 1960 AJ
+
+ NL
+
+
+
+ ODIN 59
+
+
+ Dhr. J BLOKKER
+
+
+
+
+ 30
+ Deb. 10202 / Fact. 12115118
+
+ NL57 RABO 0107307510
+
+
+
+ 30
+ Deb. 10202 / Fact. 12115118
+
+ NL03 INGB 0004489902
+
+
+
+ 20.73
+
+ 183.23
+ 10.99
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 46.37
+ 9.74
+
+ S
+ 21
+
+ VAT
+
+
+
+
+
+ 2000.73
+
+
+ 229.60
+ 229.60
+ 250.33
+ 250.33
+
+
+ 1
+ 2
+ 19.90
+
+ PATAT FRITES 10MM 10KG
+
+ 166022
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 9.95
+
+
+
+ 2
+ 1
+ 9.85
+
+ PKAAS 50PL. JONG BEL. 1KG
+
+ 661813
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 9.85
+
+
+
+ 3
+ 1
+ 8.29
+
+ POT KETCHUP 3 LT
+
+ 438146
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 8.29
+
+
+
+ 4
+ 2
+ 14.46
+
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 7.60
+
+ BLEEK 3 X 750 ML
+
+ 102172
+
+
+ S
+ 21
+
+ VAT
+
+
+
+
+ 3.80
+
+
+
+ 17
+ 2
+ 9.34
+
+ WC PAPIER
+
+ 999994
+
+
+ S
+ 21
+
+ VAT
+
+
+
+
+ 4.67
+
+
+
+ 18
+ 1
+ 18.63
+
+ BALPENNEN 50 ST BLAUW
+
+ 999993
+
+
+ S
+ 21
+
+ VAT
+
+
+
+
+ 18.63
+
+
+
+ 19
+ 6
+ 102.12
+
+ EM FRITUURVET
+
+ 999992
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 17.02
+
+
+
+ 20
+ 6
+ -109.98
+
+ FRITUUR VET 10 KG RETOUR
+
+ 175137
+
+
+ S
+ 6
+
+ VAT
+
+
+
+
+ 18.33
+
+
+
diff --git a/zip-release.sh b/zip-release.sh
new file mode 100644
index 00000000..554ec4af
--- /dev/null
+++ b/zip-release.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+ver=1.3.13
+
+#
+# CII
+#
+rm en16931-cii-$ver.zip
+cd cii
+zip -9 -r ../en16931-cii-$ver.zip schematron/* xslt/* examples/*
+cd ..
+
+#
+# UBL
+#
+rm en16931-ubl-$ver.zip
+cd ubl
+zip -9 -r ../en16931-ubl-$ver.zip schematron/* xslt/* examples/*
+cd ..
+
+echo "Successfully done"