From d5cfc198c7d8a70d689263efe7807af2d12ce058 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Fri, 14 Jul 2023 09:47:09 +0200 Subject: [PATCH 001/145] Test --- README.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.adoc b/README.adoc index 540158c2..5d1d4c6e 100644 --- a/README.adoc +++ b/README.adoc @@ -3,3 +3,5 @@ This repository contains the resources making up PEPPOL BIS Billing 3.0. Please use our link:https://openpeppol.atlassian.net/servicedesk/customer/portal/1[Service desk] to report any issues related to the specification. + +# Test PH From fbf565dbeb8c3f3762cff71b796de0ddd9ab5ec6 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Fri, 14 Jul 2023 10:32:07 +0200 Subject: [PATCH 002/145] added de rules and first test file --- rules/buildconfig.xml | 1 + rules/sch/PEPPOL-EN16931-UBL.sch | 126 ++++++ rules/unit-UBL-DE/UBL-IN_DE-R-016.xml | 614 ++++++++++++++++++++++++++ 3 files changed, 741 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-016.xml diff --git a/rules/buildconfig.xml b/rules/buildconfig.xml index a024785c..0952210f 100644 --- a/rules/buildconfig.xml +++ b/rules/buildconfig.xml @@ -14,6 +14,7 @@ unit-UBL-NO unit-UBL-IT unit-UBL-DK + unit-UBL-DE unit-UBL-SE unit-UBL-GR diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index bef742f5..ca4ca7ce 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -653,6 +653,132 @@ Last update: 2023 May release 3.0.15. [NL-R-009] For suppliers in the Netherlands, if an order line reference (cac:OrderLineReference/cbc:LineID) is used, there must be an order reference on the document level (cac:OrderReference/cbc:ID) + + + + + + + + + + BR-DE-1 translation + BR-DE-15 translation + + + + + + + + BR-DE-16 translation + + BR-DE-17 translation + BR-DE-18 translation + BR-DE-22 translation + BR-DE-26 translation + BR-DE-30 translation + BR-DE-31 translation + + + BR-DE-2 translation + + + BR-DE-3 translation + BR-DE-4 translation + + + BR-DE-5 translation + BR-DE-6 translation + BR-DE-7 translation + BR-DE-27 translation + BR-DE-28 translation + + + BR-DE-8 translation + BR-DE-9 translation + + + BR-DE-10 translation + + + + BR-DE-19 translation + BR-DE-23-a translation + BR-DE-23-b translation + + + BR-DE-24-a translation + BR-DE-24-b translation + + + BR-DE-20 translation + BR-DE-25-a translation + BR-DE-25-b translation + + + BR-DE-14 translation + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml new file mode 100644 index 00000000..b5a8a366 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml @@ -0,0 +1,614 @@ + + + + DE-R-016 description tbd + DE-R-016 + + + + DE-R-016 + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + Z + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-016 + + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + EUR + 90000000-03083-12 + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + + + VAT + + + + + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + Z + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + From 274f5de43f8c252a27ff4240c896581172e3180e Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Sun, 16 Jul 2023 11:16:35 +0200 Subject: [PATCH 003/145] added two rules two structure --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 606 +++++++++++++++++++++ rules/unit-UBL-DE/UBL-IN_DE-R-016.xml | 557 +------------------ structure/syntax/part/allowance-charge.xml | 1 + structure/syntax/ubl-invoice.xml | 1 + 4 files changed, 610 insertions(+), 555 deletions(-) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-001.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml new file mode 100644 index 00000000..2bc88f0f --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -0,0 +1,606 @@ + + + + DE-R-001 description tbd + DE-R-001 + + + + DE-R-001 + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen + Leistungspositionen + + + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], + Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 + Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-001 + + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen + Leistungspositionen + + + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], + Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 + Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml index b5a8a366..f848ed40 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml @@ -12,185 +12,6 @@ xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"> - urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 - urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - EUR - 90000000-03083-12 - - - - 2018-04-13 - 2018-04-13 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - false 102 @@ -199,112 +20,13 @@ 0 0 - Z + S 19 VAT - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 30 - 4743.75 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - @@ -317,184 +39,7 @@ xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"> - urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 - urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - EUR - 90000000-03083-12 - - 2018-04-13 - 2018-04-13 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - - - VAT - - - - - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - + false 102 @@ -510,104 +55,6 @@ - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 30 - 4743.75 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - diff --git a/structure/syntax/part/allowance-charge.xml b/structure/syntax/part/allowance-charge.xml index 770ce3fa..450d7b3c 100644 --- a/structure/syntax/part/allowance-charge.xml +++ b/structure/syntax/part/allowance-charge.xml @@ -141,6 +141,7 @@ BR-O-13 BR-O-14 BR-CL-17 + DE-R-016 UNCL5305 S diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index f95379b4..59b1854d 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -364,6 +364,7 @@ BT-81 BR-49 BR-CL-16 + DE-R-001 UNCL4461 From 409640af7692653464cbb1f2a741b73ed691af26 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 08:39:40 +0200 Subject: [PATCH 004/145] added de-r-002 --- rules/unit-UBL-DE/UBL-IN_DE-R-002.xml | 612 +++++++++++++++++++++++ structure/syntax/part/supplier-party.xml | 2 +- 2 files changed, 613 insertions(+), 1 deletion(-) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-002.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml new file mode 100644 index 00000000..6d5d2b61 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml @@ -0,0 +1,612 @@ + + + + DE-R-002 description tbd + DE-R-002 + + + + DE-R-002 + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + + DE-R-001 + + + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + diff --git a/structure/syntax/part/supplier-party.xml b/structure/syntax/part/supplier-party.xml index 2412656c..7bf32ce2 100644 --- a/structure/syntax/part/supplier-party.xml +++ b/structure/syntax/part/supplier-party.xml @@ -325,7 +325,7 @@ SELLER CONTACT A group of business terms providing contact information about the Seller. BG-6 - + DE-R-002 cbc:Name Seller contact point From 992394df00bf8009eab135d380c01c194f0bb756 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 10:14:25 +0200 Subject: [PATCH 005/145] fixed wrong id --- rules/unit-UBL-DE/UBL-IN_DE-R-002.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml index 6d5d2b61..30a84fef 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml @@ -308,7 +308,7 @@ - DE-R-001 + DE-R-002 From 5ce678b5000f07cb96f22f3e19a9c438f4a16188 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 10:32:48 +0200 Subject: [PATCH 006/145] fixed wrong customizationid --- rules/unit-UBL-DE/UBL-IN_DE-R-002.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml index 30a84fef..cdad4993 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml @@ -9,7 +9,7 @@ DE-R-002 - urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + 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 1234567 2018-04-13 @@ -48,7 +48,7 @@ - rechnungsausgang@test.com + 123456 987654321 @@ -90,7 +90,7 @@ - rechnungseingang@test.de + 123456 138 @@ -313,7 +313,7 @@ - urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + 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 1234567 2018-04-13 From 0f763d33970aeaba3f30006a4aa64bead09c157f Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 10:44:25 +0200 Subject: [PATCH 007/145] wip fixed validation errors --- rules/unit-UBL-DE/UBL-IN_DE-R-002.xml | 43 ++++++--------------------- 1 file changed, 9 insertions(+), 34 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml index cdad4993..3fddd477 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml @@ -18,7 +18,6 @@ Invoice Note Description 2018-04-13 EUR - EUR 90000000-03083-12 @@ -39,9 +38,6 @@ 01_15_Anhang_01.pdf Aufschlüsselung der einzelnen Leistungspositionen - - - PR12345678 @@ -80,7 +76,7 @@ [Seller trading name] 123456789 Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - + Tim Tester 012 3456789 @@ -139,9 +135,6 @@ [Seller tax representative name] - - - DE @@ -234,11 +227,6 @@ - - 2048.44 - - - 10781.25 10781.25 @@ -257,8 +245,8 @@ 30 4743.75 - 2016-01-01 - 2016-12-31 + 2018-04-13 + 2018-04-13 6171175.1 @@ -281,7 +269,7 @@ - 143.75 + 158.125 @@ -311,7 +299,6 @@ DE-R-002 - 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 @@ -322,7 +309,6 @@ Invoice Note Description 2018-04-13 EUR - EUR 90000000-03083-12 @@ -343,16 +329,13 @@ 01_15_Anhang_01.pdf Aufschlüsselung der einzelnen Leistungspositionen - - - PR12345678 - rechnungsausgang@test.com + 123456 987654321 @@ -395,7 +378,7 @@ - rechnungseingang@test.de + 123456 138 @@ -444,9 +427,6 @@ [Seller tax representative name] - - - DE @@ -539,11 +519,6 @@ - - 2048.44 - - - 10781.25 10781.25 @@ -562,8 +537,8 @@ 30 4743.75 - 2016-01-01 - 2016-12-31 + 2018-04-13 + 2018-04-13 6171175.1 @@ -586,7 +561,7 @@ - 143.75 + 158.125 From 410d1cd903dc06b6275ab99e3ac4a50090735a21 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 11:38:00 +0200 Subject: [PATCH 008/145] fixed wrong namespace --- rules/sch/PEPPOL-EN16931-UBL.sch | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index ca4ca7ce..a7440f56 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -665,7 +665,7 @@ Last update: 2023 May release 3.0.15. - + BR-DE-1 translation BR-DE-31 translation - + BR-DE-2 translation - + BR-DE-3 translation @@ -718,7 +718,7 @@ Last update: 2023 May release 3.0.15. flag="fatal" id="DE-R-004">BR-DE-4 translation - + BR-DE-5 translation @@ -735,7 +735,7 @@ Last update: 2023 May release 3.0.15. flag="warning" id="DE-R-028">BR-DE-28 translation - + BR-DE-8 translation @@ -743,12 +743,12 @@ Last update: 2023 May release 3.0.15. flag="fatal" id="DE-R-009">BR-DE-9 translation - + BR-DE-10 translation - + BR-DE-23-b translation - + BR-DE-24-a translation BR-DE-24-b translation - + BR-DE-20 translation @@ -773,7 +773,7 @@ Last update: 2023 May release 3.0.15. flag="fatal" id="DE-R-025-2">BR-DE-25-b translation - + BR-DE-14 translation From 11822d8d385fada059c64685b28c599076f9e70a Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 11:50:34 +0200 Subject: [PATCH 009/145] test de-r-001 fixed. test de-r-003 added --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 4 +- rules/unit-UBL-DE/UBL-IN_DE-R-003.xml | 588 ++++++++++++++++++++++++++ 2 files changed, 590 insertions(+), 2 deletions(-) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-003.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 2bc88f0f..bf2e9b82 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -9,7 +9,7 @@ DE-R-001 - urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + 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 1234567 2018-04-13 @@ -314,7 +314,7 @@ - urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + 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 1234567 2018-04-13 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml new file mode 100644 index 00000000..6b2b00f1 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml @@ -0,0 +1,588 @@ + + + + DE-R-003 description tbd + DE-R-003 + + + + DE-R-003 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-003 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + + + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + From fbdf06c9140351a52903e058b743560cbc03001d Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 12:24:21 +0200 Subject: [PATCH 010/145] wip: more tests added --- rules/unit-UBL-DE/UBL-IN_DE-R-004.xml | 594 ++++++++++++++++++++++++++ rules/unit-UBL-DE/UBL-IN_DE-R-005.xml | 586 +++++++++++++++++++++++++ rules/unit-UBL-DE/UBL-IN_DE-R-006.xml | 586 +++++++++++++++++++++++++ rules/unit-UBL-DE/UBL-IN_DE-R-007.xml | 586 +++++++++++++++++++++++++ rules/unit-UBL-DE/UBL-IN_DE-R-008.xml | 589 +++++++++++++++++++++++++ rules/unit-UBL-DE/UBL-IN_DE-R-009.xml | 589 +++++++++++++++++++++++++ rules/unit-UBL-DE/UBL-IN_DE-R-010.xml | 589 +++++++++++++++++++++++++ rules/unit-UBL-DE/UBL-IN_DE-R-011.xml | 589 +++++++++++++++++++++++++ 8 files changed, 4708 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-004.xml create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-005.xml create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-006.xml create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-007.xml create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-008.xml create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-009.xml create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-010.xml create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-011.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml new file mode 100644 index 00000000..e4fcdda0 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml @@ -0,0 +1,594 @@ + + + + DE-R-004 description tbd + DE-R-004 + + + + DE-R-004 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + + + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-004 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + + + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-005.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-005.xml new file mode 100644 index 00000000..2d458433 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-005.xml @@ -0,0 +1,586 @@ + + + + DE-R-005 description tbd + DE-R-005 + + + + DE-R-005 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-005 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + + + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-006.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-006.xml new file mode 100644 index 00000000..86cae864 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-006.xml @@ -0,0 +1,586 @@ + + + + DE-R-006 description tbd + DE-R-006 + + + + DE-R-006 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-006 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + + + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-007.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-007.xml new file mode 100644 index 00000000..301669f9 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-007.xml @@ -0,0 +1,586 @@ + + + + DE-R-007 description tbd + DE-R-007 + + + + DE-R-007 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 0123456789 + + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-007 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 0123456789 + + + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-008.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-008.xml new file mode 100644 index 00000000..02b04017 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-008.xml @@ -0,0 +1,589 @@ + + + + DE-R-008 description tbd + DE-R-008 + + + + DE-R-008 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-008 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + + + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml new file mode 100644 index 00000000..8400b4f1 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml @@ -0,0 +1,589 @@ + + + + DE-R-009 description tbd + DE-R-009 + + + + DE-R-009 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + + + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-009 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-010.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-010.xml new file mode 100644 index 00000000..90a1e219 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-010.xml @@ -0,0 +1,589 @@ + + + + DE-R-010 description tbd + DE-R-010 + + + + DE-R-010 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-010 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + + + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml new file mode 100644 index 00000000..93da2b91 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml @@ -0,0 +1,589 @@ + + + + DE-R-011 description tbd + DE-R-011 + + + + DE-R-011 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-011 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + + + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + From 29f9a427000d830a8911ed18a318b343df82a007 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 12:28:18 +0200 Subject: [PATCH 011/145] fixed test --- rules/unit-UBL-DE/UBL-IN_DE-R-009.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml index 8400b4f1..64caa218 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml @@ -98,8 +98,8 @@ [Buyer address line 1] [Buyer address line 2] [Buyer city] - - + + 98765 [Buyer address line 3] @@ -389,8 +389,8 @@ [Buyer address line 1] [Buyer address line 2] [Buyer city] - - 98765 + + [Buyer address line 3] From f9e0757f1d134e354a7056215de67e5a43c56000 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 12:31:53 +0200 Subject: [PATCH 012/145] wip removed email --- rules/unit-UBL-DE/UBL-IN_DE-R-011.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml index 93da2b91..76c03ad8 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml @@ -45,7 +45,7 @@ - rechnungsausgang@test.com + 123456 987654321 @@ -87,7 +87,7 @@ - rechnungseingang@test.de + 123456 138 From 2dae8ac5b6eaf3887e5bbdcbc1575f9f38f05c85 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 12:34:54 +0200 Subject: [PATCH 013/145] removed email address --- rules/unit-UBL-DE/UBL-IN_DE-R-011.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml index 76c03ad8..d2ebd4dd 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml @@ -336,7 +336,7 @@ - rechnungsausgang@test.com + 123456 987654321 @@ -378,7 +378,7 @@ - rechnungseingang@test.de + 123456 138 From d171e06cf8ae7a6494f50a5330ee1a52bc917196 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 13:14:55 +0200 Subject: [PATCH 014/145] added updated german ruleset --- rules/sch/PEPPOL-EN16931-UBL.sch | 64 ++++++++++++++++---------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index a7440f56..4da92617 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -654,7 +654,6 @@ Last update: 2023 May release 3.0.15. - @@ -665,11 +664,11 @@ Last update: 2023 May release 3.0.15. - - BR-DE-1 translation + + An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). BR-DE-15 translation + id="DE-R-015">The element "Buyer reference" (BT-10) shall be provided. BR-DE-16 translation + id="DE-R-016">If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11). BR-DE-17 translation + id="DE-R-017">The element "Invoice type code" (BT-3) should only contain the following values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). BR-DE-18 translation + id="DE-R-018">Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed. BR-DE-22 translation + id="DE-R-022">Attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125). BR-DE-26 translation + id="DE-R-026">If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. BR-DE-30 translation + id="DE-R-030">If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided. BR-DE-31 translation + id="DE-R-031">If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided. - BR-DE-2 translation + The group "SELLER CONTACT" (BG-6) shall be provided. BR-DE-3 translation + id="DE-R-003">The element "Seller city" (BT-37) shall be provided. BR-DE-4 translation + id="DE-R-004">The element "Seller post code" (BT-38) shall be provided. BR-DE-5 translation + id="DE-R-005">The element "Seller contact point" (BT-41) shall be provided. BR-DE-6 translation + id="DE-R-006">The element "Seller contact telephone number" (BT-42) shall be provided. BR-DE-7 translation + id="DE-R-007">The element "Seller contact email address" (BT-43) shall be provided. BR-DE-27 translation + id="DE-R-027">"Seller contact telephone number" (BT-42) should contain a valid telephone number. A valid telephone should consist of 3 digits minimum. BR-DE-28 translation + id="DE-R-028">"Seller contact email address" (BT-43) should contain exactly one @-sign, which should not be framed by a whitespace or a dot but by at least two characters on each side. A dot should not be the first or last character. BR-DE-8 translation + id="DE-R-008">The element "Buyer city" (BT-52) shall be provided. BR-DE-9 translation + id="DE-R-009">The element "Buyer post code" (BT-53) shall be provided. BR-DE-10 translation + id="DE-R-010">The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. + The element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. BR-DE-19 translation - BR-DE-23-a translation + id="DE-R-019">The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). + If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. BR-DE-23-b translation + id="DE-R-023-2">If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), BG-18 and BG-19 shall not be provided. - BR-DE-24-a translation + If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. BR-DE-24-b translation + id="DE-R-024-2">If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), BG-17 and BG-19 shall not be provided. BR-DE-20 translation - BR-DE-25-a translation + id="DE-R-020">The element "Debited account identifier" (BT-91) should contain a valid IBAN if code 59 SEPA is provided in "Payment means type code" (BT-81). + If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. BR-DE-25-b translation + id="DE-R-025-2">If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided. BR-DE-14 translation + id="DE-R-014">The element "VAT category rate" (BT-119) shall be provided. From 62e0213d046a1f0a753f99aca82bcfa5bed8d26c Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 13:28:44 +0200 Subject: [PATCH 015/145] added rule description --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-002.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-003.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-004.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-005.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-006.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-007.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-008.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-009.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-010.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-011.xml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index bf2e9b82..989e991a 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -1,7 +1,7 @@ - DE-R-001 description tbd + DE-R-001 An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). DE-R-001 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml index 3fddd477..65223bb5 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-002.xml @@ -1,7 +1,7 @@ - DE-R-002 description tbd + DE-R-002 The group "SELLER CONTACT" (BG-6) shall be provided. DE-R-002 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml index 6b2b00f1..94a4db62 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml @@ -1,7 +1,7 @@ - DE-R-003 description tbd + DE-R-003 The element "Seller city" (BT-37) shall be provided. DE-R-003 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml index e4fcdda0..ab60536b 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml @@ -1,7 +1,7 @@ - DE-R-004 description tbd + DE-R-004 The element "Seller post code" (BT-38) shall be provided. DE-R-004 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-005.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-005.xml index 2d458433..73665f30 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-005.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-005.xml @@ -1,7 +1,7 @@ - DE-R-005 description tbd + DE-R-005 The element "Seller contact point" (BT-41) shall be provided. DE-R-005 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-006.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-006.xml index 86cae864..e09b6415 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-006.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-006.xml @@ -1,7 +1,7 @@ - DE-R-006 description tbd + DE-R-006 he element "Seller contact telephone number" (BT-42) shall be provided. DE-R-006 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-007.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-007.xml index 301669f9..c91ddc8b 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-007.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-007.xml @@ -1,7 +1,7 @@ - DE-R-007 description tbd + DE-R-007 The element "Seller contact email address" (BT-43) shall be provided. DE-R-007 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-008.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-008.xml index 02b04017..3bba5677 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-008.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-008.xml @@ -1,7 +1,7 @@ - DE-R-008 description tbd + DE-R-008 The element "Buyer city" (BT-52) shall be provided. DE-R-008 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml index 64caa218..91f748c8 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-009.xml @@ -1,7 +1,7 @@ - DE-R-009 description tbd + DE-R-009 The element "Buyer post code" (BT-53) shall be provided. DE-R-009 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-010.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-010.xml index 90a1e219..46a21ce7 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-010.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-010.xml @@ -1,7 +1,7 @@ - DE-R-010 description tbd + DE-R-010 The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. DE-R-010 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml index d2ebd4dd..80e23e5d 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-011.xml @@ -1,7 +1,7 @@ - DE-R-011 description tbd + DE-R-011 The element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. DE-R-011 From ea9228956e94ea2f907190c37c9f7cf68c643436 Mon Sep 17 00:00:00 2001 From: Lukas Kumai Date: Mon, 17 Jul 2023 13:34:22 +0200 Subject: [PATCH 016/145] unit test de-r-014 added --- rules/unit-UBL-DE/UBL-IN_DE-R-014.xml | 587 ++++++++++++++++++++++++++ 1 file changed, 587 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-014.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-014.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-014.xml new file mode 100644 index 00000000..45da5f9b --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-014.xml @@ -0,0 +1,587 @@ + + + + DE-R-014 The element "VAT category rate" (BT-119) shall be provided. + DE-R-014 + + + + DE-R-014 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + + 19 + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-014 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + + + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + From 50d13fdca296cb4196dff5b18c4d60eeae5aba35 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 11:32:05 +0200 Subject: [PATCH 017/145] remove whitespace --- rules/unit-UBL-DE/UBL-IN_DE-R-003.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml index 94a4db62..035660bc 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-003.xml @@ -345,7 +345,7 @@ [Seller address line 1] [Seller address line 2] - + 12345 From 376ab4ea77340668f2c7d3de52ae60a17f77aa0c Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 12:01:29 +0200 Subject: [PATCH 018/145] add DE-R-015 --- rules/unit-UBL-DE/UBL-IN_DE-R-015.xml | 558 ++++++++++++++++++++++++++ structure/syntax/ubl-invoice.xml | 1 + 2 files changed, 559 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-015.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-015.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-015.xml new file mode 100644 index 00000000..af5bb5f6 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-015.xml @@ -0,0 +1,558 @@ + + + DE-R-015 The element "Buyer reference" (BT-10) shall be provided. + DE-R-015 + + + + DE-R-015 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + + 90000000-03083-12 + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-015 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 59b1854d..487ac08b 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -159,6 +159,7 @@ Text BT-10 PEPPOL-EN16931-R003 + DE-R-15 abs1234 From 7ea9aae8dbaa27dbfb38b63c02d497f09052641c Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 12:11:50 +0200 Subject: [PATCH 019/145] add DE-R-017 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-017.xml | 453 ++++++++++++++++++++++++++ structure/syntax/ubl-invoice.xml | 1 + 2 files changed, 454 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-017.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-017.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-017.xml new file mode 100644 index 00000000..abd4d22d --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-017.xml @@ -0,0 +1,453 @@ + + + + DE-R-017 The element "Invoice type code" (BT-3) should only contain the following values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). + DE-R-017 + + + + DE-R-017 + + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + rechnungseingang@test.de + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 58 + + DE75512108001245126199 + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + + + + + DE-R-017 + + + 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 + 123456XX + 2016-04-04 + 875 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + rechnungseingang@test.de + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 58 + + DE75512108001245126199 + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + + + + + + DE-R-017 + + + 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 + 123456XX + 2016-04-04 + 383 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + rechnungseingang@test.de + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 58 + + + DE75512108001245126199 + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + + diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 487ac08b..46e6861e 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -82,6 +82,7 @@ BR-04 BR-CL-01 PEPPOL-EN16931-P0100 + DE-R-017 UNCL1001-inv 380 From 58ea682e021a7931876a50f510a15a6296e6f0b5 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 12:24:54 +0200 Subject: [PATCH 020/145] add DE-R-018 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-018.xml | 319 ++++++++++++++++++++++++++ structure/syntax/ubl-invoice.xml | 1 + 2 files changed, 320 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-018.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-018.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-018.xml new file mode 100644 index 00000000..ed10ef52 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-018.xml @@ -0,0 +1,319 @@ + + + + DE-R-018 Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed. + DE-R-018 + + + + DE-R-018 + + + + 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 + Rechnungsnummer + 2016-06-27 + 380 + #ADU#Wir liefern Ihnen ausschließlich zu unseren allgemeinen Geschäftsbedingungen (Stand Februar 2013). Diese werden Ihnen jederzeit auf Wunsch übersandt. Bei Aufträgen, basierend auf öffentlichen Vergaben, gelten die ggf. vereinbarten abweichenden Liefer- und Zahungsbedingungen des Auftraggebers. + EUR + 04011000-12351-28 + + Dummywert + Auftragsnummer + + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE123456789 + + VAT + + + + 123/456/789 + + ??? + + + + [Seller name] + HRB 123456 + Sitz der Gesellschaft: […], Registergericht: […], Geschäftsführer: […] + + + Berater / Sachbearbeiter + +49(0)1234-0 + info@seller.de + + + + + + rechnungsausgang@test.com + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + Ansprechpartner Käufer + + + + + + + [Deliver to address line 1] + [Deliver to city] + 12345 + + DE + + + + + + Außenstelle XY + + + + + 58 + + DE75512108001245126199 + + + + 58 + + DE12500105170648489890 + + + + + #SKONTO#TAGE=7#PROZENT=2.00# + #SKONTO#TAGE=14#PROZENT=1.00#BASISBETRAG=2.53# + #VERZUG#TAGE=30#PROZENT=0.00# + #SKONTO#TAGE=14#PROZENT=1.00#BASISBETRAG=-5.53# + + + + 414.2 + + 2180 + 414.2 + + S + 19 + + VAT + + + + + + 2180 + 2180 + 2594.2 + 2594.2 + + + 1 + 10 + 2180 + + Sitz: 10-301 blau, Rücken: 10-301 blau, …. + Drehstuhl + + AL281982 + + + S + 19 + + VAT + + + + + 218 + + + + + + + + + DE-R-018 + + + 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 + Rechnungsnummer + 2016-06-27 + 380 + #ADU#Wir liefern Ihnen ausschließlich zu unseren allgemeinen Geschäftsbedingungen (Stand Februar 2013). Diese werden Ihnen jederzeit auf Wunsch übersandt. Bei Aufträgen, basierend auf öffentlichen Vergaben, gelten die ggf. vereinbarten abweichenden Liefer- und Zahungsbedingungen des Auftraggebers. + EUR + 04011000-12351-28 + + Dummywert + Auftragsnummer + + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE123456789 + + VAT + + + + 123/456/789 + + ??? + + + + [Seller name] + HRB 123456 + Sitz der Gesellschaft: […], Registergericht: […], Geschäftsführer: […] + + + Berater / Sachbearbeiter + +49(0)1234-0 + info@seller.de + + + + + + rechnungsausgang@test.com + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + Ansprechpartner Käufer + + + + + + + [Deliver to address line 1] + [Deliver to city] + 12345 + + DE + + + + + + Außenstelle XY + + + + + 58 + + DE75512108001245126199 + + + + 58 + + DE12500105170648489890 + + + + + #SKONTO#TAGE=7#PROZENT=2.00# + #SKONTO#TAGE=14#PROZENT=1.00# + #SKONTO#TAGE=30#PROZENT=0.00# + + + 414.2 + + 2180 + 414.2 + + S + 19 + + VAT + + + + + + 2180 + 2180 + 2594.2 + 2594.2 + + + 1 + 10 + 2180 + + Sitz: 10-301 blau, Rücken: 10-301 blau, …. + Drehstuhl + + AL281982 + + + S + 19 + + VAT + + + + + 218 + + + + + + diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 46e6861e..2096c731 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -419,6 +419,7 @@ Text BT-20 BR-CO-25 + DE-R-18 Net within 30 days From d0d0d24ad5840f68410a2569bcdec1626abe3d15 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 12:50:48 +0200 Subject: [PATCH 021/145] add DE-R-019 --- rules/unit-UBL-DE/UBL-IN_DE-R-019.xml | 249 ++++++++++++++++++++++++++ structure/syntax/part/payment.xml | 1 + 2 files changed, 250 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-019.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml new file mode 100644 index 00000000..7e85713d --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml @@ -0,0 +1,249 @@ + + + + + + DE-R-019 The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). + DE-R-019 + + + + DE-R-019 + + + 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 + 1234/78/901 + 2016-06-16 + 326 + #ADU#Diese Leistung ist umsatzsteuerbefreit nach § 4 Nr. 22a UStG. + EUR + 04011000-12348-31 + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + 12/345/67890 + + ??? + + + + [Seller name] + VR 12345 Nz + Vorstand: [...] (Vorsitzender), […] (Stellvertreterin), Dr. […] (Schatzmeister); Beirat: […] (Vorsitzender); Geschäftsführung: […], AG […], FA für Körperschaften […] + + + […] + +49 (0)12-345678-90 + mail@seller.eu + + + + + + rechnungseingang@test.de + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + [Buyer contact person] + + + + + + 58 + + + DE75512108001245126199 + + + + Wir möchten Sie bitten, die Teilnahmegebühr iHv. 120,00 € innerhalb von 14 Tagen auf das oben genannte Konto unter Angabe der Rechnungsnummer 1234/78/901 zu überweisen. + + + 0 + + 120 + 0 + + O + als gemeinnützig anerkannt + + VAT + + + + + + 120 + 120 + 120 + 120 + + + Teilnahmegebühr + 1 + 120 + + Anmeldung von […] + Teilnahmegebühr + + O + + VAT + + + + + 120 + + + + + + + + DE-R-019 + + + 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 + 1234/78/901 + 2016-06-16 + 326 + #ADU#Diese Leistung ist umsatzsteuerbefreit nach § 4 Nr. 22a UStG. + EUR + 04011000-12348-31 + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + 12/345/67890 + + ??? + + + + [Seller name] + VR 12345 Nz + Vorstand: [...] (Vorsitzender), […] (Stellvertreterin), Dr. […] (Schatzmeister); Beirat: […] (Vorsitzender); Geschäftsführung: […], AG […], FA für Körperschaften […] + + + […] + +49 (0)12-345678-90 + mail@seller.eu + + + + + + rechnungseingang@test.de + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + [Buyer contact person] + + + + + + 58 + + + AS28192373298 + + + + Wir möchten Sie bitten, die Teilnahmegebühr iHv. 120,00 € innerhalb von 14 Tagen auf das oben genannte Konto unter Angabe der Rechnungsnummer 1234/78/901 zu überweisen. + + + 0 + + 120 + 0 + + O + als gemeinnützig anerkannt + + VAT + + + + + + 120 + 120 + 120 + 120 + + + Teilnahmegebühr + 1 + 120 + + Anmeldung von […] + Teilnahmegebühr + + O + + VAT + + + + + 120 + + + + + diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index bdcb36a5..83be9292 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -108,6 +108,7 @@ SE-R-008 SE-R-009 SE-R-010 + DE-R-019 NO99991122222 From a53ebbbc48682e9260a45f3078d400f35d871861 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 13:08:40 +0200 Subject: [PATCH 022/145] add DE-R-020 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 916 ++++++++++++++++++++++++++ structure/syntax/part/payment.xml | 1 + 2 files changed, 917 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-020.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml new file mode 100644 index 00000000..6dfb9758 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -0,0 +1,916 @@ + + + + + DE-R-020 The element "Debited account identifier" (BT-91) should contain a valid IBAN if code 59 SEPA is provided in "Payment means type code" (BT-81). + DE-R-020 + + + + DE-R-020 + + + 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 + 123456789 + 2019-02-28 + 2019-03-14 + 380 + EUR + 90000000-03083-12 + + 2018-05-01 + 2019-01-31 + + + CR123456 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen + Leistungspositionen + + + + rechnungsausgang@test.com + + + [Bank assigned creditor identifier] + + + [Seller name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + [Seller name] + + + Kundencenter + 0800-12345678 + kundencenter@sellder.de + + + + + + rechnungseingang@test.de + + BI123456 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 59 + + mandate id + + + DE75512108001245126199 + + + + + Dieses Guthaben werden wir auf Ihr Konto erstatten. + + + 117.58 + + 578.89 + 109.99 + + S + 19 + + VAT + + + + + 108.39 + 7.59 + + S + 7 + + VAT + + + + + + 687.28 + 687.28 + 804.86 + 1030 + -225.14 + + + 1.1 + Arbeitspreis Strom + 935 + 204.3 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.2 + Arbeitspreis Strom + 119 + 26 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.3 + Grundpreis Strom + 245 + 25.05 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1022449 + + + + 1.4 + Grundpreis Strom + 31 + 3.17 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.10225806 + + + + 2.1 + Arbeitspreis Gas + 328 + 13.28 + + 2018-05-01 + 2018-07-03 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.2 + Arbeitspreis Gas + 3875 + 156.94 + + 2018-07-04 + 2018-12-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.3 + Arbeitspreis Gas + 1746 + 70.71 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.4 + Grundpreis Gas + 64 + 18.42 + + 2018-05-01 + 2018-07-03 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.2878125 + + + + 2.5 + Grundpreis Gas + 181 + 52.09 + + 2018-07-04 + 2018-12-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.28779006 + + + + 2.6 + Grundpreis Gas + 31 + 8.93 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.28806452 + + + + 3.1 + Arbeitspreis Wasser + 25 + 46.5 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.2 + Arbeitspreis Wasser + 4 + 7.44 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.3 + Grundpreis Wasser + 245 + 48.33 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + 3.4 + Grundpreis Wasser + 31 + 6.12 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + + + + + DE-R-020 + + + 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 + 123456789 + 2019-02-28 + 2019-03-14 + 380 + EUR + 90000000-03083-12 + + 2018-05-01 + 2019-01-31 + + + CR123456 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen + Leistungspositionen + + + + rechnungsausgang@test.com + + + [Bank assigned creditor identifier] + + + [Seller name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + [Seller name] + + + Kundencenter + 0800-12345678 + kundencenter@sellder.de + + + + + + rechnungseingang@test.de + + BI123456 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 59 + + mandate id + + + AS28192373298 + + + + + Dieses Guthaben werden wir auf Ihr Konto erstatten. + + + 117.58 + + 578.89 + 109.99 + + S + 19 + + VAT + + + + + 108.39 + 7.59 + + S + 7 + + VAT + + + + + + 687.28 + 687.28 + 804.86 + 1030 + -225.14 + + + 1.1 + Arbeitspreis Strom + 935 + 204.3 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.2 + Arbeitspreis Strom + 119 + 26 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.3 + Grundpreis Strom + 245 + 25.05 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1022449 + + + + 1.4 + Grundpreis Strom + 31 + 3.17 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.10225806 + + + + 2.1 + Arbeitspreis Gas + 328 + 13.28 + + 2018-05-01 + 2018-07-03 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.2 + Arbeitspreis Gas + 3875 + 156.94 + + 2018-07-04 + 2018-12-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.3 + Arbeitspreis Gas + 1746 + 70.71 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.4 + Grundpreis Gas + 64 + 18.42 + + 2018-05-01 + 2018-07-03 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.2878125 + + + + 2.5 + Grundpreis Gas + 181 + 52.09 + + 2018-07-04 + 2018-12-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.28779006 + + + + 2.6 + Grundpreis Gas + 31 + 8.93 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.28806452 + + + + 3.1 + Arbeitspreis Wasser + 25 + 46.5 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.2 + Arbeitspreis Wasser + 4 + 7.44 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.3 + Grundpreis Wasser + 245 + 48.33 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + 3.4 + Grundpreis Wasser + 31 + 6.12 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + + diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index 83be9292..409a564e 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -168,6 +168,7 @@ Identifier BT-91 DK-R-007 + DE-R-020 12345676543 From d659309d5a21fe47b77a6caface8d28976d546f5 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 13:26:45 +0200 Subject: [PATCH 023/145] add DE-R-022 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-022.xml | 626 ++++++++++++++++++++++ structure/syntax/part/additional-docs.xml | 1 + 2 files changed, 627 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-022.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml new file mode 100644 index 00000000..edecc85a --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml @@ -0,0 +1,626 @@ + + + + + DE-R-022 Attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125). + DE-R-022 + + + + DE-R-022 + + + + urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.03 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + + 01_15_Anhang_02.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + true + TAC + Testing + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + + DE-R-022 + + + + urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.03 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + + 01_15_Anhang_02.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + true + TAC + Testing + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + diff --git a/structure/syntax/part/additional-docs.xml b/structure/syntax/part/additional-docs.xml index 219e137c..8488fa04 100644 --- a/structure/syntax/part/additional-docs.xml +++ b/structure/syntax/part/additional-docs.xml @@ -9,6 +9,7 @@ BG-24 PEPPOL-EN16931-R006 PEPPOL-EN16931-R080 + DE-R-022 cbc:ID From a157696a70b663390b95a5fa464777265f49ed1b Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 13:48:41 +0200 Subject: [PATCH 024/145] fix typo --- rules/unit-UBL-DE/UBL-IN_DE-R-022.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml index edecc85a..5d6c7faf 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml @@ -16,7 +16,7 @@ Should reference be set to BT-125, too? - urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.03 + 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 1234567 2018-04-13 @@ -323,7 +323,7 @@ Should reference be set to BT-125, too? - urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.03 + 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 1234567 2018-04-13 From f50d3f60c7684e93c4ebfc355b22f1ea84bb09ae Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 13:49:13 +0200 Subject: [PATCH 025/145] add DE-R-023-1 and DE-R-23-2 --- rules/unit-UBL-DE/UBL-IN_DE-R-023.xml | 331 ++++++++++++++++++++++++++ structure/syntax/part/payment.xml | 3 + 2 files changed, 334 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-023.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml new file mode 100644 index 00000000..1d3205d0 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml @@ -0,0 +1,331 @@ + + + + + DE-R-023 If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. BG-18 and BG-19 shall not be provided. + DE-R-023-1 + DE-R-023-2 + + + + DE-R-023-1 + DE-R-023-2 + + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + rechnungseingang@test.de + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 58 + + + DE75512108001245126199 + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + + + + + DE-R-023-1 + DE-R-023-2 + + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + rechnungsausgang@test.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + rechnungseingang@test.de + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 58 + + + 41234 + [Network ID] + [Payment card holder name] + + + + + + [Mandate reference identifier] + + DE75512108001245126199 + + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + + \ No newline at end of file diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index 409a564e..b5fecc2e 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -56,6 +56,7 @@ invoice issuance. BG-18 + DE-R-023-2 cbc:PrimaryAccountNumberID @@ -90,6 +91,7 @@ CREDIT TRANSFER A group of business terms to specify credit transfer payments. BG-17 + DE-R-023-1 cbc:ID @@ -144,6 +146,7 @@ DIRECT DEBIT A group of business terms to specify a direct debit. BG-19 + DE-R-023-2 cbc:ID From f7bd609008351b77774a979d21e3e22a8dff5236 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 13:54:05 +0200 Subject: [PATCH 026/145] set error to warning in DE-R-017, DE-R-019, DE-R-20 --- rules/unit-UBL-DE/UBL-IN_DE-R-017.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-019.xml | 2 +- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-017.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-017.xml index abd4d22d..403a1b6b 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-017.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-017.xml @@ -304,7 +304,7 @@ - DE-R-017 + DE-R-017 urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml index 7e85713d..b3ad8fcd 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml @@ -131,7 +131,7 @@ Should reference be set to BT-81, too? - DE-R-019 + DE-R-019 urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index 6dfb9758..ab03ed6a 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -464,7 +464,7 @@ Should reference be set to BT-81, too? - DE-R-020 + DE-R-020 urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 From 8565ed0ce57cb1f57840eb2cbe4a4b00a6d50275 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 14:05:07 +0200 Subject: [PATCH 027/145] add DE-R-024-1 and DE-R-024-2 --- rules/unit-UBL-DE/UBL-IN_DE-R-024.xml | 332 ++++++++++++++++++++++++++ structure/syntax/part/payment.xml | 3 + 2 files changed, 335 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-024.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml new file mode 100644 index 00000000..0823d20e --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml @@ -0,0 +1,332 @@ + + + + + DE-R-024 If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. BG-17 and BG-19 shall not be provided. + DE-R-024 + + + + DE-R-024-1 + DE-R-024-2 + + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + seller@seller.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + buyer@buyer.com + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 48 + + + 41234 + [Network ID] + [Payment card holder name] + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + + + + + DE-R-024-1 + DE-R-024-2 + + + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + seller@seller.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + buyer@buyer.com + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 48 + + + + + DE75512108001245126199 + + + + [Mandate reference identifier] + + DE75512108001245126199 + + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index b5fecc2e..2f6bee95 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -57,6 +57,7 @@ BG-18 DE-R-023-2 + DE-R-024-1 cbc:PrimaryAccountNumberID @@ -92,6 +93,7 @@ A group of business terms to specify credit transfer payments. BG-17 DE-R-023-1 + DE-R-024-2 cbc:ID @@ -147,6 +149,7 @@ A group of business terms to specify a direct debit. BG-19 DE-R-023-2 + DE-R-024-2 cbc:ID From 3e009b41bfa038b92fc4f52d50a4bb71d557f6fb Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 14:12:36 +0200 Subject: [PATCH 028/145] add DE-R-025-1 and DE-R-025-2 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-025.xml | 331 ++++++++++++++++++++++++++ structure/syntax/part/payment.xml | 3 + 2 files changed, 334 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-025.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml new file mode 100644 index 00000000..634243f3 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml @@ -0,0 +1,331 @@ + + + + + DE-R-025 If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. BG-17 and BG-18 shall not be provided. + DE-R-025 + + + + DE-R-025-1 + DE-R-025-2 + + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + seller@seller.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + buyer@buyer.com + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 59 + + + [Mandate reference identifier] + + DE75512108001245126199 + + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + + + + DE-R-025-1 + DE-R-025-2 + + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + seller@seller.com + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + buyer@buyer.com + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 59 + + + 41234 + [Network ID] + [Payment card holder name] + + + + DE75512108001245126199 + + + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index 2f6bee95..9f6be26a 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -58,6 +58,7 @@ BG-18 DE-R-023-2 DE-R-024-1 + DE-R-025-2 cbc:PrimaryAccountNumberID @@ -94,6 +95,7 @@ BG-17 DE-R-023-1 DE-R-024-2 + DE-R-025-2 cbc:ID @@ -150,6 +152,7 @@ BG-19 DE-R-023-2 DE-R-024-2 + DE-R-025-1 cbc:ID From d22ef7ae34a52fb420f5d5a4f1adff1aa483fa93 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 14:19:56 +0200 Subject: [PATCH 029/145] add DE-R-26 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-026.xml | 419 ++++++++++++++++++++++++++ structure/syntax/ubl-invoice.xml | 1 + 2 files changed, 420 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-026.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml new file mode 100644 index 00000000..c736e67a --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml @@ -0,0 +1,419 @@ + + + + + DE-R-026 If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. + DE-R-026 + + + + DE-R-026 + + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + PRG1502112 + 2015-04-24 + + 384 + #ADU#Trainer: Herr […] + EUR + 99000000-18188-16 + + 2015-04-20 + 2015-04-24 + + + + + PRG1502168 + + + + PR456789 + + + + seller@seller.com + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE123456789 + + VAT + + + + [Seller name] + HRB 123456 + Sitz der Gesellschaft […], Registergericht […], Amtsgericht […] + + + [Seller contact person] + +49 123456789 + xxx@schulung.de + + + + + + buyer@buyer.com + + BI123456 + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + + Schulungsort + 12345 + + DE + + + + + + Schulungsanbieter + + + + + 58 + + DE75512108001245126199 + + + + 58 + + DE12500105170648489890 + + + + 14 Tage + + + 1685.3 + + 8870 + 1685.3 + + S + 19 + + VAT + + + + + + 8870 + 8870 + 10555.3 + 10555.3 + + + Seminar: […] + 5 + 6700 + + Seminar + + S + 19 + + VAT + + + + + 1340 + + + + Raumkosten Schulungsort + 5 + 1500 + + Raumkosten + + S + 19 + + VAT + + + + + 300 + + + + Reisekostenpauschale + 5 + 450 + + Reisekostenpauschale + + S + 19 + + VAT + + + + + 90 + + + + Seminarunterlagen + 11 + 220 + + Seminarunterlagen + + S + 19 + + VAT + + + + + 20 + + + + + + + + + DE-R-026 + + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + PRG1502112 + 2015-04-24 + + 384 + #ADU#Trainer: Herr […] + EUR + 99000000-18188-16 + + 2015-04-20 + 2015-04-24 + + + + + + + PR456789 + + + + seller@seller.com + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE123456789 + + VAT + + + + [Seller name] + HRB 123456 + Sitz der Gesellschaft […], Registergericht […], Amtsgericht […] + + + [Seller contact person] + +49 123456789 + xxx@schulung.de + + + + + + buyer@buyer.com + + BI123456 + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + + Schulungsort + 12345 + + DE + + + + + + Schulungsanbieter + + + + + 58 + + DE75512108001245126199 + + + + 58 + + DE12500105170648489890 + + + + 14 Tage + + + 1685.3 + + 8870 + 1685.3 + + S + 19 + + VAT + + + + + + 8870 + 8870 + 10555.3 + 10555.3 + + + Seminar: […] + 5 + 6700 + + Seminar + + S + 19 + + VAT + + + + + 1340 + + + + Raumkosten Schulungsort + 5 + 1500 + + Raumkosten + + S + 19 + + VAT + + + + + 300 + + + + Reisekostenpauschale + 5 + 450 + + Reisekostenpauschale + + S + 19 + + VAT + + + + + 90 + + + + Seminarunterlagen + 11 + 220 + + Seminarunterlagen + + S + 19 + + VAT + + + + + 20 + + + + + + diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 2096c731..25aacad8 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -238,6 +238,7 @@ PRECEDING INVOICE REFERENCE A group of business terms providing information on one or more preceding Invoices. BG-3 + DE-R-26 cac:InvoiceDocumentReference From 72ad7a368bc10d712442800a8c2671db083059b4 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 14:32:36 +0200 Subject: [PATCH 030/145] fix customization id --- rules/unit-UBL-DE/UBL-IN_DE-R-026.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml index c736e67a..5ecf4993 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml @@ -15,7 +15,7 @@ References need to be checked: BT-3? BG-3? ubl-cn - urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + 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 PRG1502112 2015-04-24 @@ -218,7 +218,7 @@ References need to be checked: BT-3? BG-3? ubl-cn - urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.3 + 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 PRG1502112 2015-04-24 From 32c6845b861e77451f4cd57386639b2d3eba205d Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 14:32:56 +0200 Subject: [PATCH 031/145] add DE-R-027 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-027.xml | 897 +++++++++++++++++++++++ structure/syntax/part/supplier-party.xml | 1 + 2 files changed, 898 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-027.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml new file mode 100644 index 00000000..2d07d21f --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml @@ -0,0 +1,897 @@ + + + + DE-R-027 "Seller contact telephone number" (BT-42) should contain a valid telephone number. A valid telephone should consist of 3 digits minimum. + DE-R-027 + + + + DE-R-027 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + + 012 3456789 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-027 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + + 01 + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-027 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + + -0-1- + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + \ No newline at end of file diff --git a/structure/syntax/part/supplier-party.xml b/structure/syntax/part/supplier-party.xml index 7bf32ce2..07fc43a6 100644 --- a/structure/syntax/part/supplier-party.xml +++ b/structure/syntax/part/supplier-party.xml @@ -340,6 +340,7 @@ A phone number for the contact point. Text BT-42 + DE-R-027 887 654 321 From 9af8441c2df57fd97bba1331a026dc3c6b7315d1 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 14:44:27 +0200 Subject: [PATCH 032/145] add DE-R-028 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-028.xml | 899 +++++++++++++++++++++++ structure/syntax/part/supplier-party.xml | 1 + 2 files changed, 900 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-028.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-028.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-028.xml new file mode 100644 index 00000000..e4ff6c53 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-028.xml @@ -0,0 +1,899 @@ + + + + DE-R-028 "Seller contact email address" (BT-43) should contain exactly one @-sign, which should not be framed by a whitespace or a dot but by at least two characters on each side. A dot should not be the first or last character. + DE-R-028 + + + + DE-R-028 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + + tim.tester@test.com + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-028 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + + r@te + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + DE-R-028 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + + tim.tester@test + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + \ No newline at end of file diff --git a/structure/syntax/part/supplier-party.xml b/structure/syntax/part/supplier-party.xml index 07fc43a6..4fa3fdc2 100644 --- a/structure/syntax/part/supplier-party.xml +++ b/structure/syntax/part/supplier-party.xml @@ -349,6 +349,7 @@ An e-mail address for the contact point. Text BT-43 + DE-R-028 test.name@foo.bar From 556b3d8908a074804255df5cbf6e34d2f531cb75 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 14:56:16 +0200 Subject: [PATCH 033/145] add DE-R-030 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-030.xml | 923 ++++++++++++++++++++++++++ structure/syntax/part/payment.xml | 1 + 2 files changed, 924 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-030.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml new file mode 100644 index 00000000..d9472c1d --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml @@ -0,0 +1,923 @@ + + + + + DE-R-030 If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided. + DE-R-030 + + + + DE-R-030 + + + + 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 + 123456789 + 2019-02-28 + 2019-03-14 + 380 + EUR + 90000000-03083-72 + + 2018-05-01 + 2019-01-31 + + + CR123456 + + + + seller@seller.com + + [Seller identifier 1] + + + [Seller identifier 2] + + + + [Bank assigned creditor identifier] + + + [Seller name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + ATU123456789 + + VAT + + + + [Seller name] + + + Kundencenter + 0800-12345678 + kundencenter@sellder.de + + + + + + buyer@buyer.com + + BI123456 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 59 + + + + [Mandate reference identifier] + + + DE75512108001245126199 + + + + + Dieses Guthaben werden wir auf Ihr Konto erstatten. + + + 117.58 + + 578.89 + 109.99 + + S + 19 + + VAT + + + + + 108.39 + 7.59 + + S + 7 + + VAT + + + + + + 687.28 + 687.28 + 804.86 + 1030 + -225.14 + + + 1.1 + Arbeitspreis Strom + 935 + 204.3 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.2 + Arbeitspreis Strom + 119 + 26 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.3 + Grundpreis Strom + 192.84 + 25.05 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1299 + + + + 1.4 + Grundpreis Strom + 24.40 + 3.17 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.1 + Arbeitspreis Gas + 328 + 13.28 + + 2018-05-01 + 2018-07-03 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.2 + Arbeitspreis Gas + 3875 + 156.94 + + 2018-07-04 + 2018-12-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.3 + Arbeitspreis Gas + 1746 + 70.71 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.4 + Grundpreis Gas + 141.80 + 18.42 + + 2018-05-01 + 2018-07-03 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.5 + Grundpreis Gas + 401 + 52.09 + + 2018-07-04 + 2018-12-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.6 + Grundpreis Gas + 68.75 + 8.93 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 3.1 + Arbeitspreis Wasser + 25 + 46.5 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.2 + Arbeitspreis Wasser + 4 + 7.44 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.3 + Grundpreis Wasser + 245 + 48.33 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + 3.4 + Grundpreis Wasser + 31 + 6.12 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + + + + + DE-R-030 + + + + 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 + 123456789 + 2019-02-28 + 2019-03-14 + 380 + EUR + 90000000-03083-72 + + 2018-05-01 + 2019-01-31 + + + CR123456 + + + + seller@seller.com + + [Seller identifier 1] + + + [Seller identifier 2] + + + + + + + [Seller name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + ATU123456789 + + VAT + + + + [Seller name] + + + Kundencenter + 0800-12345678 + kundencenter@sellder.de + + + + + + buyer@buyer.com + + BI123456 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 59 + + + + [Mandate reference identifier] + + + DE75512108001245126199 + + + + + Dieses Guthaben werden wir auf Ihr Konto erstatten. + + + 117.58 + + 578.89 + 109.99 + + S + 19 + + VAT + + + + + 108.39 + 7.59 + + S + 7 + + VAT + + + + + + 687.28 + 687.28 + 804.86 + 1030 + -225.14 + + + 1.1 + Arbeitspreis Strom + 935 + 204.3 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.2 + Arbeitspreis Strom + 119 + 26 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.3 + Grundpreis Strom + 192.84 + 25.05 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1299 + + + + 1.4 + Grundpreis Strom + 24.40 + 3.17 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.1 + Arbeitspreis Gas + 328 + 13.28 + + 2018-05-01 + 2018-07-03 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.2 + Arbeitspreis Gas + 3875 + 156.94 + + 2018-07-04 + 2018-12-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.3 + Arbeitspreis Gas + 1746 + 70.71 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.4 + Grundpreis Gas + 141.80 + 18.42 + + 2018-05-01 + 2018-07-03 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.5 + Grundpreis Gas + 401 + 52.09 + + 2018-07-04 + 2018-12-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.6 + Grundpreis Gas + 68.75 + 8.93 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 3.1 + Arbeitspreis Wasser + 25 + 46.5 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.2 + Arbeitspreis Wasser + 4 + 7.44 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.3 + Grundpreis Wasser + 245 + 48.33 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + 3.4 + Grundpreis Wasser + 31 + 6.12 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + + diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index 9f6be26a..01f2211b 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -162,6 +162,7 @@ BT-89 PEPPOL-EN16931-R061 DK-R-007 + DE-R-030 123456 From 558a3b8eece835c65992ac47a4728c5a111f718a Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 18 Jul 2023 14:59:42 +0200 Subject: [PATCH 034/145] add DE-R-31 UBL Inv --- rules/unit-UBL-DE/UBL-IN_DE-R-031.xml | 923 ++++++++++++++++++++++++++ structure/syntax/part/payment.xml | 1 + 2 files changed, 924 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-031.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml new file mode 100644 index 00000000..c059d154 --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml @@ -0,0 +1,923 @@ + + + + + DE-R-031 If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided. + DE-R-031 + + + + DE-R-031 + + + + 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 + 123456789 + 2019-02-28 + 2019-03-14 + 380 + EUR + 90000000-03083-72 + + 2018-05-01 + 2019-01-31 + + + CR123456 + + + + seller@seller.com + + [Seller identifier 1] + + + [Seller identifier 2] + + + + [Bank assigned creditor identifier] + + + [Seller name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + ATU123456789 + + VAT + + + + [Seller name] + + + Kundencenter + 0800-12345678 + kundencenter@sellder.de + + + + + + buyer@buyer.com + + BI123456 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 59 + + + + [Mandate reference identifier] + + + DE75512108001245126199 + + + + + Dieses Guthaben werden wir auf Ihr Konto erstatten. + + + 117.58 + + 578.89 + 109.99 + + S + 19 + + VAT + + + + + 108.39 + 7.59 + + S + 7 + + VAT + + + + + + 687.28 + 687.28 + 804.86 + 1030 + -225.14 + + + 1.1 + Arbeitspreis Strom + 935 + 204.3 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.2 + Arbeitspreis Strom + 119 + 26 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.3 + Grundpreis Strom + 192.84 + 25.05 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1299 + + + + 1.4 + Grundpreis Strom + 24.40 + 3.17 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.1 + Arbeitspreis Gas + 328 + 13.28 + + 2018-05-01 + 2018-07-03 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.2 + Arbeitspreis Gas + 3875 + 156.94 + + 2018-07-04 + 2018-12-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.3 + Arbeitspreis Gas + 1746 + 70.71 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.4 + Grundpreis Gas + 141.80 + 18.42 + + 2018-05-01 + 2018-07-03 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.5 + Grundpreis Gas + 401 + 52.09 + + 2018-07-04 + 2018-12-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.6 + Grundpreis Gas + 68.75 + 8.93 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 3.1 + Arbeitspreis Wasser + 25 + 46.5 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.2 + Arbeitspreis Wasser + 4 + 7.44 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.3 + Grundpreis Wasser + 245 + 48.33 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + 3.4 + Grundpreis Wasser + 31 + 6.12 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + + + + + DE-R-030 + + + + 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 + 123456789 + 2019-02-28 + 2019-03-14 + 380 + EUR + 90000000-03083-72 + + 2018-05-01 + 2019-01-31 + + + CR123456 + + + + seller@seller.com + + [Seller identifier 1] + + + [Seller identifier 2] + + + + [Bank assigned creditor identifier] + + + [Seller name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + ATU123456789 + + VAT + + + + [Seller name] + + + Kundencenter + 0800-12345678 + kundencenter@sellder.de + + + + + + buyer@buyer.com + + BI123456 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 59 + + + + [Mandate reference identifier] + + + + + + + + Dieses Guthaben werden wir auf Ihr Konto erstatten. + + + 117.58 + + 578.89 + 109.99 + + S + 19 + + VAT + + + + + 108.39 + 7.59 + + S + 7 + + VAT + + + + + + 687.28 + 687.28 + 804.86 + 1030 + -225.14 + + + 1.1 + Arbeitspreis Strom + 935 + 204.3 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.2 + Arbeitspreis Strom + 119 + 26 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.3 + Grundpreis Strom + 192.84 + 25.05 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1299 + + + + 1.4 + Grundpreis Strom + 24.40 + 3.17 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.1 + Arbeitspreis Gas + 328 + 13.28 + + 2018-05-01 + 2018-07-03 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.2 + Arbeitspreis Gas + 3875 + 156.94 + + 2018-07-04 + 2018-12-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.3 + Arbeitspreis Gas + 1746 + 70.71 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.4 + Grundpreis Gas + 141.80 + 18.42 + + 2018-05-01 + 2018-07-03 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.5 + Grundpreis Gas + 401 + 52.09 + + 2018-07-04 + 2018-12-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 2.6 + Grundpreis Gas + 68.75 + 8.93 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.1299 + + + + 3.1 + Arbeitspreis Wasser + 25 + 46.5 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.2 + Arbeitspreis Wasser + 4 + 7.44 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.3 + Grundpreis Wasser + 245 + 48.33 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + 3.4 + Grundpreis Wasser + 31 + 6.12 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + + diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index 01f2211b..f0786563 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -179,6 +179,7 @@ BT-91 DK-R-007 DE-R-020 + DE-R-031 12345676543 From 150bb6a6d8878b9234cc57c7f17ce5158fc36fc7 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 10:33:51 +0200 Subject: [PATCH 035/145] add de-r-014 to structure --- structure/syntax/part/tax-total.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/structure/syntax/part/tax-total.xml b/structure/syntax/part/tax-total.xml index 55658c31..dae3d7ae 100644 --- a/structure/syntax/part/tax-total.xml +++ b/structure/syntax/part/tax-total.xml @@ -145,6 +145,7 @@ BT-119 BR-48 SE-R-006 + DE-R-014 25 From 3f5a01719e5bf3ea2077fadbd1248b9cd6450414 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 10:45:54 +0200 Subject: [PATCH 036/145] added rules to structure --- structure/syntax/part/additional-docs.xml | 5 +++-- structure/syntax/part/card-payment.xml | 7 +++++-- structure/syntax/part/payee-party.xml | 1 + structure/syntax/part/payment.xml | 2 ++ structure/syntax/part/supplier-party.xml | 1 + structure/syntax/ubl-creditnote.xml | 8 +++++++- structure/syntax/ubl-invoice.xml | 6 ++++-- 7 files changed, 23 insertions(+), 7 deletions(-) diff --git a/structure/syntax/part/additional-docs.xml b/structure/syntax/part/additional-docs.xml index 8488fa04..e4ab924c 100644 --- a/structure/syntax/part/additional-docs.xml +++ b/structure/syntax/part/additional-docs.xml @@ -9,7 +9,7 @@ BG-24 PEPPOL-EN16931-R006 PEPPOL-EN16931-R080 - DE-R-022 + DE-R-022 cbc:ID @@ -68,7 +68,8 @@ The mime code of the attached document. PEPPOL-EN16931-CL001 UBL-DT-06 - BR-CL-24 + BR-CL-24DE-R-020> MimeCode text/csv diff --git a/structure/syntax/part/card-payment.xml b/structure/syntax/part/card-payment.xml index 06f588a1..c0401fd8 100644 --- a/structure/syntax/part/card-payment.xml +++ b/structure/syntax/part/card-payment.xml @@ -8,8 +8,10 @@ invoice issuance. BG-18 - BR-66 - + BR-66 + DE-R-023-2 + DE-R-024-1 + DE-R-025-2 cbc:PrimaryAccountNumberID Payment card primary account number @@ -18,6 +20,7 @@ Text BT-87 BR-51 + DE-R-023 1234 diff --git a/structure/syntax/part/payee-party.xml b/structure/syntax/part/payee-party.xml index ab41cd8c..af700dfe 100644 --- a/structure/syntax/part/payee-party.xml +++ b/structure/syntax/part/payee-party.xml @@ -24,6 +24,7 @@ Payee or bank assigned creditor identifier identification scheme identifier The identification scheme identifier of the payee identifier. For bank assigned creditor identifier (BT-90), value MUST be "SEPA" BR-CL-10 + DE-R-020 ICD SEPA SEPA diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index f0786563..a22811f4 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -17,6 +17,8 @@ BR-CL-16 DK-R-005 SE-R-011 + DE-R-019 + DE-R-023 UNCL4461 diff --git a/structure/syntax/part/supplier-party.xml b/structure/syntax/part/supplier-party.xml index 4fa3fdc2..3fcab523 100644 --- a/structure/syntax/part/supplier-party.xml +++ b/structure/syntax/part/supplier-party.xml @@ -77,6 +77,7 @@ The identification scheme identifier of the Seller identifier. For bank assigned creditor identifier (BT-90), value MUST be "SEPA" BR-CL-10 DK-R-013 + DE-R-020 ICD SEPA 0088 diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index 2cbd0178..222bbda3 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -153,6 +153,7 @@ Text BT-10 PEPPOL-EN16931-R003 + DE-R-015 abs1234 @@ -309,6 +310,7 @@ BG-24 PEPPOL-EN16931-R006 PEPPOL-EN16931-R080 + DE-R-022 @@ -372,6 +374,7 @@ UBL-DT-06 MimeCode BR-CL-24 + DE-R-020 text/csv @@ -450,6 +453,8 @@ BT-81 BR-49 BR-CL-16 + DE-R-019 + DE-R-023 UNCL4461 @@ -511,8 +516,9 @@ description of possible penalties). In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. Text - BT-20 + /Reference> BR-CO-25 + DE-R-018 Net within 30 days diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 25aacad8..0f60e0fe 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -160,7 +160,7 @@ Text BT-10 PEPPOL-EN16931-R003 - DE-R-15 + DE-R-015 abs1234 @@ -368,6 +368,8 @@ BR-49 BR-CL-16 DE-R-001 + DE-R-019 + DE-R-023 UNCL4461 @@ -420,7 +422,7 @@ Text BT-20 BR-CO-25 - DE-R-18 + DE-R-018 Net within 30 days From 1bf99a7e2ceffc122a7e2e406b23db3b2b557df1 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 10:56:51 +0200 Subject: [PATCH 037/145] added de-r-001 to structure --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 1 + structure/syntax/part/payment.xml | 1 + structure/syntax/ubl-creditnote.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 989e991a..79c1dcf3 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -176,6 +176,7 @@ + 58 Deb. 12345 / Fact. 9876543 diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index a22811f4..5fe1162f 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -17,6 +17,7 @@ BR-CL-16 DK-R-005 SE-R-011 + DE-R-001 DE-R-019 DE-R-023 UNCL4461 diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index 222bbda3..e1e2484f 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -453,6 +453,7 @@ BT-81 BR-49 BR-CL-16 + DE-R-001 DE-R-019 DE-R-023 UNCL4461 From 06f456f64e28c5bea32b1c8f8344c12f5781ed5d Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 11:07:19 +0200 Subject: [PATCH 038/145] fixed type --- structure/syntax/part/additional-docs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/structure/syntax/part/additional-docs.xml b/structure/syntax/part/additional-docs.xml index e4ab924c..1f649254 100644 --- a/structure/syntax/part/additional-docs.xml +++ b/structure/syntax/part/additional-docs.xml @@ -68,8 +68,8 @@ The mime code of the attached document. PEPPOL-EN16931-CL001 UBL-DT-06 - BR-CL-24DE-R-020> + BR-CL-24 + DE-R-020 MimeCode text/csv From 6def4756a2bc0de6aa30468cd1a69ab861659cf3 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 11:11:25 +0200 Subject: [PATCH 039/145] moved de-r-001 in structures --- structure/syntax/part/payment.xml | 4 ++-- structure/syntax/ubl-creditnote.xml | 6 +++--- structure/syntax/ubl-invoice.xml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index 5fe1162f..de063cbe 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -5,6 +5,7 @@ PAYMENT INSTRUCTIONS A group of business terms providing information about the payment. BG-16 + DE-R-001 cbc:PaymentMeansCode @@ -16,8 +17,7 @@ BR-49 BR-CL-16 DK-R-005 - SE-R-011 - DE-R-001 + SE-R-011 DE-R-019 DE-R-023 UNCL4461 diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index e1e2484f..453867a3 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -443,7 +443,8 @@ PAYMENT INSTRUCTIONS A group of business terms providing information about the payment. BG-16 - + DE-R-001 + cbc:PaymentMeansCode Payment means type code @@ -452,8 +453,7 @@ Code BT-81 BR-49 - BR-CL-16 - DE-R-001 + BR-CL-16 DE-R-019 DE-R-023 UNCL4461 diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 0f60e0fe..2d035901 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -357,6 +357,7 @@ PAYMENT INSTRUCTIONS A group of business terms providing information about the payment. BG-16 + DE-R-001 cbc:PaymentMeansCode @@ -366,8 +367,7 @@ Code BT-81 BR-49 - BR-CL-16 - DE-R-001 + BR-CL-16 DE-R-019 DE-R-023 UNCL4461 From 8f85a280854fb9bedd336a59853f14d60c1c880b Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 11:14:38 +0200 Subject: [PATCH 040/145] minor fix --- structure/syntax/ubl-creditnote.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index 453867a3..0355f6ea 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -517,7 +517,7 @@ description of possible penalties). In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. Text - /Reference> + BT-20 BR-CO-25 DE-R-018 Net within 30 days From 7915df8f94c8dff60658b0208d1ba493758c5851 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 11:24:16 +0200 Subject: [PATCH 041/145] replaced test bg-16 --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 1139 ++++++++++++------------- 1 file changed, 560 insertions(+), 579 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 79c1dcf3..7f7abea6 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -9,303 +9,288 @@ DE-R-001 - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - EUR - 90000000-03083-12 - - - - 2018-04-13 - 2018-04-13 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen - Leistungspositionen - - - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], - Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 - Lieferung erfolgt / erfolgte direkt vom Verlag - 30 - 4743.75 + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + - 2016-01-01 - 2016-12-31 + 2018-04-13 + 2018-04-13 - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + 12345 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + @@ -315,292 +300,288 @@ - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - EUR - 90000000-03083-12 - - - - 2018-04-13 - 2018-04-13 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen - Leistungspositionen - - - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], - Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 - Lieferung erfolgt / erfolgte direkt vom Verlag - 30 - 4743.75 + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + - 2016-01-01 - 2016-12-31 + 2018-04-13 + 2018-04-13 - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + 12345 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + From ffced007a828f2b4dd0e72c917f99b93d2786a43 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 11:27:08 +0200 Subject: [PATCH 042/145] removed mutator command --- rules/unit-UBL-DE/UBL-IN_DE-R-004.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml index ab60536b..9cc5c3c6 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-004.xml @@ -56,12 +56,7 @@ [Seller address line 1] [Seller address line 2] [Seller city] - - + 12345 DE From c09c13f06b74b1c2c6be769c9087361c84403114 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 11:28:30 +0200 Subject: [PATCH 043/145] fixed test --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 7f7abea6..68db8f2e 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -459,7 +459,7 @@ - + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. From 541503168fd4ed47d7897523d6f900538da05b60 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 11:36:35 +0200 Subject: [PATCH 044/145] corrected test file --- rules/unit-UBL-DE/UBL-IN_DE-R-015.xml | 538 +++++++++++++------------- 1 file changed, 268 insertions(+), 270 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-015.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-015.xml index af5bb5f6..fab7efe0 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-015.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-015.xml @@ -283,276 +283,274 @@ DE-R-015 - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - - - - 2018-04-13 - 2018-04-13 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - VAT - - - - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 30 - 4743.75 - - 2018-04-13 - 2018-04-13 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 158.125 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + From 61ec70f88c1df478105409c43bf78a3f4d38e7dc Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 11:59:07 +0200 Subject: [PATCH 045/145] added new de-r-016 --- rules/unit-UBL-DE/UBL-IN_DE-R-016.xml | 596 ++++++++++++++++++++++++-- 1 file changed, 557 insertions(+), 39 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml index f848ed40..8b4d4c11 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml @@ -8,25 +8,278 @@ DE-R-016 - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + + DEU123456789 + + VAT + + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + true + CG + Testing + 0 + 0 + 0 + + + S + 19 + + VAT + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + @@ -35,26 +288,291 @@ DE-R-016 - - - - false - 102 - Fixed long term - 0 - 0 - 0 - - Z - 19 - - VAT - - - + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + + + VAT + + + + + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + From 5d0e453eaf6349097c803ec2f389d5df406eb26c Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 12:04:16 +0200 Subject: [PATCH 046/145] fixed de-r-020 --- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index ab03ed6a..c98b77b1 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -37,7 +37,7 @@ Should reference be set to BT-81, too? - rechnungsausgang@test.com + 123456 [Bank assigned creditor identifier] @@ -71,7 +71,7 @@ Should reference be set to BT-81, too? - rechnungseingang@test.de + 123456 BI123456 @@ -489,7 +489,7 @@ Should reference be set to BT-81, too? - rechnungsausgang@test.com + 123456 [Bank assigned creditor identifier] @@ -523,7 +523,7 @@ Should reference be set to BT-81, too? - rechnungseingang@test.de + 123456 BI123456 From 297a3be35189648ceed460fd530d135896be2ca6 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Thu, 20 Jul 2023 12:38:27 +0200 Subject: [PATCH 047/145] removed test entry --- README.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/README.adoc b/README.adoc index 5d1d4c6e..94af0cf9 100644 --- a/README.adoc +++ b/README.adoc @@ -4,4 +4,3 @@ This repository contains the resources making up PEPPOL BIS Billing 3.0. Please use our link:https://openpeppol.atlassian.net/servicedesk/customer/portal/1[Service desk] to report any issues related to the specification. -# Test PH From 5cfeebee4de1cd9550949e74af942a9cc03d86f0 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 20 Jul 2023 12:39:06 +0200 Subject: [PATCH 048/145] Delete build-and-deploy-barnch.yml --- .github/workflows/build-and-deploy-barnch.yml | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/build-and-deploy-barnch.yml diff --git a/.github/workflows/build-and-deploy-barnch.yml b/.github/workflows/build-and-deploy-barnch.yml deleted file mode 100644 index a9557948..00000000 --- a/.github/workflows/build-and-deploy-barnch.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Build and deploy non-master branch to test-docs -on: - push: - branches-ignore: - - master - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout source code - uses: actions/checkout@v2 - - - name: Build Spec - run: bash ./build.sh - - - name: Deploy on S3 - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - run: | - aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/poacc/${GITHUB_REF#refs/heads/}/billing/3.0 From eb16dc9d24587d984cf6d93c00b20fe494a8da3e Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 20 Jul 2023 12:40:15 +0200 Subject: [PATCH 049/145] Update build-and-deploy-master.yml Calling build2.sh and no deploy --- .github/workflows/build-and-deploy-master.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/build-and-deploy-master.yml b/.github/workflows/build-and-deploy-master.yml index b077a92c..d60e5b37 100644 --- a/.github/workflows/build-and-deploy-master.yml +++ b/.github/workflows/build-and-deploy-master.yml @@ -12,11 +12,4 @@ jobs: uses: actions/checkout@v2 - name: Build Spec - run: bash ./build.sh - - - name: Deploy on S3 - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - run: | - aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/poacc/billing/3.0 + run: bash ./build2.sh From bdff9810cb06ea666a815c2a539de491785d734e Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 20 Jul 2023 12:43:43 +0200 Subject: [PATCH 050/145] Create build2.sh Initial version --- build2.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 build2.sh diff --git a/build2.sh b/build2.sh new file mode 100644 index 00000000..d4efb999 --- /dev/null +++ b/build2.sh @@ -0,0 +1,36 @@ +#!/bin/sh + +PROJECT=$(dirname $(readlink -f "$0")) + +if [ -e $PROJECT/target ]; then + docker run --rm -i -v $PROJECT:/src alpine:3.11 rm -rf /src/target || exit 1 +fi + +# Structure +docker run --rm -i -v $PROJECT:/src -v $PROJECT/target:/target difi/vefa-structure:0.7 || exit 2 + +# Validator +docker run --rm -i -v $PROJECT:/src anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src || exit 3 + + +# Generate adoc-files from rules + +# CEN-EN16931-UBL +docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen.xquery -o:/target/CEN-EN16931-UBL-GENERAL.sch.adoc || exit 4 +docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen_syntax.xquery -o:/target/CEN-EN16931-UBL-SYNTAX.sch.adoc || exit 5 + +# PEPPOL-EN16931-UBL +docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol.xquery -o:/target/PEPPOL-EN16931-UBL-GENERAL.sch.adoc || exit 6 +docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol_national.xquery -o:/target/PEPPOL-EN16931-UBL-NATIONAL.sch.adoc || exit 7 + +# Example files +docker run --rm -i -v $PROJECT/target/site/files:/src alpine:3.6 rm -rf /src/BIS-Billing3-Examples.zip || exit 8 +docker run --rm -i -v $PROJECT/rules/examples:/src -v $PROJECT/target/site/files:/target -w /src kramos/alpine-zip -r /target/BIS-Billing3-Examples.zip . || exit 9 + +# Guides +docker run --rm -i -v $PROJECT:/documents -v $PROJECT/target:/target difi/asciidoctor || exit 10 + +# Fix ownership +docker run --rm -i -v $PROJECT:/src alpine:3.11 chown -R $(id -g $USER).$(id -g $USER) /src/target || exit 11 + +echo Done From 4deb14afacb3eef296b46ea4989d334cc6edca8b Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 20 Jul 2023 12:44:29 +0200 Subject: [PATCH 051/145] Update build2.sh bla --- build2.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build2.sh b/build2.sh index d4efb999..2cc6bdae 100644 --- a/build2.sh +++ b/build2.sh @@ -2,6 +2,7 @@ PROJECT=$(dirname $(readlink -f "$0")) +# Clean old target dir if [ -e $PROJECT/target ]; then docker run --rm -i -v $PROJECT:/src alpine:3.11 rm -rf /src/target || exit 1 fi From 7a8d94acee40771ca224cdc6dc464c9b848aba44 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 20 Jul 2023 12:52:21 +0200 Subject: [PATCH 052/145] Update UBL-IN_DE-R-001.xml 1 test only --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 291 -------------------------- 1 file changed, 291 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 68db8f2e..89503cbf 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -240,297 +240,6 @@ - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 30 - 4743.75 - - 2018-04-13 - 2018-04-13 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 158.125 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - - - - - - DE-R-001 - - - - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - 90000000-03083-12 - - - - 2018-04-13 - 2018-04-13 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - - PR12345678 - - - - 12345 - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - tim.tester@test.com - - - - - - 123456 - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - 1 Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag From 6215bd220776efdb194d67b037ee7312e942f467 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 20 Jul 2023 12:56:53 +0200 Subject: [PATCH 053/145] Update UBL-IN_DE-R-001.xml No test 1 --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 294 +++++++++++++++++++++++++- 1 file changed, 293 insertions(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 89503cbf..d1bf0205 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -4,6 +4,7 @@ DE-R-001 An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). DE-R-001 + 58 Deb. 12345 / Fact. 9876543 @@ -240,6 +240,298 @@ + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + +--> + + + DE-R-001 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + 12345 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + 1 Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag From 458d0c6913cca17f0a87c0557f8b86edcbf8be46 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 20 Jul 2023 12:59:07 +0200 Subject: [PATCH 054/145] Update UBL-IN_DE-R-001.xml ctd --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index d1bf0205..708a4cff 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -4,11 +4,12 @@ DE-R-001 An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). DE-R-001 - ---> DE-R-001 From bc7b9034dfbf71c06e0ac009ecfabbbff412a8b9 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 20 Jul 2023 13:01:22 +0200 Subject: [PATCH 055/145] Update UBL-IN_DE-R-001.xml Next try --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 708a4cff..9f4d9a96 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -7,9 +7,8 @@ DE-R-001 + Schrott - - From 31f88e0cfd87752457adf5896a2bace5413a7261 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Fri, 21 Jul 2023 08:34:12 +0200 Subject: [PATCH 056/145] edit description --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 9f4d9a96..6b76c629 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -7,7 +7,7 @@ DE-R-001 - Schrott + DE-R-001 unit test urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 From 16518f56bfab0be0cb279ec4b35539944a8d8c3d Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Fri, 21 Jul 2023 11:13:34 +0200 Subject: [PATCH 057/145] fixed address scheme --- rules/unit-UBL-DE/UBL-IN_DE-R-022.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml index 5d6c7faf..842449f3 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml @@ -63,7 +63,7 @@ Should reference be set to BT-125, too? - rechnungsausgang@test.com + 123456 987654321 @@ -105,7 +105,7 @@ Should reference be set to BT-125, too? - rechnungseingang@test.de + 123456 138 @@ -370,7 +370,7 @@ Should reference be set to BT-125, too? - rechnungsausgang@test.com + 123456 987654321 @@ -412,7 +412,7 @@ Should reference be set to BT-125, too? - rechnungseingang@test.de + 0002 138 From 4616e62b14ee162995176b3d27eb9368195593c4 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Fri, 21 Jul 2023 11:47:06 +0200 Subject: [PATCH 058/145] add description --- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index c98b77b1..f487c0d3 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -13,6 +13,7 @@ Should reference be set to BT-81, too? DE-R-020 + DE-R-020 unit test urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 @@ -465,6 +466,7 @@ Should reference be set to BT-81, too? DE-R-020 + DE-R-020 unit test urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 From b75154d7bba1476b669881237f0a79fa87fd8e66 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Fri, 21 Jul 2023 21:25:30 +0200 Subject: [PATCH 059/145] reduced error assert to one per test --- rules/unit-UBL-DE/UBL-IN_DE-R-023.xml | 595 +++++++++++++------------- 1 file changed, 290 insertions(+), 305 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml index 1d3205d0..e709a4d5 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml @@ -16,316 +16,301 @@ References need to be checked DE-R-023-2 - - 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 - 123456XX - 2016-04-04 - 380 - #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. - EUR - 04011000-12345-34 - - - rechnungsausgang@test.com - - [Seller trading name] - - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DE 123456789 - - VAT - - - - [Seller name] - [HRA-Eintrag] - 123/456/7890, HRA-Eintrag in […] - - - nicht vorhanden - +49 1234-5678 - seller@email.de - - - - - - rechnungseingang@test.de - - [Buyer identifier] - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - - - - 58 - - - DE75512108001245126199 - - - - Zahlbar sofort ohne Abzug. - - - 22.04 - - 314.86 - 22.04 - - S - 7 - - VAT - - - - - - 314.86 - 314.86 - 336.9 - 336.9 - - - Zeitschrift [...] - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 1 - 288.79 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Zeitschrift Inland - Zeitschrift [...] - - 246 - - - 0721-880X - - - S - 7 - - VAT - - - - - 288.79 - - - - Porto + Versandkosten - 1 - 26.07 - - Porto + Versandkosten - - S - 7 - - VAT - - - - - 26.07 - - - - + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 123456 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + 58 + + + DE75512108001245126199 + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + - - DE-R-023-1 + DE-R-023-2 - - - 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 - 123456XX - 2016-04-04 - 380 - #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. - EUR - 04011000-12345-34 - - - rechnungsausgang@test.com - - [Seller trading name] - - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DE 123456789 - - VAT - - - - [Seller name] - [HRA-Eintrag] - 123/456/7890, HRA-Eintrag in […] - - - nicht vorhanden - +49 1234-5678 - seller@email.de - - - - - - rechnungseingang@test.de - - [Buyer identifier] - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - - - - 58 - - - 41234 - [Network ID] - [Payment card holder name] - - - - - - [Mandate reference identifier] - - DE75512108001245126199 - - - - - Zahlbar sofort ohne Abzug. - - - 22.04 - - 314.86 - 22.04 - - S - 7 - - VAT - - - - - - 314.86 - 314.86 - 336.9 - 336.9 - - - Zeitschrift [...] - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 1 - 288.79 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Zeitschrift Inland - Zeitschrift [...] - - 246 - - - 0721-880X - - - S - 7 - - VAT - - - - - 288.79 - - - - Porto + Versandkosten - 1 - 26.07 - - Porto + Versandkosten - - S - 7 - - VAT - - - - - 26.07 - - - + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 123456 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 58 + + 41234 + mapped-from-cii + [Payment card holder name] + + + DE75512108001245126199 + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + \ No newline at end of file From 5a3cb7dc3cca2929c30946b800456546d4924522 Mon Sep 17 00:00:00 2001 From: lkumai Date: Mon, 24 Jul 2023 14:11:24 +0200 Subject: [PATCH 060/145] modified rules in structure --- structure/syntax/part/additional-docs.xml | 3 +-- structure/syntax/part/card-payment.xml | 3 +-- structure/syntax/part/payee-party.xml | 3 +-- structure/syntax/part/payment-mandate.xml | 2 +- structure/syntax/part/payment.xml | 3 +-- structure/syntax/part/supplier-party.xml | 3 +-- structure/syntax/ubl-creditnote.xml | 4 +--- structure/syntax/ubl-invoice.xml | 2 -- 8 files changed, 7 insertions(+), 16 deletions(-) diff --git a/structure/syntax/part/additional-docs.xml b/structure/syntax/part/additional-docs.xml index 1f649254..281af3ea 100644 --- a/structure/syntax/part/additional-docs.xml +++ b/structure/syntax/part/additional-docs.xml @@ -68,8 +68,7 @@ The mime code of the attached document. PEPPOL-EN16931-CL001 UBL-DT-06 - BR-CL-24 - DE-R-020 + BR-CL-24 MimeCode text/csv diff --git a/structure/syntax/part/card-payment.xml b/structure/syntax/part/card-payment.xml index c0401fd8..288d3bdd 100644 --- a/structure/syntax/part/card-payment.xml +++ b/structure/syntax/part/card-payment.xml @@ -19,8 +19,7 @@ standards, an invoice should never include a full card primary account number. Text BT-87 - BR-51 - DE-R-023 + BR-51 1234 diff --git a/structure/syntax/part/payee-party.xml b/structure/syntax/part/payee-party.xml index af700dfe..eaaf3c54 100644 --- a/structure/syntax/part/payee-party.xml +++ b/structure/syntax/part/payee-party.xml @@ -23,8 +23,7 @@ schemeID Payee or bank assigned creditor identifier identification scheme identifier The identification scheme identifier of the payee identifier. For bank assigned creditor identifier (BT-90), value MUST be "SEPA" - BR-CL-10 - DE-R-020 + BR-CL-10 ICD SEPA SEPA diff --git a/structure/syntax/part/payment-mandate.xml b/structure/syntax/part/payment-mandate.xml index a85e9906..d704d4a2 100644 --- a/structure/syntax/part/payment-mandate.xml +++ b/structure/syntax/part/payment-mandate.xml @@ -27,7 +27,7 @@ Debited account identifier The account to be debited by the direct debit. Identifier - BT-91 + BT-91 12345676543 diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index de063cbe..1eaf667a 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -18,8 +18,7 @@ BR-CL-16 DK-R-005 SE-R-011 - DE-R-019 - DE-R-023 + DE-R-019 UNCL4461 diff --git a/structure/syntax/part/supplier-party.xml b/structure/syntax/part/supplier-party.xml index 3fcab523..e84db11e 100644 --- a/structure/syntax/part/supplier-party.xml +++ b/structure/syntax/part/supplier-party.xml @@ -76,8 +76,7 @@ Seller or bank assigned creditor identifier identification scheme identifier The identification scheme identifier of the Seller identifier. For bank assigned creditor identifier (BT-90), value MUST be "SEPA" BR-CL-10 - DK-R-013 - DE-R-020 + DK-R-013 ICD SEPA 0088 diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index 0355f6ea..d22641da 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -374,7 +374,6 @@ UBL-DT-06 MimeCode BR-CL-24 - DE-R-020 text/csv @@ -454,8 +453,7 @@ BT-81 BR-49 BR-CL-16 - DE-R-019 - DE-R-023 + DE-R-019 UNCL4461 diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 2d035901..ee66ba42 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -368,8 +368,6 @@ BT-81 BR-49 BR-CL-16 - DE-R-019 - DE-R-023 UNCL4461 From 163a4e9e664f755d200f554237d118e2a01873bd Mon Sep 17 00:00:00 2001 From: lkumai Date: Mon, 24 Jul 2023 14:13:31 +0200 Subject: [PATCH 061/145] modify for only one rule per assert --- rules/unit-UBL-DE/UBL-IN_DE-R-023.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml index e709a4d5..95161f24 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml @@ -6,14 +6,12 @@ References need to be checked --> - DE-R-023 If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. BG-18 and BG-19 shall not be provided. - DE-R-023-1 + DE-R-023 If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. BG-18 and BG-19 shall not be provided. DE-R-023-2 - DE-R-023-1 - DE-R-023-2 + DE-R-023-2 From aa944600600cc1392d26a0aaffcb90f0895efc75 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 14:44:04 +0200 Subject: [PATCH 062/145] modifed test --- rules/unit-UBL-DE/UBL-IN_DE-R-023.xml | 39 +++++++++++++-------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml index 95161f24..d6edb51e 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml @@ -7,18 +7,19 @@ References need to be checked DE-R-023 If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. BG-18 and BG-19 shall not be provided. - DE-R-023-2 + DE-R-023-1 - DE-R-023-2 + DE-R-023-1 - + 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 - 123456XX - 2016-04-04 + 1234567 + 2018-04-13 + 2018-04-13 380 #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. EUR @@ -74,11 +75,10 @@ References need to be checked - - - 58 + + 58 - + DE75512108001245126199 @@ -156,18 +156,19 @@ References need to be checked 26.07 - + - DE-R-023-2 + DE-R-023-1 - + 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 - 123456XX - 2016-04-04 + 1234567 + 2018-04-13 + 2018-04-13 380 #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. EUR @@ -223,14 +224,10 @@ References need to be checked - + 58 - - 41234 - mapped-from-cii - [Payment card holder name] - - + + DE75512108001245126199 From 1579a4fbaed15ec29cab6904594936c5d2a2f54b Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 15:06:53 +0200 Subject: [PATCH 063/145] fixed xml structure. replaced tests --- rules/unit-UBL-DE/UBL-IN_DE-R-024.xml | 602 +++++++++++++------------- 1 file changed, 292 insertions(+), 310 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml index 0823d20e..763e27bc 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml @@ -7,326 +7,308 @@ References need to be checked DE-R-024 If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. BG-17 and BG-19 shall not be provided. - DE-R-024 + DE-R-024-1 - DE-R-024-1 - DE-R-024-2 + DE-R-024-1 - - 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 - 123456XX - 2016-04-04 - 380 - #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. - EUR - 04011000-12345-34 - - - seller@seller.com - - [Seller trading name] - - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DE 123456789 - - VAT - - - - [Seller name] - [HRA-Eintrag] - 123/456/7890, HRA-Eintrag in […] - - - nicht vorhanden - +49 1234-5678 - seller@email.de - - - - - - buyer@buyer.com - - [Buyer identifier] - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - - - - 48 - - - 41234 - [Network ID] - [Payment card holder name] - - - - Zahlbar sofort ohne Abzug. - - - 22.04 - - 314.86 - 22.04 - - S - 7 - - VAT - - - - - - 314.86 - 314.86 - 336.9 - 336.9 - - - Zeitschrift [...] - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 1 - 288.79 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Zeitschrift Inland - Zeitschrift [...] - - 246 - - - 0721-880X - - - S - 7 - - VAT - - - - - 288.79 - - - - Porto + Versandkosten - 1 - 26.07 - - Porto + Versandkosten - - S - 7 - - VAT - - - - - 26.07 - - - - + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 123456 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 48 + + + 41234 + mapped-from-cii + [Payment card holder name] + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + - DE-R-024-1 - DE-R-024-2 + DE-R-024-1 - - 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 - 123456XX - 2016-04-04 - 380 - #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. - EUR - 04011000-12345-34 - - - seller@seller.com - - [Seller trading name] - - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DE 123456789 - - VAT - - - - [Seller name] - [HRA-Eintrag] - 123/456/7890, HRA-Eintrag in […] - - - nicht vorhanden - +49 1234-5678 - seller@email.de - - - - - - buyer@buyer.com - - [Buyer identifier] - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - - - - 48 - - - - - DE75512108001245126199 - - - - [Mandate reference identifier] - - DE75512108001245126199 - - - - - Zahlbar sofort ohne Abzug. - - - 22.04 - - 314.86 - 22.04 - - S - 7 - - VAT - - - - - - 314.86 - 314.86 - 336.9 - 336.9 - - - Zeitschrift [...] - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 1 - 288.79 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Zeitschrift Inland - Zeitschrift [...] - - 246 - - - 0721-880X - - - S - 7 - - VAT - - - - - 288.79 - - - - Porto + Versandkosten - 1 - 26.07 - - Porto + Versandkosten - - S - 7 - - VAT - - - - - 26.07 - - - - + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 123456 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 48 + + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + From a95c534349baf3f0af11b192b9a5cb4e8c1e2f4e Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 15:07:08 +0200 Subject: [PATCH 064/145] replaced tests --- rules/unit-UBL-DE/UBL-IN_DE-R-023.xml | 155 +++++++++++++++++++++++++- 1 file changed, 154 insertions(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml index d6edb51e..477337c5 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml @@ -306,6 +306,159 @@ References need to be checked - + + + + DE-R-023-2 + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 123456 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 58 + + + DE75512108001245126199 + + + + 41234 + mapped-from-cii + [Payment card holder name] + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + \ No newline at end of file From acd04f86482e99d73ababcc1514f200841afd451 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 15:09:09 +0200 Subject: [PATCH 065/145] added test --- rules/unit-UBL-DE/UBL-IN_DE-R-024.xml | 153 ++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml index 763e27bc..c67c4a5a 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml @@ -309,6 +309,159 @@ References need to be checked 26.07 + + + + + DE-R-024-2 + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 123456 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 48 + + + DE75512108001245126199 + + + + 41234 + mapped-from-cii + [Payment card holder name] + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + From 9e34b0ca7501a37cefdb8affe0f05e9b0fe65a0d Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 15:20:04 +0200 Subject: [PATCH 066/145] modified tests --- rules/unit-UBL-DE/UBL-IN_DE-R-025.xml | 765 +++++++++++++++----------- 1 file changed, 456 insertions(+), 309 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml index 634243f3..259c228d 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml @@ -7,325 +7,472 @@ References need to be checked DE-R-025 If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. BG-17 and BG-18 shall not be provided. - DE-R-025 + DE-R-025-1 - DE-R-025-1 - DE-R-025-2 + DE-R-025-1 - - 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 - 123456XX - 2016-04-04 - 380 - #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. - EUR - 04011000-12345-34 - - - seller@seller.com - - [Seller trading name] - - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DE 123456789 - - VAT - - - - [Seller name] - [HRA-Eintrag] - 123/456/7890, HRA-Eintrag in […] - - - nicht vorhanden - +49 1234-5678 - seller@email.de - - - - - - buyer@buyer.com - - [Buyer identifier] - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - - - - 59 - - - [Mandate reference identifier] - - DE75512108001245126199 - - - - - Zahlbar sofort ohne Abzug. - - - 22.04 - - 314.86 - 22.04 - - S - 7 - - VAT - - - - - - 314.86 - 314.86 - 336.9 - 336.9 - - - Zeitschrift [...] - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 1 - 288.79 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Zeitschrift Inland - Zeitschrift [...] - - 246 - - - 0721-880X - - - S - 7 - - VAT - - - - - 288.79 - - - - Porto + Versandkosten - 1 - 26.07 - - Porto + Versandkosten - - S - 7 - - VAT - - - - - 26.07 - - - + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Bank assigned creditor identifier] + + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 0002 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 59 + + + [Mandate reference identifier] + + DE75512108001245126199 + + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + - DE-R-025-1 - DE-R-025-2 + DE-R-025-1 - - 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 - 123456XX - 2016-04-04 - 380 - #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. - EUR - 04011000-12345-34 - - - seller@seller.com - - [Seller trading name] - - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DE 123456789 - - VAT - - - - [Seller name] - [HRA-Eintrag] - 123/456/7890, HRA-Eintrag in […] - - - nicht vorhanden - +49 1234-5678 - seller@email.de - - - - - - buyer@buyer.com - - [Buyer identifier] - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - - - - 59 - - - 41234 - [Network ID] - [Payment card holder name] - - - - DE75512108001245126199 - - - - - - Zahlbar sofort ohne Abzug. - - - 22.04 - - 314.86 - 22.04 - - S - 7 - - VAT - - - - - - 314.86 - 314.86 - 336.9 - 336.9 - - - Zeitschrift [...] - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 1 - 288.79 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Zeitschrift Inland - Zeitschrift [...] - - 246 - - - 0721-880X - - - S - 7 - - VAT - - - - - 288.79 - - - - Porto + Versandkosten - 1 - 26.07 - - Porto + Versandkosten - - S - 7 - - VAT - - - - - 26.07 - - - + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Bank assigned creditor identifier] + + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 0002 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 59 + + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + + + + + DE-R-025-2 + + + 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 + 123456XX + 2016-04-04 + 380 + #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + EUR + 04011000-12345-34 + + + 123456 + + [Bank assigned creditor identifier] + + + [Seller trading name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE 123456789 + + VAT + + + + [Seller name] + [HRA-Eintrag] + 123/456/7890, HRA-Eintrag in […] + + + nicht vorhanden + +49 1234-5678 + seller@email.de + + + + + + 0002 + + [Buyer identifier] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + 59 + + + DE75512108001245126199 + + + + [Mandate reference identifier] + + DE75512108001245126199 + + + + + Zahlbar sofort ohne Abzug. + + + 22.04 + + 314.86 + 22.04 + + S + 7 + + VAT + + + + + + 314.86 + 314.86 + 336.9 + 336.9 + + + Zeitschrift [...] + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 1 + 288.79 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Zeitschrift Inland + Zeitschrift [...] + + 246 + + + 0721-880X + + + S + 7 + + VAT + + + + + 288.79 + + + + Porto + Versandkosten + 1 + 26.07 + + Porto + Versandkosten + + S + 7 + + VAT + + + + + 26.07 + + + From 6db9c8f99134340ecdddafac0df1c4a1c824e41c Mon Sep 17 00:00:00 2001 From: lkumai Date: Mon, 24 Jul 2023 15:24:00 +0200 Subject: [PATCH 067/145] checked references --- rules/unit-UBL-DE/UBL-IN_DE-R-023.xml | 5 ----- rules/unit-UBL-DE/UBL-IN_DE-R-024.xml | 5 ----- rules/unit-UBL-DE/UBL-IN_DE-R-025.xml | 5 ----- 3 files changed, 15 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml index 477337c5..b255d756 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml @@ -1,9 +1,4 @@ - DE-R-023 If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. BG-18 and BG-19 shall not be provided. diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml index c67c4a5a..934cf070 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml @@ -1,9 +1,4 @@ - DE-R-024 If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. BG-17 and BG-19 shall not be provided. diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml index 259c228d..1ef86fe6 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml @@ -1,9 +1,4 @@ - DE-R-025 If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. BG-17 and BG-18 shall not be provided. From 0f571999ed798cd52d8ec2bb6017bc8c5c26d9ab Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 15:50:14 +0200 Subject: [PATCH 068/145] wip replaced tests --- rules/unit-UBL-DE/UBL-IN_DE-R-026.xml | 790 +++++++++++++------------- 1 file changed, 391 insertions(+), 399 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml index 5ecf4993..1929056d 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml @@ -1,9 +1,4 @@ - DE-R-026 If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. @@ -12,203 +7,202 @@ References need to be checked: BT-3? BG-3? ubl-cn DE-R-026 - - - - 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 - PRG1502112 - 2015-04-24 - - 384 - #ADU#Trainer: Herr […] - EUR - 99000000-18188-16 - - 2015-04-20 - 2015-04-24 - - - - - PRG1502168 - - - - PR456789 - - - - seller@seller.com - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DE123456789 - - VAT - - - - [Seller name] - HRB 123456 - Sitz der Gesellschaft […], Registergericht […], Amtsgericht […] - - - [Seller contact person] - +49 123456789 - xxx@schulung.de - - - - - - buyer@buyer.com - - BI123456 - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - - - - - Schulungsort - 12345 - - DE - - - - - - Schulungsanbieter - - - - - 58 - - DE75512108001245126199 - - - - 58 - - DE12500105170648489890 - - - - 14 Tage - - - 1685.3 - - 8870 - 1685.3 - - S - 19 - - VAT - - - - - - 8870 - 8870 - 10555.3 - 10555.3 - - - Seminar: […] - 5 - 6700 - - Seminar - - S - 19 - - VAT - - - - - 1340 - - - - Raumkosten Schulungsort - 5 - 1500 - - Raumkosten - - S - 19 - - VAT - - - - - 300 - - - - Reisekostenpauschale - 5 - 450 - - Reisekostenpauschale - - S - 19 - - VAT - - - - - 90 - - - - Seminarunterlagen - 11 - 220 - - Seminarunterlagen - - S - 19 - - VAT - - - - - 20 - - - + + + 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 + PRG1502112 + 2015-04-24 + 380 + #ADU#Trainer: Herr […] + EUR + 99000000-18188-16 + + 2015-04-20 + 2015-04-24 + + + + + PRG1502168 + + + + PR456789 + + + + 123456 + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE123456789 + + VAT + + + + [Seller name] + HRB 123456 + Sitz der Gesellschaft […], Registergericht […], Amtsgericht […] + + + [Seller contact person] + +49 123456789 + xxx@schulung.de + + + + + + 123456 + + BI123456 + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + + Schulungsort + 12345 + + DE + + + + + + Schulungsanbieter + + + + + 58 + + + DE75512108001245126199 + + + + 58 + + DE12500105170648489890 + + + + 14 Tage + + + 1685.3 + + 8870 + 1685.3 + + S + 19 + + VAT + + + + + + 8870 + 8870 + 10555.3 + 10555.3 + + + Seminar: […] + 5 + 6700 + + Seminar + + S + 19 + + VAT + + + + + 1340 + + + + Raumkosten Schulungsort + 5 + 1500 + + Raumkosten + + S + 19 + + VAT + + + + + 300 + + + + Reisekostenpauschale + 5 + 450 + + Reisekostenpauschale + + S + 19 + + VAT + + + + + 90 + + + + Seminarunterlagen + 11 + 220 + + Seminarunterlagen + + S + 19 + + VAT + + + + + 20 + + + @@ -217,203 +211,201 @@ References need to be checked: BT-3? BG-3? ubl-cn DE-R-026 - - 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 - PRG1502112 - 2015-04-24 - - 384 - #ADU#Trainer: Herr […] - EUR - 99000000-18188-16 - - 2015-04-20 - 2015-04-24 - - - - - - - PR456789 - - - - seller@seller.com - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DE123456789 - - VAT - - - - [Seller name] - HRB 123456 - Sitz der Gesellschaft […], Registergericht […], Amtsgericht […] - - - [Seller contact person] - +49 123456789 - xxx@schulung.de - - - - - - buyer@buyer.com - - BI123456 - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - - - - - Schulungsort - 12345 - - DE - - - - - - Schulungsanbieter - - - - - 58 - - DE75512108001245126199 - - - - 58 - - DE12500105170648489890 - - - - 14 Tage - - - 1685.3 - - 8870 - 1685.3 - - S - 19 - - VAT - - - - - - 8870 - 8870 - 10555.3 - 10555.3 - - - Seminar: […] - 5 - 6700 - - Seminar - - S - 19 - - VAT - - - - - 1340 - - - - Raumkosten Schulungsort - 5 - 1500 - - Raumkosten - - S - 19 - - VAT - - - - - 300 - - - - Reisekostenpauschale - 5 - 450 - - Reisekostenpauschale - - S - 19 - - VAT - - - - - 90 - - - - Seminarunterlagen - 11 - 220 - - Seminarunterlagen - - S - 19 - - VAT - - - - - 20 - - - + + 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 + PRG1502112 + 2015-04-24 + 384 + #ADU#Trainer: Herr […] + EUR + 99000000-18188-16 + + 2015-04-20 + 2015-04-24 + + + + + + + PR456789 + + + + 123456 + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DE123456789 + + VAT + + + + [Seller name] + HRB 123456 + Sitz der Gesellschaft […], Registergericht […], Amtsgericht […] + + + [Seller contact person] + +49 123456789 + xxx@schulung.de + + + + + + 12345 + + BI123456 + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + + + + + Schulungsort + 12345 + + DE + + + + + + Schulungsanbieter + + + + + 58 + + + DE75512108001245126199 + + + + 58 + + DE12500105170648489890 + + + + 14 Tage + + + 1685.3 + + 8870 + 1685.3 + + S + 19 + + VAT + + + + + + 8870 + 8870 + 10555.3 + 10555.3 + + + Seminar: […] + 5 + 6700 + + Seminar + + S + 19 + + VAT + + + + + 1340 + + + + Raumkosten Schulungsort + 5 + 1500 + + Raumkosten + + S + 19 + + VAT + + + + + 300 + + + + Reisekostenpauschale + 5 + 450 + + Reisekostenpauschale + + S + 19 + + VAT + + + + + 90 + + + + Seminarunterlagen + 11 + 220 + + Seminarunterlagen + + S + 19 + + VAT + + + + + 20 + + + From 72d7e71e8f6c23c4ad82331fc3945f1c1796079a Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 15:54:15 +0200 Subject: [PATCH 069/145] corrected tests --- rules/unit-UBL-DE/UBL-IN_DE-R-027.xml | 1746 ++++++++++++------------- 1 file changed, 873 insertions(+), 873 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml index 2d07d21f..c391d670 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml @@ -8,890 +8,890 @@ DE-R-027 - - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - GBP - 90000000-03083-12 - - 2016-01-01 - 2016-12-31 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - - 012 3456789 - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 33 - 4743.75 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + DE-R-027 - - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - GBP - 90000000-03083-12 - - 2016-01-01 - 2016-12-31 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - - 01 - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 33 - 4743.75 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + + + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + DE-R-027 - - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - GBP - 90000000-03083-12 - - 2016-01-01 - 2016-12-31 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - - -0-1- - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 33 - 4743.75 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + + 01 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + \ No newline at end of file From 30a124be0a4e02d77bef0f520dbd1a2a0c5b90c6 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 15:58:12 +0200 Subject: [PATCH 070/145] corrected test --- rules/unit-UBL-DE/UBL-IN_DE-R-028.xml | 1744 ++++++++++++------------- 1 file changed, 872 insertions(+), 872 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-028.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-028.xml index e4ff6c53..fee5569f 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-028.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-028.xml @@ -8,297 +8,297 @@ DE-R-028 - - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - GBP - 90000000-03083-12 - - 2016-01-01 - 2016-12-31 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - - tim.tester@test.com - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 33 - 4743.75 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + @@ -307,296 +307,296 @@ - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - GBP - 90000000-03083-12 - - 2016-01-01 - 2016-12-31 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - - r@te - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 33 - 4743.75 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + + r@te + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + @@ -604,296 +604,296 @@ DE-R-028 - - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - GBP - 90000000-03083-12 - - 2016-01-01 - 2016-12-31 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg - - - - PR12345678 - - - - rechnungsausgang@test.com - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - 123/456/789 - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - Tim Tester - 012 3456789 - - tim.tester@test - - - - - - rechnungseingang@test.de - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - [Buyer city] - 98765 - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - [Seller tax representative name] - - - - DE - - - - DE124567 - - VAT - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - [Deliver to city] - 98765 - Bayern - - DE - - - - - - [Deliver to party name] - - - - - 58 - Deb. 12345 / Fact. 9876543 - - DE75512108001245126199 - [Payment account name] - - [BIC] - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - 19 - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 2048.44 - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 33 - 4743.75 - - 2016-01-01 - 2016-12-31 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 143.75 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + GBP + 90000000-03083-12 + + 2016-01-01 + 2016-12-31 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCAxNjYgPj4Kc3RyZWFtCngBnY67DsIwDEV3vuLydgZSx0lDs4JY2Cp5o0yVGJA6VP1/iZKqEywgD7627KPTo0aP4jw4tAM419COK7YSpvkdnLMpcUSUykpKgrbDSVFOD2OTkCwzO5TBL7RDoSpw0AduoKXBga0HrczIDaB1XjjQZpuTgHY5lKD9HKbjBTVkcIdecdEs+6NZ4MomH+OnGTXGQJ//cn2wcqzCN+5oPHPrF+VVRx8KZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA0IDAgUiAvQ29udGVudHMg + + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + 123/456/789 + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + + tim.tester@test + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + [Seller tax representative name] + + + + DE + + + + DE124567 + + VAT + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 2048.44 + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 33 + 4743.75 + + 2016-01-01 + 2016-12-31 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 143.75 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + \ No newline at end of file From 0c538e1916102a39fcf94d15c553d27faa3587d8 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 16:00:56 +0200 Subject: [PATCH 071/145] corrected test --- rules/unit-UBL-DE/UBL-IN_DE-R-030.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml index d9472c1d..8c490845 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml @@ -32,7 +32,7 @@ References need to be checked - seller@seller.com + 123456 [Seller identifier 1] @@ -72,7 +72,7 @@ References need to be checked - buyer@buyer.com + 123456 BI123456 @@ -487,7 +487,7 @@ References need to be checked - seller@seller.com + 123456 [Seller identifier 1] @@ -529,7 +529,7 @@ References need to be checked - buyer@buyer.com + 123456 BI123456 From 966d8f708250e1c0f8e44a1c8edd13b8850f50ff Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 16:08:21 +0200 Subject: [PATCH 072/145] corrected test and referenced --- rules/unit-UBL-DE/UBL-IN_DE-R-030.xml | 5 ----- rules/unit-UBL-DE/UBL-IN_DE-R-031.xml | 13 ++++--------- structure/syntax/part/payee-party.xml | 1 + structure/syntax/part/payment-mandate.xml | 3 ++- structure/syntax/part/supplier-party.xml | 1 + 5 files changed, 8 insertions(+), 15 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml index 8c490845..24a21c70 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-030.xml @@ -1,9 +1,4 @@ - DE-R-030 If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided. diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml index c059d154..83ceee02 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml @@ -1,9 +1,4 @@ - DE-R-031 If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided. @@ -32,7 +27,7 @@ References need to be checked - seller@seller.com + 123456 [Seller identifier 1] @@ -72,7 +67,7 @@ References need to be checked - buyer@buyer.com + 123456 BI123456 @@ -487,7 +482,7 @@ References need to be checked - seller@seller.com + 123456 [Seller identifier 1] @@ -527,7 +522,7 @@ References need to be checked - buyer@buyer.com + 123456 BI123456 diff --git a/structure/syntax/part/payee-party.xml b/structure/syntax/part/payee-party.xml index eaaf3c54..bc5f88c4 100644 --- a/structure/syntax/part/payee-party.xml +++ b/structure/syntax/part/payee-party.xml @@ -18,6 +18,7 @@ This element is used for both the identification of the Payee, or the unique banking reference identifier of Payee (assigned by the Payee bank.) For payee identification use ICD code list, for SEPA bank assigned creditor reference, use SEPA. Text BT-60, BT-90 + DE-R-30 schemeID diff --git a/structure/syntax/part/payment-mandate.xml b/structure/syntax/part/payment-mandate.xml index d704d4a2..a68b9258 100644 --- a/structure/syntax/part/payment-mandate.xml +++ b/structure/syntax/part/payment-mandate.xml @@ -27,7 +27,8 @@ Debited account identifier The account to be debited by the direct debit. Identifier - BT-91 + BT-91 + DE-R-031 12345676543 diff --git a/structure/syntax/part/supplier-party.xml b/structure/syntax/part/supplier-party.xml index e84db11e..a779e52e 100644 --- a/structure/syntax/part/supplier-party.xml +++ b/structure/syntax/part/supplier-party.xml @@ -59,6 +59,7 @@ Identifier BT-29, BT-90 BR-CO-26 + DE-R-30 PEPPOL-COMMON-R040 PEPPOL-COMMON-R041 PEPPOL-COMMON-R042 From a10157d45560c41cd8d61ffd9963d6e64e5d48d2 Mon Sep 17 00:00:00 2001 From: "lukas.kumai" Date: Mon, 24 Jul 2023 16:14:12 +0200 Subject: [PATCH 073/145] fixed wrong type code --- rules/unit-UBL-DE/UBL-IN_DE-R-026.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml index 1929056d..509583b7 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-026.xml @@ -13,7 +13,7 @@ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 PRG1502112 2015-04-24 - 380 + 384 #ADU#Trainer: Herr […] EUR 99000000-18188-16 From 589fab27fb05a47fb17a8c2c80cea2e8a813a7e8 Mon Sep 17 00:00:00 2001 From: lkumai Date: Mon, 24 Jul 2023 16:51:24 +0200 Subject: [PATCH 074/145] fixed wrong references --- rules/unit-UBL-DE/UBL-IN_DE-R-019.xml | 7 ------- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 6 ------ rules/unit-UBL-DE/UBL-IN_DE-R-022.xml | 6 ------ structure/syntax/part/payment-mandate.xml | 1 + structure/syntax/part/supplier-party.xml | 2 +- structure/syntax/ubl-invoice.xml | 2 +- 6 files changed, 3 insertions(+), 21 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml index b3ad8fcd..ca1ba95c 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml @@ -1,11 +1,4 @@ - - DE-R-019 The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index f487c0d3..adb53b3a 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -1,10 +1,4 @@ - DE-R-020 The element "Debited account identifier" (BT-91) should contain a valid IBAN if code 59 SEPA is provided in "Payment means type code" (BT-81). diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml index 842449f3..06259356 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-022.xml @@ -1,10 +1,4 @@ - DE-R-022 Attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125). diff --git a/structure/syntax/part/payment-mandate.xml b/structure/syntax/part/payment-mandate.xml index a68b9258..d3087131 100644 --- a/structure/syntax/part/payment-mandate.xml +++ b/structure/syntax/part/payment-mandate.xml @@ -14,6 +14,7 @@ Identifier BT-89 PEPPOL-EN16931-R061 + DE-R-030 123456 diff --git a/structure/syntax/part/supplier-party.xml b/structure/syntax/part/supplier-party.xml index a779e52e..eee6aaa3 100644 --- a/structure/syntax/part/supplier-party.xml +++ b/structure/syntax/part/supplier-party.xml @@ -59,7 +59,7 @@ Identifier BT-29, BT-90 BR-CO-26 - DE-R-30 + DE-R-030 PEPPOL-COMMON-R040 PEPPOL-COMMON-R041 PEPPOL-COMMON-R042 diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index ee66ba42..ff23b14b 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -238,7 +238,7 @@ PRECEDING INVOICE REFERENCE A group of business terms providing information on one or more preceding Invoices. BG-3 - DE-R-26 + DE-R-026 cac:InvoiceDocumentReference From a135ce285ef70a084b9ef6a348a2363075ad8c5a Mon Sep 17 00:00:00 2001 From: lkumai Date: Mon, 24 Jul 2023 16:53:38 +0200 Subject: [PATCH 075/145] added second scope --- rules/unit-UBL-DE/UBL-IN_DE-R-023.xml | 1 + rules/unit-UBL-DE/UBL-IN_DE-R-024.xml | 1 + rules/unit-UBL-DE/UBL-IN_DE-R-025.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml index b255d756..91401884 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml @@ -3,6 +3,7 @@ DE-R-023 If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. BG-18 and BG-19 shall not be provided. DE-R-023-1 + DE-R-023-2 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml index 934cf070..5b1bd81d 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml @@ -3,6 +3,7 @@ DE-R-024 If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. BG-17 and BG-19 shall not be provided. DE-R-024-1 + DE-R-024-2 diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml index 1ef86fe6..89740072 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-025.xml @@ -3,6 +3,7 @@ DE-R-025 If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. BG-17 and BG-18 shall not be provided. DE-R-025-1 + DE-R-025-2 From 8dcf2bffc558b93ec70054f9120e676250078de4 Mon Sep 17 00:00:00 2001 From: lkumai Date: Mon, 24 Jul 2023 17:13:23 +0200 Subject: [PATCH 076/145] fixed test --- rules/unit-UBL-DE/UBL-IN_DE-R-023.xml | 4 ++-- structure/syntax/part/payment-mandate.xml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml index 91401884..462b35ee 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-023.xml @@ -223,9 +223,9 @@ 58 - + Zahlbar sofort ohne Abzug. diff --git a/structure/syntax/part/payment-mandate.xml b/structure/syntax/part/payment-mandate.xml index d3087131..edaf94b7 100644 --- a/structure/syntax/part/payment-mandate.xml +++ b/structure/syntax/part/payment-mandate.xml @@ -6,6 +6,9 @@ A group of business terms to specify a direct debit. BG-19 BR-67 + DE-R-023-2 + DE-R-024-2 + DE-R-025-1 cbc:ID From c14e303611021ba208c61a0d6ec46266f87f032d Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 09:16:53 +0200 Subject: [PATCH 077/145] try fix --- rules/unit-UBL-DE/UBL-IN_DE-R-018.xml | 1 - rules/unit-UBL-DE/UBL-IN_DE-R-019.xml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-018.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-018.xml index ed10ef52..c17a28ce 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-018.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-018.xml @@ -112,7 +112,6 @@ #SKONTO#TAGE=7#PROZENT=2.00# #SKONTO#TAGE=14#PROZENT=1.00#BASISBETRAG=2.53# - #VERZUG#TAGE=30#PROZENT=0.00# #SKONTO#TAGE=14#PROZENT=1.00#BASISBETRAG=-5.53# diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml index ca1ba95c..653af726 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml @@ -1,7 +1,7 @@ - DE-R-019 The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). + DE-R-019 The element Payment account identifier (BT-84) should contain a valid IBAN if code 58 SEPA is provided in Payment means type code (BT-81). DE-R-019 @@ -124,7 +124,7 @@ - DE-R-019 + DE-R-019 urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 From f90cc8d8b9cbf1fef00556751865951dd07b5dad Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 09:30:58 +0200 Subject: [PATCH 078/145] set warning to error --- rules/unit-UBL-DE/UBL-IN_DE-R-027.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml index c391d670..61b24c78 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml @@ -303,7 +303,7 @@ - DE-R-027 + DE-R-027 urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 From 20d8115f16e128b0788c17914a5ab90f9bd31360 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 09:41:03 +0200 Subject: [PATCH 079/145] remove misplaced tag --- rules/unit-UBL-DE/UBL-IN_DE-R-024.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml index 5b1bd81d..86aa28be 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-024.xml @@ -160,8 +160,6 @@ DE-R-024-1 - - 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 @@ -307,6 +305,7 @@ + DE-R-024-2 From d7d27b0ce09c0029e56a8e5f472ede8122ac3ec7 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 09:48:44 +0200 Subject: [PATCH 080/145] remove test assert description --- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index adb53b3a..16c2990d 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -7,7 +7,6 @@ DE-R-020 - DE-R-020 unit test urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 @@ -460,7 +459,6 @@ DE-R-020 - DE-R-020 unit test urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 From 366f7842e390c24916e60d00202559531e593e4a Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 10:10:10 +0200 Subject: [PATCH 081/145] reduce test file to relevant elements and add references --- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 870 +------------------------- structure/syntax/part/payment.xml | 1 + structure/syntax/ubl-invoice.xml | 1 + 3 files changed, 6 insertions(+), 866 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index 16c2990d..99d00f26 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -9,82 +9,7 @@ DE-R-020 - 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 - 123456789 - 2019-02-28 - 2019-03-14 - 380 - EUR - 90000000-03083-12 - - 2018-05-01 - 2019-01-31 - - - CR123456 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen - Leistungspositionen - - - - 123456 - - - [Bank assigned creditor identifier] - - - [Seller name] - - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - [Seller name] - - - Kundencenter - 0800-12345678 - kundencenter@sellder.de - - - - - - 123456 - - BI123456 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - + 59 @@ -96,363 +21,7 @@ - - Dieses Guthaben werden wir auf Ihr Konto erstatten. - - - 117.58 - - 578.89 - 109.99 - - S - 19 - - VAT - - - - - 108.39 - 7.59 - - S - 7 - - VAT - - - - - - 687.28 - 687.28 - 804.86 - 1030 - -225.14 - - - 1.1 - Arbeitspreis Strom - 935 - 204.3 - - 2018-05-01 - 2018-12-31 - - - Arbeitspreis Strom - - S - 19 - - VAT - - - - - 0.2185 - - - - 1.2 - Arbeitspreis Strom - 119 - 26 - - 2019-01-01 - 2019-01-31 - - - Arbeitspreis Strom - - S - 19 - - VAT - - - - - 0.2185 - - - - 1.3 - Grundpreis Strom - 245 - 25.05 - - 2018-05-01 - 2018-12-31 - - - Grundpreis Strom - - S - 19 - - VAT - - - - - 0.1022449 - - - - 1.4 - Grundpreis Strom - 31 - 3.17 - - 2019-01-01 - 2019-01-31 - - - Grundpreis Strom - - S - 19 - - VAT - - - - - 0.10225806 - - - - 2.1 - Arbeitspreis Gas - 328 - 13.28 - - 2018-05-01 - 2018-07-03 - - - Arbeitspreis Gas - - S - 19 - - VAT - - - - - 0.0405 - - - - 2.2 - Arbeitspreis Gas - 3875 - 156.94 - - 2018-07-04 - 2018-12-31 - - - Arbeitspreis Gas - - S - 19 - - VAT - - - - - 0.0405 - - - - 2.3 - Arbeitspreis Gas - 1746 - 70.71 - - 2019-01-01 - 2019-01-31 - - - Arbeitspreis Gas - - S - 19 - - VAT - - - - - 0.0405 - - - - 2.4 - Grundpreis Gas - 64 - 18.42 - - 2018-05-01 - 2018-07-03 - - - Grundpreis Gas - - S - 19 - - VAT - - - - - 0.2878125 - - - - 2.5 - Grundpreis Gas - 181 - 52.09 - - 2018-07-04 - 2018-12-31 - - - Grundpreis Gas - - S - 19 - - VAT - - - - - 0.28779006 - - - - 2.6 - Grundpreis Gas - 31 - 8.93 - - 2019-01-01 - 2019-01-31 - - - Grundpreis Gas - - S - 19 - - VAT - - - - - 0.28806452 - - - - 3.1 - Arbeitspreis Wasser - 25 - 46.5 - - 2018-05-01 - 2018-12-31 - - - Arbeitspreis Wasser - - S - 7 - - VAT - - - - - 1.86 - - - - 3.2 - Arbeitspreis Wasser - 4 - 7.44 - - 2019-01-01 - 2019-01-31 - - - Arbeitspreis Wasser - - S - 7 - - VAT - - - - - 1.86 - - - - 3.3 - Grundpreis Wasser - 245 - 48.33 - - 2018-05-01 - 2018-12-31 - - - Grundpreis Wasser - - S - 7 - - VAT - - - - - 0.1973 - - - - 3.4 - Grundpreis Wasser - 31 - 6.12 - - 2019-01-01 - 2019-01-31 - - - Grundpreis Wasser - - S - 7 - - VAT - - - - - 0.1973 - - + @@ -461,82 +30,7 @@ DE-R-020 - 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 - 123456789 - 2019-02-28 - 2019-03-14 - 380 - EUR - 90000000-03083-12 - - 2018-05-01 - 2019-01-31 - - - CR123456 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen - Leistungspositionen - - - - 123456 - - - [Bank assigned creditor identifier] - - - [Seller name] - - - [Seller address line 1] - [Seller city] - 12345 - - DE - - - - DEU123456789 - - VAT - - - - [Seller name] - - - Kundencenter - 0800-12345678 - kundencenter@sellder.de - - - - - - 123456 - - BI123456 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer city] - 12345 - - DE - - - - [Buyer name] - - - + 59 @@ -548,363 +42,7 @@ - - Dieses Guthaben werden wir auf Ihr Konto erstatten. - - - 117.58 - - 578.89 - 109.99 - - S - 19 - - VAT - - - - - 108.39 - 7.59 - - S - 7 - - VAT - - - - - - 687.28 - 687.28 - 804.86 - 1030 - -225.14 - - - 1.1 - Arbeitspreis Strom - 935 - 204.3 - - 2018-05-01 - 2018-12-31 - - - Arbeitspreis Strom - - S - 19 - - VAT - - - - - 0.2185 - - - - 1.2 - Arbeitspreis Strom - 119 - 26 - - 2019-01-01 - 2019-01-31 - - - Arbeitspreis Strom - - S - 19 - - VAT - - - - - 0.2185 - - - - 1.3 - Grundpreis Strom - 245 - 25.05 - - 2018-05-01 - 2018-12-31 - - - Grundpreis Strom - - S - 19 - - VAT - - - - - 0.1022449 - - - - 1.4 - Grundpreis Strom - 31 - 3.17 - - 2019-01-01 - 2019-01-31 - - - Grundpreis Strom - - S - 19 - - VAT - - - - - 0.10225806 - - - - 2.1 - Arbeitspreis Gas - 328 - 13.28 - - 2018-05-01 - 2018-07-03 - - - Arbeitspreis Gas - - S - 19 - - VAT - - - - - 0.0405 - - - - 2.2 - Arbeitspreis Gas - 3875 - 156.94 - - 2018-07-04 - 2018-12-31 - - - Arbeitspreis Gas - - S - 19 - - VAT - - - - - 0.0405 - - - - 2.3 - Arbeitspreis Gas - 1746 - 70.71 - - 2019-01-01 - 2019-01-31 - - - Arbeitspreis Gas - - S - 19 - - VAT - - - - - 0.0405 - - - - 2.4 - Grundpreis Gas - 64 - 18.42 - - 2018-05-01 - 2018-07-03 - - - Grundpreis Gas - - S - 19 - - VAT - - - - - 0.2878125 - - - - 2.5 - Grundpreis Gas - 181 - 52.09 - - 2018-07-04 - 2018-12-31 - - - Grundpreis Gas - - S - 19 - - VAT - - - - - 0.28779006 - - - - 2.6 - Grundpreis Gas - 31 - 8.93 - - 2019-01-01 - 2019-01-31 - - - Grundpreis Gas - - S - 19 - - VAT - - - - - 0.28806452 - - - - 3.1 - Arbeitspreis Wasser - 25 - 46.5 - - 2018-05-01 - 2018-12-31 - - - Arbeitspreis Wasser - - S - 7 - - VAT - - - - - 1.86 - - - - 3.2 - Arbeitspreis Wasser - 4 - 7.44 - - 2019-01-01 - 2019-01-31 - - - Arbeitspreis Wasser - - S - 7 - - VAT - - - - - 1.86 - - - - 3.3 - Grundpreis Wasser - 245 - 48.33 - - 2018-05-01 - 2018-12-31 - - - Grundpreis Wasser - - S - 7 - - VAT - - - - - 0.1973 - - - - 3.4 - Grundpreis Wasser - 31 - 6.12 - - 2019-01-01 - 2019-01-31 - - - Grundpreis Wasser - - S - 7 - - VAT - - - - - 0.1973 - - + diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index 1eaf667a..fbde8ff0 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -6,6 +6,7 @@ A group of business terms providing information about the payment. BG-16 DE-R-001 + DE-R-020 cbc:PaymentMeansCode diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index ff23b14b..0ed0027c 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -358,6 +358,7 @@ A group of business terms providing information about the payment. BG-16 DE-R-001 + DE-R-020 cbc:PaymentMeansCode From 18457250e0c4a3e687801c3850a69b8c82f7d2f6 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 10:25:02 +0200 Subject: [PATCH 082/145] test no references --- structure/syntax/part/payment.xml | 2 -- structure/syntax/ubl-invoice.xml | 1 - 2 files changed, 3 deletions(-) diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index fbde8ff0..23a93dbd 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -6,7 +6,6 @@ A group of business terms providing information about the payment. BG-16 DE-R-001 - DE-R-020 cbc:PaymentMeansCode @@ -181,7 +180,6 @@ Identifier BT-91 DK-R-007 - DE-R-020 DE-R-031 12345676543 diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 0ed0027c..ff23b14b 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -358,7 +358,6 @@ A group of business terms providing information about the payment. BG-16 DE-R-001 - DE-R-020 cbc:PaymentMeansCode From d3683805594009708df46658dd9c884dce75ac4d Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 10:31:15 +0200 Subject: [PATCH 083/145] add references --- structure/syntax/ubl-creditnote.xml | 1 + structure/syntax/ubl-invoice.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index d22641da..7e2185f3 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -443,6 +443,7 @@ A group of business terms providing information about the payment. BG-16 DE-R-001 + DE-R-020 cbc:PaymentMeansCode diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index ff23b14b..0ed0027c 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -358,6 +358,7 @@ A group of business terms providing information about the payment. BG-16 DE-R-001 + DE-R-020 cbc:PaymentMeansCode From c8f778f7ede741fc649c0c2dc34c3e0bf13c6cc9 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 10:37:29 +0200 Subject: [PATCH 084/145] test --- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 876 +++++++++++++++++++++++++- 1 file changed, 870 insertions(+), 6 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index 99d00f26..4d71e3d7 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -6,10 +6,86 @@ - DE-R-020 + DE-R-020 unit test + DE-R-020 - + 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 + 123456789 + 2019-02-28 + 2019-03-14 + 380 + EUR + 90000000-03083-12 + + 2018-05-01 + 2019-01-31 + + + CR123456 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen + Leistungspositionen + + + + 123456 + + + [Bank assigned creditor identifier] + + + [Seller name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + [Seller name] + + + Kundencenter + 0800-12345678 + kundencenter@sellder.de + + + + + + 123456 + + BI123456 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + 59 @@ -21,16 +97,448 @@ - + + Dieses Guthaben werden wir auf Ihr Konto erstatten. + + + 117.58 + + 578.89 + 109.99 + + S + 19 + + VAT + + + + + 108.39 + 7.59 + + S + 7 + + VAT + + + + + + 687.28 + 687.28 + 804.86 + 1030 + -225.14 + + + 1.1 + Arbeitspreis Strom + 935 + 204.3 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.2 + Arbeitspreis Strom + 119 + 26 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.3 + Grundpreis Strom + 245 + 25.05 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1022449 + + + + 1.4 + Grundpreis Strom + 31 + 3.17 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.10225806 + + + + 2.1 + Arbeitspreis Gas + 328 + 13.28 + + 2018-05-01 + 2018-07-03 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.2 + Arbeitspreis Gas + 3875 + 156.94 + + 2018-07-04 + 2018-12-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.3 + Arbeitspreis Gas + 1746 + 70.71 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.4 + Grundpreis Gas + 64 + 18.42 + + 2018-05-01 + 2018-07-03 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.2878125 + + + + 2.5 + Grundpreis Gas + 181 + 52.09 + + 2018-07-04 + 2018-12-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.28779006 + + + + 2.6 + Grundpreis Gas + 31 + 8.93 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.28806452 + + + + 3.1 + Arbeitspreis Wasser + 25 + 46.5 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.2 + Arbeitspreis Wasser + 4 + 7.44 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.3 + Grundpreis Wasser + 245 + 48.33 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + 3.4 + Grundpreis Wasser + 31 + 6.12 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + - DE-R-020 + DE-R-020 unit test + DE-R-020 - + 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 + 123456789 + 2019-02-28 + 2019-03-14 + 380 + EUR + 90000000-03083-12 + + 2018-05-01 + 2019-01-31 + + + CR123456 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen + Leistungspositionen + + + + 123456 + + + [Bank assigned creditor identifier] + + + [Seller name] + + + [Seller address line 1] + [Seller city] + 12345 + + DE + + + + DEU123456789 + + VAT + + + + [Seller name] + + + Kundencenter + 0800-12345678 + kundencenter@sellder.de + + + + + + 123456 + + BI123456 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer city] + 12345 + + DE + + + + [Buyer name] + + + 59 @@ -42,7 +550,363 @@ - + + Dieses Guthaben werden wir auf Ihr Konto erstatten. + + + 117.58 + + 578.89 + 109.99 + + S + 19 + + VAT + + + + + 108.39 + 7.59 + + S + 7 + + VAT + + + + + + 687.28 + 687.28 + 804.86 + 1030 + -225.14 + + + 1.1 + Arbeitspreis Strom + 935 + 204.3 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.2 + Arbeitspreis Strom + 119 + 26 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Strom + + S + 19 + + VAT + + + + + 0.2185 + + + + 1.3 + Grundpreis Strom + 245 + 25.05 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.1022449 + + + + 1.4 + Grundpreis Strom + 31 + 3.17 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Strom + + S + 19 + + VAT + + + + + 0.10225806 + + + + 2.1 + Arbeitspreis Gas + 328 + 13.28 + + 2018-05-01 + 2018-07-03 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.2 + Arbeitspreis Gas + 3875 + 156.94 + + 2018-07-04 + 2018-12-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.3 + Arbeitspreis Gas + 1746 + 70.71 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Gas + + S + 19 + + VAT + + + + + 0.0405 + + + + 2.4 + Grundpreis Gas + 64 + 18.42 + + 2018-05-01 + 2018-07-03 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.2878125 + + + + 2.5 + Grundpreis Gas + 181 + 52.09 + + 2018-07-04 + 2018-12-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.28779006 + + + + 2.6 + Grundpreis Gas + 31 + 8.93 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Gas + + S + 19 + + VAT + + + + + 0.28806452 + + + + 3.1 + Arbeitspreis Wasser + 25 + 46.5 + + 2018-05-01 + 2018-12-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.2 + Arbeitspreis Wasser + 4 + 7.44 + + 2019-01-01 + 2019-01-31 + + + Arbeitspreis Wasser + + S + 7 + + VAT + + + + + 1.86 + + + + 3.3 + Grundpreis Wasser + 245 + 48.33 + + 2018-05-01 + 2018-12-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + + + 3.4 + Grundpreis Wasser + 31 + 6.12 + + 2019-01-01 + 2019-01-31 + + + Grundpreis Wasser + + S + 7 + + VAT + + + + + 0.1973 + + From 36e7252cb35c8e486ab06fdfe278a7081874e413 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 10:48:36 +0200 Subject: [PATCH 085/145] remove reference from creditnote --- structure/syntax/ubl-creditnote.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index 7e2185f3..d22641da 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -443,7 +443,6 @@ A group of business terms providing information about the payment. BG-16 DE-R-001 - DE-R-020 cbc:PaymentMeansCode From 4b8a269a7728194c8ee717a7ff2334ef59b07805 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 10:59:59 +0200 Subject: [PATCH 086/145] add reference --- structure/syntax/ubl-invoice.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 0ed0027c..bc544fc2 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -377,6 +377,7 @@ Payment means text The means, expressed as text, for how a payment is expected to be or has been settled. + DE-R-020 Text BT-82 Credit transfer From 4a64b6cd2dc6e61d7a4aa572b99709253cc21c39 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 12:58:58 +0200 Subject: [PATCH 087/145] update with XRechnung schematron version 2.0.0 --- rules/sch/PEPPOL-EN16931-UBL.sch | 252 +++++++++++++++---------------- 1 file changed, 126 insertions(+), 126 deletions(-) diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 4da92617..396af4fd 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -654,133 +654,133 @@ Last update: 2023 May release 3.0.15. - - - - - - - - An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). - The element "Buyer reference" (BT-10) shall be provided. - - - - - - - - If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11). - - The element "Invoice type code" (BT-3) should only contain the following values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). - Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed. - Attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125). - If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. - If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided. - If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided. - - - The group "SELLER CONTACT" (BG-6) shall be provided. - - - The element "Seller city" (BT-37) shall be provided. - The element "Seller post code" (BT-38) shall be provided. - - - The element "Seller contact point" (BT-41) shall be provided. - The element "Seller contact telephone number" (BT-42) shall be provided. - The element "Seller contact email address" (BT-43) shall be provided. - "Seller contact telephone number" (BT-42) should contain a valid telephone number. A valid telephone should consist of 3 digits minimum. - "Seller contact email address" (BT-43) should contain exactly one @-sign, which should not be framed by a whitespace or a dot but by at least two characters on each side. A dot should not be the first or last character. - - - The element "Buyer city" (BT-52) shall be provided. - The element "Buyer post code" (BT-53) shall be provided. - - - The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. - The element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. - - + + + + + + + + An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). + The element "Buyer reference" (BT-10) shall be provided. + + + + + + + + If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11). + + The element "Invoice type code" (BT-3) should only contain the following values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). + Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed. + Attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125). + If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. + If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided. + If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided. + + + The group "SELLER CONTACT" (BG-6) shall be provided. + + + The element "Seller city" (BT-37) shall be provided. + The element "Seller post code" (BT-38) shall be provided. + + + The element "Seller contact point" (BT-41) shall be provided. + The element "Seller contact telephone number" (BT-42) shall be provided. + The element "Seller contact email address" (BT-43) shall be provided. + "Seller contact telephone number" (BT-42) should contain a valid telephone number. A valid telephone should consist of 3 digits minimum. + "Seller contact email address" (BT-43) should contain exactly one @-sign, which should not be framed by a whitespace or a dot but by at least two characters on each side. A dot should not be the first or last character. + + + The element "Buyer city" (BT-52) shall be provided. + The element "Buyer post code" (BT-53) shall be provided. + + + The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. + The element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. + + - The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). - If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. - If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), BG-18 and BG-19 shall not be provided. - - - If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. - If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), BG-17 and BG-19 shall not be provided. - - - The element "Debited account identifier" (BT-91) should contain a valid IBAN if code 59 SEPA is provided in "Payment means type code" (BT-81). - If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. - If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided. - - - The element "VAT category rate" (BT-119) shall be provided. - - + The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). + If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. + If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), BG-18 and BG-19 shall not be provided. + + + If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. + If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), BG-17 and BG-19 shall not be provided. + + + The element "Debited account identifier" (BT-91) should contain a valid IBAN if code 59 SEPA is provided in "Payment means type code" (BT-81). + If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. + If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided. + + + The element "VAT category rate" (BT-119) shall be provided. + + From 13db8a50370ee9fc50155939b7469e5755e5b4e0 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 25 Jul 2023 12:59:34 +0200 Subject: [PATCH 088/145] various changes --- rules/unit-UBL-DE/UBL-IN_DE-R-019.xml | 4 +- structure/syntax/part/payment.xml | 2 +- structure/syntax/ubl-invoice.xml | 210 +++++++++++--------------- 3 files changed, 93 insertions(+), 123 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml index 653af726..7247c550 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-019.xml @@ -6,6 +6,7 @@ + DE-R-019 unit test DE-R-019 @@ -124,7 +125,8 @@ - DE-R-019 + DE-R-019 unit test + DE-R-019 urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml index 23a93dbd..29bddef3 100644 --- a/structure/syntax/part/payment.xml +++ b/structure/syntax/part/payment.xml @@ -18,7 +18,7 @@ BR-CL-16 DK-R-005 SE-R-011 - DE-R-019 + DE-R-019 UNCL4461 diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index bc544fc2..cf746941 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -17,9 +17,7 @@ cbc:CustomizationID Specification identifier - An identification of the specification containing the total set of rules regarding semantic - content, cardinalities and business rules to which the data contained in the instance document conforms. - + An identification of the specification containing the total set of rules regarding semantic content, cardinalities and business rules to which the data contained in the instance document conforms. Identifier BT-24 PEPPOL-EN16931-R004 @@ -30,9 +28,7 @@ cbc:ProfileID Business process type - Identifies the business process context in which the transaction appears, to enable the Buyer to - process the Invoice in an appropriate way. - + Identifies the business process context in which the transaction appears, to enable the Buyer to process the Invoice in an appropriate way. Text BT-23 PEPPOL-EN16931-R001 @@ -43,8 +39,7 @@ cbc:ID Invoice number - A unique identification of the Invoice. The sequential number required in Article 226(2) of the directive 2006/112/EC [2], to uniquely identify the Invoice - within the business context, time-frame, operating systems and records of the Seller. No identification scheme is to be used. + A unique identification of the Invoice. The sequential number required in Article 226(2) of the directive 2006/112/EC [2], to uniquely identify the Invoice within the business context, time-frame, operating systems and records of the Seller. No identification scheme is to be used. Identifier BT-1 BR-02 @@ -90,9 +85,7 @@ cbc:Note Invoice note - A textual note that gives unstructured information that is relevant to the Invoice as a whole.Such as the reason for any correction or - assignment note in case the invoice has been factored. - + A textual note that gives unstructured information that is relevant to the Invoice as a whole.Such as the reason for any correction or assignment note in case the invoice has been factored. Text BT-22 PEPPOL-EN16931-R002 @@ -103,9 +96,7 @@ cbc:TaxPointDate Value added tax point date - The date when the VAT becomes accountable for the Seller and for the Buyer in so far as that date - can be determined and differs from the date of issue of the invoice, according to the VAT directive.This element is required if the Value added tax point date is different from the Invoice issue date. - + The date when the VAT becomes accountable for the Seller and for the Buyer in so far as that date can be determined and differs from the date of issue of the invoice, according to the VAT directive.This element is required if the Value added tax point date is different from the Invoice issue date. Date BT-7 BR-CO-03 @@ -115,9 +106,7 @@ cbc:DocumentCurrencyCode Invoice currency code - The currency in which all Invoice amounts are given, except for the Total VAT amount in accounting - currency. Only one currency shall be used in the Invoice, except for the VAT accounting currency code (BT-6) and the invoice total VAT amount in accounting currency (BT-111). - + The currency in which all Invoice amounts are given, except for the Total VAT amount in accounting currency. Only one currency shall be used in the Invoice, except for the VAT accounting currency code (BT-6) and the invoice total VAT amount in accounting currency (BT-111). Code BT-5 BR-05 @@ -129,15 +118,12 @@ cbc:TaxCurrencyCode VAT accounting currency code - The currency used for VAT accounting and reporting purposes as accepted or required in the country - of the Seller. Shall be used in combination with the Invoice total VAT amount in accounting currency (BT-111), when the VAT accounting currency code differs from the - Invoice currency code. - + The currency used for VAT accounting and reporting purposes as accepted or required in the country of the Seller. Shall be used in combination with the Invoice total VAT amount in accounting currency (BT-111), when the VAT accounting currency code differs from the Invoice currency code. Code BT-6 BR-CL-05 PEPPOL-EN16931-R005 - PEPPOL-EN16931-R055 + PEPPOL-EN16931-R055 ISO4217 SEK @@ -145,12 +131,10 @@ cbc:AccountingCost Buyer accounting reference - A textual value that specifies where to book the relevant data into the Buyer's financial - accounts. - + A textual value that specifies where to book the relevant data into the Buyer's financial accounts. Text BT-19 - 4217:2323:2323 + 4217:2323:2323 @@ -167,8 +151,7 @@ cac:InvoicePeriod DELIVERY OR INVOICE PERIOD - A group of business terms providing information on the invoice period. Also called delivery period. - If the group is used, the invoiceing period start date and/or end date must be used. + A group of business terms providing information on the invoice period. Also called delivery period. If the group is used, the invoiceing period start date and/or end date must be used. BG-14 BR-IC-11 @@ -242,7 +225,7 @@ cac:InvoiceDocumentReference - INVOICE DOCUMENT REFERENCE + INVOICE DOCUMENT REFERENCE cbc:ID @@ -256,8 +239,7 @@ cbc:IssueDate Preceding Invoice issue date - The date when the Preceding Invoice was issued.Shall be - provided in case the Preceding Invoice identifier is not unique. Format = "YYYY-MM-DD". + The date when the Preceding Invoice was issued.Shall be provided in case the Preceding Invoice identifier is not unique. Format = "YYYY-MM-DD". Date BT-26 PEPPOL-EN16931-F001 @@ -321,11 +303,11 @@ 123Contractref - - + + part/additional-docs.xml - - + + cac:ProjectReference @@ -343,71 +325,66 @@ part/supplier-party.xml - + part/customer-party.xml - + part/payee-party.xml - + part/taxrep-party.xml - part/delivery.xml + part/delivery.xml - cac:PaymentMeans - PAYMENT INSTRUCTIONS - A group of business terms providing information about the payment. - BG-16 - DE-R-001 - DE-R-020 - - - cbc:PaymentMeansCode - Payment means type code - The means, expressed as code, for how a payment is expected to be or has been settled. - - Code - BT-81 - BR-49 - BR-CL-16 - UNCL4461 - - - - name - Payment means text - The means, expressed as text, for how a payment is expected to be or has been settled. - + cac:PaymentMeans + PAYMENT INSTRUCTIONS + A group of business terms providing information about the payment. + BG-16 + DE-R-001 + + + cbc:PaymentMeansCode + Payment means type code + The means, expressed as code, for how a payment is expected to be or has been settled. + Code + BT-81 + BR-49 + BR-CL-16 DE-R-020 + UNCL4461 + + + + name + Payment means text + The means, expressed as text, for how a payment is expected to be or has been settled. + Text + BT-82 + Credit transfer + + + 30 + + + + + cbc:PaymentID + Remittance information + A textual value used to establish a link between the payment and the Invoice, issued by the Seller. Used for creditor's critical reconciliation information. This information element helps the Seller to assign an incoming payment to the relevant payment process. Text - BT-82 - Credit transfer - - - 30 - - - - - cbc:PaymentID - Remittance information - A textual value used to establish a link between the payment and the Invoice, issued by the - Seller. Used for creditor's critical reconciliation information. This information element helps the Seller to assign an incoming payment to the relevant payment process. - - Text - BT-83 - 432948234234234 - - + BT-83 + 432948234234234 + + part/card-payment.xml - + part/credit-transfer.xml - + part/payment-mandate.xml - + - - + + cac:PaymentTerms @@ -416,9 +393,7 @@ cbc:Note Payment terms - A textual description of the payment terms that apply to the amount due for payment (Including - description of possible penalties). In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. - + A textual description of the payment terms that apply to the amount due for payment (Including description of possible penalties). In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. Text BT-20 BR-CO-25 @@ -426,25 +401,25 @@ Net within 30 days - + part/allowance-charge.xml - + part/tax-total.xml - + part/monetary-totals.xml - - + + cac:InvoiceLine INVOICE LINE A group of business terms providing information on individual Invoice lines. BG-25 BR-16 - - - + + + cbc:ID @@ -459,8 +434,7 @@ cbc:Note Invoice line note - A textual note that gives unstructured information that is relevant to the Invoice line. - + A textual note that gives unstructured information that is relevant to the Invoice line. Text BT-127 New article number 12345 @@ -478,10 +452,8 @@ unitCode Invoiced quantity unit of measure - The unit of measure that applies to the invoiced quantity. - Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the "Intro" section of UN/ECE Recommendation 20, Revision 11 (2015): - The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure. - + The unit of measure that applies to the invoiced quantity. Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the "Intro" section of UN/ECE Recommendation 20, Revision 11 (2015): The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed + with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure. Code BT-130 BR-23 @@ -494,9 +466,7 @@ cbc:LineExtensionAmount Invoice line net amount - The total amount of the Invoice line. - The amount is “net” without VAT, i.e. inclusive of line level allowances and charges as well as other relevant taxes. - Must be rounded to maximum 2 decimals. + The total amount of the Invoice line. The amount is “net” without VAT, i.e. inclusive of line level allowances and charges as well as other relevant taxes. Must be rounded to maximum 2 decimals. Amount BT-131 BR-24 @@ -504,7 +474,7 @@ BR-DEC-23 UBL-DT-01 BR-CL-03 - + currencyID Mandatory attribute. Use BT-5 @@ -513,24 +483,22 @@ ISO4217 EUR - + 2145.00 cbc:AccountingCost Invoice line Buyer accounting reference - A textual value that specifies where to book the relevant data into the Buyer's financial - accounts. - + A textual value that specifies where to book the relevant data into the Buyer's financial accounts. Identifier BT-133 1287:65464 - + part/line-period.xml - + cac:OrderLineReference @@ -558,7 +526,7 @@ An identifier for an object on which the invoice line is based, given by the Seller. Identifier BT-128 - + schemeID Invoice line object identifier identification scheme identifier @@ -568,7 +536,7 @@ AB12345 - + cbc:DocumentTypeCode Document type code @@ -577,16 +545,16 @@ BT-128 130 - + - + part/line-allowance-charge.xml part/item.xml - + part/price.xml - + - \ No newline at end of file + From 6aff14e99332ecba3e38cace1f5860d557adcc98 Mon Sep 17 00:00:00 2001 From: Jelte Jansen Date: Tue, 19 Mar 2024 11:44:20 +0100 Subject: [PATCH 089/145] Make country-specific rule NL-R-008 domestic-only (PB3-UBL) As suggested by https://github.com/peppolautoriteit-nl/validation/issues/41, and discussed within the NPa SP tech community, this rule should trigger only for domestic traffic. Therefore, this change adds a check for the customer's country in the rule context, similar to other rules. Test case added as well, but the usual disclaimer applies. --- rules/sch/PEPPOL-EN16931-UBL.sch | 4 +- rules/unit-UBL-NL/NL-R-008.xml | 282 +++++++++++++++++++++++++++++++ 2 files changed, 284 insertions(+), 2 deletions(-) diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index afb328cb..bb1353c0 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -640,14 +640,14 @@ Last update: 2023 May release 3.0.15. [NL-R-007] For suppliers in the Netherlands, the supplier MUST provide a means of payment (cac:PaymentMeans) if the payment is from customer to supplier - + [NL-R-008] For suppliers in the Netherlands, the payment means code (cac:PaymentMeans/cbc:PaymentMeansCode) MUST be one of 30, 48, 49, 57, 58 or 59 + normalize-space(cbc:PaymentMeansCode) = '59'" flag="fatal">[NL-R-008] For suppliers in the Netherlands, if the customer is in the Netherlands, the payment means code (cac:PaymentMeans/cbc:PaymentMeansCode) MUST be one of 30, 48, 49, 57, 58 or 59 diff --git a/rules/unit-UBL-NL/NL-R-008.xml b/rules/unit-UBL-NL/NL-R-008.xml index 9c2575e1..e71e47cb 100755 --- a/rules/unit-UBL-NL/NL-R-008.xml +++ b/rules/unit-UBL-NL/NL-R-008.xml @@ -568,4 +568,286 @@ + + + NL-R-008 + + + 2.1 + 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 + 10000005 + 2021-02-23 + 380 + KIA STONIC PE 1.0 TGDI 100pk MHEV DynamicPlusLine + EUR + + 2021-02-23 + 2021-02-23 + + + Customer PO number + + + attachment.PDF + + BASE64CODEINHERE + + + + + 12345678 + + Leaseme NL B.V. + + + Emma van Laarsomweg 3 + Rotterdam + 3050 DG + + NL + + + + NL123456789B01 + + VAT + + + + Leaseme NL B.V. + 12345678 + + + Supplier contact name + 051-1111111 + supplier@leaseme.com + + + + + + 87654321 + + Customer name + + + Street 2 + City + 1234 AB + + SE + + + + NL987654321B01 + + VAT + + + + Customer name as registered in KvK + 87654321 + + + + + 2021-02-24 + + + 1 + + NL63RABO00000000123 + + INGBNL2A + + + + + Payment according to agreed payment terms + + + true + Kosten afgifte kenteken deel 1A + 53.40 + + Z + 0 + + VAT + + + + + true + BPM + 3410.00 + + Z + 0 + + VAT + + + + + 3595.17 + + 17119.80 + 3595.17 + + S + 21.00 + + VAT + + + + + 3463.40 + 0.00 + + Z + 0.00 + + VAT + + + + + + 17119.80 + 20583.20 + 24178.37 + 3463.40 + 0.00 + 24178.37 + + + 1 + 1 + 15929.32 + + false + Korting 8,5% + 8.5 + 1479.77 + 17409.09 + + + Verkoopprijs personenwagen exclusief bpm en btw + + S + 21.00 + + VAT + + + + + + 17409.09 + + + + 2 + 1 + 449.94 + + false + Totaal korting opties en accessoires + 41.80 + + + Opties en accessoires + + S + 21.00 + + VAT + + + + Kleur + Perennial Grey + + + + 491.74 + + + + 3 + 1 + 600.50 + + Kosten rijklaarmaken + + S + 21.00 + + VAT + + + + + 600.50 + + + + 4 + 1 + 45.00 + + Mattenset, gevarendriehoek en lampenset + + S + 21.00 + + VAT + + + + + 45.00 + + + + 5 + 1 + 61.98 + + Brandstof + + S + 21.00 + + VAT + + + + + 61.98 + + + + 6 + 1 + 33.06 + + Recyclingbijdrage + + S + 21.00 + + VAT + + + + + 33.06 + + + + From 38e4612b4a72c8a8f96db4fce04e6a45ca410b71 Mon Sep 17 00:00:00 2001 From: Jelte Jansen Date: Tue, 19 Mar 2024 12:05:54 +0100 Subject: [PATCH 090/145] Make country-specific rule NL-R-008 domestic-only (PB3-CII) See commit 6aff14e99332ecba3e38cace1f5860d557adcc98, but this time for CII. --- rules/sch/PEPPOL-EN16931-CII.sch | 4 +- rules/unit-CII-NL/NL-R-008.xml | 173 +++++++++++++++++++++++++++++++ 2 files changed, 175 insertions(+), 2 deletions(-) diff --git a/rules/sch/PEPPOL-EN16931-CII.sch b/rules/sch/PEPPOL-EN16931-CII.sch index 515b276c..328ea33a 100644 --- a/rules/sch/PEPPOL-EN16931-CII.sch +++ b/rules/sch/PEPPOL-EN16931-CII.sch @@ -485,14 +485,14 @@ Last update: 2022 May release 3.0.13. [NL-R-007] For suppliers in the Netherlands, the supplier MUST provide a means of payment (ram:SpecifiedTradeSettlementPaymentMeans) if the payment is from customer to supplier - + [NL-R-008] For suppliers in the Netherlands, the payment means code (ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode) MUST be one of 30, 48, 49, 57, 58 or 59 + normalize-space(ram:TypeCode) = '59'" flag="fatal">[NL-R-008] For suppliers in the Netherlands, if the customer is in the Netherlands, the payment means code (ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode) MUST be one of 30, 48, 49, 57, 58 or 59 diff --git a/rules/unit-CII-NL/NL-R-008.xml b/rules/unit-CII-NL/NL-R-008.xml index 67c3aad0..b70f4949 100755 --- a/rules/unit-CII-NL/NL-R-008.xml +++ b/rules/unit-CII-NL/NL-R-008.xml @@ -401,4 +401,177 @@ + + + + NL-R-008 + + + + + + + + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + + + urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 + + + + 1100512149 + 380 + + 20141110 + + + + Periodieke afrekening + U vindt een toelichting op uw factuur via www.energieleverancier.nl/factuur_grootzakelijk + Op alle diensten en overeenkomsten zijn de algemene voorwaarden aansluiting en + transport grootverbruik elektriciteit, respectievelijk gas van toepassing + www.energieleverancier.nl + + + + + + + 1 + + + Getransporteerde kWh’s + + + + 1 + + + 100.00 + 1.00 + + + + 1 + + + + VAT + S + 21 + + + 100.00 + + + + + + Energieleverancier B.V. + + 17131139 + Energieleverancier + + + + klantenservice.zakelijk@energieleverancier.nl + + + + 5223MB + Magistratenlaan 116 + 'S-HERTOGENBOSCH + NL + + + 12345678 + + + NL809561074B01 + + + + 1081119 + Klant + + 13524678 + + + 9999 XX + Bedrijfslaan 4 + ONDERNEMERSTØD + SE + + + 12345678 + + + + PO4711 + + + 871694831000290806 + 130 + + + + + + 9999 XX + Bedrijfslaan 4, + ONDERNEMERSTAD + NL + + + + + 1100512149 + EUR + + 54 + + NL28RBOS0420242228 + + + + 30 + + NL28RBOS0420242228 + + + + 21.00 + VAT + 100.00 + S + 21 + + + + 20140801 + + + 20140831 + + + + + Energieleverancier brengt wettelijke rente in rekening over te laat betaalde + facturen. Kijk voor informatie op www.energieleverancier.nl/rentenota + + + 20141124 + + + + 100.00 + 100.00 + 21.00 + 121.00 + 121.00 + + + + + From 113dc60f489e67f758f72bf6546a0449f4db63dc Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Wed, 28 Aug 2024 20:55:39 +0200 Subject: [PATCH 091/145] POACC-547 --- guide/release-notes/main.adoc | 2 ++ guide/release-notes/v3.0.18.adoc | 13 +++++++++++++ rules/sch/PEPPOL-EN16931-UBL.sch | 7 ++++++- structure/syntax/ubl-creditnote.xml | 2 +- structure/syntax/ubl-invoice.xml | 2 +- 5 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 guide/release-notes/v3.0.18.adoc diff --git a/guide/release-notes/main.adoc b/guide/release-notes/main.adoc index b61fa451..c5a9dc74 100644 --- a/guide/release-notes/main.adoc +++ b/guide/release-notes/main.adoc @@ -15,6 +15,8 @@ IMPORTANT: Changes in code lists are also reflected by changes in the validation :leveloffset: +1 +include::v3.0.18.adoc[] + include::v3.0.17.adoc[] include::v3.0.16.adoc[] diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc new file mode 100644 index 00000000..f8d7276b --- /dev/null +++ b/guide/release-notes/v3.0.18.adoc @@ -0,0 +1,13 @@ += Version 3.0.17 +[horizontal] +Release date:: May 2024 + +== Changes to BIS document + +None + +== Changes to code lists and validation artefacts + +* The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. + +== EN 16931 schematrons updated diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 3071f8d3..d600f912 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -38,6 +38,11 @@ Last update: 2024 May release 3.0.17. else 'XX'"/> + + + @@ -252,7 +257,7 @@ Last update: 2024 May release 3.0.17. Business process MUST be provided. Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the process number. - No more than one note is allowed on document level. + No more than one note is allowed on document level, unless both the buyer and seller are German organizations. A buyer reference or purchase order reference MUST be provided. Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'. Only one tax total with tax subtotals MUST be provided. diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index c4f50351..30b93a56 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -91,7 +91,7 @@ 381 - + cbc:Note Invoice note A textual note that gives unstructured information that is relevant to the Invoice as a whole.Such as the reason for any correction or diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index ac66bb1c..d7eb4aa1 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -86,7 +86,7 @@ 380 - + cbc:Note Invoice note A textual note that gives unstructured information that is relevant to the Invoice as a whole.Such as the reason for any correction or From a9842e3ad9286a33c12292e72d654878c21ccafa Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Fri, 30 Aug 2024 09:55:07 +0200 Subject: [PATCH 092/145] Revert "Update build2.sh" This reverts commit 4deb14afacb3eef296b46ea4989d334cc6edca8b. --- build2.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/build2.sh b/build2.sh index 2cc6bdae..d4efb999 100644 --- a/build2.sh +++ b/build2.sh @@ -2,7 +2,6 @@ PROJECT=$(dirname $(readlink -f "$0")) -# Clean old target dir if [ -e $PROJECT/target ]; then docker run --rm -i -v $PROJECT:/src alpine:3.11 rm -rf /src/target || exit 1 fi From 79f360a16d3696df45576242bc76af036a7585df Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Fri, 30 Aug 2024 09:56:19 +0200 Subject: [PATCH 093/145] Revert "Create build2.sh" This reverts commit bdff9810cb06ea666a815c2a539de491785d734e. --- build2.sh | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 build2.sh diff --git a/build2.sh b/build2.sh deleted file mode 100644 index d4efb999..00000000 --- a/build2.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -PROJECT=$(dirname $(readlink -f "$0")) - -if [ -e $PROJECT/target ]; then - docker run --rm -i -v $PROJECT:/src alpine:3.11 rm -rf /src/target || exit 1 -fi - -# Structure -docker run --rm -i -v $PROJECT:/src -v $PROJECT/target:/target difi/vefa-structure:0.7 || exit 2 - -# Validator -docker run --rm -i -v $PROJECT:/src anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src || exit 3 - - -# Generate adoc-files from rules - -# CEN-EN16931-UBL -docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen.xquery -o:/target/CEN-EN16931-UBL-GENERAL.sch.adoc || exit 4 -docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen_syntax.xquery -o:/target/CEN-EN16931-UBL-SYNTAX.sch.adoc || exit 5 - -# PEPPOL-EN16931-UBL -docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol.xquery -o:/target/PEPPOL-EN16931-UBL-GENERAL.sch.adoc || exit 6 -docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol_national.xquery -o:/target/PEPPOL-EN16931-UBL-NATIONAL.sch.adoc || exit 7 - -# Example files -docker run --rm -i -v $PROJECT/target/site/files:/src alpine:3.6 rm -rf /src/BIS-Billing3-Examples.zip || exit 8 -docker run --rm -i -v $PROJECT/rules/examples:/src -v $PROJECT/target/site/files:/target -w /src kramos/alpine-zip -r /target/BIS-Billing3-Examples.zip . || exit 9 - -# Guides -docker run --rm -i -v $PROJECT:/documents -v $PROJECT/target:/target difi/asciidoctor || exit 10 - -# Fix ownership -docker run --rm -i -v $PROJECT:/src alpine:3.11 chown -R $(id -g $USER).$(id -g $USER) /src/target || exit 11 - -echo Done From 367248c66e10e5269d69f52f7519efc58c1f3493 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Fri, 30 Aug 2024 09:56:31 +0200 Subject: [PATCH 094/145] Revert "Update build-and-deploy-master.yml" This reverts commit eb16dc9d24587d984cf6d93c00b20fe494a8da3e. --- .github/workflows/build-and-deploy-master.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy-master.yml b/.github/workflows/build-and-deploy-master.yml index d60e5b37..b077a92c 100644 --- a/.github/workflows/build-and-deploy-master.yml +++ b/.github/workflows/build-and-deploy-master.yml @@ -12,4 +12,11 @@ jobs: uses: actions/checkout@v2 - name: Build Spec - run: bash ./build2.sh + run: bash ./build.sh + + - name: Deploy on S3 + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + run: | + aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/poacc/billing/3.0 From 276d874ac8eef199aa04740a27cacb3795492697 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Fri, 30 Aug 2024 09:56:39 +0200 Subject: [PATCH 095/145] Revert "Delete build-and-deploy-barnch.yml" This reverts commit 5cfeebee4de1cd9550949e74af942a9cc03d86f0. --- .github/workflows/build-and-deploy-barnch.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build-and-deploy-barnch.yml diff --git a/.github/workflows/build-and-deploy-barnch.yml b/.github/workflows/build-and-deploy-barnch.yml new file mode 100644 index 00000000..a9557948 --- /dev/null +++ b/.github/workflows/build-and-deploy-barnch.yml @@ -0,0 +1,22 @@ +name: Build and deploy non-master branch to test-docs +on: + push: + branches-ignore: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v2 + + - name: Build Spec + run: bash ./build.sh + + - name: Deploy on S3 + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + run: | + aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/poacc/${GITHUB_REF#refs/heads/}/billing/3.0 From 966d84f5f03652401cc8dd8e9ad9658a11abae5b Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Fri, 30 Aug 2024 18:05:07 +0200 Subject: [PATCH 096/145] Revert "Test" This reverts commit d5cfc198c7d8a70d689263efe7807af2d12ce058. # Conflicts: # README.adoc --- README.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/README.adoc b/README.adoc index 94af0cf9..540158c2 100644 --- a/README.adoc +++ b/README.adoc @@ -3,4 +3,3 @@ This repository contains the resources making up PEPPOL BIS Billing 3.0. Please use our link:https://openpeppol.atlassian.net/servicedesk/customer/portal/1[Service desk] to report any issues related to the specification. - From 30d6172dc5ad91e7ec6587578074afb2bc123617 Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Sun, 1 Sep 2024 14:16:41 +0200 Subject: [PATCH 097/145] add fatal check on Invoices with external reference attachment URI --- build.bat | 40 ++++++ guide/release-notes/v3.0.18.adoc | 18 +++ mapping/mapping-cii-ubl v2 fr19.xls | Bin 229376 -> 229376 bytes rules/examples/Allowance-example.xml | 4 +- rules/sch/PEPPOL-EN16931-CII.sch | 1 + rules/sch/PEPPOL-EN16931-UBL.sch | 8 +- rules/snippets/Calc.xml | 4 +- rules/snippets/Snippet-cn.xml | 2 +- rules/snippets/Snippet-full.xml | 2 +- rules/snippets/Snippet-refs.xml | 2 +- rules/snippets/direct-debit.xml | 2 +- rules/snippets/giro.xml | 2 +- rules/snippets/item.xml | 4 +- rules/snippets/payment-credit.xml | 2 +- rules/snippets/payment1.xml | 2 +- rules/snippets/price.xml | 4 +- rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml | 124 ++++++++++++++++++ rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml | 4 +- rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml | 110 ++++++++++++++++ 19 files changed, 313 insertions(+), 22 deletions(-) create mode 100644 build.bat create mode 100644 guide/release-notes/v3.0.18.adoc create mode 100644 rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml create mode 100644 rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml diff --git a/build.bat b/build.bat new file mode 100644 index 00000000..3991f832 --- /dev/null +++ b/build.bat @@ -0,0 +1,40 @@ +@echo off +setlocal + +REM Set the PROJECT variable to the current directory +set "PROJECT=%~dp0" + +REM Check if the target directory exists, if so, remove it +if exist "%PROJECT%target" ( + docker run --rm -i -v "%PROJECT%:/src" alpine:3.11 rm -rf /src/target +) + +REM Structure +docker run --rm -i ^ + -v "%PROJECT%:/src" ^ + -v "%PROJECT%target:/target" ^ + difi/vefa-structure:0.7 + +REM Validator +docker run --rm -i -v "%PROJECT%:/src" anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src + +REM Generate adoc-files from rules +REM CEN-EN16931-UBL +docker run --rm -i -v "%PROJECT%:/src" -v "%PROJECT%target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen.xquery -o:/target/CEN-EN16931-UBL-GENERAL.sch.adoc +docker run --rm -i -v "%PROJECT%:/src" -v "%PROJECT%target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen_syntax.xquery -o:/target/CEN-EN16931-UBL-SYNTAX.sch.adoc + +REM PEPPOL-EN16931-UBL +docker run --rm -i -v "%PROJECT%:/src" -v "%PROJECT%target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol.xquery -o:/target/PEPPOL-EN16931-UBL-GENERAL.sch.adoc +docker run --rm -i -v "%PROJECT%:/src" -v "%PROJECT%target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol_national.xquery -o:/target/PEPPOL-EN16931-UBL-NATIONAL.sch.adoc + +REM Example files +docker run --rm -i -v "%PROJECT%target/site/files:/src" alpine:3.6 rm -rf /src/BIS-Billing3-Examples.zip +docker run --rm -i -v "%PROJECT%rules/examples:/src" -v "%PROJECT%target/site/files:/target" -w /src kramos/alpine-zip -r /target/BIS-Billing3-Examples.zip . + +REM Guides +docker run --rm -i -v "%PROJECT%:/documents" -v "%PROJECT%target:/target" difi/asciidoctor + +REM Fix ownership +docker run --rm -i -v "%PROJECT%:/src" alpine:3.11 sh -c "chown -R $(id -u).$(id -g) /src/target" + +endlocal diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc new file mode 100644 index 00000000..42e59578 --- /dev/null +++ b/guide/release-notes/v3.0.18.adoc @@ -0,0 +1,18 @@ += Version 3.0.18 +[horizontal] +Release date:: November 2024 + +== Changes to BIS document + +* sample files and snippits have been updated to reflect the new rule PEPPOL-EN16931-R131 + + http://www.techspec.no + + +== Changes to code lists and validation artefacts + + +== EN 16931 schematrons updated + +* new fatal rule PEPPOL-EN16931-R131 on Document refenced by URI, only allows content starting with http(s):// or ftp(s):// + diff --git a/mapping/mapping-cii-ubl v2 fr19.xls b/mapping/mapping-cii-ubl v2 fr19.xls index 9827b9dbca170df5cde429a0f358048541b0a81b..7ae2c51a68b3ad5967ffb2a78107e769f10c5cf6 100644 GIT binary patch delta 49 zcmZo@;A?2$+n~Y3!OFmpQIJ}a+HAnoZotF{#7x@_n3!#9*cFcIG>87VwY|8Gxt9?D DRk9A} delta 49 zcmZo@;A?2$+n~Y3!Oy_po|<2j-fY0sZotF{#7x@_n3!#9*e|SdUi_-&>h|I~=3Yhs DU1$%h diff --git a/rules/examples/Allowance-example.xml b/rules/examples/Allowance-example.xml index 2632750e..a0b32605 100644 --- a/rules/examples/Allowance-example.xml +++ b/rules/examples/Allowance-example.xml @@ -30,7 +30,7 @@ Technical specification - www.techspec.no + http://www.techspec.no @@ -366,5 +366,3 @@ - - diff --git a/rules/sch/PEPPOL-EN16931-CII.sch b/rules/sch/PEPPOL-EN16931-CII.sch index bd79c798..62be7fdd 100644 --- a/rules/sch/PEPPOL-EN16931-CII.sch +++ b/rules/sch/PEPPOL-EN16931-CII.sch @@ -209,6 +209,7 @@ Last update: 2024 May release 3.0.17. A buyer reference or purchase order reference MUST be provided. Only one invoiced object is allowed on document level Only one project reference is allowed on document level + The Uniform Resource Locater should start with http(s):// or ftp(s):// VAT accounting currency code MUST be different from invoice currency code when provided. diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 3071f8d3..afe8a855 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -2,7 +2,7 @@ Rules for Peppol BIS 3.0 Billing @@ -247,6 +247,12 @@ Last update: 2024 May release 3.0.17. Only one project reference is allowed on document level + + + The Uniform Resource Locater should start with http(s):// or ftp(s):// + + diff --git a/rules/snippets/Calc.xml b/rules/snippets/Calc.xml index b5270787..0fef25c3 100644 --- a/rules/snippets/Calc.xml +++ b/rules/snippets/Calc.xml @@ -43,7 +43,7 @@ Technical specification - www.techspec.no + http://www.techspec.no @@ -484,5 +484,3 @@ - - diff --git a/rules/snippets/Snippet-cn.xml b/rules/snippets/Snippet-cn.xml index 0d3103bf..8b70cd8c 100644 --- a/rules/snippets/Snippet-cn.xml +++ b/rules/snippets/Snippet-cn.xml @@ -53,7 +53,7 @@ Technical specification - www.techspec.no + http://www.techspec.no diff --git a/rules/snippets/Snippet-full.xml b/rules/snippets/Snippet-full.xml index c6c13e2d..37089081 100644 --- a/rules/snippets/Snippet-full.xml +++ b/rules/snippets/Snippet-full.xml @@ -50,7 +50,7 @@ Technical specification - www.techspec.no + http://www.techspec.no diff --git a/rules/snippets/Snippet-refs.xml b/rules/snippets/Snippet-refs.xml index 30ee023b..663f71b8 100644 --- a/rules/snippets/Snippet-refs.xml +++ b/rules/snippets/Snippet-refs.xml @@ -55,7 +55,7 @@ Technical specification - www.techspec.no + http://www.techspec.no diff --git a/rules/snippets/direct-debit.xml b/rules/snippets/direct-debit.xml index 662dcff5..8eed66d0 100644 --- a/rules/snippets/direct-debit.xml +++ b/rules/snippets/direct-debit.xml @@ -42,7 +42,7 @@ Technical specification - www.techspec.no + http://www.techspec.no diff --git a/rules/snippets/giro.xml b/rules/snippets/giro.xml index 98c9dac1..df555837 100644 --- a/rules/snippets/giro.xml +++ b/rules/snippets/giro.xml @@ -42,7 +42,7 @@ Technical specification - www.techspec.no + http://www.techspec.no diff --git a/rules/snippets/item.xml b/rules/snippets/item.xml index 21f3da09..811b7431 100644 --- a/rules/snippets/item.xml +++ b/rules/snippets/item.xml @@ -30,7 +30,7 @@ Technical specification - www.techspec.no + http://www.techspec.no @@ -386,5 +386,3 @@ - - diff --git a/rules/snippets/payment-credit.xml b/rules/snippets/payment-credit.xml index 1ecc119a..8b3ceccf 100644 --- a/rules/snippets/payment-credit.xml +++ b/rules/snippets/payment-credit.xml @@ -43,7 +43,7 @@ Technical specification - www.techspec.no + http://www.techspec.no diff --git a/rules/snippets/payment1.xml b/rules/snippets/payment1.xml index a06bb289..d7b34a4f 100644 --- a/rules/snippets/payment1.xml +++ b/rules/snippets/payment1.xml @@ -43,7 +43,7 @@ Technical specification - www.techspec.no + http://www.techspec.no diff --git a/rules/snippets/price.xml b/rules/snippets/price.xml index 44431316..2026b966 100644 --- a/rules/snippets/price.xml +++ b/rules/snippets/price.xml @@ -43,7 +43,7 @@ Technical specification - www.techspec.no + http://www.techspec.no @@ -464,5 +464,3 @@ - - diff --git a/rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml b/rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml new file mode 100644 index 00000000..ae98ee95 --- /dev/null +++ b/rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml @@ -0,0 +1,124 @@ + + + + Verify that URI has a correct Uniform Resource Locator. + PEPPOL-EN16931-R131 + + + + PEPPOL-EN16931-R131 + + + + + + + ftp://some/invoice/203040 + + + + + + + + + PEPPOL-EN16931-R131 + + + + + + + http://some/invoice/203041 + + + + + + + + + PEPPOL-EN16931-R131 + + + + + + + FTPS://some/invoice/203042 + + + + + + + + + PEPPOL-EN16931-R131 + + + + + + + HTTPS://some/invoice/203043 + + + + + + + + + PEPPOL-EN16931-R131 + + + + + + + HTTPSInvoice 203050 + + + + + + + + + + PEPPOL-EN16931-R131 + + + + + + + FTPInvoice 203051 + + + + + + + + diff --git a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml b/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml index 308100cd..9ca4bad1 100644 --- a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml +++ b/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml @@ -21,7 +21,7 @@ Technical specification - www.techspec.no + http://www.techspec.no @@ -41,7 +41,7 @@ Technical specification - www.techspec.no + http://www.techspec.no diff --git a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml b/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml new file mode 100644 index 00000000..f6c93746 --- /dev/null +++ b/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml @@ -0,0 +1,110 @@ + + + + Verify that URI has a correct Uniform Resource Locator. + PEPPOL-EN16931-R131 + + + + PEPPOL-EN16931-R131 + + + + + + ftp://some/invoice/203040 + + + + + + + + PEPPOL-EN16931-R131 + + + + + + http://some/invoice/203041 + + + + + + + + PEPPOL-EN16931-R131 + + + + + + FTPS://some/invoice/203042 + + + + + + + + PEPPOL-EN16931-R131 + + + + + + HTTPS://some/invoice/203043 + + + + + + + + PEPPOL-EN16931-R131 + + + + + + HTTPSInvoice 203050 + + + + + + + + PEPPOL-EN16931-R131 + + + + + + FTPInvoice 203051 + + + + + + \ No newline at end of file From 86711bfd99433bcc35fbc859ea82d5c60c0a1193 Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Mon, 2 Sep 2024 18:25:58 +0200 Subject: [PATCH 098/145] deleted the duplicate variables --- rules/sch/PEPPOL-EN16931-UBL.sch | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 950ba47e..7af19620 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -689,10 +689,6 @@ Last update: 2024 May release 3.0.17. - - Date: Mon, 2 Sep 2024 18:59:17 +0200 Subject: [PATCH 099/145] POACC-548 --- guide/profile/codes/invoice-specific.adoc | 20 ++++++++++---------- guide/release-notes/v3.0.18.adoc | 2 ++ rules/sch/PEPPOL-EN16931-CII.sch | 2 +- rules/sch/PEPPOL-EN16931-UBL.sch | 2 +- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/guide/profile/codes/invoice-specific.adoc b/guide/profile/codes/invoice-specific.adoc index b736a1d3..34c2a0ee 100644 --- a/guide/profile/codes/invoice-specific.adoc +++ b/guide/profile/codes/invoice-specific.adoc @@ -63,11 +63,11 @@ include::../../syntax/codelists/inv-type.adoc[] | 380 | Invoice -// |326 -// |Partial invoice -// |Document/message specifying details of an incomplete invoice. -// | 380 -// | Invoice +|326 +|Partial invoice +|Document/message specifying details of an incomplete invoice. +| 380 +| Invoice |331 |Commercial invoice which includes a packing list @@ -87,11 +87,11 @@ include::../../syntax/codelists/inv-type.adoc[] | 380 | Invoice -// |384 -// |Corrected invoice -// |Commercial invoice that includes revised information differing from an earlier submission of the same invoice. -// | 380 -// | Invoice +|384 +|Corrected invoice +|Commercial invoice that includes revised information differing from an earlier submission of the same invoice. +| 380 +| Invoice |386 |Prepayment invoice diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index f8d7276b..f0185a1a 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -8,6 +8,8 @@ None == Changes to code lists and validation artefacts +* Invoice Type codes 326 (Partial invoice) and 384 (Corrected invoice) added to the codelist and listed as synonyms with type code 380 (Commercial Invoice) +* German country specific validation rules added. * The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. == EN 16931 schematrons updated diff --git a/rules/sch/PEPPOL-EN16931-CII.sch b/rules/sch/PEPPOL-EN16931-CII.sch index bd79c798..597684c1 100644 --- a/rules/sch/PEPPOL-EN16931-CII.sch +++ b/rules/sch/PEPPOL-EN16931-CII.sch @@ -566,7 +566,7 @@ Last update: 2024 May release 3.0.17. Invoice type code MUST be set according to the profile. diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 7af19620..158a6b2d 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -848,7 +848,7 @@ Last update: 2024 May release 3.0.17. Invoice type code MUST be set according to the profile. From a9f4db18e8c34ea0e38586cd355e9f2cb72a6392 Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Mon, 2 Sep 2024 19:04:11 +0200 Subject: [PATCH 100/145] added to code list page --- structure/codelist/UNCL1001-inv.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/structure/codelist/UNCL1001-inv.xml b/structure/codelist/UNCL1001-inv.xml index 6959e102..3d09ddc6 100644 --- a/structure/codelist/UNCL1001-inv.xml +++ b/structure/codelist/UNCL1001-inv.xml @@ -57,11 +57,11 @@ A request for payment for completed units. - + 331 @@ -92,11 +92,11 @@ - + 386 From d831564fb20d80a21b1e286a3d7247b3f9c03bef Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Mon, 2 Sep 2024 19:11:41 +0200 Subject: [PATCH 101/145] Quick-fix of release notes --- guide/release-notes/v3.0.18.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index f0185a1a..2228ff2a 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -1,10 +1,9 @@ -= Version 3.0.17 += Version 3.0.18 [horizontal] -Release date:: May 2024 +Release date:: November 2024 == Changes to BIS document -None == Changes to code lists and validation artefacts From d9ea6efc43b4e05baca7ffaa4a3ccc782c42a66d Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Tue, 3 Sep 2024 11:46:33 +0200 Subject: [PATCH 102/145] remove test description --- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index 4d71e3d7..633ab263 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -6,7 +6,6 @@ - DE-R-020 unit test DE-R-020 @@ -459,7 +458,6 @@ - DE-R-020 unit test DE-R-020 From d600747f44f4e9580ee4d6b0154fa54cfcf0d376 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Wed, 4 Sep 2024 16:31:49 +0200 Subject: [PATCH 103/145] add workflow --- .../workflows/build-and-deploy-barnch.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build-and-deploy-barnch.yaml diff --git a/.github/workflows/build-and-deploy-barnch.yaml b/.github/workflows/build-and-deploy-barnch.yaml new file mode 100644 index 00000000..a9557948 --- /dev/null +++ b/.github/workflows/build-and-deploy-barnch.yaml @@ -0,0 +1,22 @@ +name: Build and deploy non-master branch to test-docs +on: + push: + branches-ignore: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v2 + + - name: Build Spec + run: bash ./build.sh + + - name: Deploy on S3 + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + run: | + aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/poacc/${GITHUB_REF#refs/heads/}/billing/3.0 From d990746c8851fc3842eaa86d12fbe50b47061da2 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Wed, 4 Sep 2024 16:32:02 +0200 Subject: [PATCH 104/145] add workflow --- .github/workflows/build-and-deploy-barnch.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build-and-deploy-barnch.yml diff --git a/.github/workflows/build-and-deploy-barnch.yml b/.github/workflows/build-and-deploy-barnch.yml new file mode 100644 index 00000000..a9557948 --- /dev/null +++ b/.github/workflows/build-and-deploy-barnch.yml @@ -0,0 +1,22 @@ +name: Build and deploy non-master branch to test-docs +on: + push: + branches-ignore: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v2 + + - name: Build Spec + run: bash ./build.sh + + - name: Deploy on S3 + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + run: | + aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/poacc/${GITHUB_REF#refs/heads/}/billing/3.0 From ca59205d92adad167e08f29e3831157635e5141c Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Wed, 4 Sep 2024 16:34:19 +0200 Subject: [PATCH 105/145] delete workflow --- .../workflows/build-and-deploy-barnch.yaml | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/build-and-deploy-barnch.yaml diff --git a/.github/workflows/build-and-deploy-barnch.yaml b/.github/workflows/build-and-deploy-barnch.yaml deleted file mode 100644 index a9557948..00000000 --- a/.github/workflows/build-and-deploy-barnch.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: Build and deploy non-master branch to test-docs -on: - push: - branches-ignore: - - master - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout source code - uses: actions/checkout@v2 - - - name: Build Spec - run: bash ./build.sh - - - name: Deploy on S3 - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - run: | - aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/poacc/${GITHUB_REF#refs/heads/}/billing/3.0 From b056d0068e18d2016b695c092e6026d5ec799002 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Wed, 4 Sep 2024 16:41:04 +0200 Subject: [PATCH 106/145] update to improved validator --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 49ea02e7..cb688b71 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ docker run --rm -i \ # Validator -docker run --rm -i -v $PROJECT:/src anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src +ocker run --rm -i -v $PROJECT:/src phelger/vefa-validator:2.3.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src # Generate adoc-files from rules From c05dbb61f42328e49b14cb2e1ceb48f9f7a73c55 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Wed, 4 Sep 2024 16:42:19 +0200 Subject: [PATCH 107/145] update build2.sh to improved validator --- build2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build2.sh b/build2.sh index 2cc6bdae..df2761fc 100644 --- a/build2.sh +++ b/build2.sh @@ -11,7 +11,7 @@ fi docker run --rm -i -v $PROJECT:/src -v $PROJECT/target:/target difi/vefa-structure:0.7 || exit 2 # Validator -docker run --rm -i -v $PROJECT:/src anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src || exit 3 +ocker run --rm -i -v $PROJECT:/src phelger/vefa-validator:2.3.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src || exit 3 # Generate adoc-files from rules From 2c8e990a0d591539df2cc2b0d5493313e7b536e4 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Wed, 4 Sep 2024 16:45:43 +0200 Subject: [PATCH 108/145] fix typo --- build.sh | 2 +- build2.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index cb688b71..1eedf553 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ docker run --rm -i \ # Validator -ocker run --rm -i -v $PROJECT:/src phelger/vefa-validator:2.3.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src +docker run --rm -i -v $PROJECT:/src phelger/vefa-validator:2.3.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src # Generate adoc-files from rules diff --git a/build2.sh b/build2.sh index df2761fc..651de4a5 100644 --- a/build2.sh +++ b/build2.sh @@ -11,7 +11,7 @@ fi docker run --rm -i -v $PROJECT:/src -v $PROJECT/target:/target difi/vefa-structure:0.7 || exit 2 # Validator -ocker run --rm -i -v $PROJECT:/src phelger/vefa-validator:2.3.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src || exit 3 +docker run --rm -i -v $PROJECT:/src phelger/vefa-validator:2.3.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src || exit 3 # Generate adoc-files from rules From 73b76359cd7a81f95b626e12696156441b84ecc8 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Thu, 5 Sep 2024 08:04:01 +0200 Subject: [PATCH 109/145] fix error level in test DE-R-027 --- rules/unit-UBL-DE/UBL-IN_DE-R-027.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml index 61b24c78..c391d670 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-027.xml @@ -303,7 +303,7 @@ - DE-R-027 + DE-R-027 urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 From 2e5125768ac8347475f47266589892d69ef5d3ae Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Thu, 5 Sep 2024 08:04:27 +0200 Subject: [PATCH 110/145] fix typo in referenced rule --- structure/syntax/part/payee-party.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/syntax/part/payee-party.xml b/structure/syntax/part/payee-party.xml index bc5f88c4..0c64477a 100644 --- a/structure/syntax/part/payee-party.xml +++ b/structure/syntax/part/payee-party.xml @@ -18,7 +18,7 @@ This element is used for both the identification of the Payee, or the unique banking reference identifier of Payee (assigned by the Payee bank.) For payee identification use ICD code list, for SEPA bank assigned creditor reference, use SEPA. Text BT-60, BT-90 - DE-R-30 + DE-R-030 schemeID From ba941b7de88f9c4439d1d1e286a27f4fdc37db99 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Thu, 5 Sep 2024 08:04:47 +0200 Subject: [PATCH 111/145] move assertion description --- rules/unit-UBL-DE/UBL-IN_DE-R-001.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml index 6b76c629..65fa7b50 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-001.xml @@ -6,8 +6,8 @@ + DE-R-001 unit test DE-R-001 - DE-R-001 unit test urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 From de175ed3b28d2115b26eb649dff1aa595abe74b7 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Thu, 5 Sep 2024 08:26:25 +0200 Subject: [PATCH 112/145] fix typo --- rules/unit-UBL-DE/UBL-IN_DE-R-031.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml index 83ceee02..b5a1d50f 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-031.xml @@ -461,7 +461,7 @@ - DE-R-030 + DE-R-031 From d8dd724c367ed686ce4920e2e77b5c8b98c2cebb Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Thu, 5 Sep 2024 13:07:30 +0200 Subject: [PATCH 113/145] add description, remove unwanted instructions --- rules/unit-UBL-DE/UBL-IN_DE-R-016.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml index 8b4d4c11..4cf5372a 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-016.xml @@ -1,7 +1,7 @@ - DE-R-016 description tbd + DE-R-016 If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11). DE-R-016 @@ -470,9 +470,6 @@ 0 0 - S 19 From b9a19fdc06c41d5dd78a3eca2b2d8360a1b559cb Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Thu, 5 Sep 2024 13:07:45 +0200 Subject: [PATCH 114/145] add file --- rules/unit-UBL-DE/UBL-IN_DE-R-000.xml | 672 ++++++++++++++++++++++++++ 1 file changed, 672 insertions(+) create mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-000.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml new file mode 100644 index 00000000..d34943aa --- /dev/null +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml @@ -0,0 +1,672 @@ + + + + DE-R-0xx rules shall not fire for other countries + DE-R-001 + DE-R-002 + DE-R-003 + DE-R-004 + DE-R-005 + DE-R-006 + DE-R-007 + DE-R-008 + DE-R-009 + DE-R-010 + DE-R-011 + DE-R-014 + DE-R-015 + DE-R-016 + DE-R-017 + DE-R-018 + DE-R-019 + DE-R-020 + DE-R-022 + DE-R-023 + DE-R-024 + DE-R-025 + DE-R-026 + DE-R-027 + DE-R-028 + DE-R-030 + DE-R-031 + + + + DE-R-001 + DE-R-002 + DE-R-003 + DE-R-004 + DE-R-005 + DE-R-006 + DE-R-007 + DE-R-008 + DE-R-009 + DE-R-010 + DE-R-011 + DE-R-014 + DE-R-015 + DE-R-016 + DE-R-017 + DE-R-018 + DE-R-019 + DE-R-020 + DE-R-022 + DE-R-023 + DE-R-024 + DE-R-025 + DE-R-026 + DE-R-027 + DE-R-028 + DE-R-030 + DE-R-031 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + SE + + + + + + VAT + + + + + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + + + + DE-R-001 + DE-R-002 + DE-R-003 + DE-R-004 + DE-R-005 + DE-R-006 + DE-R-007 + DE-R-008 + DE-R-009 + DE-R-010 + DE-R-011 + DE-R-014 + DE-R-015 + DE-R-016 + DE-R-017 + DE-R-018 + DE-R-019 + DE-R-020 + DE-R-022 + DE-R-023 + DE-R-024 + DE-R-025 + DE-R-026 + DE-R-027 + DE-R-028 + DE-R-030 + DE-R-031 + + + + 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 + 1234567 + 2018-04-13 + 2018-04-13 + 380 + Invoice Note Description + 2018-04-13 + EUR + 90000000-03083-12 + + 2018-04-13 + 2018-04-13 + + + 65002278 + ABC123456789 + + + ANG987654321 + + + 0000000752 + + + 01_15_Anhang_01.pdf + Aufschlüsselung der einzelnen Leistungspositionen + + + PR12345678 + + + + 123456 + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + + + VAT + + + + + + FC + + + + [Seller trading name] + 123456789 + Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + + + Tim Tester + 012 3456789 + tim.tester@test.com + + + + + + 123456 + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + SE + + + + DE12345ABC + + VAT + + + + [Buyer name] + 90000000-03083-12 + + + Tina Tester + 0800 123456 + tester@test.de + + + + + + 74 + + + [Payee name] + + + + + 2018-04-13 + + 68 + + [Deliver to street] + 4. OG + [Deliver to city] + 98765 + Bayern + + DE + + + + + + [Deliver to party name] + + + + + 58 + Deb. 12345 / Fact. 9876543 + + DE75512108001245126199 + [Payment account name] + + [BIC] + + + + + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. + + + false + 102 + Fixed long term + 0 + 0 + 0 + + + S + 19 + + VAT + + + + + + + 2048.44 + + 10781.25 + 2048.44 + + S + 19 + + VAT + + + + + 0 + 0 + + E + 19 + a reason + + VAT + + + + + + + + 10781.25 + 10781.25 + 12829.69 + 0 + 0 + 0 + 0 + 12829.69 + + + + + 1 + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + 30 + 4743.75 + + 2018-04-13 + 2018-04-13 + + + 6171175.1 + + + Anforderungmanagament + Beratung + + 1034 + + + 0721-880X + + + S + 19 + + VAT + + + + + 158.125 + + + + 2 + 42 + 6037.5 + + Beratung + + S + 19 + + VAT + + + + + 143.75 + + + + + + From ad346f75914ccb2b659e87ae97324725c6db9837 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Thu, 5 Sep 2024 13:44:12 +0200 Subject: [PATCH 115/145] test --- rules/unit-UBL-DE/UBL-IN_DE-R-000.xml | 46 +++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 6 deletions(-) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml index d34943aa..eefd4810 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml @@ -71,7 +71,9 @@ Invoice Note Description 2018-04-13 EUR + 2018-04-13 2018-04-13 @@ -105,8 +107,12 @@ [Seller address line 1] [Seller address line 2] + + SE @@ -128,11 +134,13 @@ 123456789 Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + @@ -147,8 +155,12 @@ [Buyer address line 1] [Buyer address line 2] + + [Buyer address line 3] @@ -207,8 +219,12 @@ [Deliver to street] 4. OG + + Bayern DE @@ -221,6 +237,7 @@ + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. @@ -243,9 +261,6 @@ 0 0 - S 19 @@ -262,7 +277,9 @@ 2048.44 S + VAT @@ -391,7 +408,9 @@ Invoice Note Description 2018-04-13 EUR + 2018-04-13 2018-04-13 @@ -425,8 +444,12 @@ [Seller address line 1] [Seller address line 2] + + DE @@ -448,11 +471,13 @@ 123456789 Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] + @@ -467,8 +492,12 @@ [Buyer address line 1] [Buyer address line 2] + + [Buyer address line 3] @@ -527,8 +556,12 @@ [Deliver to street] 4. OG + + Bayern DE @@ -541,6 +574,7 @@ + Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. @@ -563,9 +598,6 @@ 0 0 - S 19 @@ -582,7 +614,9 @@ 2048.44 S + VAT From 398347681fc63445fc08823311b6f8e160219169 Mon Sep 17 00:00:00 2001 From: Barbara Dewein Date: Fri, 6 Sep 2024 14:45:12 +0200 Subject: [PATCH 116/145] delete file --- rules/unit-UBL-DE/UBL-IN_DE-R-000.xml | 706 -------------------------- 1 file changed, 706 deletions(-) delete mode 100644 rules/unit-UBL-DE/UBL-IN_DE-R-000.xml diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml deleted file mode 100644 index eefd4810..00000000 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-000.xml +++ /dev/null @@ -1,706 +0,0 @@ - - - - DE-R-0xx rules shall not fire for other countries - DE-R-001 - DE-R-002 - DE-R-003 - DE-R-004 - DE-R-005 - DE-R-006 - DE-R-007 - DE-R-008 - DE-R-009 - DE-R-010 - DE-R-011 - DE-R-014 - DE-R-015 - DE-R-016 - DE-R-017 - DE-R-018 - DE-R-019 - DE-R-020 - DE-R-022 - DE-R-023 - DE-R-024 - DE-R-025 - DE-R-026 - DE-R-027 - DE-R-028 - DE-R-030 - DE-R-031 - - - - DE-R-001 - DE-R-002 - DE-R-003 - DE-R-004 - DE-R-005 - DE-R-006 - DE-R-007 - DE-R-008 - DE-R-009 - DE-R-010 - DE-R-011 - DE-R-014 - DE-R-015 - DE-R-016 - DE-R-017 - DE-R-018 - DE-R-019 - DE-R-020 - DE-R-022 - DE-R-023 - DE-R-024 - DE-R-025 - DE-R-026 - DE-R-027 - DE-R-028 - DE-R-030 - DE-R-031 - - - - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - - - 2018-04-13 - 2018-04-13 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - - PR12345678 - - - - 123456 - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - - - - SE - - - - - - VAT - - - - - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - - - - - 123456 - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - - - - [Buyer address line 3] - - - DE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - - - Bayern - - DE - - - - - - [Deliver to party name] - - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 30 - 4743.75 - - 2018-04-13 - 2018-04-13 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 158.125 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - - - - - - - DE-R-001 - DE-R-002 - DE-R-003 - DE-R-004 - DE-R-005 - DE-R-006 - DE-R-007 - DE-R-008 - DE-R-009 - DE-R-010 - DE-R-011 - DE-R-014 - DE-R-015 - DE-R-016 - DE-R-017 - DE-R-018 - DE-R-019 - DE-R-020 - DE-R-022 - DE-R-023 - DE-R-024 - DE-R-025 - DE-R-026 - DE-R-027 - DE-R-028 - DE-R-030 - DE-R-031 - - - - 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 - 1234567 - 2018-04-13 - 2018-04-13 - 380 - Invoice Note Description - 2018-04-13 - EUR - - - 2018-04-13 - 2018-04-13 - - - 65002278 - ABC123456789 - - - ANG987654321 - - - 0000000752 - - - 01_15_Anhang_01.pdf - Aufschlüsselung der einzelnen Leistungspositionen - - - PR12345678 - - - - 123456 - - 987654321 - - - [Seller name] - - - [Seller address line 1] - [Seller address line 2] - - - - DE - - - - - - VAT - - - - - - FC - - - - [Seller trading name] - 123456789 - Amtsgericht […], Geschäftsführer: […], Sitz der Gesellschaft […], Aufsichtsratvorsitzender: […] - - - - - - - 123456 - - 138 - - - [Buyer name] - - - [Buyer address line 1] - [Buyer address line 2] - - - - [Buyer address line 3] - - - SE - - - - DE12345ABC - - VAT - - - - [Buyer name] - 90000000-03083-12 - - - Tina Tester - 0800 123456 - tester@test.de - - - - - - 74 - - - [Payee name] - - - - - 2018-04-13 - - 68 - - [Deliver to street] - 4. OG - - - Bayern - - DE - - - - - - [Deliver to party name] - - - - - - Bitte überweisen Sie bis zum 24.01.2015 auf das unten aufgeführte Konto. - - - false - 102 - Fixed long term - 0 - 0 - 0 - - S - 19 - - VAT - - - - - - - 2048.44 - - 10781.25 - 2048.44 - - S - - - VAT - - - - - 0 - 0 - - E - 19 - a reason - - VAT - - - - - - - - 10781.25 - 10781.25 - 12829.69 - 0 - 0 - 0 - 0 - 12829.69 - - - - - 1 - Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag - 30 - 4743.75 - - 2018-04-13 - 2018-04-13 - - - 6171175.1 - - - Anforderungmanagament - Beratung - - 1034 - - - 0721-880X - - - S - 19 - - VAT - - - - - 158.125 - - - - 2 - 42 - 6037.5 - - Beratung - - S - 19 - - VAT - - - - - 143.75 - - - - - - From 90665c5ae27a155351cb89d3a10700e985d49515 Mon Sep 17 00:00:00 2001 From: Jerry Dimitriou Date: Fri, 6 Sep 2024 16:33:07 +0300 Subject: [PATCH 117/145] Update build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 49ea02e7..73d9fb6c 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ docker run --rm -i \ # Validator -docker run --rm -i -v $PROJECT:/src anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src +docker run --rm -i -v $PROJECT:/src phelger/vefa-validator:latest build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src # Generate adoc-files from rules From a5e2fd9a98ec8e97cbdeac0ae474dc06074faa53 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Tue, 10 Sep 2024 13:32:55 +0200 Subject: [PATCH 118/145] Using phelger/vefa-validator --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 49ea02e7..73d9fb6c 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ docker run --rm -i \ # Validator -docker run --rm -i -v $PROJECT:/src anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src +docker run --rm -i -v $PROJECT:/src phelger/vefa-validator:latest build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src # Generate adoc-files from rules From 6e5e247ad176b8e7e1533107f0828ae6e375dacd Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Tue, 10 Sep 2024 13:40:01 +0200 Subject: [PATCH 119/145] Re-added Description --- rules/unit-UBL-DE/UBL-IN_DE-R-020.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml index 633ab263..4d71e3d7 100644 --- a/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml +++ b/rules/unit-UBL-DE/UBL-IN_DE-R-020.xml @@ -6,6 +6,7 @@ + DE-R-020 unit test DE-R-020 @@ -458,6 +459,7 @@ + DE-R-020 unit test DE-R-020 From 808f9cc536ca109ce5f727f81cc05cf90375ae12 Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Wed, 11 Sep 2024 11:12:02 +0200 Subject: [PATCH 120/145] POAC-547 (improved documentation) --- structure/syntax/ubl-creditnote.xml | 6 +++--- structure/syntax/ubl-invoice.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index cdfefb24..71f78c81 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -91,11 +91,11 @@ 381 - + cbc:Note Invoice note - A textual note that gives unstructured information that is relevant to the Invoice as a whole.Such as the reason for any correction or - assignment note in case the invoice has been factored. + A textual note that gives unstructured information that is relevant to the Invoice as a whole. Such as the reason for any correction or + assignment note in case the invoice has been factored. The element is not repeatable, except when both the Buyer and Seller are German, in which case the element can be repeated to meet specific national requirements. Text BT-22 diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index a51a2af8..bc04a8e0 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -82,10 +82,10 @@ 380 - + cbc:Note Invoice note - A textual note that gives unstructured information that is relevant to the Invoice as a whole.Such as the reason for any correction or assignment note in case the invoice has been factored. + A textual note that gives unstructured information that is relevant to the Invoice as a whole.Such as the reason for any correction or assignment note in case the invoice has been factored. The element is not repeatable, except when both the Buyer and Seller are German, in which case the element can be repeated to meet specific legal requirements. Text BT-22 PEPPOL-EN16931-R002 From a4cf896b1ef9fb95036557e043b01a3a7e61cdf5 Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Fri, 13 Sep 2024 13:54:59 +0200 Subject: [PATCH 121/145] Release note Make country-specific rule NL-R-008 domestic (NL->NL) only --- guide/release-notes/v3.0.18.adoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 guide/release-notes/v3.0.18.adoc diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc new file mode 100644 index 00000000..e4609f47 --- /dev/null +++ b/guide/release-notes/v3.0.18.adoc @@ -0,0 +1,14 @@ += Version 3.0.18 +[horizontal] +Release date:: November 2024 + +== Changes to BIS document + +== Changes to code lists and validation artefacts + +* Update for rule NL-R-008 (mandatory payment means), the check should not fire if the document is a credit note with a positive amount. + +== EN 16931 schematrons updated + + + From c63ff10bd84aff9a5cac69d44a2bcae6344a7cf1 Mon Sep 17 00:00:00 2001 From: Jerry Dimitriou Date: Wed, 18 Sep 2024 11:47:59 +0300 Subject: [PATCH 122/145] Update buildconfig.xml to contain the NL unit tests --- rules/buildconfig.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules/buildconfig.xml b/rules/buildconfig.xml index 0952210f..a205b747 100644 --- a/rules/buildconfig.xml +++ b/rules/buildconfig.xml @@ -10,13 +10,15 @@ unit-CII-IT unit-CII-DK unit-CII-SE + unit-CII-NL unit-UBL-PEPPOL unit-UBL-NO unit-UBL-IT unit-UBL-DK unit-UBL-DE unit-UBL-SE - unit-UBL-GR + unit-UBL-GR + unit-UBL-NL From f268bcc2d6286fbeaf0ecfa36b4f763322aafec6 Mon Sep 17 00:00:00 2001 From: Jerry Dimitriou Date: Wed, 18 Sep 2024 13:59:03 +0300 Subject: [PATCH 123/145] Update project.xml --- project.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.xml b/project.xml index 19fab779..3f04257d 100644 --- a/project.xml +++ b/project.xml @@ -1,7 +1,7 @@ - Peppol BIS Billing 3.0 - May 2024 Release + Peppol BIS Billing 3.0 - November 2024 Release - Member Review Business Interoperability Specifications (BIS) BIS compliance From a72bf6122f9107dda94a2ad9b5a6fb986fa03414 Mon Sep 17 00:00:00 2001 From: Jerry Dimitriou Date: Thu, 19 Sep 2024 18:27:56 +0300 Subject: [PATCH 124/145] fix zip build issue --- .github/workflows/build-and-deploy-barnch.yml | 2 +- build.sh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy-barnch.yml b/.github/workflows/build-and-deploy-barnch.yml index 6b27efa1..1679d053 100644 --- a/.github/workflows/build-and-deploy-barnch.yml +++ b/.github/workflows/build-and-deploy-barnch.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v2 - name: Build Spec - run: bash ./build.sh + run: sudo bash ./build.sh - name: Deploy on S3 env: diff --git a/build.sh b/build.sh index 73d9fb6c..62580fc4 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ docker run --rm -i \ # Validator -docker run --rm -i -v $PROJECT:/src phelger/vefa-validator:latest build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src +docker run --rm -i -v $PROJECT:/src anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src # Generate adoc-files from rules @@ -32,9 +32,10 @@ docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entry docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/generated:/target --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol_national.xquery -o:/target/PEPPOL-EN16931-UBL-NATIONAL.sch.adoc # Example files -docker run --rm -i -v $PROJECT/target/site/files:/src alpine:3.6 rm -rf /src/BIS-Billing3-Examples.zip -docker run --rm -i -v $PROJECT/rules/examples:/src -v $PROJECT/target/site/files:/target -w /src kramos/alpine-zip -r /target/BIS-Billing3-Examples.zip . +rm -rf $PROJECT/target/site/files/BIS-Billing3-Examples.zip +cd $PROJECT +zip -r target/site/files/BIS-Billing3-Examples.zip rules/examples # Guides docker run --rm -i -v $PROJECT:/documents -v $PROJECT/target:/target difi/asciidoctor From b892cfc98ad2e0e7c2bea769dc160da9ba754602 Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Mon, 23 Sep 2024 10:36:52 +0200 Subject: [PATCH 125/145] update release note --- guide/release-notes/v3.0.18.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index 95ee7a0c..9604da29 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -10,7 +10,7 @@ Release date:: November 2024 * Invoice Type codes 326 (Partial invoice) and 384 (Corrected invoice) added to the codelist and listed as synonyms with type code 380 (Commercial Invoice) * German country specific validation rules added. * The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. -* Update for rule NL-R-008 (mandatory payment means), the check should not fire if the document is a credit note with a positive amount. +* Update for country-specific rule NL-R-008 Make rule domestic-only. * sample files and snippits have been updated to reflect the new rule PEPPOL-EN16931-R131 http://www.techspec.no From 8f6502852b7d84d76c02ff40ba9d7680194c2375 Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Tue, 24 Sep 2024 11:08:34 +0200 Subject: [PATCH 126/145] compliance on payload --- guide/compliance/main.adoc | 2 ++ guide/compliance/payload.adoc | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 guide/compliance/payload.adoc diff --git a/guide/compliance/main.adoc b/guide/compliance/main.adoc index 58bd97e1..cde9cf7f 100644 --- a/guide/compliance/main.adoc +++ b/guide/compliance/main.adoc @@ -22,4 +22,6 @@ include::sender.adoc[] include::receiver.adoc[] +include::payload.adoc[] + :leveloffset: -1 diff --git a/guide/compliance/payload.adoc b/guide/compliance/payload.adoc new file mode 100644 index 00000000..c113d2e5 --- /dev/null +++ b/guide/compliance/payload.adoc @@ -0,0 +1,14 @@ += Payload compliance to BIS +[horizontal] + +== Processing of rules +* The value of the SBDH element "Sender/Identifier" MUST be equivalent to the value in the sender party's "Party/EndpointID" element and its "schemeID" attribute. + +* The value of the SBDH element "Receiver/Identifier" MUST be equivalent to the value in the receiver's party "Party/EndpointID" element and its "schemeID" attribute. + +example: + SBDH representation: 0088:7315458756324 + UBL representation: 7315458756324 + +See Policy for use of Identifiers + From a48a185b906bea27c8385403d01d71681fc29d51 Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Tue, 24 Sep 2024 11:18:38 +0200 Subject: [PATCH 127/145] fix release notes and spelling mistake --- guide/release-notes/v3.0.18.adoc | 4 + rules/sch/PEPPOL-EN16931-UBL.sch | 1240 ++++++++++++++++++++---------- 2 files changed, 839 insertions(+), 405 deletions(-) diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index 9604da29..8a34a5d6 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -4,6 +4,10 @@ Release date:: November 2024 == Changes to BIS document +== Changes to Compliance BIS document +* Added new compliance on SBDH and BIS3 payload + The value of the SBDH element "Sender/Identifier" MUST be equivalent to the value in the sender party’s "Party/EndpointID" element and its "schemeID" attribute. + The value of the SBDH element "Receiver/Identifier" MUST be equivalent to the value in the receiver’s party "Party/EndpointID" element and its "schemeID" attribute == Changes to code lists and validation artefacts diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 16150258..f469bcbc 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -1,24 +1,29 @@ - + Rules for Peppol BIS 3.0 Billing - - - - - - + + + + + + - - + - + + 'XX'" /> + value="(upper-case(normalize-space(/*/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode)) = 'DE')" /> - - + value="(upper-case(normalize-space(/*/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode)) = 'DE')" /> + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 - + + + ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + - - + + " /> - + ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz - + " /> - - - - + + + + " /> - - + + else ( u:addPIVA($arg,xs:integer(0)) mod 10 )" /> - - - - + + + - + )" /> + - - + +" /> - - + - + - - - - + (number($digits[1])*256) " /> + + + + - - - - - - - - - - - - + + + + + + + + + + + - - - - - + )" /> + + + + + - Document MUST not contain empty elements. + Document MUST not contain empty + elements. - Only one project reference is allowed on document level + Only one project reference is allowed on document level - The Uniform Resource Locater should start with http(s):// or ftp(s):// + The Uniform Resource Locater should start with http(s):// or ftp(s):// - Business process MUST be provided. - Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the process number. - No more than one note is allowed on document level, unless both the buyer and seller are German organizations. - A buyer reference or purchase order reference MUST be provided. - Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'. - Only one tax total with tax subtotals MUST be provided. - Only one tax total without tax subtotals MUST be provided when tax currency code is provided. - Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign + Business process MUST be + provided. + Business process + MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the + process number. + No more than one note is allowed on document level, unless both the buyer and + seller are German organizations. + A buyer reference or purchase order reference MUST be provided. + Specification identifier MUST have the value + 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'. + Only + one tax total with tax subtotals MUST be provided. + Only one tax total without tax subtotals MUST be provided when tax currency + code is provided. + Invoice total VAT amount and Invoice total VAT amount in accounting currency + MUST have the same operational sign - VAT accounting currency code MUST be different from invoice currency code when provided. + VAT accounting currency code MUST be different from invoice currency code when + provided. - Buyer electronic address MUST be provided + Buyer electronic address + MUST be provided - Seller electronic address MUST be provided + Seller electronic address + MUST be provided - - Allowance/charge base amount MUST be provided when allowance/charge percentage is provided. - - - Allowance/charge percentage MUST be provided when allowance/charge base amount is provided. - - - + Allowance/charge base amount MUST + be provided when allowance/charge percentage is provided. + + + Allowance/charge percentage MUST + be provided when allowance/charge base amount is provided. + + + Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists - Allowance/charge ChargeIndicator value MUST equal 'true' or 'false' + 0, (xs:decimal(cbc:BaseAmount) * xs:decimal(cbc:MultiplierFactorNumeric)) div 100, 0.02)" + flag="fatal">Allowance/charge amount must equal base amount * percentage/100 if base amount + and percentage exists + Allowance/charge ChargeIndicator value MUST equal 'true' or 'false' - - Mandate reference MUST be provided for direct debit. + Mandate + reference MUST be provided for direct debit. - - All currencyID attributes must have the same value as the invoice currency code (BT-5), except for the invoice total VAT amount in accounting currency (BT-111). + + All + currencyID attributes must have the same value as the invoice currency code (BT-5), except + for the invoice total VAT amount in accounting currency (BT-111). - - Start date of line period MUST be within invoice period. - - - End date of line period MUST be within invoice period. + + Start + date of line period MUST be within invoice period. + + + End + date of line period MUST be within invoice period. - - + - + - + - + - + - Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount - Base quantity MUST be a positive number above zero. - Only one invoiced object is allowed pr line - Element Document reference can only be used for Invoice line object + 0" /> + Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item + price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance + amount + Base quantity MUST be a positive number above zero. + Only + one invoiced object is allowed pr line + Element Document reference can only be used for Invoice line object - Charge on price level is NOT allowed. Only value 'false' allowed. - Item net price MUST equal (Gross price - Allowance amount) when gross price is provided. + Charge on price level is NOT allowed. Only value 'false' allowed. + Item net price MUST equal (Gross price - Allowance amount) when gross price is + provided. - - + - Unit code of price base quantity MUST be same as invoiced quantity. + ../../cbc:CreditedQuantity" /> + Unit code of price base quantity MUST be same as invoiced quantity. - - GLN must have a valid format according to GS1 rules. - - - Norwegian organization number MUST be stated in the correct format. - - - Danish organization number (CVR) MUST be stated in the correct format. - - - Belgian enterprise number MUST be stated in the correct format. - - - IPA Code (Codice Univoco Unità Organizzativa) must be stated in the correct format - - - Tax Code (Codice Fiscale) must be stated in the correct format + + GLN + must have a valid format according to GS1 rules. + + + Norwegian + organization number MUST be stated in the correct format. + + + Danish organization number (CVR) MUST be stated in the correct format. + + + Belgian enterprise number MUST be stated in the correct format. + + + IPA + Code (Codice Univoco Unità Organizzativa) must be stated in the correct format + + + Tax Code + (Codice Fiscale) must be stated in the correct format - Tax Code (Codice Fiscale) must be stated in the correct format + Tax Code + (Codice Fiscale) must be stated in the correct format - - Italian VAT Code (Partita Iva) must be stated in the correct format + + Italian + VAT Code (Partita Iva) must be stated in the correct format - - - Swedish organization number MUST be stated in the correct format. - - - Australian Business Number (ABN) MUST be stated in the correct format. - + + Swedish organization number MUST be stated in the correct format. + + + Australian + Business Number (ABN) MUST be stated in the correct format. + - For Norwegian suppliers, most invoice issuers are required to append "Foretaksregisteret" to their + For Norwegian suppliers, most invoice issuers are required to append + "Foretaksregisteret" to their invoice. "Dersom selger er aksjeselskap, allmennaksjeselskap eller filial av utenlandsk selskap skal også ordet «Foretaksregisteret» fremgå av salgsdokumentet, jf. foretaksregisterloven § 10-2." - For Norwegian suppliers, a VAT number MUST be the country code prefix NO followed by a valid Norwegian organization number (nine numbers) followed by the letters MVA. + For Norwegian suppliers, a VAT number MUST be the country code prefix NO + followed by a valid Norwegian organization number (nine numbers) followed by the letters + MVA. - - + + - - Danish suppliers MUST provide legal entity (CVR-number) - + Danish suppliers MUST provide legal entity (CVR-number) + For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingSupplierParty - For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK + CVR-number) when PartyLegalEntity/CompanyID is used for AccountingSupplierParty + For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount) - - - For Danish Suppliers, a Credit note cannot have a negative total + (PayableAmount) + + + For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty - - - For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93 and 97 - For Danish Suppliers it is mandatory to use schemeID when + PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty + + + For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, + 42, 48, 49, 50, 58, 59, 93 and 97 + For Danish suppliers bank account and registration account is mandatory if payment means is 31 or 42 - For Danish suppliers bank account and registration account is mandatory if + payment means is 31 or 42 + For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are mandatory when payment means is 49 - For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are + mandatory when payment means is 49 + For Danish Suppliers PaymentID is mandatory and MUST start with 01#, 04# or 15# (kortartkode), and PayeeFinancialAccount/ID (Giro kontonummer) is mandatory and must be 7 characters long, when payment means equals 50 (Giro) - For Danish Suppliers PaymentID is mandatory and MUST start with 01#, 04# or 15# + (kortartkode), and PayeeFinancialAccount/ID (Giro kontonummer) is mandatory and must be 7 + characters long, when payment means equals 50 (Giro) + For Danish Suppliers if the PaymentID is prefixed with 04# or 15# the 16 digits instruction Id must be added to the PaymentID eg. "04#1234567890123456" when Payment means equals 50 (Giro) - For Danish Suppliers if the PaymentID is prefixed with 04# or 15# the 16 digits + instruction Id must be added to the PaymentID eg. "04#1234567890123456" when Payment means + equals 50 (Giro) + For Danish Suppliers the PaymentID is mandatory and MUST start with 71#, 73# or 75# (kortartkode) and PayeeFinancialAccount/ID (Kreditornummer) is mandatory and must be exactly 8 characters long, when Payment means equals 93 (FIK) - For Danish Suppliers the PaymentID is mandatory and MUST start with 71#, 73# or + 75# (kortartkode) and PayeeFinancialAccount/ID (Kreditornummer) is mandatory and must be + exactly 8 characters long, when Payment means equals 93 (FIK) + For Danish Suppliers if the PaymentID is prefixed with 71# or 75# the 15-16 digits instruction Id must be added to the PaymentID eg. "71#1234567890123456" when payment Method equals 93 (FIK) + )" + flag="fatal">For Danish Suppliers if the PaymentID is prefixed with 71# or 75# the 15-16 + digits instruction Id must be added to the PaymentID eg. "71#1234567890123456" when payment + Method equals 93 (FIK) - - + If ItemClassification is provided from Danish suppliers, UNSPSC version 19.0501 should be used. + )" + flag="warning">If ItemClassification is provided from Danish suppliers, UNSPSC version + 19.0501 should be used. - When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use the AllowanceChargeReasonCode="ZZZ" and the 4-digit Tax category MUST be specified in AllowanceChargeReason + )" + flag="fatal">When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use + the AllowanceChargeReasonCode="ZZZ" and the 4-digit Tax category MUST be specified in + AllowanceChargeReason - - [IT-R-001] BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 deve avere una lunghezza tra 11 e 16 caratteri + + [IT-R-001] BT-32 (Seller tax registration identifier) - For Italian suppliers + BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 + deve avere una lunghezza tra 11 e 16 caratteri - [IT-R-002] BT-35 (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I fornitori italiani devono indicare l'indirizzo postale. - [IT-R-003] BT-37 (Seller city) - Italian suppliers MUST provide the postal address city - I fornitori italiani devono indicare la città di residenza. - ">[IT-R-004] BT-38 (Seller post code) - Italian suppliers MUST provide the postal address post code - I fornitori italiani devono indicare il CAP di residenza. + [IT-R-002] BT-35 + (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I + fornitori italiani devono indicare l'indirizzo postale. + [IT-R-003] BT-37 + (Seller city) - Italian suppliers MUST provide the postal address city - I fornitori + italiani devono indicare la città di residenza. + ">[IT-R-004] BT-38 + (Seller post code) - Italian suppliers MUST provide the postal address post code - I + fornitori italiani devono indicare il CAP di residenza. - - For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters. - For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in numeric form - - - Swedish organisation numbers should be numeric. - Swedish organisation numbers consist of 10 characters. - The last digit of a Swedish organization number must be valid according to the Luhn algorithm. - - - For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för F-skatt' must be stated - - - For Swedish suppliers, only standard VAT rate of 6, 12 or 25 are used - - - For Swedish suppliers using Plusgiro, the Account ID must be numeric - For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters - - - For Swedish suppliers using Bankgiro, the Account ID must be numeric - For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters - - - For Swedish suppliers using Swedish Bankgiro or Plusgiro, the proper way to indicate this is to use Code 30 for PaymentMeans and FinancialInstitutionBranch ID with code SE:BANKGIRO or SE:PLUSGIRO - - - For domestic transactions between Swedish trading partners, credit transfer should be indicated by PaymentMeansCode="30" + + For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters. + For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 + characters in numeric form + + + Swedish + organisation numbers should be numeric. + Swedish + organisation numbers consist of 10 characters. + The + last digit of a Swedish organization number must be valid according to the Luhn algorithm. + + + For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd + för F-skatt' must be stated + + + For Swedish suppliers, only standard VAT rate of 6, 12 or 25 are used + + + For + Swedish suppliers using Plusgiro, the Account ID must be numeric + For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters + + + For + Swedish suppliers using Bankgiro, the Account ID must be numeric + For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters + + + For Swedish suppliers using Swedish + Bankgiro or Plusgiro, the proper way to indicate this is to use Code 30 for PaymentMeans and + FinancialInstitutionBranch ID with code SE:BANKGIRO or SE:PLUSGIRO + + + For domestic transactions between Swedish + trading partners, credit transfer should be indicated by PaymentMeansCode="30" - - - + + + - + 'XX'" /> - - - + + + - - - When the Supplier is Greek, the Invoice Id should consist of 6 segments - + + When the Supplier is + Greek, the Invoice Id should consist of 6 segments + When the Supplier is Greek, the Invoice Id first segment must be a valid TIN Number and match either the Supplier's or the Tax Representative's Tin Number - - When the Supplier is Greek, the Invoice Id first segment must be a valid TIN + Number and match either the Supplier's or the Tax Representative's Tin Number + + When the Supplier is Greek, the Invoice Id second segment must be a valid Date that matches the invoice Issue Date - When Supplier is Greek, the Invoice Id third segment must be a positive integer - When Supplier is Greek, the Invoice Id in the fourth segment must be a valid greek document type - When Supplier is Greek, the Invoice Id fifth segment must not be empty - When Supplier is Greek, the Invoice Id sixth segment must not be empty + and $tokenizedIdDate[3] = $tokenizedUblIssueDate[1])" + flag="fatal">When the Supplier is Greek, the Invoice Id second segment must be a valid Date + that matches the invoice Issue Date + When Supplier is Greek, the Invoice Id third segment must be a positive integer + When Supplier is Greek, the Invoice Id in the fourth segment must be a valid + greek document type + When Supplier + is Greek, the Invoice Id fifth segment must not be empty + When Supplier + is Greek, the Invoice Id sixth segment must not be empty - Greek Suppliers must provide their full name as they are registered in the Greek Business Registry (G.E.MH.) as a legal entity or in the Tax Registry as a natural person + Greek + Suppliers must provide their full name as they are registered in the Greek Business Registry + (G.E.MH.) as a legal entity or in the Tax Registry as a natural person - Greek suppliers must provide their Seller Tax Registration Number, prefixed by the country code + u:TinVerification(substring(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/cbc:CompanyID,3))" + flag="warning">Greek suppliers must provide their Seller Tax Registration Number, prefixed + by the country code - - For the Greek Suppliers, the VAT must start with 'EL' and must be a valid TIN number + + For the Greek Suppliers, the VAT must start with 'EL' and must be a valid TIN + number - + - When Supplier is Greek, there must be one MARK Number - When Supplier is Greek, there should be one invoice url - When Supplier is Greek, there should be no more than one invoice url + When Supplier is Greek, there must be one MARK Number + + When Supplier is Greek, there should be one invoice url + When Supplier is Greek, there should be no more than one invoice url - - When Supplier is Greek, the MARK Number must be a positive integer + + When Supplier is + Greek, the MARK Number must be a positive integer - - When Supplier is Greek and the INVOICE URL Document reference exists, the External Reference URI should be present + + When Supplier is Greek and the INVOICE URL Document reference exists, the + External Reference URI should be present - Greek Suppliers must provide the full name of the buyer + Greek + Suppliers must provide the full name of the buyer - - Greek suppliers that send an invoice through the PEPPOL network must use a correct TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (schemeID 9933). + + Greek + suppliers that send an invoice through the PEPPOL network must use a correct TIN number as + an electronic address according to PEPPOL Electronic Address Identifier scheme (schemeID + 9933). - - + Greek Suppliers must provide the VAT number of the buyer, if the buyer is Greek + u:TinVerification(substring(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/cbc:CompanyID,3))" + flag="fatal">Greek Suppliers must provide the VAT number of the buyer, if the buyer is Greek - Greek Suppliers that send an invoice through the PEPPOL network to a greek buyer must use a correct TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (SchemeID 9933) + Greek + Suppliers that send an invoice through the PEPPOL network to a greek buyer must use a + correct TIN number as an electronic address according to PEPPOL Electronic Address + Identifier scheme (SchemeID 9933) - - - - [IS-R-001]-If seller is icelandic then invoice type should be 380 or 381 — Ef seljandi er íslenskur þá ætti gerð reiknings (BT-3) að vera sölureikningur (380) eða kreditreikningur (381). - [IS-R-002]-If seller is icelandic then it shall contain sellers legal id — Ef seljandi er íslenskur þá skal reikningur innihalda íslenska kennitölu seljanda (BT-30). - [IS-R-003]-If seller is icelandic then it shall contain his address with street name and zip code — Ef seljandi er íslenskur þá skal heimilisfang seljanda innihalda götuheiti og póstnúmer (BT-35 og BT-38). - + + + [IS-R-001]-If seller is icelandic then invoice type should be 380 or 381 — Ef + seljandi er íslenskur þá ætti gerð reiknings (BT-3) að vera sölureikningur (380) eða + kreditreikningur (381). + [IS-R-002]-If seller is icelandic then it shall contain sellers legal id — Ef + seljandi er íslenskur þá skal reikningur innihalda íslenska kennitölu seljanda (BT-30). + [IS-R-003]-If seller is icelandic then it shall contain his address with street + name and zip code — Ef seljandi er íslenskur þá skal heimilisfang seljanda innihalda + götuheiti og póstnúmer (BT-35 og BT-38). + [IS-R-006]-If seller is icelandic and payment means code is 9 then a 12 digit account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er krafa (kóti 9) þá skal koma fram 12 stafa númer (bankanúmer, höfuðbók 66 og reikningsnúmer) (BT-84) - [IS-R-006]-If seller is icelandic and payment means code is 9 then a 12 digit + account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er krafa (kóti 9) + þá skal koma fram 12 stafa númer (bankanúmer, höfuðbók 66 og reikningsnúmer) (BT-84) + [IS-R-007]-If seller is icelandic and payment means code is 42 then a 12 digit account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er millifærsla (kóti 42) þá skal koma fram 12 stafa reikningnúmer (BT-84) - [IS-R-008]-If seller is icelandic and invoice contains supporting description EINDAGI then the id form must be YYYY-MM-DD — Ef seljandi er íslenskur þá skal eindagi (BT-122, DocumentDescription = EINDAGI) vera á forminu YYYY-MM-DD. - [IS-R-009]-If seller is icelandic and invoice contains supporting description EINDAGI invoice must have due date — Ef seljandi er íslenskur þá skal reikningur sem inniheldur eindaga (BT-122, DocumentDescription = EINDAGI) einnig hafa gjalddaga (BT-9). - [IS-R-010]-If seller is icelandic and invoice contains supporting description EINDAGI the id date must be same or later than due date — Ef seljandi er íslenskur þá skal eindagi (BT-122, DocumentDescription = EINDAGI) skal vera sami eða síðar en gjalddagi (BT-9) ef eindagi er til staðar. - - - [IS-R-004]-If seller and buyer are icelandic then the invoice shall contain the buyers icelandic legal identifier — Ef seljandi og kaupandi eru íslenskir þá skal reikningurinn innihalda íslenska kennitölu kaupanda (BT-47). - [IS-R-005]-If seller and buyer are icelandic then the invoice shall contain the buyers address with street name and zip code — Ef seljandi og kaupandi eru íslenskir þá skal heimilisfang kaupanda innihalda götuheiti og póstnúmer (BT-50 og BT-53) + or not(exists(cac:PaymentMeans[cbc:PaymentMeansCode = '42']))" + flag="fatal">[IS-R-007]-If seller is icelandic and payment means code is 42 then a 12 digit + account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er millifærsla + (kóti 42) þá skal koma fram 12 stafa reikningnúmer (BT-84) + [IS-R-008]-If seller is icelandic and invoice contains supporting description + EINDAGI then the id form must be YYYY-MM-DD — Ef seljandi er íslenskur þá skal eindagi + (BT-122, DocumentDescription = EINDAGI) vera á forminu YYYY-MM-DD. + [IS-R-009]-If seller is icelandic and invoice contains supporting description + EINDAGI invoice must have due date — Ef seljandi er íslenskur þá skal reikningur sem + inniheldur eindaga (BT-122, DocumentDescription = EINDAGI) einnig hafa gjalddaga (BT-9). + [IS-R-010]-If seller is icelandic and invoice contains supporting description + EINDAGI the id date must be same or later than due date — Ef seljandi er íslenskur þá skal + eindagi (BT-122, DocumentDescription = EINDAGI) skal vera sami eða síðar en gjalddagi (BT-9) + ef eindagi er til staðar. + + + [IS-R-004]-If seller and buyer are icelandic then the invoice shall contain the + buyers icelandic legal identifier — Ef seljandi og kaupandi eru íslenskir þá skal + reikningurinn innihalda íslenska kennitölu kaupanda (BT-47). + [IS-R-005]-If seller and buyer are icelandic then the invoice shall contain the + buyers address with street name and zip code — Ef seljandi og kaupandi eru íslenskir þá skal + heimilisfang kaupanda innihalda götuheiti og póstnúmer (BT-50 og BT-53) - - - + + + - [NL-R-001] For suppliers in the Netherlands, if the document is a creditnote, the document MUST contain an invoice reference (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID) + [NL-R-001] For suppliers in the Netherlands, if the document is a creditnote, + the document MUST contain an invoice reference + (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID) - [NL-R-002] For suppliers in the Netherlands the supplier's address (cac:AccountingSupplierParty/cac:Party/cac:PostalAddress) MUST contain street name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone) + [NL-R-002] + For suppliers in the Netherlands the supplier's address + (cac:AccountingSupplierParty/cac:Party/cac:PostalAddress) MUST contain street name + (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone) - + - [NL-R-003] For suppliers in the Netherlands, the legal entity identifier MUST be either a KVK or OIN number (schemeID 0106 or 0190) + [NL-R-003] For suppliers in the Netherlands, the legal entity identifier MUST + be either a KVK or OIN number (schemeID 0106 or 0190) - + - [NL-R-004] For suppliers in the Netherlands, if the customer is in the Netherlands, the customer address (cac:AccountingCustomerParty/cac:Party/cac:PostalAddress) MUST contain the street name (cbc:StreetName), the city (cbc:CityName) and post code (cbc:PostalZone) + [NL-R-004] + For suppliers in the Netherlands, if the customer is in the Netherlands, the customer + address (cac:AccountingCustomerParty/cac:Party/cac:PostalAddress) MUST contain the street + name (cbc:StreetName), the city (cbc:CityName) and post code (cbc:PostalZone) - + - [NL-R-005] For suppliers in the Netherlands, if the customer is in the Netherlands, the customer's legal entity identifier MUST be either a KVK or OIN number (schemeID 0106 or 0190) - - + [NL-R-005] For suppliers in the Netherlands, if the customer is in the + Netherlands, the customer's legal entity identifier MUST be either a KVK or OIN number + (schemeID 0106 or 0190) + + - [NL-R-006] For suppliers in the Netherlands, if the fiscal representative is in the Netherlands, the representative's address (cac:TaxRepresentativeParty/cac:PostalAddress) MUST contain street name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone) + [NL-R-006] + For suppliers in the Netherlands, if the fiscal representative is in the Netherlands, the + representative's address (cac:TaxRepresentativeParty/cac:PostalAddress) MUST contain street + name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone) - [NL-R-007] For suppliers in the Netherlands, the supplier MUST provide a means of payment (cac:PaymentMeans) if the payment is from customer to supplier + [NL-R-007] For suppliers in the Netherlands, the supplier MUST provide a means + of payment (cac:PaymentMeans) if the payment is from customer to supplier - [NL-R-008] For suppliers in the Netherlands, if the customer is in the Netherlands, the payment means code (cac:PaymentMeans/cbc:PaymentMeansCode) MUST be one of 30, 48, 49, 57, 58 or 59 + normalize-space(cbc:PaymentMeansCode) = '59'" + flag="fatal">[NL-R-008] For suppliers in the Netherlands, if the customer is in the + Netherlands, the payment means code (cac:PaymentMeans/cbc:PaymentMeansCode) MUST be one of + 30, 48, 49, 57, 58 or 59 - [NL-R-009] For suppliers in the Netherlands, if an order line reference (cac:OrderLineReference/cbc:LineID) is used, there must be an order reference on the document level (cac:OrderReference/cbc:ID) + [NL-R-009] For + suppliers in the Netherlands, if an order line reference (cac:OrderLineReference/cbc:LineID) + is used, there must be an order reference on the document level (cac:OrderReference/cbc:ID) + value="'#(SKONTO)#TAGE=([0-9]+#PROZENT=[0-9]+\.[0-9]{2})(#BASISBETRAG=-?[0-9]+\.[0-9]{2})?#$'" /> - - - An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). + value="'^[a-zA-Z0-9!#\$%&"*+/=?^_`{|}~-]+(\.[a-zA-Z0-9!#\$%&"*+/=?^_`{|}~-]+)*@([a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$'" /> + + + An invoice shall contain + information on "PAYMENT INSTRUCTIONS" (BG-16). The element "Buyer reference" (BT-10) shall be provided. + value="('S', 'Z', 'E', 'AE', 'K', 'G', 'L', 'M')" /> + value="cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID[boolean(normalize-space(.))]" /> + value="cac:AllowanceCharge/cac:TaxCategory/cbc:ID[ancestor::cac:AllowanceCharge/cbc:ChargeIndicator = 'false' and following-sibling::cac:TaxScheme/cbc:ID = 'VAT']" /> + value="cac:AllowanceCharge/cac:TaxCategory/cbc:ID[ancestor::cac:AllowanceCharge/cbc:ChargeIndicator = 'false']" /> + value="cac:AllowanceCharge/cac:TaxCategory/cbc:ID[ancestor::cac:AllowanceCharge/cbc:ChargeIndicator = 'true']" /> - - + + If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11). + id="DE-R-016">If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall + contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller + tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11). - + The element "Invoice type code" (BT-3) should only contain the following values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). - The element "Invoice type code" (BT-3) should only contain the following + values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 + (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction + invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). + Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed. - Information on cash discounts for prompt payment (Skonto) shall be provided + within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", + second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage + must be separated by dot with two decimal places. In case the base value of the invoiced + amount is not provided in BT-115 but as a partial amount, the base value shall be provided + as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with + a #, the segments must be separated by # and a row shall end with a #. A complete statement + on cash discount for prompt payment shall end with a XML-conformant line break. All + statements on cash discount for prompt payment shall be given in capital letters. Additional + whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts + than defined above are not allowed. + Attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125). - Attached documents provided with an invoice in "ADDITIONAL SUPPORTING + DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element + ″Attached document″ (BT-125). + If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. - If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), + "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. + If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided. - If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned + creditor identifier" (BT-90) shall be provided. + If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided. + id="DE-R-031">If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account + identifier" (BT-91) shall be provided. - - The group "SELLER CONTACT" (BG-6) shall be provided. + + The group "SELLER CONTACT" + (BG-6) shall be provided. - + The element "Seller city" (BT-37) shall be provided. @@ -753,7 +1126,8 @@ Last update: 2024 Novemeber release 3.0.18. flag="fatal" id="DE-R-004">The element "Seller post code" (BT-38) shall be provided. - + The element "Seller contact point" (BT-41) shall be provided. @@ -765,12 +1139,16 @@ Last update: 2024 Novemeber release 3.0.18. id="DE-R-007">The element "Seller contact email address" (BT-43) shall be provided. "Seller contact telephone number" (BT-42) should contain a valid telephone number. A valid telephone should consist of 3 digits minimum. + id="DE-R-027">"Seller contact telephone number" (BT-42) should contain a valid telephone + number. A valid telephone should consist of 3 digits minimum. "Seller contact email address" (BT-43) should contain exactly one @-sign, which should not be framed by a whitespace or a dot but by at least two characters on each side. A dot should not be the first or last character. + id="DE-R-028">"Seller contact email address" (BT-43) should contain exactly one @-sign, + which should not be framed by a whitespace or a dot but by at least two characters on each + side. A dot should not be the first or last character. - + The element "Buyer city" (BT-52) shall be provided. @@ -778,40 +1156,59 @@ Last update: 2024 Novemeber release 3.0.18. flag="fatal" id="DE-R-009">The element "Buyer post code" (BT-53) shall be provided. - + The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. + id="DE-R-010">The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER + TO ADDRESS" (BG-15) is delivered. The element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. + id="DE-R-011">The element "Deliver to post code" (BT-78) shall be provided if the group + "DELIVER TO ADDRESS" (BG-15) is delivered. - + - The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). - If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. + id="DE-R-019">The element "Payment account identifier" (BT-84) should contain a valid IBAN + if code 58 SEPA is provided in "Payment means type code" (BT-81). + If "Payment means type + code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall + be provided. If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), BG-18 and BG-19 shall not be provided. - - - If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. + id="DE-R-023-2">If "Payment means type code" (BT-81) contains a code for credit transfer + (30, 58), BG-18 and BG-19 shall not be provided. + + + If "Payment means type code" + (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) + shall be provided. If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), BG-17 and BG-19 shall not be provided. + id="DE-R-024-2">If "Payment means type code" (BT-81) contains a code for payment card (48, + 54, 55), BG-17 and BG-19 shall not be provided. - - + The element "Debited account identifier" (BT-91) should contain a valid IBAN if code 59 SEPA is provided in "Payment means type code" (BT-81). - If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. + id="DE-R-020">The element "Debited account identifier" (BT-91) should contain a valid IBAN + if code 59 SEPA is provided in "Payment means type code" (BT-81). + If "Payment means type code" + (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided. + id="DE-R-025-2">If "Payment means type code" (BT-81) contains a code for direct debit (59), + BG-17 and BG-18 shall not be provided. - + The element "VAT category rate" (BT-119) shall be provided. @@ -819,81 +1216,114 @@ Last update: 2024 Novemeber release 3.0.18. - - - - - - - - + + + + + + + + - Mime code must be according to subset of IANA code list. + satisfies @mimeCode = $code" + flag="fatal">Mime code must be according to subset of IANA code list. - Reason code MUST be according to subset of UNCL 5189 D.16B. + satisfies normalize-space(text()) = $code" + flag="fatal">Reason code MUST be according to subset of UNCL 5189 D.16B. - Reason code MUST be according to UNCL 7161 D.16B. + satisfies normalize-space(text()) = $code" + flag="fatal">Reason code MUST be according to UNCL 7161 D.16B. - Invoice period description code must be according to UNCL 2005 D.16B. + satisfies normalize-space(text()) = $code" + flag="fatal">Invoice period description code must be according to UNCL 2005 D.16B. - - + Currency code must be according to ISO 4217:2005 + satisfies @currencyID = $code" + flag="fatal">Currency code must be according to ISO 4217:2005 - Invoice type code MUST be set according to the profile. + satisfies normalize-space(text()) = $code)" + flag="fatal">Invoice type code MUST be set according to the profile. - Credit note type code MUST be set according to the profile. + satisfies normalize-space(text()) = $code)" + flag="fatal">Credit note type code MUST be set according to the profile. - - A date + + A date MUST be formatted YYYY-MM-DD. - Electronic address identifier scheme must be from the codelist "Electronic Address Identifier Scheme" + satisfies @schemeID = $code" flag="fatal">Electronic + address identifier scheme must be from the codelist "Electronic Address Identifier Scheme" - Tax Category G MUST be used when exemption reason code is VATEX-EU-G + Tax Category + G MUST be used when exemption reason code is VATEX-EU-G - Tax Category O MUST be used when exemption reason code is VATEX-EU-O + Tax Category + O MUST be used when exemption reason code is VATEX-EU-O - Tax Category K MUST be used when exemption reason code is VATEX-EU-IC + Tax Category + K MUST be used when exemption reason code is VATEX-EU-IC - Tax Category AE MUST be used when exemption reason code is VATEX-EU-AE + Tax + Category AE MUST be used when exemption reason code is VATEX-EU-AE - Tax Category E MUST be used when exemption reason code is VATEX-EU-D + Tax Category + E MUST be used when exemption reason code is VATEX-EU-D - Tax Category E MUST be used when exemption reason code is VATEX-EU-F + Tax Category + E MUST be used when exemption reason code is VATEX-EU-F - Tax Category E MUST be used when exemption reason code is VATEX-EU-I + Tax Category + E MUST be used when exemption reason code is VATEX-EU-I - Tax Category E MUST be used when exemption reason code is VATEX-EU-J + Tax Category + E MUST be used when exemption reason code is VATEX-EU-J - + \ No newline at end of file From 872d504eeb537c338b889da62d2dd4004705999c Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Tue, 24 Sep 2024 12:23:11 +0200 Subject: [PATCH 128/145] Release note change on formatting text --- guide/compliance/payload.adoc | 9 +++++++-- guide/release-notes/v3.0.18.adoc | 17 +++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/guide/compliance/payload.adoc b/guide/compliance/payload.adoc index c113d2e5..45b1c4e8 100644 --- a/guide/compliance/payload.adoc +++ b/guide/compliance/payload.adoc @@ -7,8 +7,13 @@ * The value of the SBDH element "Receiver/Identifier" MUST be equivalent to the value in the receiver's party "Party/EndpointID" element and its "schemeID" attribute. example: - SBDH representation: 0088:7315458756324 - UBL representation: 7315458756324 +[attributes] +==== + SBDH representation: + 0088:7315458756324 + UBL representation: + 7315458756324 +==== See Policy for use of Identifiers diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index 8a34a5d6..1df439c5 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -6,8 +6,8 @@ Release date:: November 2024 == Changes to Compliance BIS document * Added new compliance on SBDH and BIS3 payload - The value of the SBDH element "Sender/Identifier" MUST be equivalent to the value in the sender party’s "Party/EndpointID" element and its "schemeID" attribute. - The value of the SBDH element "Receiver/Identifier" MUST be equivalent to the value in the receiver’s party "Party/EndpointID" element and its "schemeID" attribute +** The value of the SBDH element "Sender/Identifier" MUST be equivalent to the value in the sender party’s "Party/EndpointID" element and its "schemeID" attribute. +** The value of the SBDH element "Receiver/Identifier" MUST be equivalent to the value in the receiver’s party "Party/EndpointID" element and its "schemeID" attribute == Changes to code lists and validation artefacts @@ -16,10 +16,15 @@ Release date:: November 2024 * The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. * Update for country-specific rule NL-R-008 Make rule domestic-only. * sample files and snippits have been updated to reflect the new rule PEPPOL-EN16931-R131 - - http://www.techspec.no - + +[attributes] +==== + + http://www.techspec.no + +==== + == EN 16931 schematrons updated -* new fatal rule PEPPOL-EN16931-R131 on Document refenced by URI, only allows content starting with http(s):// or ftp(s):// \ No newline at end of file +* new fatal rule PEPPOL-EN16931-R131 on Document referenced by URI, only allows content starting with http(s):// or ftp(s):// \ No newline at end of file From 4f604b729e0bf64159442f70a9f71a58c5d77d3b Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Mon, 28 Oct 2024 12:02:46 +0100 Subject: [PATCH 129/145] POACC-777 --- guide/release-notes/v3.0.18.adoc | 1 + rules/sch/PEPPOL-EN16931-CII.sch | 6 +++--- rules/sch/PEPPOL-EN16931-UBL.sch | 6 +++--- rules/unit-CII-SE/CII-IN_SE-R-003.xml | 2 +- rules/unit-CII-SE/CII-IN_SE-R-004.xml | 2 +- rules/unit-CII-SE/CII-IN_SE-R-013.xml | 2 +- rules/unit-UBL-SE/UBL-CN_SE-R-003.xml | 2 +- rules/unit-UBL-SE/UBL-CN_SE-R-004.xml | 2 +- rules/unit-UBL-SE/UBL-IN_SE-R-003.xml | 2 +- rules/unit-UBL-SE/UBL-IN_SE-R-004.xml | 2 +- rules/unit-UBL-SE/UBL-IN_SE-R-013.xml | 2 +- 11 files changed, 15 insertions(+), 14 deletions(-) diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index 1df439c5..ea20e9fa 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -16,6 +16,7 @@ Release date:: November 2024 * The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. * Update for country-specific rule NL-R-008 Make rule domestic-only. * sample files and snippits have been updated to reflect the new rule PEPPOL-EN16931-R131 +* Severity of Swedish country specific rules SE-R-003, SE-R-004 and SE-R-013 which verifies format of Swedish organization numbers are changed from warning to fatal. [attributes] ==== diff --git a/rules/sch/PEPPOL-EN16931-CII.sch b/rules/sch/PEPPOL-EN16931-CII.sch index ccf7624b..10a2b666 100644 --- a/rules/sch/PEPPOL-EN16931-CII.sch +++ b/rules/sch/PEPPOL-EN16931-CII.sch @@ -444,9 +444,9 @@ Last update: 2024 May release 3.0.17. For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in numeric form - Swedish organisation numbers should be numeric. - Swedish organisation numbers consist of 10 characters. - The last digit of a Swedish organization number must be valid according to the Luhn algorithm. + Swedish organisation numbers should be numeric. + Swedish organisation numbers consist of 10 characters. + The last digit of a Swedish organization number must be valid according to the Luhn algorithm. For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för F-skatt' must be stated diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index f469bcbc..d8609fff 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -698,11 +698,11 @@ Last update: 2024 November release 3.0.18. - Swedish + Swedish organisation numbers should be numeric. - Swedish + Swedish organisation numbers consist of 10 characters. - The + The last digit of a Swedish organization number must be valid according to the Luhn algorithm. - SE-R-003 + SE-R-003 - SE-R-004 + SE-R-004 - SE-R-004 + SE-R-013 - SE-R-003 + SE-R-003 - SE-R-004 + SE-R-004 - SE-R-003 + SE-R-003 - SE-R-004 + SE-R-004 - SE-R-013 + SE-R-013 Date: Mon, 28 Oct 2024 12:20:09 +0100 Subject: [PATCH 130/145] POACC-781 (SLL deleted, SLE added in currency code rule) --- rules/sch/PEPPOL-EN16931-CII.sch | 2 +- rules/sch/PEPPOL-EN16931-UBL.sch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/sch/PEPPOL-EN16931-CII.sch b/rules/sch/PEPPOL-EN16931-CII.sch index 10a2b666..7c96b683 100644 --- a/rules/sch/PEPPOL-EN16931-CII.sch +++ b/rules/sch/PEPPOL-EN16931-CII.sch @@ -537,7 +537,7 @@ Last update: 2024 May release 3.0.17. - + diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index d8609fff..e8c60dd6 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -1219,7 +1219,7 @@ Last update: 2024 November release 3.0.18. + value="tokenize('AED AFN ALL AMD ANG AOA ARS AUD AWG AZN BAM BBD BDT BGN BHD BIF BMD BND BOB BOV BRL BSD BTN BWP BYN BZD CAD CDF CHE CHF CHW CLF CLP CNY COP COU CRC CUC CUP CVE CZK DJF DKK DOP DZD EGP ERN ETB EUR FJD FKP GBP GEL GHS GIP GMD GNF GTQ GYD HKD HNL HRK HTG HUF IDR ILS INR IQD IRR ISK JMD JOD JPY KES KGS KHR KMF KPW KRW KWD KYD KZT LAK LBP LKR LRD LSL LYD MAD MDL MGA MKD MMK MNT MOP MRO MUR MVR MWK MXN MXV MYR MZN NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLN PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLE SOS SRD SSP STN SVC SYP SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD USN UYI UYU UZS VEF VND VUV WST XAF XAG XAU XBA XBB XBC XBD XCD XDR XOF XPD XPF XPT XSU XTS XUA XXX YER ZAR ZMW ZWL', '\s')" /> From e030538ee28f57bb10486980ac0b010aaff7da1e Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Mon, 28 Oct 2024 13:57:32 +0100 Subject: [PATCH 131/145] Allow 326 and 384 for DE only --- rules/sch/PEPPOL-EN16931-UBL.sch | 5 + .../unit-UBL-PEPPOL/PEPPOL-EN16931-P0112.xml | 216 ++++++++++++++++++ 2 files changed, 221 insertions(+) create mode 100644 rules/unit-UBL-PEPPOL/PEPPOL-EN16931-P0112.xml diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index e8c60dd6..83ee1377 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -1272,7 +1272,12 @@ Last update: 2024 November release 3.0.18. $profile != '01' or (some $code in tokenize('71 80 82 84 102 218 219 326 331 380 382 383 384 386 388 393 395 553 575 623 780 817 870 875 876 877', '\s') satisfies normalize-space(text()) = $code)" flag="fatal">Invoice type code MUST be set according to the profile. + Invoice type code 326 or 384 are only allowed when both buyer and + seller are German organizations + + + + Invoice type code 326 or 384 are only allowed when both buyer and + seller are German organizations. + PEPPOL-EN16931-P0112 + + + + PEPPOL-EN16931-P0112 + + + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 380 + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + NO + + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + SE + + + + + + + + + PEPPOL-EN16931-P0112 + + + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 326 + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + + + + + + PEPPOL-EN16931-P0112 + + + urn:fdc:peppol.eu:2017:poacc:billing:02:1.0 + 384 + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + DE + + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + DE + + + + + + + + + PEPPOL-EN16931-P0112 + + + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 384 + + + rechnungsausgang@test.com + + 987654321 + + + [Seller name] + + + [Seller address line 1] + [Seller address line 2] + [Seller city] + 12345 + + SE + + + + + + + rechnungseingang@test.de + + 138 + + + [Buyer name] + + + [Buyer address line 1] + [Buyer address line 2] + [Buyer city] + 98765 + + [Buyer address line 3] + + + NO + + + + + + + \ No newline at end of file From f1ec3b7310b1304992e5cc33ee1a9fa4579c8376 Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Mon, 28 Oct 2024 14:09:31 +0100 Subject: [PATCH 132/145] Updated documentation. Took out 326 and 384. --- guide/transaction-spec/codes/invoice-types-en.adoc | 4 ---- structure/codelist/UNCL1001-inv.xml | 8 ++++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/guide/transaction-spec/codes/invoice-types-en.adoc b/guide/transaction-spec/codes/invoice-types-en.adoc index 07e5e987..256b3e20 100644 --- a/guide/transaction-spec/codes/invoice-types-en.adoc +++ b/guide/transaction-spec/codes/invoice-types-en.adoc @@ -46,10 +46,6 @@ The codes below can be used in business term Invoice Type Code (BT-3) for invoic |Proforma invoice:: Document/message serving as a preliminary invoice, containing - on the whole - the same information as the final invoice, but not actually claiming payment. -|326 -|Partial invoice:: Document/message specifying details of an incomplete invoice. - - |380 |Commercial invoice:: Document/message claiming payment for goods or services supplied under conditions agreed between seller and buyer. diff --git a/structure/codelist/UNCL1001-inv.xml b/structure/codelist/UNCL1001-inv.xml index 3d09ddc6..a4e26a66 100644 --- a/structure/codelist/UNCL1001-inv.xml +++ b/structure/codelist/UNCL1001-inv.xml @@ -56,13 +56,13 @@ Payment request for completed units A request for payment for completed units. - + 331 Commercial invoice which includes a packing list @@ -91,13 +91,13 @@ relevant party. - + 386 Prepayment invoice From 13cf4c1c845d27b51ae3fbf1c64fdf22f80ac53a Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Mon, 28 Oct 2024 14:25:26 +0100 Subject: [PATCH 133/145] Fixing the text of the enveloping rule --- guide/compliance/payload.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/guide/compliance/payload.adoc b/guide/compliance/payload.adoc index 45b1c4e8..f1d96e0d 100644 --- a/guide/compliance/payload.adoc +++ b/guide/compliance/payload.adoc @@ -1,12 +1,12 @@ -= Payload compliance to BIS += Enveloping compliance to BIS [horizontal] -== Processing of rules -* The value of the SBDH element "Sender/Identifier" MUST be equivalent to the value in the sender party's "Party/EndpointID" element and its "schemeID" attribute. +== Enveloping of BIS message in Peppol Business Message Envelope (SBDH) +* When a BIS message is enveloped, the value of the SBDH element *Sender/Identifier* MUST match the *Party/EndpointID* element value of the sender party, including the value of its *schemeID* attribute -* The value of the SBDH element "Receiver/Identifier" MUST be equivalent to the value in the receiver's party "Party/EndpointID" element and its "schemeID" attribute. +* When a BIS message is enveloped, the value of the SBDH element *Receiver/Identifier* MUST match the *Party/EndpointID* element value of the receiver party, including the value of its *schemeID* attribute. -example: +Example: [attributes] ==== SBDH representation: @@ -15,5 +15,5 @@ example: 7315458756324 ==== -See Policy for use of Identifiers +See Policy for use of Identifiers for more information how to represent identifiers in envelope and messages From 710b0aed07d20d034123349db3d0f86aa4aae95e Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Mon, 28 Oct 2024 14:47:50 +0100 Subject: [PATCH 134/145] Editorial --- guide/compliance/payload.adoc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/guide/compliance/payload.adoc b/guide/compliance/payload.adoc index f1d96e0d..218886db 100644 --- a/guide/compliance/payload.adoc +++ b/guide/compliance/payload.adoc @@ -1,19 +1,20 @@ -= Enveloping compliance to BIS += Enveloping compliance [horizontal] == Enveloping of BIS message in Peppol Business Message Envelope (SBDH) -* When a BIS message is enveloped, the value of the SBDH element *Sender/Identifier* MUST match the *Party/EndpointID* element value of the sender party, including the value of its *schemeID* attribute +* When a BIS message is enveloped, the value of the SBDH element *Sender/Identifier* SHALL match the *Party/EndpointID* element value of the sender party, including the value of its *schemeID* attribute. -* When a BIS message is enveloped, the value of the SBDH element *Receiver/Identifier* MUST match the *Party/EndpointID* element value of the receiver party, including the value of its *schemeID* attribute. +* When a BIS message is enveloped, the value of the SBDH element *Receiver/Identifier* SHALL match the *Party/EndpointID* element value of the receiver party, including the value of its *schemeID* attribute. Example: [attributes] ==== - SBDH representation: - 0088:7315458756324 - UBL representation: + BIS message: 7315458756324 + + SBDH envelope: + 0088:7315458756324 ==== -See Policy for use of Identifiers for more information how to represent identifiers in envelope and messages +See Policy for use of Identifiers for more information on how to represent identifiers in envelope and messages. From 3fbe7adac9506061132ca2f1b0bbd3f65e28988d Mon Sep 17 00:00:00 2001 From: Jerry Dimitriou Date: Tue, 29 Oct 2024 14:41:34 +0200 Subject: [PATCH 135/145] Revert "add fatal check on Invoices with external reference attachment URI" --- build.bat | 40 ------ guide/release-notes/v3.0.18.adoc | 6 - mapping/mapping-cii-ubl v2 fr19.xls | Bin 229376 -> 229376 bytes rules/examples/Allowance-example.xml | 4 +- rules/sch/PEPPOL-EN16931-CII.sch | 1 - rules/sch/PEPPOL-EN16931-UBL.sch | 8 +- rules/snippets/Calc.xml | 4 +- rules/snippets/Snippet-cn.xml | 2 +- rules/snippets/Snippet-full.xml | 2 +- rules/snippets/Snippet-refs.xml | 2 +- rules/snippets/direct-debit.xml | 2 +- rules/snippets/giro.xml | 2 +- rules/snippets/item.xml | 4 +- rules/snippets/payment-credit.xml | 2 +- rules/snippets/payment1.xml | 2 +- rules/snippets/price.xml | 4 +- rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml | 124 ------------------ rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml | 4 +- rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml | 110 ---------------- 19 files changed, 22 insertions(+), 301 deletions(-) delete mode 100644 build.bat delete mode 100644 rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml delete mode 100644 rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml diff --git a/build.bat b/build.bat deleted file mode 100644 index 3991f832..00000000 --- a/build.bat +++ /dev/null @@ -1,40 +0,0 @@ -@echo off -setlocal - -REM Set the PROJECT variable to the current directory -set "PROJECT=%~dp0" - -REM Check if the target directory exists, if so, remove it -if exist "%PROJECT%target" ( - docker run --rm -i -v "%PROJECT%:/src" alpine:3.11 rm -rf /src/target -) - -REM Structure -docker run --rm -i ^ - -v "%PROJECT%:/src" ^ - -v "%PROJECT%target:/target" ^ - difi/vefa-structure:0.7 - -REM Validator -docker run --rm -i -v "%PROJECT%:/src" anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src - -REM Generate adoc-files from rules -REM CEN-EN16931-UBL -docker run --rm -i -v "%PROJECT%:/src" -v "%PROJECT%target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen.xquery -o:/target/CEN-EN16931-UBL-GENERAL.sch.adoc -docker run --rm -i -v "%PROJECT%:/src" -v "%PROJECT%target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen_syntax.xquery -o:/target/CEN-EN16931-UBL-SYNTAX.sch.adoc - -REM PEPPOL-EN16931-UBL -docker run --rm -i -v "%PROJECT%:/src" -v "%PROJECT%target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol.xquery -o:/target/PEPPOL-EN16931-UBL-GENERAL.sch.adoc -docker run --rm -i -v "%PROJECT%:/src" -v "%PROJECT%target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol_national.xquery -o:/target/PEPPOL-EN16931-UBL-NATIONAL.sch.adoc - -REM Example files -docker run --rm -i -v "%PROJECT%target/site/files:/src" alpine:3.6 rm -rf /src/BIS-Billing3-Examples.zip -docker run --rm -i -v "%PROJECT%rules/examples:/src" -v "%PROJECT%target/site/files:/target" -w /src kramos/alpine-zip -r /target/BIS-Billing3-Examples.zip . - -REM Guides -docker run --rm -i -v "%PROJECT%:/documents" -v "%PROJECT%target:/target" difi/asciidoctor - -REM Fix ownership -docker run --rm -i -v "%PROJECT%:/src" alpine:3.11 sh -c "chown -R $(id -u).$(id -g) /src/target" - -endlocal diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index 95ee7a0c..3994b371 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -11,11 +11,5 @@ Release date:: November 2024 * German country specific validation rules added. * The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. * Update for rule NL-R-008 (mandatory payment means), the check should not fire if the document is a credit note with a positive amount. -* sample files and snippits have been updated to reflect the new rule PEPPOL-EN16931-R131 - - http://www.techspec.no - == EN 16931 schematrons updated - -* new fatal rule PEPPOL-EN16931-R131 on Document refenced by URI, only allows content starting with http(s):// or ftp(s):// \ No newline at end of file diff --git a/mapping/mapping-cii-ubl v2 fr19.xls b/mapping/mapping-cii-ubl v2 fr19.xls index 7ae2c51a68b3ad5967ffb2a78107e769f10c5cf6..9827b9dbca170df5cde429a0f358048541b0a81b 100644 GIT binary patch delta 49 zcmZo@;A?2$+n~Y3!Oy_po|<2j-fY0sZotF{#7x@_n3!#9*e|SdUi_-&>h|I~=3Yhs DU1$%h delta 49 zcmZo@;A?2$+n~Y3!OFmpQIJ}a+HAnoZotF{#7x@_n3!#9*cFcIG>87VwY|8Gxt9?D DRk9A} diff --git a/rules/examples/Allowance-example.xml b/rules/examples/Allowance-example.xml index a0b32605..2632750e 100644 --- a/rules/examples/Allowance-example.xml +++ b/rules/examples/Allowance-example.xml @@ -30,7 +30,7 @@ Technical specification - http://www.techspec.no + www.techspec.no @@ -366,3 +366,5 @@ + + diff --git a/rules/sch/PEPPOL-EN16931-CII.sch b/rules/sch/PEPPOL-EN16931-CII.sch index ccf7624b..d08cdb1b 100644 --- a/rules/sch/PEPPOL-EN16931-CII.sch +++ b/rules/sch/PEPPOL-EN16931-CII.sch @@ -209,7 +209,6 @@ Last update: 2024 May release 3.0.17. A buyer reference or purchase order reference MUST be provided. Only one invoiced object is allowed on document level Only one project reference is allowed on document level - The Uniform Resource Locater should start with http(s):// or ftp(s):// VAT accounting currency code MUST be different from invoice currency code when provided. diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 16150258..5f5adec4 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -2,7 +2,7 @@ Rules for Peppol BIS 3.0 Billing @@ -252,12 +252,6 @@ Last update: 2024 Novemeber release 3.0.18. Only one project reference is allowed on document level - - - The Uniform Resource Locater should start with http(s):// or ftp(s):// - - diff --git a/rules/snippets/Calc.xml b/rules/snippets/Calc.xml index 0fef25c3..b5270787 100644 --- a/rules/snippets/Calc.xml +++ b/rules/snippets/Calc.xml @@ -43,7 +43,7 @@ Technical specification - http://www.techspec.no + www.techspec.no @@ -484,3 +484,5 @@ + + diff --git a/rules/snippets/Snippet-cn.xml b/rules/snippets/Snippet-cn.xml index 8b70cd8c..0d3103bf 100644 --- a/rules/snippets/Snippet-cn.xml +++ b/rules/snippets/Snippet-cn.xml @@ -53,7 +53,7 @@ Technical specification - http://www.techspec.no + www.techspec.no diff --git a/rules/snippets/Snippet-full.xml b/rules/snippets/Snippet-full.xml index 37089081..c6c13e2d 100644 --- a/rules/snippets/Snippet-full.xml +++ b/rules/snippets/Snippet-full.xml @@ -50,7 +50,7 @@ Technical specification - http://www.techspec.no + www.techspec.no diff --git a/rules/snippets/Snippet-refs.xml b/rules/snippets/Snippet-refs.xml index 663f71b8..30ee023b 100644 --- a/rules/snippets/Snippet-refs.xml +++ b/rules/snippets/Snippet-refs.xml @@ -55,7 +55,7 @@ Technical specification - http://www.techspec.no + www.techspec.no diff --git a/rules/snippets/direct-debit.xml b/rules/snippets/direct-debit.xml index 8eed66d0..662dcff5 100644 --- a/rules/snippets/direct-debit.xml +++ b/rules/snippets/direct-debit.xml @@ -42,7 +42,7 @@ Technical specification - http://www.techspec.no + www.techspec.no diff --git a/rules/snippets/giro.xml b/rules/snippets/giro.xml index df555837..98c9dac1 100644 --- a/rules/snippets/giro.xml +++ b/rules/snippets/giro.xml @@ -42,7 +42,7 @@ Technical specification - http://www.techspec.no + www.techspec.no diff --git a/rules/snippets/item.xml b/rules/snippets/item.xml index 811b7431..21f3da09 100644 --- a/rules/snippets/item.xml +++ b/rules/snippets/item.xml @@ -30,7 +30,7 @@ Technical specification - http://www.techspec.no + www.techspec.no @@ -386,3 +386,5 @@ + + diff --git a/rules/snippets/payment-credit.xml b/rules/snippets/payment-credit.xml index 8b3ceccf..1ecc119a 100644 --- a/rules/snippets/payment-credit.xml +++ b/rules/snippets/payment-credit.xml @@ -43,7 +43,7 @@ Technical specification - http://www.techspec.no + www.techspec.no diff --git a/rules/snippets/payment1.xml b/rules/snippets/payment1.xml index d7b34a4f..a06bb289 100644 --- a/rules/snippets/payment1.xml +++ b/rules/snippets/payment1.xml @@ -43,7 +43,7 @@ Technical specification - http://www.techspec.no + www.techspec.no diff --git a/rules/snippets/price.xml b/rules/snippets/price.xml index 2026b966..44431316 100644 --- a/rules/snippets/price.xml +++ b/rules/snippets/price.xml @@ -43,7 +43,7 @@ Technical specification - http://www.techspec.no + www.techspec.no @@ -464,3 +464,5 @@ + + diff --git a/rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml b/rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml deleted file mode 100644 index ae98ee95..00000000 --- a/rules/unit-CII-PEPPOL/PEPPOL-EN16931-R131.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - Verify that URI has a correct Uniform Resource Locator. - PEPPOL-EN16931-R131 - - - - PEPPOL-EN16931-R131 - - - - - - - ftp://some/invoice/203040 - - - - - - - - - PEPPOL-EN16931-R131 - - - - - - - http://some/invoice/203041 - - - - - - - - - PEPPOL-EN16931-R131 - - - - - - - FTPS://some/invoice/203042 - - - - - - - - - PEPPOL-EN16931-R131 - - - - - - - HTTPS://some/invoice/203043 - - - - - - - - - PEPPOL-EN16931-R131 - - - - - - - HTTPSInvoice 203050 - - - - - - - - - - PEPPOL-EN16931-R131 - - - - - - - FTPInvoice 203051 - - - - - - - - diff --git a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml b/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml index 9ca4bad1..308100cd 100644 --- a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml +++ b/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R080.xml @@ -21,7 +21,7 @@ Technical specification - http://www.techspec.no + www.techspec.no @@ -41,7 +41,7 @@ Technical specification - http://www.techspec.no + www.techspec.no diff --git a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml b/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml deleted file mode 100644 index f6c93746..00000000 --- a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R131.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - Verify that URI has a correct Uniform Resource Locator. - PEPPOL-EN16931-R131 - - - - PEPPOL-EN16931-R131 - - - - - - ftp://some/invoice/203040 - - - - - - - - PEPPOL-EN16931-R131 - - - - - - http://some/invoice/203041 - - - - - - - - PEPPOL-EN16931-R131 - - - - - - FTPS://some/invoice/203042 - - - - - - - - PEPPOL-EN16931-R131 - - - - - - HTTPS://some/invoice/203043 - - - - - - - - PEPPOL-EN16931-R131 - - - - - - HTTPSInvoice 203050 - - - - - - - - PEPPOL-EN16931-R131 - - - - - - FTPInvoice 203051 - - - - - - \ No newline at end of file From 8c8b8b7d3a28803ea883322ffe2ca1ba9e164c98 Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Tue, 29 Oct 2024 18:09:56 +0100 Subject: [PATCH 136/145] validation artifacts and codelist --- guide/release-notes/v3.0.18.adoc | 9 + rules/sch/CEN-EN16931-CII.sch | 49 +- rules/sch/CEN-EN16931-UBL.sch | 21 +- structure/codelist/UNECERec20-11e.xml | 2218 ++++++++++++------------- 4 files changed, 1157 insertions(+), 1140 deletions(-) diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index 1df439c5..11d7178d 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -15,6 +15,15 @@ Release date:: November 2024 * German country specific validation rules added. * The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. * Update for country-specific rule NL-R-008 Make rule domestic-only. +* Correction in UNECERec20-11e for code HWE +* CEN UBL and CII new version 1.3.13 of schematrons +** Multiple allowances on one item #395 +** Update validation artafacts with Nov 24 codes #390 +** CII Schematron - BT-8 - [CII-SR-462] - Only one DueDateTypeCode shall be present - #387 +** Artefacts v1.3.12 (CII) do not check BR-62 / BR-63 correct any more #381 +** Contradicting message #379 +** CII special ID elements without attributes - not handled correctly #375 +** Commit did overwrite PR changes #374 * sample files and snippits have been updated to reflect the new rule PEPPOL-EN16931-R131 [attributes] diff --git a/rules/sch/CEN-EN16931-CII.sch b/rules/sch/CEN-EN16931-CII.sch index 2efd856a..91a34f5c 100644 --- a/rules/sch/CEN-EN16931-CII.sch +++ b/rules/sch/CEN-EN16931-CII.sch @@ -4,7 +4,8 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> - + + EN16931 model bound to CII @@ -121,7 +122,7 @@ [BR-64]-The Item standard identifier (BT-157) shall have a Scheme identifier. [BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). - [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. + [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). @@ -216,7 +217,7 @@ [BR-AG-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - [BR-AG-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. + [BR-AG-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. [BR-AG-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). @@ -489,7 +490,6 @@ [CII-SR-129] - TypeCode should not be present [CII-SR-130] - CategoryTradeTax should not be present [CII-SR-131] - ActualTradeCurrencyExchange should not be present - [CII-SR-440] - ActualAmount should exist maximum once [CII-SR-445] - IncludedTradeTax should not be present [CII-SR-132] - ValiditySpecifiedPeriod should not be present [CII-SR-133] - DeliveryTradeLocation should not be present @@ -513,6 +513,9 @@ [CII-SR-150] - IncludedSpecifiedMarketplace should not be present [CII-SR-447] - UltimateCustomerOrderReferencedDocument should not be present + + [CII-SR-440] - ActualAmount should exist maximum once + [CII-SR-151] - RequestedQuantity should not be present [CII-SR-152] - ReceivedQuantity should not be present @@ -680,8 +683,8 @@ [CII-SR-456] - DefinedTradeContact of BuyerTradeParty shall exist maximum once [CII-SR-457] - IssuerAssignedID with TypeCode 50 should exist maximum once [CII-SR-458] - IssuerAssignedID with TypeCode 130 should exist maximum once - [CII-SR-459] - SellerTradeParty URIUniversalCommunication should exist maximum once - [CII-SR-460] - BuyerTradeParty URIUniversalCommunication should exist maximum once + [CII-SR-459] - SellerTradeParty URIUniversalCommunication should exist maximum once + [CII-SR-460] - BuyerTradeParty URIUniversalCommunication should exist maximum once [CII-SR-308] - RelatedSupplyChainConsignment should not be present @@ -807,7 +810,7 @@ [CII-SR-452] - Only one SpecifiedTradePaymentTerms should be present [CII-SR-453] - Only one SpecifiedTradePaymentTerms Description should be present [CII-SR-461] - Only one TaxPointDate shall be present - [CII-SR-462] - Only one DueDateTypeCode shall be present + [CII-SR-462] - Only one DueDateTypeCode shall be present [CII-SR-411] - InformationAmount should not be present @@ -830,16 +833,20 @@ [CII-SR-004] - Value should not be present [CII-SR-005] - SpecifiedDocumentVersion should not be present - + + [CII-DT-001] - schemeName should not be present + [CII-DT-002] - schemeAgencyName should not be present + [CII-DT-003] - schemeDataURI should not be present + [CII-DT-004] - schemeURI should not be present [CII-DT-005] - schemeID should not be present [CII-DT-006] - schemeAgencyID should not be present [CII-DT-007] - schemeVersionID should not be present - [CII-DT-001] - schemeName should not be present - [CII-DT-002] - schemeAgencyName should not be present - [CII-DT-003] - schemeDataURI should not be present - [CII-DT-004] - schemeURI should not be present + [CII-DT-001] - schemeName should not be present + [CII-DT-002] - schemeAgencyName should not be present + [CII-DT-003] - schemeDataURI should not be present + [CII-DT-004] - schemeURI should not be present [CII-DT-008] - name should not be present @@ -955,13 +962,13 @@ [BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. - [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-06]-Value added tax point date code MUST be coded using a restriction of UNTDID 2475. @@ -973,10 +980,10 @@ [BR-CL-08]-Subject Code MUST be coded using a restriction of UNTDID 4451. - [BR-CL-10]-Any identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. + [BR-CL-10]-Any identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. + [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. @@ -1003,11 +1010,11 @@ [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list - [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD + [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list - [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list + [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension @@ -1016,10 +1023,10 @@ [BR-CL-24]-For Mime code in attribute use MIMEMediaType. - [BR-CL-25]-Endpoint identifier scheme identifier MUST belong to the CEF EAS code list + [BR-CL-25]-Endpoint identifier scheme identifier MUST belong to the CEF EAS code list - [BR-CL-26]-Delivery location identifier scheme identifier MUST belong to the ISO 6523 ICD + [BR-CL-26]-Delivery location identifier scheme identifier MUST belong to the ISO 6523 ICD code list diff --git a/rules/sch/CEN-EN16931-UBL.sch b/rules/sch/CEN-EN16931-UBL.sch index 43b85cfc..33a7bc7c 100644 --- a/rules/sch/CEN-EN16931-UBL.sch +++ b/rules/sch/CEN-EN16931-UBL.sch @@ -4,7 +4,8 @@ Licensed under European Union Public Licence (EUPL) version 1.2. --> - + + EN16931 model bound to UBL @@ -1149,13 +1150,13 @@ [BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. - [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 - [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 + [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 [BR-CL-06]-Value added tax point date code MUST be coded using a restriction of UNTDID 2005. @@ -1164,10 +1165,10 @@ [BR-CL-07]-Object identifier identification scheme identifier MUST be coded using a restriction of UNTDID 1153. - [BR-CL-10]-Any identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. + [BR-CL-10]-Any identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. + [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. [BR-CL-13]-Item classification identifier identification scheme identifier MUST be @@ -1195,10 +1196,10 @@ [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list - [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list + [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list - [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list + [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with @@ -1208,10 +1209,10 @@ [BR-CL-24]-For Mime code in attribute use MIMEMediaType. - [BR-CL-25]-Endpoint identifier scheme identifier MUST belong to the CEF EAS code list + [BR-CL-25]-Endpoint identifier scheme identifier MUST belong to the CEF EAS code list - [BR-CL-26]-Delivery location identifier scheme identifier MUST belong to the ISO 6523 ICD code list + [BR-CL-26]-Delivery location identifier scheme identifier MUST belong to the ISO 6523 ICD code list diff --git a/structure/codelist/UNECERec20-11e.xml b/structure/codelist/UNECERec20-11e.xml index 5162a47e..0b2d7e65 100644 --- a/structure/codelist/UNECERec20-11e.xml +++ b/structure/codelist/UNECERec20-11e.xml @@ -6,7 +6,7 @@ Revision 11e UN/ECE - + 10 group @@ -51,12 +51,12 @@ 22 decilitre per gram - + 23 gram per cubic centimetre - + 24 @@ -67,7 +67,7 @@ 25 gram per square centimetre - + 27 @@ -78,42 +78,42 @@ 28 kilogram per square metre - + 33 kilopascal square metre per gram - + 34 kilopascal per millimetre - + 35 millilitre per square centimetre second - + 37 ounce per square foot - + 38 ounce per square foot per 0,01inch - + 40 millilitre per second - + 41 millilitre per minute - + 56 @@ -151,42 +151,42 @@ 74 millipascal - + 77 milli-inch - + 80 pound per square inch absolute - + 81 henry - + 85 foot pound-force - + 87 pound per cubic foot - + 89 poise - + 91 stokes - + 1I @@ -207,7 +207,7 @@ 2C roentgen - + 2G @@ -223,32 +223,32 @@ 2I British thermal unit (international table) per hour - + 2J cubic centimetre per second - + 2K cubic foot per hour - + 2L cubic foot per minute - + 2M centimetre per second - + 2N decibel - + 2P @@ -258,37 +258,37 @@ 2Q kilobecquerel - + 2R kilocurie - + 2U megagram - + 2X metre per minute - + 2Y milliroentgen - + 2Z millivolt - + 3B megajoule - + 3C @@ -299,22 +299,22 @@ 4C centistokes - + 4G microlitre - + 4H micrometre (micron) - + 4K milliampere - + 4L @@ -324,57 +324,57 @@ 4M milligram per hour - + 4N megabecquerel - + 4O microfarad - + 4P newton per metre - + 4Q ounce inch - + 4R ounce foot - + 4T picofarad - + 4U pound per hour - + 4W ton (US) per hour - + 4X kilolitre per hour - + 5A barrel (US) per minute - + 5B @@ -397,178 +397,178 @@ A10 ampere square metre per joule second - + A11 angstrom - + A12 astronomical unit - + A13 attojoule - + A14 barn - + A15 barn per electronvolt - + A16 barn per steradian electronvolt - + A17 barn per steradian - + A18 becquerel per kilogram - + A19 becquerel per cubic metre - + A2 ampere per centimetre - + A20 British thermal unit (international table) per second square foot degree Rankine - + A21 British thermal unit (international table) per pound degree Rankine - + A22 British thermal unit (international table) per second foot degree Rankine - + A23 British thermal unit (international table) per hour square foot degree Rankine - + A24 candela per square metre - + A26 coulomb metre - + A27 coulomb metre squared per volt - + A28 coulomb per cubic centimetre - + A29 coulomb per cubic metre - + A3 ampere per millimetre - + A30 coulomb per cubic millimetre - + A31 coulomb per kilogram second - + A32 coulomb per mole - + A33 coulomb per square centimetre - + A34 coulomb per square metre - + A35 coulomb per square millimetre - + A36 cubic centimetre per mole - + A37 cubic decimetre per mole - + A38 cubic metre per coulomb - + A39 cubic metre per kilogram - + A4 ampere per square centimetre - + A40 cubic metre per mole - + A41 ampere per square metre - + A42 curie per kilogram - + A43 @@ -580,12 +580,12 @@ A44 decalitre - + A45 decametre - + A47 @@ -607,27 +607,27 @@ A5 ampere square metre - + A53 electronvolt - + A54 electronvolt per metre - + A55 electronvolt square metre - + A56 electronvolt square metre per kilogram - + A59 @@ -638,42 +638,42 @@ A6 ampere per square metre kelvin squared - + A68 exajoule - + A69 farad per metre - + A7 ampere per square millimetre - + A70 femtojoule - + A71 femtometre - + A73 foot per second squared - + A74 foot pound-force per second - + A75 @@ -685,42 +685,42 @@ A76 gal - + A8 ampere second - + A84 gigacoulomb per cubic metre - + A85 gigaelectronvolt - + A86 gigahertz - + A87 gigaohm - + A88 gigaohm metre - + A89 gigapascal - + A9 @@ -731,7 +731,7 @@ A90 gigawatt - + A91 @@ -741,32 +741,32 @@ A93 gram per cubic metre - + A94 gram per mole - + A95 gray - + A96 gray per second - + A97 hectopascal - + A98 henry per metre - + A99 @@ -787,7 +787,7 @@ ACR acre - + ACT @@ -803,7 +803,7 @@ AE ampere per metre - + AH @@ -820,7 +820,7 @@ AK fathom - + AL @@ -836,7 +836,7 @@ AMP ampere - + ANN @@ -846,7 +846,7 @@ APZ troy ounce or apothecary ounce - + AQ @@ -873,7 +873,7 @@ ATM standard atmosphere - + AWG @@ -890,12 +890,12 @@ AZ British thermal unit (international table) per pound - + B1 barrel (US) per day - + B10 @@ -905,12 +905,12 @@ B11 joule per kilogram kelvin - + B12 joule per metre - + B13 @@ -920,17 +920,17 @@ B14 joule per metre to the fourth power - + B15 joule per mole - + B16 joule per mole kelvin - + B17 @@ -941,7 +941,7 @@ B18 joule second - + B19 @@ -952,52 +952,52 @@ B20 joule square metre per kilogram - + B21 kelvin per watt - + B22 kiloampere - + B23 kiloampere per square metre - + B24 kiloampere per metre - + B25 kilobecquerel per kilogram - + B26 kilocoulomb - + B27 kilocoulomb per cubic metre - + B28 kilocoulomb per square metre - + B29 kiloelectronvolt - + B3 @@ -1012,27 +1012,27 @@ B31 kilogram metre per second - + B32 kilogram metre squared - + B33 kilogram metre squared per second - + B34 kilogram per cubic decimetre - + B35 kilogram per litre - + B4 @@ -1043,77 +1043,77 @@ B41 kilojoule per kelvin - + B42 kilojoule per kilogram - + B43 kilojoule per kilogram kelvin - + B44 kilojoule per mole - + B45 kilomole - + B46 kilomole per cubic metre - + B47 kilonewton - + B48 kilonewton metre - + B49 kiloohm - + B50 kiloohm metre - + B52 kilosecond - + B53 kilosiemens - + B54 kilosiemens per metre - + B55 kilovolt per metre - + B56 kiloweber per metre - + B57 @@ -1124,47 +1124,47 @@ B58 litre per mole - + B59 lumen hour - + B60 lumen per square metre - + B61 lumen per watt - + B62 lumen second - + B63 lux hour - + B64 lux second - + B66 megaampere per square metre - + B67 megabecquerel per kilogram - + B68 @@ -1174,7 +1174,7 @@ B69 megacoulomb per cubic metre - + B7 @@ -1185,57 +1185,57 @@ B70 megacoulomb per square metre - + B71 megaelectronvolt - + B72 megagram per cubic metre - + B73 meganewton - + B74 meganewton metre - + B75 megaohm - + B76 megaohm metre - + B77 megasiemens per metre - + B78 megavolt - + B79 megavolt per metre - + B8 joule per cubic metre - + B80 @@ -1246,7 +1246,7 @@ B81 reciprocal metre squared reciprocal second - + B82 @@ -1256,92 +1256,92 @@ B83 metre to the fourth power - + B84 microampere - + B85 microbar - + B86 microcoulomb - + B87 microcoulomb per cubic metre - + B88 microcoulomb per square metre - + B89 microfarad per metre - + B90 microhenry - + B91 microhenry per metre - + B92 micronewton - + B93 micronewton metre - + B94 microohm - + B95 microohm metre - + B96 micropascal - + B97 microradian - + B98 microsecond - + B99 microsiemens - + BAR bar [unit of pressure] - + BB @@ -1358,7 +1358,7 @@ BHP brake horse power - + BIL @@ -1368,12 +1368,12 @@ BLD dry barrel (US) - + BLL barrel (US) - + BP @@ -1388,22 +1388,22 @@ BQL becquerel - + BTU British thermal unit (international table) - + BUA bushel (US) - + BUI bushel (UK) - + C0 @@ -1414,57 +1414,57 @@ C10 millifarad - + C11 milligal - + C12 milligram per metre - + C13 milligray - + C14 millihenry - + C15 millijoule - + C16 millimetre per second - + C17 millimetre squared per second - + C18 millimole - + C19 mole per kilogram - + C20 millinewton - + C21 @@ -1474,82 +1474,82 @@ C22 millinewton per metre - + C23 milliohm metre - + C24 millipascal second - + C25 milliradian - + C26 millisecond - + C27 millisiemens - + C28 millisievert - + C29 millitesla - + C3 microvolt per metre - + C30 millivolt per metre - + C31 milliwatt - + C32 milliwatt per square metre - + C33 milliweber - + C34 mole - + C35 mole per cubic decimetre - + C36 mole per cubic metre - + C37 @@ -1559,107 +1559,107 @@ C38 mole per litre - + C39 nanoampere - + C40 nanocoulomb - + C41 nanofarad - + C42 nanofarad per metre - + C43 nanohenry - + C44 nanohenry per metre - + C45 nanometre - + C46 nanoohm metre - + C47 nanosecond - + C48 nanotesla - + C49 nanowatt - + C50 neper - + C51 neper per second - + C52 picometre - + C53 newton metre second - + C54 newton metre squared per kilogram squared - + C55 newton per square metre - + C56 newton per square millimetre - + C57 newton second - + C58 newton second per metre - + C59 @@ -1670,12 +1670,12 @@ C60 ohm centimetre - + C61 ohm metre - + C62 @@ -1685,32 +1685,32 @@ C63 parsec - + C64 pascal per kelvin - + C65 pascal second - + C66 pascal second per cubic metre - + C67 pascal second per metre - + C68 petajoule - + C69 @@ -1722,27 +1722,27 @@ C7 centipoise - + C70 picoampere - + C71 picocoulomb - + C72 picofarad per metre - + C73 picohenry - + C74 @@ -1753,17 +1753,17 @@ C75 picowatt - + C76 picowatt per square metre - + C78 pound-force - + C79 @@ -1774,42 +1774,42 @@ C8 millicoulomb per kilogram - + C80 rad - + C81 radian - + C82 radian square metre per mole - + C83 radian square metre per kilogram - + C84 radian per metre - + C85 reciprocal angstrom - + C86 reciprocal cubic metre - + C87 @@ -1819,12 +1819,12 @@ C88 reciprocal electron volt per cubic metre - + C89 reciprocal henry - + C9 @@ -1836,17 +1836,17 @@ C90 reciprocal joule per cubic metre - + C91 reciprocal kelvin or kelvin to the power minus one - + C92 reciprocal metre - + C93 @@ -1856,27 +1856,27 @@ C94 reciprocal minute - + C95 reciprocal mole - + C96 reciprocal pascal or pascal to the power minus one - + C97 reciprocal second - + C99 reciprocal second per metre squared - + CCT @@ -1887,7 +1887,7 @@ CDL candela - + CEL @@ -1908,12 +1908,12 @@ CGM centigram - + CKG coulomb per kilogram - + CLF @@ -1924,22 +1924,22 @@ CLT centilitre - + CMK square centimetre - + CMQ cubic centimetre - + CMT centimetre - + CNP @@ -1955,7 +1955,7 @@ COU coulomb - + CTG @@ -1966,7 +1966,7 @@ CTM metric carat - + CTN @@ -1977,17 +1977,17 @@ CUR curie - + CWA hundred pound (cwt) / hundred weight (US) - + CWI hundred weight (UK) - + D03 @@ -2003,12 +2003,12 @@ D1 reciprocal second per steradian - + D10 siemens per metre - + D11 @@ -2019,12 +2019,12 @@ D12 siemens square metre per mole - + D13 sievert - + D15 @@ -2035,42 +2035,42 @@ D16 square centimetre per erg - + D17 square centimetre per steradian erg - + D18 metre kelvin - + D19 square metre kelvin per watt - + D2 reciprocal second per steradian metre squared - + D20 square metre per joule - + D21 square metre per kilogram - + D22 square metre per mole - + D23 @@ -2081,47 +2081,47 @@ D24 square metre per steradian - + D25 square metre per steradian joule - + D26 square metre per volt second - + D27 steradian - + D29 terahertz - + D30 terajoule - + D31 terawatt - + D32 terawatt hour - + D33 tesla - + D34 @@ -2138,17 +2138,17 @@ D41 tonne per cubic metre - + D42 tropical year - + D43 unified atomic mass unit - + D44 @@ -2158,102 +2158,102 @@ D45 volt squared per kelvin squared - + D46 volt - ampere - + D47 volt per centimetre - + D48 volt per kelvin - + D49 millivolt per kelvin - + D5 kilogram per square centimetre - + D50 volt per metre - + D51 volt per millimetre - + D52 watt per kelvin - + D53 watt per metre kelvin - + D54 watt per square metre - + D55 watt per square metre kelvin - + D56 watt per square metre kelvin to the fourth power - + D57 watt per steradian - + D58 watt per steradian square metre - + D59 weber per metre - + D6 roentgen per second - + D60 weber per millimetre - + D61 minute [unit of angle] - + D62 second [unit of angle] - + D63 @@ -2275,22 +2275,22 @@ D69 inch to the fourth power - + D73 joule square metre - + D74 kilogram per mole - + D77 megacoulomb - + D78 @@ -2301,72 +2301,72 @@ D80 microwatt - + D81 microtesla - + D82 microvolt - + D83 millinewton metre - + D85 microwatt per square metre - + D86 millicoulomb - + D87 millimole per kilogram - + D88 millicoulomb per cubic metre - + D89 millicoulomb per square metre - + D91 rem - + D93 second per cubic metre - + D94 second per cubic metre radian - + D95 joule per gram - + DAA decare - + DAD @@ -2376,7 +2376,7 @@ DAY day - + DB @@ -2385,17 +2385,17 @@ water content of the product. - DBM + DBM Decibel-milliwatts - DBW + DBW Decibel watt DD degree [unit of angle] - + DEC @@ -2406,27 +2406,27 @@ DG decigram - + DJ decagram - + DLT decilitre - + DMA cubic decametre - + DMK square decimetre - + DMO @@ -2438,17 +2438,17 @@ DMQ cubic decimetre - + DMT decimetre - + DN decinewton metre - + DPC @@ -2498,7 +2498,7 @@ DWT pennyweight - + DZN @@ -2713,7 +2713,7 @@ E45 milliohm - + E46 @@ -2964,52 +2964,52 @@ E90 reciprocal centimetre - + E91 reciprocal day - + E92 cubic decimetre per hour - + E93 kilogram per hour - + E94 kilomole per second - + E95 mole per second - + E96 degree per second - + E97 millimetre per degree Celcius metre - + E98 degree Celsius per kelvin - + E99 hectopascal per bar - + EA @@ -3037,52 +3037,52 @@ F02 kelvin per kelvin - + F03 kilopascal per bar - + F04 millibar per bar - + F05 megapascal per bar - + F06 poise per bar - + F07 pascal per bar - + F08 milliampere per inch - + F10 kelvin per hour - + F11 kelvin per minute - + F12 kelvin per second - + F13 @@ -3093,177 +3093,177 @@ F14 gram per kelvin - + F15 kilogram per kelvin - + F16 milligram per kelvin - + F17 pound-force per foot - + F18 kilogram square centimetre - + F19 kilogram square millimetre - + F20 pound inch squared - + F21 pound-force inch - + F22 pound-force foot per ampere - + F23 gram per cubic decimetre - + F24 kilogram per kilomol - + F25 gram per hertz - + F26 gram per day - + F27 gram per hour - + F28 gram per minute - + F29 gram per second - + F30 kilogram per day - + F31 kilogram per minute - + F32 milligram per day - + F33 milligram per minute - + F34 milligram per second - + F35 gram per day kelvin - + F36 gram per hour kelvin - + F37 gram per minute kelvin - + F38 gram per second kelvin - + F39 kilogram per day kelvin - + F40 kilogram per hour kelvin - + F41 kilogram per minute kelvin - + F42 kilogram per second kelvin - + F43 milligram per day kelvin - + F44 milligram per hour kelvin - + F45 milligram per minute kelvin - + F46 milligram per second kelvin - + F47 newton per millimetre - + F48 pound-force per inch - + F49 @@ -3273,152 +3273,152 @@ F50 micrometre per kelvin - + F51 centimetre per kelvin - + F52 metre per kelvin - + F53 millimetre per kelvin - + F54 milliohm per metre - + F55 ohm per mile (statute mile) - + F56 ohm per kilometre - + F57 milliampere per pound-force per square inch - + F58 reciprocal bar - + F59 milliampere per bar - + F60 degree Celsius per bar - + F61 kelvin per bar - + F62 gram per day bar - + F63 gram per hour bar - + F64 gram per minute bar - + F65 gram per second bar - + F66 kilogram per day bar - + F67 kilogram per hour bar - + F68 kilogram per minute bar - + F69 kilogram per second bar - + F70 milligram per day bar - + F71 milligram per hour bar - + F72 milligram per minute bar - + F73 milligram per second bar - + F74 gram per bar - + F75 milligram per bar - + F76 milliampere per millimetre - + F77 pascal second per kelvin - + F78 inch of water - + F79 inch of mercury - + F80 @@ -3430,97 +3430,97 @@ F81 bar per kelvin - + F82 hectopascal per kelvin - + F83 kilopascal per kelvin - + F84 millibar per kelvin - + F85 megapascal per kelvin - + F86 poise per kelvin - + F87 volt per litre minute - + F88 newton centimetre - + F89 newton metre per degree - + F90 newton metre per ampere - + F91 bar litre per second - + F92 bar cubic metre per second - + F93 hectopascal litre per second - + F94 hectopascal cubic metre per second - + F95 millibar litre per second - + F96 millibar cubic metre per second - + F97 megapascal litre per second - + F98 megapascal cubic metre per second - + F99 pascal litre per second - + FAH @@ -3530,7 +3530,7 @@ FAR farad - + FBM @@ -3551,7 +3551,7 @@ FH micromole - + FIT @@ -3567,533 +3567,533 @@ small flattish fragment). - FNU + FNU Formazin nephelometric unit - + FOT foot - + FP pound per square foot - + FR foot per minute - + FS foot per second - + FTK square foot - + FTQ cubic foot - + G01 pascal cubic metre per second - + G04 centimetre per bar - + G05 metre per bar - + G06 millimetre per bar - + G08 square inch per second - + G09 square metre per second kelvin - + G10 stokes per kelvin - + G11 gram per cubic centimetre bar - + G12 gram per cubic decimetre bar - + G13 gram per litre bar - + G14 gram per cubic metre bar - + G15 gram per millilitre bar - + G16 kilogram per cubic centimetre bar - + G17 kilogram per litre bar - + G18 kilogram per cubic metre bar - + G19 newton metre per kilogram - + G2 US gallon per minute - + G20 pound-force foot per pound - + G21 cup [unit of volume] - + G23 peck - + G24 tablespoon (US) - + G25 teaspoon (US) - + G26 stere - + G27 cubic centimetre per kelvin - + G28 litre per kelvin - + G29 cubic metre per kelvin - + G3 Imperial gallon per minute - + G30 millilitre per kelvin - + G31 kilogram per cubic centimetre - + G32 ounce (avoirdupois) per cubic yard - + G33 gram per cubic centimetre kelvin - + G34 gram per cubic decimetre kelvin - + G35 gram per litre kelvin - + G36 gram per cubic metre kelvin - + G37 gram per millilitre kelvin - + G38 kilogram per cubic centimetre kelvin - + G39 kilogram per litre kelvin - + G40 kilogram per cubic metre kelvin - + G41 square metre per second bar - + G42 microsiemens per centimetre - + G43 microsiemens per metre - + G44 nanosiemens per centimetre - + G45 nanosiemens per metre - + G46 stokes per bar - + G47 cubic centimetre per day - + G48 cubic centimetre per hour - + G49 cubic centimetre per minute - + G50 gallon (US) per hour - + G51 litre per second - + G52 cubic metre per day - + G53 cubic metre per minute - + G54 millilitre per day - + G55 millilitre per hour - + G56 cubic inch per hour - + G57 cubic inch per minute - + G58 cubic inch per second - + G59 milliampere per litre minute - + G60 volt per bar - + G61 cubic centimetre per day kelvin - + G62 cubic centimetre per hour kelvin - + G63 cubic centimetre per minute kelvin - + G64 cubic centimetre per second kelvin - + G65 litre per day kelvin - + G66 litre per hour kelvin - + G67 litre per minute kelvin - + G68 litre per second kelvin - + G69 cubic metre per day kelvin - + G70 cubic metre per hour kelvin - + G71 cubic metre per minute kelvin - + G72 cubic metre per second kelvin - + G73 millilitre per day kelvin - + G74 millilitre per hour kelvin - + G75 millilitre per minute kelvin - + G76 millilitre per second kelvin - + G77 millimetre to the fourth power - + G78 cubic centimetre per day bar - + G79 cubic centimetre per hour bar - + G80 cubic centimetre per minute bar - + G81 cubic centimetre per second bar - + G82 litre per day bar - + G83 litre per hour bar - + G84 litre per minute bar - + G85 litre per second bar - + G86 cubic metre per day bar - + G87 cubic metre per hour bar - + G88 cubic metre per minute bar - + G89 cubic metre per second bar - + G90 millilitre per day bar - + G91 millilitre per hour bar - + G92 millilitre per minute bar - + G93 millilitre per second bar - + G94 cubic centimetre per bar - + G95 litre per bar - + G96 cubic metre per bar - + G97 millilitre per bar - + G98 microhenry per kiloohm - + G99 microhenry per ohm - + GB gallon (US) per day - + GBQ gigabecquerel - + GDW @@ -4104,12 +4104,12 @@ GE pound per gallon (US) - + GF gram per metre (gram per 100 centimetres) - + GFI @@ -4127,7 +4127,7 @@ GIA gill (US) - + GIC @@ -4138,7 +4138,7 @@ GII gill (UK) - + GIP @@ -4149,57 +4149,57 @@ GJ gram per millilitre - + GL gram per litre - + GLD dry gallon (US) - + GLI gallon (UK) - + GLL gallon (US) - + GM gram per square metre - + GO milligram per square metre - + GP milligram per cubic metre - + GQ microgram per cubic metre - + GRM gram - + GRN grain - + GRO @@ -4210,77 +4210,77 @@ GV gigajoule - + GWH gigawatt hour - + H03 henry per kiloohm - + H04 henry per ohm - + H05 millihenry per kiloohm - + H06 millihenry per ohm - + H07 pascal second per bar - + H08 microbecquerel - + H09 reciprocal year - + H10 reciprocal hour - + H11 reciprocal month - + H12 degree Celsius per hour - + H13 degree Celsius per minute - + H14 degree Celsius per second - + H15 square centimetre per gram - + H16 @@ -4295,12 +4295,12 @@ H19 cubic hectometre - + H20 cubic kilometre - + H21 @@ -4310,17 +4310,17 @@ H22 volt square inch per pound-force - + H23 volt per inch - + H24 volt per microsecond - + H25 @@ -4331,227 +4331,227 @@ H26 ohm per metre - + H27 degree per metre - + H28 microfarad per kilometre - + H29 microgram per litre - + H30 square micrometre (square micron) - + H31 ampere per kilogram - + H32 ampere squared second - + H33 farad per kilometre - + H34 hertz metre - + H35 kelvin metre per watt - + H36 megaohm per kilometre - + H37 megaohm per metre - + H38 megaampere - + H39 megahertz kilometre - + H40 newton per ampere - + H41 newton metre watt to the power minus 0,5 - + H42 pascal per metre - + H43 siemens per centimetre - + H44 teraohm - + H45 volt second per metre - + H46 volt per second - + H47 watt per cubic metre - + H48 attofarad - + H49 centimetre per hour - + H50 reciprocal cubic centimetre - + H51 decibel per kilometre - + H52 decibel per metre - + H53 kilogram per bar - + H54 kilogram per cubic decimetre kelvin - + H55 kilogram per cubic decimetre bar - + H56 kilogram per square metre second - + H57 inch per two pi radiant - + H58 metre per volt second - + H59 square metre per newton - + H60 cubic metre per cubic metre - + H61 millisiemens per centimetre - + H62 millivolt per minute - + H63 milligram per square centimetre - + H64 milligram per gram - + H65 millilitre per cubic metre - + H66 millimetre per year - + H67 millimetre per hour - + H68 millimole per gram - + H69 picopascal per kilometre - + H70 picosecond - + H71 @@ -4573,17 +4573,17 @@ H74 watt per metre - + H75 decapascal - + H76 gram per millimetre - + H77 @@ -4608,7 +4608,7 @@ H81 millimetre per minute - + H82 @@ -4620,17 +4620,17 @@ H83 litre per kilogram - + H84 gram millimetre - + H85 reciprocal week - + H87 @@ -4641,7 +4641,7 @@ H88 megaohm kilometre - + H89 @@ -4707,13 +4707,13 @@ A unit of length, typically for yarn. - HAD + HAD Piece Day HBA hectobar - + HBX @@ -4742,7 +4742,7 @@ HGM hectogram - + HH @@ -4764,15 +4764,15 @@ HLT hectolitre - + HM mile per hour (statute mile) - + - HMO + HMO Piece Month @@ -4783,7 +4783,7 @@ HMT hectometre - + HPA @@ -4793,21 +4793,21 @@ HTZ hertz - + HUR hour - - - HWE + + + + HWE Piece Week - IA inch pound (pound inch) - + IE @@ -4817,12 +4817,12 @@ INH inch - + INK square inch - + INQ @@ -4838,16 +4838,16 @@ IU inch per second - + - + IUG international unit per gram IV inch per second squared - + J10 @@ -4897,48 +4897,48 @@ J19 degree Fahrenheit hour square foot per British thermal unit (thermochemical) - + J2 joule per kilogram - + J20 degree Fahrenheit per kelvin - + J21 degree Fahrenheit per bar - + J22 degree Fahrenheit hour square foot per British thermal unit (international table) - + J23 degree Fahrenheit per hour - + J24 degree Fahrenheit per minute - + J25 degree Fahrenheit per second - + J26 reciprocal degree Fahrenheit - + J27 @@ -4949,17 +4949,17 @@ J28 degree Rankine per hour - + J29 degree Rankine per minute - + J30 degree Rankine per second - + J31 @@ -4970,27 +4970,27 @@ J32 micropoise - + J33 microgram per kilogram - + J34 microgram per cubic metre kelvin - + J35 microgram per cubic metre bar - + J36 microlitre per litre - + J38 @@ -5001,83 +5001,83 @@ J39 British thermal unit (mean) - + J40 British thermal unit (international table) foot per hour square foot degree Fahrenheit - + J41 British thermal unit (international table) inch per hour square foot degree Fahrenheit - + J42 British thermal unit (international table) inch per second square foot degree Fahrenheit - + J43 British thermal unit (international table) per pound degree Fahrenheit - + J44 British thermal unit (international table) per minute - + J45 British thermal unit (international table) per second - + J46 British thermal unit (thermochemical) foot per hour square foot degree Fahrenheit - + J47 British thermal unit (thermochemical) per hour - + J48 British thermal unit (thermochemical) inch per hour square foot degree Fahrenheit - + J49 British thermal unit (thermochemical) inch per second square foot degree Fahrenheit - + J50 British thermal unit (thermochemical) per pound degree Fahrenheit - + J51 British thermal unit (thermochemical) per minute - + J52 British thermal unit (thermochemical) per second - + J53 coulomb square metre per kilogram - + J54 @@ -5088,212 +5088,212 @@ J55 watt second - + J56 bar per bar - + J57 barrel (UK petroleum) - + J58 barrel (UK petroleum) per minute - + J59 barrel (UK petroleum) per day - + J60 barrel (UK petroleum) per hour - + J61 barrel (UK petroleum) per second - + J62 barrel (US petroleum) per hour - + J63 barrel (US petroleum) per second - + J64 bushel (UK) per day - + J65 bushel (UK) per hour - + J66 bushel (UK) per minute - + J67 bushel (UK) per second - + J68 bushel (US dry) per day - + J69 bushel (US dry) per hour - + J70 bushel (US dry) per minute - + J71 bushel (US dry) per second - + J72 centinewton metre - + J73 centipoise per kelvin - + J74 centipoise per bar - + J75 calorie (mean) - + J76 calorie (international table) per gram degree Celsius - + J78 calorie (thermochemical) per centimetre second degree Celsius - + J79 calorie (thermochemical) per gram degree Celsius - + J81 calorie (thermochemical) per minute - + J82 calorie (thermochemical) per second - + J83 clo - + J84 centimetre per second kelvin - + J85 centimetre per second bar - + J87 cubic centimetre per cubic metre - + J90 cubic decimetre per day - + J91 cubic decimetre per cubic metre - + J92 cubic decimetre per minute - + J93 cubic decimetre per second - + J95 ounce (UK fluid) per day - + J96 ounce (UK fluid) per hour - + J97 ounce (UK fluid) per minute - + J98 ounce (UK fluid) per second - + J99 ounce (US fluid) per day - + JE joule per kelvin - + JK megajoule per kilogram - + JM megajoule per cubic metre - + JNT @@ -5303,7 +5303,7 @@ JOU joule - + JPS @@ -5325,52 +5325,52 @@ K10 ounce (US fluid) per hour - + K11 ounce (US fluid) per minute - + K12 ounce (US fluid) per second - + K13 foot per degree Fahrenheit - + K14 foot per hour - + K15 foot pound-force per hour - + K16 foot pound-force per minute - + K17 foot per psi - + K18 foot per second degree Fahrenheit - + K19 foot per second psi - + K2 @@ -5381,37 +5381,37 @@ K20 reciprocal cubic foot - + K21 cubic foot per degree Fahrenheit - + K22 cubic foot per day - + K23 cubic foot per psi - + K26 gallon (UK) per day - + K27 gallon (UK) per hour - + K28 gallon (UK) per second - + K3 @@ -5422,97 +5422,97 @@ K30 gallon (US liquid) per second - + K31 gram-force per square centimetre - + K32 gill (UK) per day - + K33 gill (UK) per hour - + K34 gill (UK) per minute - + K35 gill (UK) per second - + K36 gill (US) per day - + K37 gill (US) per hour - + K38 gill (US) per minute - + K39 gill (US) per second - + K40 standard acceleration of free fall - + K41 grain per gallon (US) - + K42 horsepower (boiler) - + K43 horsepower (electric) - + K45 inch per degree Fahrenheit - + K46 inch per psi - + K47 inch per second degree Fahrenheit - + K48 inch per second psi - + K49 reciprocal cubic inch - + K50 @@ -5523,237 +5523,237 @@ K51 kilocalorie (mean) - + K52 kilocalorie (international table) per hour metre degree Celsius - + K53 kilocalorie (thermochemical) - + K54 kilocalorie (thermochemical) per minute - + K55 kilocalorie (thermochemical) per second - + K58 kilomole per hour - + K59 kilomole per cubic metre kelvin - + K6 kilolitre - + K60 kilomole per cubic metre bar - + K61 kilomole per minute - + K62 litre per litre - + K63 reciprocal litre - + K64 pound (avoirdupois) per degree Fahrenheit - + K65 pound (avoirdupois) square foot - + K66 pound (avoirdupois) per day - + K67 pound per foot hour - + K68 pound per foot second - + K69 pound (avoirdupois) per cubic foot degree Fahrenheit - + K70 pound (avoirdupois) per cubic foot psi - + K71 pound (avoirdupois) per gallon (UK) - + K73 pound (avoirdupois) per hour degree Fahrenheit - + K74 pound (avoirdupois) per hour psi - + K75 pound (avoirdupois) per cubic inch degree Fahrenheit - + K76 pound (avoirdupois) per cubic inch psi - + K77 pound (avoirdupois) per psi - + K78 pound (avoirdupois) per minute - + K79 pound (avoirdupois) per minute degree Fahrenheit - + K80 pound (avoirdupois) per minute psi - + K81 pound (avoirdupois) per second - + K82 pound (avoirdupois) per second degree Fahrenheit - + K83 pound (avoirdupois) per second psi - + K84 pound per cubic yard - + K85 pound-force per square foot - + K86 pound-force per square inch degree Fahrenheit - + K87 psi cubic inch per second - + K88 psi litre per second - + K89 psi cubic metre per second - + K90 psi cubic yard per second - + K91 pound-force second per square foot - + K92 pound-force second per square inch - + K93 reciprocal psi - + K94 quart (UK liquid) per day - + K95 quart (UK liquid) per hour - + K96 quart (UK liquid) per minute - + K97 quart (UK liquid) per second - + K98 quart (US liquid) per day - + K99 quart (US liquid) per hour - + KA @@ -5775,7 +5775,7 @@ KBA kilobar - + KCC @@ -5801,7 +5801,7 @@ KGS kilogram per second - + KHY @@ -5811,12 +5811,12 @@ KHZ kilohertz - + KI kilogram per millimetre width - + KIC @@ -5838,12 +5838,12 @@ KJO kilojoule - + KL kilogram per metre - + KLK @@ -5864,12 +5864,12 @@ KMH kilometre per hour - + KMK square kilometre - + KMQ @@ -5880,7 +5880,7 @@ KMT kilometre - + KNI @@ -5900,7 +5900,7 @@ KNT knot - + KO @@ -5912,7 +5912,7 @@ KPA kilopascal - + KPH @@ -5934,7 +5934,7 @@ KR kiloroentgen - + KSD @@ -5957,7 +5957,7 @@ KTN kilotonne - + KUR @@ -5967,29 +5967,29 @@ KVA kilovolt - ampere - + KVR kilovar - + KVT kilovolt - + KW kilogram per millimetre - + KWH kilowatt hour - + - + KWN Kilowatt hour per normalized cubic metre @@ -6005,456 +6005,456 @@ KWT kilowatt - + - KWY + KWY kilowatt year KX millilitre per kilogram - + L10 quart (US liquid) per minute - + L11 quart (US liquid) per second - + L12 metre per second kelvin - + L13 metre per second bar - + L14 square metre hour degree Celsius per kilocalorie (international table) - + L15 millipascal second per kelvin - + L16 millipascal second per bar - + L17 milligram per cubic metre kelvin - + L18 milligram per cubic metre bar - + L19 millilitre per litre - + L2 litre per minute - + L20 reciprocal cubic millimetre - + L21 cubic millimetre per cubic metre - + L23 mole per hour - + L24 mole per kilogram kelvin - + L25 mole per kilogram bar - + L26 mole per litre kelvin - + L27 mole per litre bar - + L28 mole per cubic metre kelvin - + L29 mole per cubic metre bar - + L30 mole per minute - + L31 milliroentgen aequivalent men - + L32 nanogram per kilogram - + L33 ounce (avoirdupois) per day - + L34 ounce (avoirdupois) per hour - + L35 ounce (avoirdupois) per minute - + L36 ounce (avoirdupois) per second - + L37 ounce (avoirdupois) per gallon (UK) - + L38 ounce (avoirdupois) per gallon (US) - + L39 ounce (avoirdupois) per cubic inch - + L40 ounce (avoirdupois)-force - + L41 ounce (avoirdupois)-force inch - + L42 picosiemens per metre - + L43 peck (UK) - + L44 peck (UK) per day - + L45 peck (UK) per hour - + L46 peck (UK) per minute - + L47 peck (UK) per second - + L48 peck (US dry) per day - + L49 peck (US dry) per hour - + L50 peck (US dry) per minute - + L51 peck (US dry) per second - + L52 psi per psi - + L53 pint (UK) per day - + L54 pint (UK) per hour - + L55 pint (UK) per minute - + L56 pint (UK) per second - + L57 pint (US liquid) per day - + L58 pint (US liquid) per hour - + L59 pint (US liquid) per minute - + L60 pint (US liquid) per second - + L63 slug per day - + L64 slug per foot second - + L65 slug per cubic foot - + L66 slug per hour - + L67 slug per minute - + L68 slug per second - + L69 tonne per kelvin - + L70 tonne per bar - + L71 tonne per day - + L72 tonne per day kelvin - + L73 tonne per day bar - + L74 tonne per hour kelvin - + L75 tonne per hour bar - + L76 tonne per cubic metre kelvin - + L77 tonne per cubic metre bar - + L78 tonne per minute - + L79 tonne per minute kelvin - + L80 tonne per minute bar - + L81 tonne per second - + L82 tonne per second kelvin - + L83 tonne per second bar - + L84 ton (UK shipping) - + L85 ton long per day - + L86 ton (US shipping) - + L87 ton short per degree Fahrenheit - + L88 ton short per day - + L89 ton short per hour degree Fahrenheit - + L90 ton short per hour psi - + L91 ton short per psi - + L92 ton (UK long) per cubic yard - + L93 ton (US short) per cubic yard - + L94 ton-force (US short) - + L95 common year - + L96 sidereal year - + L98 yard per degree Fahrenheit - + L99 yard per psi - + LA pound per cubic inch - + LAC @@ -6465,17 +6465,17 @@ LBR pound - + LBT troy pound (US) - + LD litre per day - + LEF @@ -6546,7 +6546,7 @@ LTR litre - + LUB @@ -6557,12 +6557,12 @@ LUM lumen - + LUX lux - + LY @@ -6573,52 +6573,52 @@ M1 milligram per litre - + M10 reciprocal cubic yard - + M11 cubic yard per degree Fahrenheit - + M12 cubic yard per day - + M13 cubic yard per hour - + M14 cubic yard per psi - + M15 cubic yard per minute - + M16 cubic yard per second - + M17 kilohertz metre - + M18 gigahertz metre - + M19 @@ -6630,27 +6630,27 @@ M20 reciprocal megakelvin or megakelvin to the power minus one - + M21 reciprocal kilovolt - ampere reciprocal hour - + M22 millilitre per square centimetre minute - + M23 newton per centimetre - + M24 ohm kilometre - + M25 @@ -6661,47 +6661,47 @@ M26 gigaohm per metre - + M27 megahertz metre - + M29 kilogram per kilogram - + M30 reciprocal volt - ampere reciprocal second - + M31 kilogram per kilometre - + M32 pascal second per litre - + M33 millimole per litre - + M34 newton metre per square metre - + M35 millivolt - ampere - + M36 @@ -6793,7 +6793,7 @@ M5 microcurie - + M50 @@ -6904,7 +6904,7 @@ M7 micro-inch - + M70 @@ -7025,7 +7025,7 @@ M9 million Btu per 1000 cubic foot - + M90 @@ -7098,12 +7098,12 @@ MAL megalitre - + MAM megametre - + MAR @@ -7133,17 +7133,17 @@ MBR millibar - + MC microgram - + MCU millicurie - + MD @@ -7154,32 +7154,32 @@ MGM milligram - + MHZ megahertz - + MIK square mile (statute mile) - + MIL thousand - + MIN minute [unit of time] - + MIO million - + MIU @@ -7187,15 +7187,15 @@ A unit of count defining the number of international units in multiples of 10. - MKD + MKD Square Metre Day - MKM + MKM Square Metre Month - MKW + MKW Square Metre Week @@ -7206,22 +7206,22 @@ MLT millilitre - + MMK square millimetre - + MMQ cubic millimetre - + MMT millimetre - + MND @@ -7230,7 +7230,7 @@ water content of the product. - MNJ + MNJ Mega Joule per Normalised cubic Metre @@ -7241,51 +7241,51 @@ MPA megapascal - + - MQD + MQD Cubic Metre Day MQH cubic metre per hour - + - MQM + MQM Cubic Metre Month MQS cubic metre per second - + - MQW + MQW Cubic Metre Week - MRD + MRD Metre Day - MRM + MRM Metre Month - MRW + MRW Metre Week MSK metre per second squared - + MTK square metre - + MTQ @@ -7295,21 +7295,21 @@ MTR metre - + MTS metre per second - + - MTZ + MTZ milihertz MVA megavolt - ampere - + MWH @@ -7462,7 +7462,7 @@ N3 print point - + N30 @@ -7890,7 +7890,7 @@ NA milligram per kilogram - + NAR @@ -7906,7 +7906,7 @@ NEW newton - + NF @@ -7938,7 +7938,7 @@ NMI nautical mile - + NMP @@ -7959,13 +7959,13 @@ Convention on tonnage measurement of Ships. - NTU + NTU Nephelometric turbidity unit - + NU newton metre - + NX @@ -8000,17 +8000,17 @@ OHM ohm - + ON ounce per square yard - + ONZ ounce (avoirdupois) - + OPM @@ -8025,12 +8025,12 @@ OZA fluid ounce (US) - + OZI fluid ounce (UK) - + P1 @@ -8094,7 +8094,7 @@ P2 pound per foot - + P20 @@ -8581,7 +8581,7 @@ PAL pascal - + PD @@ -8620,7 +8620,7 @@ PO pound per inch of length - + PQ @@ -8637,22 +8637,22 @@ PS pound-force per square inch - + PTD dry pint (US) - + PTI pint (UK) - + PTL liquid pint (US) - + PTN @@ -8795,22 +8795,22 @@ Q31 kilojoule per gram - + Q32 femtolitre - + Q33 picolitre - + Q34 nanolitre - + Q35 @@ -8888,17 +8888,17 @@ QTD dry quart (US) - + QTI quart (UK) - + QTL liquid quart (US) - + QTR @@ -8979,12 +8979,12 @@ SCR scruple - + SEC second [unit of time] - + SET @@ -9000,7 +9000,7 @@ SIE siemens - + SM3 @@ -9011,7 +9011,7 @@ SMI mile (statute mile) - + SQ @@ -9040,7 +9040,7 @@ STI stone (UK) - + STK @@ -9097,7 +9097,7 @@ TAH kiloampere hour (thousand ampere hour) - + TAN @@ -9109,7 +9109,7 @@ TI thousand square inch - + TIC @@ -9164,7 +9164,7 @@ TRL trillion (EUR) - + TST @@ -9203,12 +9203,12 @@ VA volt - ampere per kilogram - + VLT volt - + VP @@ -9225,7 +9225,7 @@ WA watt per kilogram - + WB @@ -9248,12 +9248,12 @@ WEB weber - + WEE week - + WG @@ -9263,7 +9263,7 @@ WHR watt hour - + WM @@ -9279,7 +9279,7 @@ WTT watt - + X1 @@ -9289,17 +9289,17 @@ YDK square yard - + YDQ cubic yard - + YRD yard - + Z11 @@ -9307,7 +9307,7 @@ A unit of count defining the number of hanging containers. - Z9 + Z9 nanomole @@ -9321,9 +9321,9 @@ A unit of measure as agreed in common between two or more parties. - - - + + + X1A Drum, steel @@ -10176,39 +10176,39 @@ Net, tube, textile - XO1 + XO1 Two sided cage on wheels with fixing strap - XO2 + XO2 Trolley - XO3 + XO3 Oneway pallet ISO 0 - 1/2 EURO Pallet - XO4 + XO4 Oneway pallet ISO 1 - 1/1 EURO Pallet - XO5 + XO5 Oneway pallet ISO 2 - 2/1 EURO Pallet - XO6 + XO6 Pallet with exceptional dimensions - XO7 - Wooden pallet 40 cm x 80 cm + XO7 + Wooden pallet 40 cm x 80 cm - XO8 + XO8 Plastic pallet SRS 60 cm x 80 cm - XO9 + XO9 Plastic pallet SRS 80 cm x 120 cm @@ -10248,15 +10248,15 @@ weight. - XOG + XOG Pallet ISO 0 - 1/2 EURO Pallet - XOH + XOH Pallet ISO 1 - 1/1 EURO Pallet - XOI + XOI Pallet ISO 2 – 2/1 EURO Pallet @@ -10266,43 +10266,43 @@ sides. - XOJ + XOJ 1/4 EURO Pallet - XOL + XOL 1/8 EURO Pallet - XOM + XOM Synthetic pallet ISO 1 - XON + XON Synthetic pallet ISO 2 - XOP + XOP Wholesaler pallet - XOQ + XOQ Pallet 80 X 100 cm - XOR + XOR Pallet 60 X 100 cm - XOS + XOS Oneway pallet - XOV + XOV Returnable pallet - XOW + XOW Large bag, pallet sized @@ -10318,19 +10318,19 @@ otherwise specified as transport equipment. - XOX + XOX A wheeled pallet with raised rim (81 x 67 x 135) - XOY + XOY A Wheeled pallet with raised rim (81 x 72 x 135) - XOZ + XOZ Wheeled pallet with raised rim ( 81 x 60 x 16) - XP1 + XP1 CHEP pallet 60 cm x 80 cm @@ -10339,11 +10339,11 @@ A shallow, wide, open container, usually of metal. - XP3 + XP3 LPR pallet 60 cm x 80 cm - XP4 + XP4 LPR pallet 80 cm x 120 cm @@ -10624,7 +10624,7 @@ then shrunk tightly on to the goods. - XSX + XSX Set @@ -11094,7 +11094,7 @@ - + - + \ No newline at end of file From 877ccff88e43882e60b5e850e98567ed66d6d103 Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Thu, 31 Oct 2024 11:03:54 +0100 Subject: [PATCH 137/145] Fixed typo --- guide/release-notes/v3.0.18.adoc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index ea20e9fa..5396d49f 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -4,14 +4,11 @@ Release date:: November 2024 == Changes to BIS document -== Changes to Compliance BIS document -* Added new compliance on SBDH and BIS3 payload -** The value of the SBDH element "Sender/Identifier" MUST be equivalent to the value in the sender party’s "Party/EndpointID" element and its "schemeID" attribute. -** The value of the SBDH element "Receiver/Identifier" MUST be equivalent to the value in the receiver’s party "Party/EndpointID" element and its "schemeID" attribute +== Changes to "BIS compliance" document +* Added new compliance rules on how to use sender/receiver identifiers when enveloping a BIS3 message in Peppol Business Message Envelope (SBDH) == Changes to code lists and validation artefacts -* Invoice Type codes 326 (Partial invoice) and 384 (Corrected invoice) added to the codelist and listed as synonyms with type code 380 (Commercial Invoice) * German country specific validation rules added. * The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. * Update for country-specific rule NL-R-008 Make rule domestic-only. From bec198d0a454b6027b3fa59d0e0be51643eee312 Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Thu, 31 Oct 2024 11:20:37 +0100 Subject: [PATCH 138/145] Took out invoice types which are only allowed for DE --- guide/profile/codes/invoice-specific.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/profile/codes/invoice-specific.adoc b/guide/profile/codes/invoice-specific.adoc index 34c2a0ee..8785cf8a 100644 --- a/guide/profile/codes/invoice-specific.adoc +++ b/guide/profile/codes/invoice-specific.adoc @@ -63,11 +63,13 @@ include::../../syntax/codelists/inv-type.adoc[] | 380 | Invoice + |331 |Commercial invoice which includes a packing list @@ -87,11 +89,13 @@ include::../../syntax/codelists/inv-type.adoc[] | 380 | Invoice + |386 |Prepayment invoice From 2b71499f314377ae42f6ef44dd0b9bda339140c4 Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Thu, 31 Oct 2024 11:24:32 +0100 Subject: [PATCH 139/145] Ascii-doc typo --- guide/profile/codes/invoice-specific.adoc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/guide/profile/codes/invoice-specific.adoc b/guide/profile/codes/invoice-specific.adoc index 8785cf8a..33c5a555 100644 --- a/guide/profile/codes/invoice-specific.adoc +++ b/guide/profile/codes/invoice-specific.adoc @@ -63,14 +63,6 @@ include::../../syntax/codelists/inv-type.adoc[] | 380 | Invoice - - |331 |Commercial invoice which includes a packing list |Commercial transaction (invoice) will include a packing list. @@ -89,14 +81,6 @@ include::../../syntax/codelists/inv-type.adoc[] | 380 | Invoice - - |386 |Prepayment invoice |An invoice to pay amounts for goods and services in advance; these amounts will be subtracted from the final invoice. From 6c84a9edce860c36ca865897504f1d42e82e8db3 Mon Sep 17 00:00:00 2001 From: MartinForsberg-Ecru Date: Thu, 7 Nov 2024 10:55:54 +0100 Subject: [PATCH 140/145] Fixed formatting issue with unwanted linebreaks. --- rules/sch/PEPPOL-EN16931-UBL.sch | 422 +++++++++---------------------- 1 file changed, 122 insertions(+), 300 deletions(-) diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 9addfc2e..4b19c900 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -255,8 +255,7 @@ Last update: 2024 November release 3.0.18. - Document MUST not contain empty - elements. + Document MUST not contain empty elements. - Business process MUST be - provided. - Business process - MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the - process number. + Business process MUST be provided. + Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the process number. No more than one note is allowed on document level, unless both the buyer and - seller are German organizations. + flag="fatal">No more than one note is allowed on document level, unless both the buyer and seller are German organizations. A buyer reference or purchase order reference MUST be provided. Specification identifier MUST have the value - 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'. - Only - one tax total with tax subtotals MUST be provided. + flag="fatal">Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'. + Only one tax total with tax subtotals MUST be provided. Only one tax total without tax subtotals MUST be provided when tax currency - code is provided. + flag="fatal">Only one tax total without tax subtotals MUST be provided when tax currency code is provided. Invoice total VAT amount and Invoice total VAT amount in accounting currency - MUST have the same operational sign + flag="fatal">Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign VAT accounting currency code MUST be different from invoice currency code when - provided. + flag="fatal">VAT accounting currency code MUST be different from invoice currency code when provided. - Buyer electronic address - MUST be provided + Buyer electronic address MUST be provided - Seller electronic address - MUST be provided + Seller electronic address MUST be provided - Allowance/charge base amount MUST - be provided when allowance/charge percentage is provided. + Allowance/charge base amount MUST be provided when allowance/charge percentage is provided. - Allowance/charge percentage MUST - be provided when allowance/charge base amount is provided. + Allowance/charge percentage MUST be provided when allowance/charge base amount is provided. @@ -343,8 +329,7 @@ Last update: 2024 November release 3.0.18. cbc:Amount else 0, (xs:decimal(cbc:BaseAmount) * xs:decimal(cbc:MultiplierFactorNumeric)) div 100, 0.02)" - flag="fatal">Allowance/charge amount must equal base amount * percentage/100 if base amount - and percentage exists + flag="fatal">Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists Allowance/charge ChargeIndicator value MUST equal 'true' or 'false' @@ -354,28 +339,23 @@ Last update: 2024 November release 3.0.18. context=" cac:PaymentMeans[some $code in tokenize('49 59', '\s') satisfies normalize-space(cbc:PaymentMeansCode) = $code]"> - Mandate - reference MUST be provided for direct debit. + Mandate reference MUST be provided for direct debit. - All - currencyID attributes must have the same value as the invoice currency code (BT-5), except - for the invoice total VAT amount in accounting currency (BT-111). + All currencyID attributes must have the same value as the invoice currency code (BT-5), except for the invoice total VAT amount in accounting currency (BT-111). Start - date of line period MUST be within invoice period. + test="xs:date(text()) >= xs:date(../../../cac:InvoicePeriod/cbc:StartDate)" flag="fatal">Start date of line period MUST be within invoice period. End - date of line period MUST be within invoice period. + test="xs:date(text()) <= xs:date(../../../cac:InvoicePeriod/cbc:EndDate)" flag="fatal">End date of line period MUST be within invoice period. @@ -423,14 +403,11 @@ Last update: 2024 November release 3.0.18. 0" /> Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item - price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance - amount + flag="fatal">Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount Base quantity MUST be a positive number above zero. - Only - one invoiced object is allowed pr line + Only one invoiced object is allowed pr line Element Document reference can only be used for Invoice line object @@ -441,8 +418,7 @@ Last update: 2024 November release 3.0.18. flag="fatal">Charge on price level is NOT allowed. Only value 'false' allowed. Item net price MUST equal (Gross price - Allowance amount) when gross price is - provided. + flag="fatal">Item net price MUST equal (Gross price - Allowance amount) when gross price is provided. @@ -460,14 +436,12 @@ Last update: 2024 November release 3.0.18. GLN - must have a valid format according to GS1 rules. + test="matches(normalize-space(), '^[0-9]+$') and u:gln(normalize-space())" flag="fatal">GLN must have a valid format according to GS1 rules. Norwegian - organization number MUST be stated in the correct format. + test="matches(normalize-space(), '^[0-9]{9}$') and u:mod11(normalize-space())" flag="fatal">Norwegian organization number MUST be stated in the correct format. @@ -483,22 +457,18 @@ Last update: 2024 November release 3.0.18. - IPA - Code (Codice Univoco Unità Organizzativa) must be stated in the correct format + IPA Code (Codice Univoco Unità Organizzativa) must be stated in the correct format - Tax Code - (Codice Fiscale) must be stated in the correct format + Tax Code (Codice Fiscale) must be stated in the correct format - Tax Code - (Codice Fiscale) must be stated in the correct format + Tax Code (Codice Fiscale) must be stated in the correct format - Italian - VAT Code (Partita Iva) must be stated in the correct format + Italian VAT Code (Partita Iva) must be stated in the correct format @@ -523,17 +492,11 @@ Last update: 2024 November release 3.0.18. For Norwegian suppliers, most invoice issuers are required to append - "Foretaksregisteret" to their - invoice. "Dersom selger er aksjeselskap, allmennaksjeselskap eller filial av utenlandsk - selskap skal også ordet «Foretaksregisteret» fremgå av salgsdokumentet, jf. - foretaksregisterloven § 10-2." + flag="warning">For Norwegian suppliers, most invoice issuers are required to append "Foretaksregisteret" to their invoice. "Dersom selger er aksjeselskap, allmennaksjeselskap eller filial av utenlandsk selskap skal også ordet «Foretaksregisteret» fremgå av salgsdokumentet, jf. foretaksregisterloven § 10-2." For Norwegian suppliers, a VAT number MUST be the country code prefix NO - followed by a valid Norwegian organization number (nine numbers) followed by the letters - MVA. + flag="fatal">For Norwegian suppliers, a VAT number MUST be the country code prefix NO followed by a valid Norwegian organization number (nine numbers) followed by the letters MVA. @@ -552,14 +515,12 @@ Last update: 2024 November release 3.0.18. test="not(((boolean(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID)) and (normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/@schemeID) != '0184')) )" - flag="fatal">For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK - CVR-number) when PartyLegalEntity/CompanyID is used for AccountingSupplierParty + flag="fatal">For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingSupplierParty For Danish Suppliers, a Credit note cannot have a negative total - (PayableAmount) + flag="fatal">For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount) @@ -567,28 +528,24 @@ Last update: 2024 November release 3.0.18. test="not((boolean(cbc:ID)) and (normalize-space(cbc:ID/@schemeID) = '') )" - flag="fatal">For Danish Suppliers it is mandatory to use schemeID when - PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty + flag="fatal">For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, - 42, 48, 49, 50, 58, 59, 93 and 97 + flag="fatal">For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93 and 97 For Danish suppliers bank account and registration account is mandatory if - payment means is 31 or 42 + flag="fatal">For Danish suppliers bank account and registration account is mandatory if payment means is 31 or 42 For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are - mandatory when payment means is 49 + flag="fatal">For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are mandatory when payment means is 49 For Danish Suppliers PaymentID is mandatory and MUST start with 01#, 04# or 15# - (kortartkode), and PayeeFinancialAccount/ID (Giro kontonummer) is mandatory and must be 7 - characters long, when payment means equals 50 (Giro) + flag="fatal">For Danish Suppliers PaymentID is mandatory and MUST start with 01#, 04# or 15# (kortartkode), and PayeeFinancialAccount/ID (Giro kontonummer) is mandatory and must be 7 characters long, when payment means equals 50 (Giro) For Danish Suppliers if the PaymentID is prefixed with 04# or 15# the 16 digits - instruction Id must be added to the PaymentID eg. "04#1234567890123456" when Payment means - equals 50 (Giro) + flag="fatal">For Danish Suppliers if the PaymentID is prefixed with 04# or 15# the 16 digits instruction Id must be added to the PaymentID eg. "04#1234567890123456" when Payment means equals 50 (Giro) For Danish Suppliers the PaymentID is mandatory and MUST start with 71#, 73# or - 75# (kortartkode) and PayeeFinancialAccount/ID (Kreditornummer) is mandatory and must be - exactly 8 characters long, when Payment means equals 93 (FIK) + flag="fatal">For Danish Suppliers the PaymentID is mandatory and MUST start with 71#, 73# or 75# (kortartkode) and PayeeFinancialAccount/ID (Kreditornummer) is mandatory and must be exactly 8 characters long, when Payment means equals 93 (FIK) For Danish Suppliers if the PaymentID is prefixed with 71# or 75# the 15-16 - digits instruction Id must be added to the PaymentID eg. "71#1234567890123456" when payment - Method equals 93 (FIK) + flag="fatal">For Danish Suppliers if the PaymentID is prefixed with 71# or 75# the 15-16 digits instruction Id must be added to the PaymentID eg. "71#1234567890123456" when payment Method equals 93 (FIK) If ItemClassification is provided from Danish suppliers, UNSPSC version - 19.0501 should be used. + flag="warning">If ItemClassification is provided from Danish suppliers, UNSPSC version 19.0501 should be used. @@ -651,9 +599,7 @@ Last update: 2024 November release 3.0.18. and (number(cbc:AllowanceChargeReason) >= 0) and (number(cbc:AllowanceChargeReason) <= 9999)) )" - flag="fatal">When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use - the AllowanceChargeReasonCode="ZZZ" and the 4-digit Tax category MUST be specified in - AllowanceChargeReason + flag="fatal">When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use the AllowanceChargeReasonCode="ZZZ" and the 4-digit Tax category MUST be specified in AllowanceChargeReason @@ -661,20 +607,12 @@ Last update: 2024 November release 3.0.18. [IT-R-001] BT-32 (Seller tax registration identifier) - For Italian suppliers - BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 - deve avere una lunghezza tra 11 e 16 caratteri + flag="fatal">[IT-R-001] BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 deve avere una lunghezza tra 11 e 16 caratteri - [IT-R-002] BT-35 - (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I - fornitori italiani devono indicare l'indirizzo postale. - [IT-R-003] BT-37 - (Seller city) - Italian suppliers MUST provide the postal address city - I fornitori - italiani devono indicare la città di residenza. - ">[IT-R-004] BT-38 - (Seller post code) - Italian suppliers MUST provide the postal address post code - I - fornitori italiani devono indicare il CAP di residenza. + [IT-R-002] BT-35 (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I fornitori italiani devono indicare l'indirizzo postale. + [IT-R-003] BT-37 (Seller city) - Italian suppliers MUST provide the postal address city - I fornitori italiani devono indicare la città di residenza. + ">[IT-R-004] BT-38 (Seller post code) - Italian suppliers MUST provide the postal address post code - I fornitori italiani devono indicare il CAP di residenza. @@ -686,23 +624,18 @@ Last update: 2024 November release 3.0.18. flag="fatal">For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters. For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 - characters in numeric form + flag="fatal">For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in numeric form - Swedish - organisation numbers should be numeric. - Swedish - organisation numbers consist of 10 characters. - The - last digit of a Swedish organization number must be valid according to the Luhn algorithm. + Swedish organisation numbers should be numeric. + Swedish organisation numbers consist of 10 characters. + The last digit of a Swedish organization number must be valid according to the Luhn algorithm. For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd - för F-skatt' must be stated + flag="fatal">For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för F-skatt' must be stated @@ -712,30 +645,25 @@ Last update: 2024 November release 3.0.18. - For - Swedish suppliers using Plusgiro, the Account ID must be numeric + For Swedish suppliers using Plusgiro, the Account ID must be numeric For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters - For - Swedish suppliers using Bankgiro, the Account ID must be numeric + For Swedish suppliers using Bankgiro, the Account ID must be numeric For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters - For Swedish suppliers using Swedish - Bankgiro or Plusgiro, the proper way to indicate this is to use Code 30 for PaymentMeans and - FinancialInstitutionBranch ID with code SE:BANKGIRO or SE:PLUSGIRO + For Swedish suppliers using Swedish Bankgiro or Plusgiro, the proper way to indicate this is to use Code 30 for PaymentMeans and FinancialInstitutionBranch ID with code SE:BANKGIRO or SE:PLUSGIRO - For domestic transactions between Swedish - trading partners, credit transfer should be indicated by PaymentMeansCode="30" + For domestic transactions between Swedish trading partners, credit transfer should be indicated by PaymentMeansCode="30" @@ -763,15 +691,13 @@ Last update: 2024 November release 3.0.18. - When the Supplier is - Greek, the Invoice Id should consist of 6 segments + When the Supplier is Greek, the Invoice Id should consist of 6 segments When the Supplier is Greek, the Invoice Id first segment must be a valid TIN - Number and match either the Supplier's or the Tax Representative's Tin Number + flag="fatal">When the Supplier is Greek, the Invoice Id first segment must be a valid TIN Number and match either the Supplier's or the Tax Representative's Tin Number When the Supplier is Greek, the Invoice Id second segment must be a valid Date - that matches the invoice Issue Date + flag="fatal">When the Supplier is Greek, the Invoice Id second segment must be a valid Date that matches the invoice Issue Date When Supplier is Greek, the Invoice Id third segment must be a positive integer When Supplier is Greek, the Invoice Id in the fourth segment must be a valid - greek document type - When Supplier - is Greek, the Invoice Id fifth segment must not be empty - When Supplier - is Greek, the Invoice Id sixth segment must not be empty + flag="fatal">When Supplier is Greek, the Invoice Id in the fourth segment must be a valid greek document type + When Supplier is Greek, the Invoice Id fifth segment must not be empty + When Supplier is Greek, the Invoice Id sixth segment must not be empty - Greek - Suppliers must provide their full name as they are registered in the Greek Business Registry - (G.E.MH.) as a legal entity or in the Tax Registry as a natural person + Greek Suppliers must provide their full name as they are registered in the Greek Business Registry (G.E.MH.) as a legal entity or in the Tax Registry as a natural person Greek suppliers must provide their Seller Tax Registration Number, prefixed - by the country code + flag="warning">Greek suppliers must provide their Seller Tax Registration Number, prefixed by the country code For the Greek Suppliers, the VAT must start with 'EL' and must be a valid TIN - number + flag="fatal">For the Greek Suppliers, the VAT must start with 'EL' and must be a valid TIN number When Supplier is Greek, there must be one MARK Number - When Supplier is Greek, there should be one invoice url + test="count(cac:AdditionalDocumentReference[cbc:DocumentDescription = '##INVOICE|URL##'])=1">When Supplier is Greek, there should be one invoice url When Supplier is Greek, there should be no more than one invoice url + flag="fatal">When Supplier is Greek, there should be no more than one invoice url - When Supplier is - Greek, the MARK Number must be a positive integer + When Supplier is Greek, the MARK Number must be a positive integer @@ -839,21 +755,16 @@ Last update: 2024 November release 3.0.18. context="cac:AdditionalDocumentReference[$isGreekSender and cbc:DocumentDescription = '##INVOICE|URL##']"> When Supplier is Greek and the INVOICE URL Document reference exists, the - External Reference URI should be present + flag="fatal">When Supplier is Greek and the INVOICE URL Document reference exists, the External Reference URI should be present - Greek - Suppliers must provide the full name of the buyer + Greek Suppliers must provide the full name of the buyer - Greek - suppliers that send an invoice through the PEPPOL network must use a correct TIN number as - an electronic address according to PEPPOL Electronic Address Identifier scheme (schemeID - 9933). + Greek suppliers that send an invoice through the PEPPOL network must use a correct TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (schemeID 9933). @@ -868,10 +779,7 @@ Last update: 2024 November release 3.0.18. - Greek - Suppliers that send an invoice through the PEPPOL network to a greek buyer must use a - correct TIN number as an electronic address according to PEPPOL Electronic Address - Identifier scheme (SchemeID 9933) + Greek Suppliers that send an invoice through the PEPPOL network to a greek buyer must use a correct TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (SchemeID 9933) @@ -884,61 +792,41 @@ Last update: 2024 November release 3.0.18. context="ubl-creditnote:CreditNote[$SupplierCountry = 'IS'] | ubl-invoice:Invoice[$SupplierCountry = 'IS']"> [IS-R-001]-If seller is icelandic then invoice type should be 380 or 381 — Ef - seljandi er íslenskur þá ætti gerð reiknings (BT-3) að vera sölureikningur (380) eða - kreditreikningur (381). + flag="warning">[IS-R-001]-If seller is icelandic then invoice type should be 380 or 381 — Ef seljandi er íslenskur þá ætti gerð reiknings (BT-3) að vera sölureikningur (380) eða kreditreikningur (381). [IS-R-002]-If seller is icelandic then it shall contain sellers legal id — Ef - seljandi er íslenskur þá skal reikningur innihalda íslenska kennitölu seljanda (BT-30). + flag="fatal">[IS-R-002]-If seller is icelandic then it shall contain sellers legal id — Ef seljandi er íslenskur þá skal reikningur innihalda íslenska kennitölu seljanda (BT-30). [IS-R-003]-If seller is icelandic then it shall contain his address with street - name and zip code — Ef seljandi er íslenskur þá skal heimilisfang seljanda innihalda - götuheiti og póstnúmer (BT-35 og BT-38). + flag="fatal">[IS-R-003]-If seller is icelandic then it shall contain his address with street name and zip code — Ef seljandi er íslenskur þá skal heimilisfang seljanda innihalda götuheiti og póstnúmer (BT-35 og BT-38). [IS-R-006]-If seller is icelandic and payment means code is 9 then a 12 digit - account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er krafa (kóti 9) - þá skal koma fram 12 stafa númer (bankanúmer, höfuðbók 66 og reikningsnúmer) (BT-84) + flag="fatal">[IS-R-006]-If seller is icelandic and payment means code is 9 then a 12 digit account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er krafa (kóti 9) þá skal koma fram 12 stafa númer (bankanúmer, höfuðbók 66 og reikningsnúmer) (BT-84) [IS-R-007]-If seller is icelandic and payment means code is 42 then a 12 digit - account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er millifærsla - (kóti 42) þá skal koma fram 12 stafa reikningnúmer (BT-84) + flag="fatal">[IS-R-007]-If seller is icelandic and payment means code is 42 then a 12 digit account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er millifærsla (kóti 42) þá skal koma fram 12 stafa reikningnúmer (BT-84) [IS-R-008]-If seller is icelandic and invoice contains supporting description - EINDAGI then the id form must be YYYY-MM-DD — Ef seljandi er íslenskur þá skal eindagi - (BT-122, DocumentDescription = EINDAGI) vera á forminu YYYY-MM-DD. + flag="fatal">[IS-R-008]-If seller is icelandic and invoice contains supporting description EINDAGI then the id form must be YYYY-MM-DD — Ef seljandi er íslenskur þá skal eindagi (BT-122, DocumentDescription = EINDAGI) vera á forminu YYYY-MM-DD. [IS-R-009]-If seller is icelandic and invoice contains supporting description - EINDAGI invoice must have due date — Ef seljandi er íslenskur þá skal reikningur sem - inniheldur eindaga (BT-122, DocumentDescription = EINDAGI) einnig hafa gjalddaga (BT-9). + flag="fatal">[IS-R-009]-If seller is icelandic and invoice contains supporting description EINDAGI invoice must have due date — Ef seljandi er íslenskur þá skal reikningur sem inniheldur eindaga (BT-122, DocumentDescription = EINDAGI) einnig hafa gjalddaga (BT-9). [IS-R-010]-If seller is icelandic and invoice contains supporting description - EINDAGI the id date must be same or later than due date — Ef seljandi er íslenskur þá skal - eindagi (BT-122, DocumentDescription = EINDAGI) skal vera sami eða síðar en gjalddagi (BT-9) - ef eindagi er til staðar. + flag="fatal">[IS-R-010]-If seller is icelandic and invoice contains supporting description EINDAGI the id date must be same or later than due date — Ef seljandi er íslenskur þá skal eindagi (BT-122, DocumentDescription = EINDAGI) skal vera sami eða síðar en gjalddagi (BT-9) ef eindagi er til staðar. [IS-R-004]-If seller and buyer are icelandic then the invoice shall contain the - buyers icelandic legal identifier — Ef seljandi og kaupandi eru íslenskir þá skal - reikningurinn innihalda íslenska kennitölu kaupanda (BT-47). + flag="fatal">[IS-R-004]-If seller and buyer are icelandic then the invoice shall contain the buyers icelandic legal identifier — Ef seljandi og kaupandi eru íslenskir þá skal reikningurinn innihalda íslenska kennitölu kaupanda (BT-47). [IS-R-005]-If seller and buyer are icelandic then the invoice shall contain the - buyers address with street name and zip code — Ef seljandi og kaupandi eru íslenskir þá skal - heimilisfang kaupanda innihalda götuheiti og póstnúmer (BT-50 og BT-53) + flag="fatal">[IS-R-005]-If seller and buyer are icelandic then the invoice shall contain the buyers address with street name and zip code — Ef seljandi og kaupandi eru íslenskir þá skal heimilisfang kaupanda innihalda götuheiti og póstnúmer (BT-50 og BT-53) @@ -955,56 +843,41 @@ Last update: 2024 November release 3.0.18. this rule now only applies to credit notes --> [NL-R-001] For suppliers in the Netherlands, if the document is a creditnote, - the document MUST contain an invoice reference - (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID) + flag="fatal">[NL-R-001] For suppliers in the Netherlands, if the document is a creditnote, the document MUST contain an invoice reference (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID) - [NL-R-002] - For suppliers in the Netherlands the supplier's address - (cac:AccountingSupplierParty/cac:Party/cac:PostalAddress) MUST contain street name - (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone) + [NL-R-002] For suppliers in the Netherlands the supplier's address (cac:AccountingSupplierParty/cac:Party/cac:PostalAddress) MUST contain street name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone) [NL-R-003] For suppliers in the Netherlands, the legal entity identifier MUST - be either a KVK or OIN number (schemeID 0106 or 0190) + flag="fatal">[NL-R-003] For suppliers in the Netherlands, the legal entity identifier MUST be either a KVK or OIN number (schemeID 0106 or 0190) - [NL-R-004] - For suppliers in the Netherlands, if the customer is in the Netherlands, the customer - address (cac:AccountingCustomerParty/cac:Party/cac:PostalAddress) MUST contain the street - name (cbc:StreetName), the city (cbc:CityName) and post code (cbc:PostalZone) + [NL-R-004] For suppliers in the Netherlands, if the customer is in the Netherlands, the customer address (cac:AccountingCustomerParty/cac:Party/cac:PostalAddress) MUST contain the street name (cbc:StreetName), the city (cbc:CityName) and post code (cbc:PostalZone) [NL-R-005] For suppliers in the Netherlands, if the customer is in the - Netherlands, the customer's legal entity identifier MUST be either a KVK or OIN number - (schemeID 0106 or 0190) + flag="fatal">[NL-R-005] For suppliers in the Netherlands, if the customer is in the Netherlands, the customer's legal entity identifier MUST be either a KVK or OIN number (schemeID 0106 or 0190) - [NL-R-006] - For suppliers in the Netherlands, if the fiscal representative is in the Netherlands, the - representative's address (cac:TaxRepresentativeParty/cac:PostalAddress) MUST contain street - name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone) + [NL-R-006] For suppliers in the Netherlands, if the fiscal representative is in the Netherlands, the representative's address (cac:TaxRepresentativeParty/cac:PostalAddress) MUST contain street name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone) [NL-R-007] For suppliers in the Netherlands, the supplier MUST provide a means - of payment (cac:PaymentMeans) if the payment is from customer to supplier + flag="fatal">[NL-R-007] For suppliers in the Netherlands, the supplier MUST provide a means of payment (cac:PaymentMeans) if the payment is from customer to supplier @@ -1015,15 +888,11 @@ Last update: 2024 November release 3.0.18. normalize-space(cbc:PaymentMeansCode) = '57' or normalize-space(cbc:PaymentMeansCode) = '58' or normalize-space(cbc:PaymentMeansCode) = '59'" - flag="fatal">[NL-R-008] For suppliers in the Netherlands, if the customer is in the - Netherlands, the payment means code (cac:PaymentMeans/cbc:PaymentMeansCode) MUST be one of - 30, 48, 49, 57, 58 or 59 + flag="fatal">[NL-R-008] For suppliers in the Netherlands, if the customer is in the Netherlands, the payment means code (cac:PaymentMeans/cbc:PaymentMeansCode) MUST be one of 30, 48, 49, 57, 58 or 59 - [NL-R-009] For - suppliers in the Netherlands, if an order line reference (cac:OrderLineReference/cbc:LineID) - is used, there must be an order reference on the document level (cac:OrderReference/cbc:ID) + [NL-R-009] For suppliers in the Netherlands, if an order line reference (cac:OrderLineReference/cbc:LineID) is used, there must be an order reference on the document level (cac:OrderReference/cbc:ID) @@ -1035,8 +904,7 @@ Last update: 2024 November release 3.0.18. - An invoice shall contain - information on "PAYMENT INSTRUCTIONS" (BG-16). + An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). The element "Buyer reference" (BT-10) shall be provided. @@ -1057,58 +925,37 @@ Last update: 2024 November release 3.0.18. If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall - contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller - tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11). + id="DE-R-016">If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11). The element "Invoice type code" (BT-3) should only contain the following - values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 - (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction - invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). + id="DE-R-017">The element "Invoice type code" (BT-3) should only contain the following values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). Information on cash discounts for prompt payment (Skonto) shall be provided - within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", - second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage - must be separated by dot with two decimal places. In case the base value of the invoiced - amount is not provided in BT-115 but as a partial amount, the base value shall be provided - as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with - a #, the segments must be separated by # and a row shall end with a #. A complete statement - on cash discount for prompt payment shall end with a XML-conformant line break. All - statements on cash discount for prompt payment shall be given in capital letters. Additional - whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts - than defined above are not allowed. + id="DE-R-018">Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed. Attached documents provided with an invoice in "ADDITIONAL SUPPORTING - DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element - ″Attached document″ (BT-125). + id="DE-R-022">Attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125). If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), - "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. + id="DE-R-026">If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned - creditor identifier" (BT-90) shall be provided. + id="DE-R-030">If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided. If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account - identifier" (BT-91) shall be provided. + id="DE-R-031">If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided. - The group "SELLER CONTACT" - (BG-6) shall be provided. + The group "SELLER CONTACT" (BG-6) shall be provided. @@ -1132,13 +979,10 @@ Last update: 2024 November release 3.0.18. id="DE-R-007">The element "Seller contact email address" (BT-43) shall be provided. "Seller contact telephone number" (BT-42) should contain a valid telephone - number. A valid telephone should consist of 3 digits minimum. + id="DE-R-027">"Seller contact telephone number" (BT-42) should contain a valid telephone number. A valid telephone should consist of 3 digits minimum. "Seller contact email address" (BT-43) should contain exactly one @-sign, - which should not be framed by a whitespace or a dot but by at least two characters on each - side. A dot should not be the first or last character. + id="DE-R-028">"Seller contact email address" (BT-43) should contain exactly one @-sign, which should not be framed by a whitespace or a dot but by at least two characters on each side. A dot should not be the first or last character. @@ -1153,12 +997,10 @@ Last update: 2024 November release 3.0.18. context="(/ubl-invoice:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address | /ubl-creditnote:CreditNote/cac:Delivery/cac:DeliveryLocation/cac:Address)[$supplierCountryIsDE and $customerCountryIsDE]"> The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER - TO ADDRESS" (BG-15) is delivered. + id="DE-R-010">The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. The element "Deliver to post code" (BT-78) shall be provided if the group - "DELIVER TO ADDRESS" (BG-15) is delivered. + id="DE-R-011">The element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. @@ -1166,39 +1008,30 @@ Last update: 2024 November release 3.0.18. The element "Payment account identifier" (BT-84) should contain a valid IBAN - if code 58 SEPA is provided in "Payment means type code" (BT-81). - If "Payment means type - code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall + id="DE-R-019">The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). + If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. If "Payment means type code" (BT-81) contains a code for credit transfer - (30, 58), BG-18 and BG-19 shall not be provided. + id="DE-R-023-2">If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), BG-18 and BG-19 shall not be provided. - If "Payment means type code" - (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) - shall be provided. + If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. If "Payment means type code" (BT-81) contains a code for payment card (48, - 54, 55), BG-17 and BG-19 shall not be provided. + id="DE-R-024-2">If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), BG-17 and BG-19 shall not be provided. The element "Debited account identifier" (BT-91) should contain a valid IBAN - if code 59 SEPA is provided in "Payment means type code" (BT-81). - If "Payment means type code" - (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. + id="DE-R-020">The element "Debited account identifier" (BT-91) should contain a valid IBAN if code 59 SEPA is provided in "Payment means type code" (BT-81). + If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. If "Payment means type code" (BT-81) contains a code for direct debit (59), - BG-17 and BG-18 shall not be provided. + id="DE-R-025-2">If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided. @@ -1267,8 +1100,7 @@ Last update: 2024 November release 3.0.18. flag="fatal">Invoice type code MUST be set according to the profile. Invoice type code 326 or 384 are only allowed when both buyer and - seller are German organizations + flag="fatal">Invoice type code 326 or 384 are only allowed when both buyer and seller are German organizations @@ -1281,47 +1113,37 @@ Last update: 2024 November release 3.0.18. A date - MUST be formatted YYYY-MM-DD. + test="string-length(text()) = 10 and (string(.) castable as xs:date)" flag="fatal">A date MUST be formatted YYYY-MM-DD. Electronic - address identifier scheme must be from the codelist "Electronic Address Identifier Scheme" + satisfies @schemeID = $code" flag="fatal">Electronic address identifier scheme must be from the codelist "Electronic Address Identifier Scheme" - Tax Category - G MUST be used when exemption reason code is VATEX-EU-G + Tax Category G MUST be used when exemption reason code is VATEX-EU-G - Tax Category - O MUST be used when exemption reason code is VATEX-EU-O + Tax Category O MUST be used when exemption reason code is VATEX-EU-O - Tax Category - K MUST be used when exemption reason code is VATEX-EU-IC + Tax Category K MUST be used when exemption reason code is VATEX-EU-IC - Tax - Category AE MUST be used when exemption reason code is VATEX-EU-AE + Tax Category AE MUST be used when exemption reason code is VATEX-EU-AE - Tax Category - E MUST be used when exemption reason code is VATEX-EU-D + Tax Category E MUST be used when exemption reason code is VATEX-EU-D - Tax Category - E MUST be used when exemption reason code is VATEX-EU-F + Tax Category E MUST be used when exemption reason code is VATEX-EU-F - Tax Category - E MUST be used when exemption reason code is VATEX-EU-I + Tax Category E MUST be used when exemption reason code is VATEX-EU-I - Tax Category - E MUST be used when exemption reason code is VATEX-EU-J + Tax Category E MUST be used when exemption reason code is VATEX-EU-J \ No newline at end of file From 41c72a5f3128cb4d10f2c708cf9aae71f6d52661 Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 13 Nov 2024 14:51:25 +0000 Subject: [PATCH 141/145] Updating code lists with last EN code release #POACC-717 --- structure/codelist/ISO4217_2015.xml | 19 ++++++++----- structure/codelist/VATEX.xml | 14 ++++++++++ structure/codelist/eas.xml | 9 ++++++- structure/codelist/icd.xml | 42 +++++++++++++++++++++++++++-- 4 files changed, 75 insertions(+), 9 deletions(-) diff --git a/structure/codelist/ISO4217_2015.xml b/structure/codelist/ISO4217_2015.xml index 00b0946f..8de4e1bc 100644 --- a/structure/codelist/ISO4217_2015.xml +++ b/structure/codelist/ISO4217_2015.xml @@ -248,10 +248,6 @@ HNL Lempira - - HRK - Kuna - HTG Gourde @@ -612,15 +608,22 @@ UYU Peso Uruguayo + + UYW + Unidad Previsional + UZS Uzbekistan Sum - VEF - Bolívar + VED + Bolívar Soberano, new valuation + VES + Bolívar Soberano + VND Dong @@ -708,6 +711,10 @@ ZMW Zambian Kwacha + + ZWG + Zimbabwe Gold + ZWL Zimbabwe Dollar diff --git a/structure/codelist/VATEX.xml b/structure/codelist/VATEX.xml index b894bb8b..c5223cda 100644 --- a/structure/codelist/VATEX.xml +++ b/structure/codelist/VATEX.xml @@ -241,6 +241,15 @@ upstream pipeline network, of electricity or of heat or cooling energy through heating or cooling networks. + + VATEX-EU-144 + Exempt based on article 144 of Council Directive 2006/112/EC + Exemptions for services linked to the import of goods + + + VATEX-EU-146-1E + Exempt Exemptions for services linked to the export of goods + VATEX-EU-148 Exempt based on article 148 of Council Directive 2006/112/EC @@ -342,6 +351,11 @@ the civilian staff accompanying them, or for supplying their messes or canteens. + + VATEX-EU-159 + Exempt based on article 159 of Council Directive 2006/112/EC + Exemptions for services linked to supplies of goods intended to be placed under customs warehouses, warehouses other than customs warehouses and similar arrangements. + VATEX-EU-309 Exempt based on article 309 of Council Directive 2006/112/EC diff --git a/structure/codelist/eas.xml b/structure/codelist/eas.xml index de50ea0f..65f7a80a 100644 --- a/structure/codelist/eas.xml +++ b/structure/codelist/eas.xml @@ -57,6 +57,10 @@ 0151 Australian Business Number (ABN) Scheme + + 0177 + Odette International Limited + 0183 Numéro d'identification suisse des enterprises (IDE), Swiss Unique Business @@ -162,7 +166,10 @@ 0230 National e-Invoicing Framework (Malaysia) - + + 0235 + UAE Tax Identification Number (TIN) + 9901 Danish Ministry of the Interior and Health diff --git a/structure/codelist/icd.xml b/structure/codelist/icd.xml index 0d3b52f0..5ed13228 100644 --- a/structure/codelist/icd.xml +++ b/structure/codelist/icd.xml @@ -1149,6 +1149,44 @@ Classes moyennes et Energie National e-Invoicing Framework Intended Purpose/App. Area: Identifier for  organizations. Issuing agency: Malaysia Digital Economy Corporation Sdn Bhd (MDEC) - - + + 0231 + Single taxable company (France) + 'Intended Purpose/App. Area: Provide identifiers to companies in a single taxable company regime. Issuing agency: AIFE (Agence pour l’Informatique Financière de l’Etat)' + + + 0232 + NOBB product number + Intended Purpose/App. Area: . Issuing agency: ' + + + 0233 + Name not known + Description not known + + + 0234 + Toimitusosoite ID + 'Intended Purpose/App. Area: Identification scheme is used to identify delivery locations of the Finnish government accounting units. Issuing agency: Toimitusosoite ID' + + + 0235 + UAE Tax Identification Number (TIN) + 'Intended Purpose/App. Area: A unique number issued to a range of persons required to be identified for tax purposes. Issuing agency: UAE Federal Tax Authority' + + + 0236 + Name not known + Description not known + + + 0237 + CPR (Danish person civil registration number) + 'Intended Purpose/App. Area: . Issuing agency: ' + + + 0238 + Plateforme.s agréée.s à la facturation électronique (PPF/PDP) + 'Intended Purpose/App. Area: To provide identifiers for E-invoicing Public Platform and Partner Dematerialisation Platform. Issuing agency: AIFE (Agence pour l’Informatique Financière de l’Etat)' + From 4e51f836f2f1d5e1a0d724aa3804d676d7585cd5 Mon Sep 17 00:00:00 2001 From: Georg Date: Thu, 14 Nov 2024 09:54:00 +0000 Subject: [PATCH 142/145] Update VATEX.xml #POACC-717 --- structure/codelist/VATEX.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/structure/codelist/VATEX.xml b/structure/codelist/VATEX.xml index c5223cda..03b468e3 100644 --- a/structure/codelist/VATEX.xml +++ b/structure/codelist/VATEX.xml @@ -248,7 +248,8 @@ VATEX-EU-146-1E - Exempt Exemptions for services linked to the export of goods + Exempt based on article 146 section 1 (e) of Council Directive 2006/112/EC + Exempt Exemptions for services linked to the export of goods VATEX-EU-148 From 54652cc0b08aa12ee22b92ec5e91be4f81a56f1a Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Thu, 14 Nov 2024 11:50:03 +0100 Subject: [PATCH 143/145] checkCodiceIPA removed whitespace in element content --- .postasciidoctor.sh | 7 +++- build-billing.bat | 72 ++++++++++++++++++++++++++++++++ rules/sch/PEPPOL-EN16931-UBL.sch | 3 +- 3 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 build-billing.bat diff --git a/.postasciidoctor.sh b/.postasciidoctor.sh index f26657db..9813094f 100644 --- a/.postasciidoctor.sh +++ b/.postasciidoctor.sh @@ -1,4 +1,9 @@ #!/bin/sh -mv /target/guide/* /target/site +if [ -d "/target/site" ]; then + mv /target/guide/* /target/site +else + mkdir -p /target/site + mv /target/guide/* /target/site +fi rm -r /target/guide diff --git a/build-billing.bat b/build-billing.bat new file mode 100644 index 00000000..a31ecce6 --- /dev/null +++ b/build-billing.bat @@ -0,0 +1,72 @@ +@echo off +setlocal EnableDelayedExpansion + +call :dashed "Set the project directory" +set PROJECT=%~dp0 +set "PROJECT=%PROJECT:~0,-1%" :: Remove trailing backslash if any +echo PROJECT folder = %PROJECT% + +call :dashed "Check if target directory exists, and if so, remove it" +if exist "%PROJECT%/target" ( + echo Remove src/target and bind to %PROJECT%/target + docker run --rm -v "%PROJECT%:/src" alpine:3.11 rm -rf /src/target +) + +call :dashed "Structure" +docker run --rm -v "%PROJECT%:/src" -v "%PROJECT%/target:/target" difi/vefa-structure:0.7 + +call :dashed "Validator" +docker run --rm -v "%PROJECT%:/src" anskaffelser/validator:2.1.0 build -x -t -n eu.peppol.postaward.v3.billing -a rules,guide -target target/validator /src + +call :dashed "Generate adoc-files from rules" +ECHO CEN-EN16931-UBL +docker run --rm -v "%PROJECT%:/src" -v "%PROJECT%/target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen.xquery -o:/target/CEN-EN16931-UBL-GENERAL.sch.adoc +docker run --rm -v "%PROJECT%:/src" -v "%PROJECT%/target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/CEN-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_cen_syntax.xquery -o:/target/CEN-EN16931-UBL-SYNTAX.sch.adoc + +ECHO PEPPOL-EN16931-UBL +docker run --rm -v "%PROJECT%:/src" -v "%PROJECT%/target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol.xquery -o:/target/PEPPOL-EN16931-UBL-GENERAL.sch.adoc +docker run --rm -v "%PROJECT%:/src" -v "%PROJECT%/target/generated:/target" --entrypoint java klakegg/saxon:9.8.0-7 -cp /saxon.jar net.sf.saxon.Query -s:/src/rules/sch/PEPPOL-EN16931-UBL.sch -q:tools/xquery/rules_asciidoc_peppol_national.xquery -o:/target/PEPPOL-EN16931-UBL-NATIONAL.sch.adoc + +call :dashed "Remove old example files if they exist" +set zip="%PROJECT%\target\site\files\BIS-Billing3-Examples.zip" +if exist %zip% ( + echo remove %zip% + del %zip% +) + +call :dashed "Create zip of examples" +powershell -command "Compress-Archive -Path '%PROJECT%/rules/examples' -DestinationPath '%PROJECT%/target/site/files/BIS-Billing3-Examples.zip' -Force" + +call :dashed "Create Guides" +docker run --rm -i -v "%PROJECT%:/documents" -v "%PROJECT%/target:/target" difi/asciidoctor + +REM Ownership fix is Linux-specific and skipped +endlocal +goto :eof + +:dashed +REM Function to print text with surrounding dashes, up to 80 characters total +set "text=%~1" +set "maxLength=80" + +REM Calculate the length of the text +set "len=0" +for /l %%i in (12,-1,0) do ( + set /a "len|=1<<%%i" + for %%j in (!len!) do if "!text:~%%j,1!"=="" set /a "len&=~1<<%%i" +) + +REM Calculate the number of dashes needed on each side +set /a "totalDashes=maxLength-len-2" +set /a "sideDashes=totalDashes/2" + +REM Create the dash strings for each side +set "leftDashes=" +for /l %%i in (1,1,%sideDashes%) do set "leftDashes=!leftDashes!-" + +set "rightDashes=%leftDashes%" +if %totalDashes% neq %sideDashes% set "rightDashes=%rightDashes%-" + +REM Print the final line with dashes, text, and additional dashes +echo !leftDashes! %text% !rightDashes! +goto :eof diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index 4b19c900..ae24287f 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -85,8 +85,7 @@ Last update: 2024 November release 3.0.18. - - ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 From 25991106f45207d0a5b4f96f9c98f5e7313817c5 Mon Sep 17 00:00:00 2001 From: Hans Petersen Date: Fri, 15 Nov 2024 11:07:08 +0100 Subject: [PATCH 144/145] Review bugs --- guide/release-notes/v3.0.18.adoc | 1 - rules/sch/PEPPOL-EN16931-CII.sch | 4 ++-- rules/sch/PEPPOL-EN16931-UBL.sch | 6 ++---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/guide/release-notes/v3.0.18.adoc b/guide/release-notes/v3.0.18.adoc index 486ce00f..615fa2b5 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -11,7 +11,6 @@ Release date:: November 2024 * German country specific validation rules added. * The rule (PEPPOL-EN16931-R002), which ensures that the Invoice Note (BT-22) appears no more than once, will not apply if both the buyer and seller are German organizations. -* Update for rule NL-R-008 (mandatory payment means), the check should not fire if the document is a credit note with a positive amount. == EN 16931 schematrons updated diff --git a/rules/sch/PEPPOL-EN16931-CII.sch b/rules/sch/PEPPOL-EN16931-CII.sch index eeb20f10..6b318f73 100644 --- a/rules/sch/PEPPOL-EN16931-CII.sch +++ b/rules/sch/PEPPOL-EN16931-CII.sch @@ -536,13 +536,13 @@ Last update: 2024 May release 3.0.17. - + - + - + @@ -1053,8 +1052,7 @@ Last update: 2024 November release 3.0.18. - + - + - +