Skip to content

Commit

Permalink
Merge pull request #156 from OpenPEPPOL/POACC-548
Browse files Browse the repository at this point in the history
POACC-548
  • Loading branch information
MartinForsberg-Ecru authored Sep 2, 2024
2 parents fdca25f + a9f4db1 commit 604e66b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 16 deletions.
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/v3.0.18.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion rules/sch/PEPPOL-EN16931-CII.sch
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,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
2 changes: 1 addition & 1 deletion rules/sch/PEPPOL-EN16931-UBL.sch
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ Last update: 2024 May release 3.0.17.
</rule>
<rule context="cbc:InvoiceTypeCode">
<assert id="PEPPOL-EN16931-P0100" test="
$profile != '01' or (some $code in tokenize('71 80 82 84 102 218 219 331 380 382 383 386 388 393 395 553 575 623 780 817 870 875 876 877', '\s')
$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.</assert>
</rule>
<rule context="cbc:CreditNoteTypeCode">
Expand Down
8 changes: 4 additions & 4 deletions structure/codelist/UNCL1001-inv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
<Description> A request for payment for completed units.</Description>
</Code>

<!-- <Code>
<Code>
<Id>326</Id>
<Name>Partial invoice</Name>
<Description>Document/message specifying details of an incomplete invoice.</Description>
</Code> -->
</Code>

<Code>
<Id>331</Id>
Expand Down Expand Up @@ -92,11 +92,11 @@
</Description>
</Code>

<!-- <Code>
<Code>
<Id>384</Id>
<Name>Corrected invoice</Name>
<Description>Commercial invoice that includes revised information differing from an earlier submission of the same invoice.</Description>
</Code> -->
</Code>

<Code>
<Id>386</Id>
Expand Down

0 comments on commit 604e66b

Please sign in to comment.