From a86ba19116597600d262096cb8eaa874e82e0ba6 Mon Sep 17 00:00:00 2001 From: Martin Forsberg Date: Fri, 22 Sep 2023 12:04:23 +0200 Subject: [PATCH 1/2] added recommendation to on how to handle situations when only sales order reference is vailable an no purchase order reference --- guide/release-notes/v3.0.16.adoc | 1 + structure/syntax/ubl-creditnote.xml | 2 +- structure/syntax/ubl-invoice.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/guide/release-notes/v3.0.16.adoc b/guide/release-notes/v3.0.16.adoc index 3ddde663..fcd68354 100644 --- a/guide/release-notes/v3.0.16.adoc +++ b/guide/release-notes/v3.0.16.adoc @@ -4,6 +4,7 @@ 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. == Changes to code lists and validation artefacts 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 From 0d87785e0a7d57d03a671e4aa0d09f1b00fe0b7f Mon Sep 17 00:00:00 2001 From: Martin Forsberg Date: Fri, 22 Sep 2023 12:11:00 +0200 Subject: [PATCH 2/2] added to relese notes and example --- guide/release-notes/v3.0.16.adoc | 2 +- rules/examples/sales-order-example.xml | 214 +++++++++++++++++++++++++ 2 files changed, 215 insertions(+), 1 deletion(-) create mode 100644 rules/examples/sales-order-example.xml diff --git a/guide/release-notes/v3.0.16.adoc b/guide/release-notes/v3.0.16.adoc index fcd68354..cfa211fa 100644 --- a/guide/release-notes/v3.0.16.adoc +++ b/guide/release-notes/v3.0.16.adoc @@ -4,7 +4,7 @@ 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. +* 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 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 + + +