Skip to content

Commit

Permalink
Merge branch '2024-q4-dev' into POACC-508
Browse files Browse the repository at this point in the history
  • Loading branch information
jerouris authored Sep 18, 2024
2 parents 30d6172 + ab1b255 commit 38647a0
Show file tree
Hide file tree
Showing 45 changed files with 16,468 additions and 154 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 10 additions & 10 deletions guide/profile/codes/invoice-specific.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions guide/release-notes/main.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
13 changes: 8 additions & 5 deletions guide/release-notes/v3.0.18.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ Release date:: November 2024

== Changes to BIS document


== 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 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
<cac:ExternalReference>
<cbc:URI>http://www.techspec.no</cbc:URI>
</cac:ExternalReference>

== 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)://

* new fatal rule PEPPOL-EN16931-R131 on Document refenced by URI, only allows content starting with http(s):// or ftp(s)://
1 change: 1 addition & 0 deletions rules/buildconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<testfolder>unit-UBL-NO</testfolder>
<testfolder>unit-UBL-IT</testfolder>
<testfolder>unit-UBL-DK</testfolder>
<testfolder>unit-UBL-DE</testfolder>
<testfolder>unit-UBL-SE</testfolder>
<testfolder>unit-UBL-GR</testfolder>

Expand Down
2 changes: 1 addition & 1 deletion rules/sch/PEPPOL-EN16931-CII.sch
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ Last update: 2024 May release 3.0.17.
</rule>
<rule context="ram:ExchangedDocument/ram:TypeCode">
<assert id="PEPPOL-EN16931-P0100" test="
$profile != '01' or (some $code in tokenize('71 102 218 219 331 382 553 817 870 875 876 877 380 383 386 388 393 82 80 84 395 575 623 780 381 396 81 83 532', '\s')
$profile != '01' or (some $code in tokenize('71 102 218 219 326 331 382 553 817 870 875 876 877 380 383 384 386 388 393 82 80 84 395 575 623 780 381 396 81 83 532', '\s')
satisfies normalize-space(text()) = $code)" flag="fatal">Invoice type code MUST be set according to the profile.</assert>
</rule>
<!-- PEPPOL-EN16931-P0101 is part of PEPPOL-EN16931-P0100. -->
Expand Down
133 changes: 131 additions & 2 deletions rules/sch/PEPPOL-EN16931-UBL.sch

Large diffs are not rendered by default.

Loading

0 comments on commit 38647a0

Please sign in to comment.