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 621671c5..486ce00f 100644 --- a/guide/release-notes/v3.0.18.adoc +++ b/guide/release-notes/v3.0.18.adoc @@ -11,6 +11,10 @@ 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 + * 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 @@ -21,17 +25,5 @@ Release date:: November 2024 ** 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 * 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] -==== - - http://www.techspec.no - -==== - - -== EN 16931 schematrons updated - -* 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 diff --git a/mapping/mapping-cii-ubl v2 fr19.xls b/mapping/mapping-cii-ubl v2 fr19.xls index 7ae2c51a..9827b9db 100644 Binary files a/mapping/mapping-cii-ubl v2 fr19.xls and b/mapping/mapping-cii-ubl v2 fr19.xls differ 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 7c96b683..eeb20f10 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 83ee1377..9addfc2e 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -279,13 +279,6 @@ Last update: 2024 November release 3.0.18. flag="fatal">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