diff --git a/guide/release-notes/main.adoc b/guide/release-notes/main.adoc index b5a646f8..41d5e6cb 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.16.adoc[] + include::v3.0.15.adoc[] include::v3.0.14.adoc[] diff --git a/guide/release-notes/v3.0.16.adoc b/guide/release-notes/v3.0.16.adoc new file mode 100644 index 00000000..cfa211fa --- /dev/null +++ b/guide/release-notes/v3.0.16.adoc @@ -0,0 +1,16 @@ += Version 3.0.16 +[horizontal] +Release date:: 2023-11-01 + +== Changes to BIS document + +* A recommendation has been added to the Sales Order Reference element for handling cases where there is no Purchase Order Reference. This clarifies what to do with the mandatory UBL element for Purchase Order Reference. Example file is added which illustrates this. + +== Changes to code lists and validation artefacts + +* The validation rule identified as PEPPOL-EN16931-R006, which ensures that only one Invoice Object is allowed at the document level in an invoice/credit note, has been removed. This is because it duplicates the European standard rule UBL-SR-04, making it redundant and unnecessary. + +* The structure of the Peppol Schematron rule set has been improved for better quality. A function that was previously located in the Greek rules section is now correctly positioned alongside other functions. + +== Changes to Country-Specific Rules + diff --git a/rules/examples/sales-order-example.xml b/rules/examples/sales-order-example.xml new file mode 100644 index 00000000..87f16242 --- /dev/null +++ b/rules/examples/sales-order-example.xml @@ -0,0 +1,214 @@ + + + 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 + Snippet1 + 2017-11-13 + 2017-12-01 + 380 + EUR + 4025:123:4343 + 0150abc + + NA + 123456 + + + + 9482348239847239874 + + 99887766 + + + SupplierTradingName Ltd. + + + Main street 1 + Postbox 123 + London + GB 123 EW + + GB + + + + GB1232434 + + VAT + + + + SupplierOfficialName Ltd + GB983294 + + + + + + FR23342 + + FR23342 + + + BuyerTradingName AS + + + Hovedgatan 32 + Po box 878 + Stockholm + 456 34 + + SE + + + + SE4598375937 + + VAT + + + + Buyer Official Name + 39937423947 + + + Lisa Johnson + 23434234 + lj@buyer.se + + + + + 2017-11-01 + + 9483759475923478 + + Delivery street 2 + Building 56 + Stockholm + 21234 + + SE + + + + + + Delivery party Name + + + + + 30 + Snippet1 + + IBAN32423940 + AccountName + + BIC324098 + + + + + Payment within 10 days, 2% discount + + + true + Insurance + 25 + + S + 25.0 + + VAT + + + + + 331.25 + + 1325 + 331.25 + + S + 25.0 + + VAT + + + + + + 1300 + 1325 + 1656.25 + 25 + 1656.25 + + + + 1 + 7 + 2800 + Konteringsstreng + + 123 + + + Description of item + item name + + 21382183120983 + + + NO + + + 09348023 + + + S + 25.0 + + VAT + + + + + 400 + + + + 2 + -3 + -1500 + + 123 + + + Description 2 + item name 2 + + 21382183120983 + + + NO + + + 09348023 + + + S + 25.0 + + VAT + + + + + 500 + + + diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch index bef742f5..a65604fb 100644 --- a/rules/sch/PEPPOL-EN16931-UBL.sch +++ b/rules/sch/PEPPOL-EN16931-UBL.sch @@ -178,6 +178,24 @@ Last update: 2023 May release 3.0.15. ((string-to-codepoints(substring($val,11,1)) - 48) * 19)) mod 89 = 0 "/> + + + + + + + + @@ -213,7 +231,6 @@ Last update: 2023 May release 3.0.15. 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 - Only one invoiced object is allowed on document level VAT accounting currency code MUST be different from invoice currency code when provided. @@ -477,23 +494,7 @@ Last update: 2023 May release 3.0.15. - - - - - - - + diff --git a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R006.xml b/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R006.xml deleted file mode 100644 index 2b08c332..00000000 --- a/rules/unit-UBL-PEPPOL/PEPPOL-EN16931-R006.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - Verify existence of not more than a single object identifier on document level - PEPPOL-EN16931-R006 - - - - PEPPOL-EN16931-R006 - - - - - DR35141 - 130 - - - - ts12345 - Technical specification - - - www.techspec.no - - - - - - - - - PEPPOL-EN16931-R006 - - - - - ts12345 - Technical specification - - - www.techspec.no - - - - - - - - - PEPPOL-EN16931-R006 - - - - - - - - - - - PEPPOL-EN16931-R006 - - - - - - 130 - - - - 130 - - - - - diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml index 2cbd0178..7614b31e 100755 --- a/structure/syntax/ubl-creditnote.xml +++ b/structure/syntax/ubl-creditnote.xml @@ -218,7 +218,7 @@ cbc:SalesOrderID Sales order reference - An identifier of a referenced sales order, issued by the Seller. + An identifier of a referenced sales order, issued by the Seller. In cases where Sales order reference is provided, but there's no Purchase order reference, then set cac:OrderReference/cbc:ID to value "NA" as this element is mandatory in UBL. Document Reference BT-14 112233 diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index f95379b4..fd380a03 100755 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -224,7 +224,7 @@ cbc:SalesOrderID Sales order reference - An identifier of a referenced sales order, issued by the Seller. + An identifier of a referenced sales order, issued by the Seller. In cases where Sales order reference is provided, but there's no Purchase order reference, then set cac:OrderReference/cbc:ID to value "NA" as this element is mandatory in UBL. Document Reference BT-14 112233