diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1685a0ea..00000000 --- a/.travis.yml +++ /dev/null @@ -1,40 +0,0 @@ -sudo: required -language: bash -services: -- docker -script: -- sh build.sh - -deploy: - - provider: s3 - access_key_id: - secure: RY4Ibctdr/020yuDcghXzcgBuwLVfBZbRUD6d5GkUHLIRSoV0Ylww8IKHg7nZRFoI5HcqhXB5jAEf/MDEKDddnqBLyJDapqohxk2lHe3tkTe42dyfoRz6bIKqoTWgtxTu7mZNILYZ8hba5ENLhGHKUszbIphCIXBnDhmBO9Hjcomv8YNG0zIiCJZ/ZD6vRaehHDfIVJZVHw8z00pfyByNbWCsJIME4/+NAXKbqjyddlV/5OXdeyP5/YuRTT1S72uFK8DfQ54gJkV/j/afhFPs5HP5KEFNUAldYSz0ADq0EWXSKXIhwjzibTtMN8nF8R7kIJu5LRMCwKZxNP05vSl7ZJbUKP3El9lTzydDGES/u/9YW++u6ff6vHo8wcJ04znU6rB9n5CurqKkRu49pY2uJhNFCJm9JJROotwOpddCyAuB1UVehTZj8qfezIG7aDdBtdS6ASGSIQms0+9S2k0gf+T16WZijQ8h3ksqEj4Cd6Nkx8X7uuFUJl+oBXt/ZQXIpx/0smQw2C6SX8aWH6ULh8The2HSkA8oeVb5InM3nRlifn/QFvXlXFtGo5TcTLc50p3goHufOlNfNoTYqen55vpsoELB918zrC7ZjfG/4pPEDFhkJOMfSacfrGuQ3Ecrebu9yI7CKwUzp/9YF2OJnoxA/fAw4mmkFLwl3/bI1E= - secret_access_key: - secure: J8fFryEMB3t1QxafOLoZpDpKRmpJWDESq525l6Ozdvy8rrhz6bIxRGZYgLe8mbciZWaSgYo4MM/k1ovWm/ibidmibmLDcRt+QQqezBYLBDg6Gs13Yn6kgdjEvIFxEeAYNcxax0fGBPZnaKAMgGx9XP4bwWuNxEoZKDrC/HcQE8qifmnXFPUw+pIcseTnb5fqAIZfu1IM9QXNgHYjUP1zW9C7A3DtzoJgNtkuB/DkPp6QxkEoro0AufHOKD1Dli2z8D9wDvZWNIWndyjchbmCzk7FrBrUKFkbAi6EeSU6ZSEa7Hn0maQU1YZhuZANp5LXnxxq5SlcVjF9FhyV6O+A+I1TnNu9gmww7gfS0ZSwp2b/6j2d92/BKRp1J+64jpPXSjfAIstbIJQWSCfd0fogwIFjpzZ0/z86dngmMKJJcA4HXA73NypBhh0CVDBkK1lYFl5s095OPLTZ9qNSJjYaXm7k45fy9o+NhPXDdLECog+72vKd89sCTnFt57LHHP32lYD6WBNDrx3W/e2Tn5jlvhKj7p9T5PHfbKEPquetj9NgZkjCleJ4X9QoUOg2jO0ctwu2OGOwVRTIz/gAK6NIOvGaY3RocmkvPcoY4xJz9xQv9/Og50qkPK9mpuY1g/zwGIBc72doDSOp90h8G5/zhEiMPgp4FNUlCwybmIIaN8s= - bucket: - secure: M4LsdUF4xuJ7jY8d+i709ZpdJLzsnoHjccbHwUd4JYxPRh6292IJA2LEcIuOSV2ySWTHWvQnp1rPeQP5UO4vSngh0PmZtMh9Ch9EMNXXV9UrD2vghtq+NJLewWGNn6wkxV3I2EsixrFqo8008LEQdPt7GtIAz0kbhnQEjjSVrND/acGL0286oJFvQfw997wzhGnH7pSEPF4PDTEnYevn3XXZQFxplzIgcmu43t+DgDwNy89WXuZtZYyhe/dEN3NnDqtMs+10eWeciS21ygHR/h+Q4p7fXI9Q1lO705bS//lV7s+M7mm8BL5ppWBkKxjkckN3oPYtQGlUInOXh3JQQAbG7jJFBdRwa18FlsN8LwnSMFJAH1e9Nd88RWem/DynwvAhFJ5iWUJN8tBsx9djyukqxhEOuMC3x5QAODIZhwraarsP7LUZPR+SriB8KAOMzX+WNZEGRLIp3yIJN4J3McrUKDAVh7Em7q80Kpnf9kf7mCfidCXVQ1XC7b8HnLESNDtNwb1GtteNBfLUq3R04TJJ6vGedOVAJbDTrTDcTg4//qezuf6ICfcITV9gJNP1YfSuBHLV+sgqkUYvPCsKvizfUZmoupobG4G+RT+cDAiIfBe9/Ja8NrHUWdKzKeXXjOpnx3cPqIuvXfVs0bwepusCs9g2dOcvWVvDY2cmh90= - region: eu-west-1 - local-dir: target/site - upload-dir: poacc/upgrade-3 - acl: public_read - skip_cleanup: true - on: - repo: OpenPEPPOL/poacc-upgrade-3 - branch: master - - - provider: s3 - access_key_id: - secure: RY4Ibctdr/020yuDcghXzcgBuwLVfBZbRUD6d5GkUHLIRSoV0Ylww8IKHg7nZRFoI5HcqhXB5jAEf/MDEKDddnqBLyJDapqohxk2lHe3tkTe42dyfoRz6bIKqoTWgtxTu7mZNILYZ8hba5ENLhGHKUszbIphCIXBnDhmBO9Hjcomv8YNG0zIiCJZ/ZD6vRaehHDfIVJZVHw8z00pfyByNbWCsJIME4/+NAXKbqjyddlV/5OXdeyP5/YuRTT1S72uFK8DfQ54gJkV/j/afhFPs5HP5KEFNUAldYSz0ADq0EWXSKXIhwjzibTtMN8nF8R7kIJu5LRMCwKZxNP05vSl7ZJbUKP3El9lTzydDGES/u/9YW++u6ff6vHo8wcJ04znU6rB9n5CurqKkRu49pY2uJhNFCJm9JJROotwOpddCyAuB1UVehTZj8qfezIG7aDdBtdS6ASGSIQms0+9S2k0gf+T16WZijQ8h3ksqEj4Cd6Nkx8X7uuFUJl+oBXt/ZQXIpx/0smQw2C6SX8aWH6ULh8The2HSkA8oeVb5InM3nRlifn/QFvXlXFtGo5TcTLc50p3goHufOlNfNoTYqen55vpsoELB918zrC7ZjfG/4pPEDFhkJOMfSacfrGuQ3Ecrebu9yI7CKwUzp/9YF2OJnoxA/fAw4mmkFLwl3/bI1E= - secret_access_key: - secure: J8fFryEMB3t1QxafOLoZpDpKRmpJWDESq525l6Ozdvy8rrhz6bIxRGZYgLe8mbciZWaSgYo4MM/k1ovWm/ibidmibmLDcRt+QQqezBYLBDg6Gs13Yn6kgdjEvIFxEeAYNcxax0fGBPZnaKAMgGx9XP4bwWuNxEoZKDrC/HcQE8qifmnXFPUw+pIcseTnb5fqAIZfu1IM9QXNgHYjUP1zW9C7A3DtzoJgNtkuB/DkPp6QxkEoro0AufHOKD1Dli2z8D9wDvZWNIWndyjchbmCzk7FrBrUKFkbAi6EeSU6ZSEa7Hn0maQU1YZhuZANp5LXnxxq5SlcVjF9FhyV6O+A+I1TnNu9gmww7gfS0ZSwp2b/6j2d92/BKRp1J+64jpPXSjfAIstbIJQWSCfd0fogwIFjpzZ0/z86dngmMKJJcA4HXA73NypBhh0CVDBkK1lYFl5s095OPLTZ9qNSJjYaXm7k45fy9o+NhPXDdLECog+72vKd89sCTnFt57LHHP32lYD6WBNDrx3W/e2Tn5jlvhKj7p9T5PHfbKEPquetj9NgZkjCleJ4X9QoUOg2jO0ctwu2OGOwVRTIz/gAK6NIOvGaY3RocmkvPcoY4xJz9xQv9/Og50qkPK9mpuY1g/zwGIBc72doDSOp90h8G5/zhEiMPgp4FNUlCwybmIIaN8s= - bucket: - secure: M4LsdUF4xuJ7jY8d+i709ZpdJLzsnoHjccbHwUd4JYxPRh6292IJA2LEcIuOSV2ySWTHWvQnp1rPeQP5UO4vSngh0PmZtMh9Ch9EMNXXV9UrD2vghtq+NJLewWGNn6wkxV3I2EsixrFqo8008LEQdPt7GtIAz0kbhnQEjjSVrND/acGL0286oJFvQfw997wzhGnH7pSEPF4PDTEnYevn3XXZQFxplzIgcmu43t+DgDwNy89WXuZtZYyhe/dEN3NnDqtMs+10eWeciS21ygHR/h+Q4p7fXI9Q1lO705bS//lV7s+M7mm8BL5ppWBkKxjkckN3oPYtQGlUInOXh3JQQAbG7jJFBdRwa18FlsN8LwnSMFJAH1e9Nd88RWem/DynwvAhFJ5iWUJN8tBsx9djyukqxhEOuMC3x5QAODIZhwraarsP7LUZPR+SriB8KAOMzX+WNZEGRLIp3yIJN4J3McrUKDAVh7Em7q80Kpnf9kf7mCfidCXVQ1XC7b8HnLESNDtNwb1GtteNBfLUq3R04TJJ6vGedOVAJbDTrTDcTg4//qezuf6ICfcITV9gJNP1YfSuBHLV+sgqkUYvPCsKvizfUZmoupobG4G+RT+cDAiIfBe9/Ja8NrHUWdKzKeXXjOpnx3cPqIuvXfVs0bwepusCs9g2dOcvWVvDY2cmh90= - region: eu-west-1 - local-dir: target/site - upload-dir: $TRAVIS_BRANCH/poacc/upgrade-3 - acl: public_read - skip_cleanup: true - on: - repo: OpenPEPPOL/poacc-upgrade-3 - all_branches: true - condition: $TRAVIS_BRANCH != 'master' diff --git a/guides/profiles/65-advanced-ordering/images/.adocassets b/guides/profiles/65-advanced-ordering/images/.adocassets new file mode 100644 index 00000000..e69de29b diff --git a/guides/profiles/65-advanced-ordering/images/advanced-ordering-roles.png b/guides/profiles/65-advanced-ordering/images/advanced-ordering-roles.png new file mode 100644 index 00000000..1f1d0967 Binary files /dev/null and b/guides/profiles/65-advanced-ordering/images/advanced-ordering-roles.png differ diff --git a/guides/profiles/65-advanced-ordering/images/bpmn-advanced-ordering.png b/guides/profiles/65-advanced-ordering/images/bpmn-advanced-ordering.png new file mode 100644 index 00000000..a56342ca Binary files /dev/null and b/guides/profiles/65-advanced-ordering/images/bpmn-advanced-ordering.png differ diff --git a/guides/profiles/65-advanced-ordering/images/bpmn-scenario1.png b/guides/profiles/65-advanced-ordering/images/bpmn-scenario1.png new file mode 100644 index 00000000..07d67528 Binary files /dev/null and b/guides/profiles/65-advanced-ordering/images/bpmn-scenario1.png differ diff --git a/guides/profiles/65-advanced-ordering/images/bpmn-scenario2.png b/guides/profiles/65-advanced-ordering/images/bpmn-scenario2.png new file mode 100644 index 00000000..14b4e63b Binary files /dev/null and b/guides/profiles/65-advanced-ordering/images/bpmn-scenario2.png differ diff --git a/guides/profiles/65-advanced-ordering/images/bpmn-scenario3.png b/guides/profiles/65-advanced-ordering/images/bpmn-scenario3.png new file mode 100644 index 00000000..d5c43bac Binary files /dev/null and b/guides/profiles/65-advanced-ordering/images/bpmn-scenario3.png differ diff --git a/guides/profiles/65-advanced-ordering/images/bpmn-scenario4.png b/guides/profiles/65-advanced-ordering/images/bpmn-scenario4.png new file mode 100644 index 00000000..ea6a20f6 Binary files /dev/null and b/guides/profiles/65-advanced-ordering/images/bpmn-scenario4.png differ diff --git a/guides/profiles/65-advanced-ordering/images/bpmn-scenario5.png b/guides/profiles/65-advanced-ordering/images/bpmn-scenario5.png new file mode 100644 index 00000000..dfdb079e Binary files /dev/null and b/guides/profiles/65-advanced-ordering/images/bpmn-scenario5.png differ diff --git a/guides/profiles/65-advanced-ordering/introduction/index.adoc b/guides/profiles/65-advanced-ordering/introduction/index.adoc new file mode 100644 index 00000000..a8970112 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/introduction/index.adoc @@ -0,0 +1,21 @@ + += Introduction to OpenPeppol and BIS + +This BIS is a result of work within {openPeppol} and is published as part of the {Peppol} specifications. + +This BIS provides a set of specifications for implementing a {Peppol} business process. +The document is concerned with clarifying requirements for ensuring interoperability of pan-European Public eProcurement and provides guidelines for supporting these requirements and how to implement them. + +This BIS is based on the CEN WS/BII Profile {bii-ordering} and is extended to include order change and order cancellation. +This business processes in this BIS are specified in collaboration with CEN TC-440/WG6. + +*The purpose* of this document is to describe formats for the Order, Order Change, Order Cancellation and Order Response Advanced message, and to facilitate an efficient implementation and increased use of electronic collaboration regarding the advanced ordering process based on these formats. + +//.Relationship between BII profiles and Peppol BIS +//image::../../shared/images/BII_relationship.png[] + +:leveloffset: +1 + +include::../../../shared/files/audience.adoc[] + +:leveloffset: -1 diff --git a/guides/profiles/65-advanced-ordering/main.adoc b/guides/profiles/65-advanced-ordering/main.adoc new file mode 100644 index 00000000..3c47245c --- /dev/null +++ b/guides/profiles/65-advanced-ordering/main.adoc @@ -0,0 +1,62 @@ +include::../../shared/links.adoc[] +:doctype: book +:icons: font +:stem: +:toc: left +:toclevels: 2 +:source-highlighter: coderay +:source-language: xml +:sectanchors: +:sectnums: +:title-logo-image: ../../shared/images/peppol.png +:order: ../../transactions/01-order +:order-resp: ../../transactions/116-order-response-advanced +:order-change: ../../transactions/114-order-change +:order-cancellation: ../../transactions/115-order-cancellation +:snippet-dir: ../../../../rules/snippets/order +:snippet-response-dir: ../../../../rules/snippets/order-response-advanced +:snippet-change-dir: ../../../../rules/snippets/order-change +:snippet-cancellation-dir: ../../../../rules/snippets/order-cancellation +:ubl21: http://docs.oasis-open.org/ubl/UBL-2.1.html[UBL 2.1] +:ubl23: http://docs.oasis-open.org/ubl/UBL-2.3.html[UBL 2.3] + += image:../../shared/images/peppol.png[float="right"]BIS Advanced Ordering 3.0 +{author} + + +{description} + +include::../../shared/copyright.adoc[] + + += Link to main site of documentation + +{main-site} + + +:leveloffset: +1 + +include::introduction/index.adoc[] + +include::principles/index.adoc[] + +include::process/index.adoc[] + +//include::requirements/index.adoc[] + +include::../../shared/datatypes/index.adoc[] + +include::../../shared/codes/index.adoc[] + +include::{order}/description/index.adoc[] + +include::{order-resp}/description/index.adoc[] + +include::{order-change}/description/index.adoc[] + +include::{order-cancellation}/description/index.adoc[] + +include::profile/index.adoc[] + + +:leveloffset: -1 diff --git a/guides/profiles/65-advanced-ordering/principles/benefit.adoc b/guides/profiles/65-advanced-ordering/principles/benefit.adoc new file mode 100644 index 00000000..aaa949e2 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/principles/benefit.adoc @@ -0,0 +1,21 @@ +[[benefit]] +== Benefit + +Based on success with automation of invoicing, there is a growing interest in automation of ordering also. +This approach has two dimensions: Support further automation of invoicing and using structured catalogues as basis for ordering. +Implementing this BIS is an important step for many companies and government agencies towards full procurement automation. + +For the sellers, the approval, picking and invoicing can be automated significantly. + +For the procuring agency, approval and accounting of invoices can be automated and ordering can be structured by use of catalogues. + +Other potential benefits of using this BIS are, among others: + +* Can be used by procuring agencies as step towards automation of procurement. The flexibility of the specifications allows the buyers to gradually automate and structure ordering, based on a cost/benefit approach. +* SME can offer their trading partners the option of exchanging standardized documents in a uniform way and thereby move all orders into electronic form. +* Large companies can implement this BIS as standardized documents for general operations and implement custom designed bi-lateral connections for large trading partners. +* Can be used as basis for restructuring of in-house processes of orders and invoices. +* Significant saving can be realized by the procuring agency by automating and streamlining in-house processing. +* Significant saving can be realized by the sellers by automating and streamlining in-house processing. +Linking to picking and invoicing can be improved significantly based on increased order quality, restructuring of invoice dispute resolution and shorter payment cycles. +* For the procuring agency, invoice automation and ordering can be structured. diff --git a/guides/profiles/65-advanced-ordering/principles/index.adoc b/guides/profiles/65-advanced-ordering/principles/index.adoc new file mode 100644 index 00000000..e7f71bad --- /dev/null +++ b/guides/profiles/65-advanced-ordering/principles/index.adoc @@ -0,0 +1,16 @@ +[[principles-and-prerequisites]] += Principles and prerequisites + +This chapter describes the principles and assumptions that underlie the use of Peppol Advanced Ordering. + +:leveloffset: +1 + +include::scope.adoc[] + +include::parties.adoc[] + +include::benefit.adoc[] + +include::interoperability.adoc[] + +:leveloffset: -1 diff --git a/guides/profiles/65-advanced-ordering/principles/interoperability.adoc b/guides/profiles/65-advanced-ordering/principles/interoperability.adoc new file mode 100644 index 00000000..ac2d41a8 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/principles/interoperability.adoc @@ -0,0 +1,46 @@ +[[interoperability]] += Interoperability + +This BIS structure is based on the European Interoperability Framework 2.0 {EIF}. This BIS applies the Framework as follows: + +Legal Interoperability:: + +* Legal: +** In implementations supporting public sector buyers, the use of this BIS has to be monitored in order to secure that the parties act in line with EU procurement directives. + + +Organizational interoperability:: + +* Organization (Organization/Business): +** This BIS supports B2B and B2G. +** This BIS supports cross border, regional and domestic ordering. +** This BIS can function as a component in an EDI agreement within a trading community. +** This BIS supports linking of business processes within the sending and receiving organization. +The process of order transmission in electronic form can be linked into internal processes of both sender and receiver, which may differ for various reasons. + +* Organization (Process): +** This BIS supports a set of “common business processes” that is assumed to be supported by most enterprises whether public or private. These are processes that are used widely or understood as being relevant for most companies. + + +Semantic interoperability:: +* Semantic: +The set of information elements is assumed to be sufficient to support organizational business and processing requirements stated above. + + +** A CORE business message: +*** Data model, a set of elements that the receiver MUST be able to process. +*** Business rules, a set of business rules that ensure a common way of processing the information elements. +The rules are stated in a way that allows for automated validation of document instances. +Issuers and receivers can verify that the exchanged document conforms to the rules of this BIS. + +Peppol adds business rules on top of the data model to clarify certain design choices left open by the {bii}. +These choices are intended to lower the implementation threshold by limiting options for implementers and thereby increase interoperability of Peppol transactions. + +Technical interoperability:: +* Technical Interaction (Process and semantic implementation): +** Binding to OASIS UBL 2.1, see {ubl21} (for Order transaction) +** Binding to OASIS UBL 2.3, see {ubl23} (for other transactions) +** ISO/IEC 19757-3 Schematron, for automation of document validation, see {schematron} + + +* Technical Interaction (eSignature Validation): +** Not supported in this BIS. diff --git a/guides/profiles/65-advanced-ordering/principles/parties.adoc b/guides/profiles/65-advanced-ordering/principles/parties.adoc new file mode 100644 index 00000000..aa9cf106 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/principles/parties.adoc @@ -0,0 +1,54 @@ +[[parties-and-roles]] += Parties and roles + +The table below gives the definitions of the parties and roles of the ordering process. + +[cols="2,5"] +|==== +s|Business partners +s|Description + +|Customer +|The customer is the legal person or organization who is in demand of a product or service. + +Examples of customer roles: buyer, consignee, delivery party, debtor, contracting authority, originator. + + +|Supplier +|The supplier is the legal person or organization who provides a product or service. +Examples of supplier roles: seller, consignor, creditor, economic operator. + + +s|Role/actor +s|Description + +|Buyer + +`cac:BuyerCustomerParty` +|The buyer is the legal person or organization acting on behalf of the customer and who buys or purchases the goods or services. + +|Seller + +`cac:SellerSupplierParty` +|The seller is the legal person or organization acting on behalf of the supplier and who sells goods or services to the customer. + +|Originator + +`cac:OriginatorCustomerParty` +|A person or unit that initiates an order. + +|Invoicee + +`cac:AccountingCustomerParty` +|A person or unit that receives the invoice (invoicee) on behalf of the customer. + +|Consignee + +`cac:Delivery/cac:DeliveryLocation` +|A person or unit to where the seller, or a despatching party on behalf of the seller, delivers the goods. + +|Delivery party + +`cac:Delivery/cac:DeliveryParty` +|A unit to where the consignee forwards the goods. A final delivery point. + +|==== + + +The following diagram links the business processes to the roles performed by the Business Partners. + +image::images/advanced-ordering-roles.png[Roles in Advanced ordering] diff --git a/guides/profiles/65-advanced-ordering/principles/scope.adoc b/guides/profiles/65-advanced-ordering/principles/scope.adoc new file mode 100644 index 00000000..dd01bf57 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/principles/scope.adoc @@ -0,0 +1,33 @@ +[[scope]] += Scope + +This BIS describes a process comprising a buyer to issue an electronic order, whereby the seller may accept or reject the order. +In his rejection the seller may indicate reasons, so the buyer may issue a new order that may be acceptable. +The seller may accept the order with changes, only if in a previously concluded contract the scope of such changes was agreed. +After acceptance the buyer may send an order change to the original order and the seller can either accept or reject the change. +The seller may also change the order by sending a response which can be accepted or rejected by the buyer. +Both buyer and seller may also cancel the order. + +The order that is agreed upon by final acceptance has the commercial and legal status of a contract and is ready for delivery. + +The main activities supported by this profile are + +Initial order from buyer:: +The initial Order transaction should support the structured ordering of goods or services, using free text or use of identifiers. +The information source of the ordered products may be a (paper or electronic) catalogue. + +Change of order from buyer:: +The buyer may change the order based on new requirements or other reasons. Changes must be done before the order is prepared for delivery. +The seller can either accept or reject the changes. + +Change of order from seller:: +The seller may change the previously accepted order due to e.g. changes in delivery dates or replacements. +The buyer can either accept or reject the changes. + +Cancellation of order from buyer:: +The buyer may cancel the order if this is done before the order is prepared for delivery. The buyer and seller may have agreed upon deadlines +for cancellation. The seller can either accept or reject the cancellation. + +Cancellation of order from seller:: +The seller may cancel the order because of lack of delivery capacity or other reasons. As stated above the buyer and seller may have agreed +upon deadlines for cancellation. The buyer must confirm the reception of the cancellation. diff --git a/guides/profiles/65-advanced-ordering/process/index.adoc b/guides/profiles/65-advanced-ordering/process/index.adoc new file mode 100644 index 00000000..dc0c95f9 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/process/index.adoc @@ -0,0 +1,36 @@ + +[[process-and-typical-use-cases]] += Business process and scenarios + +The Advanced ordering process includes the sending of an intial order from buyer and subsequent changes to the order from both buyer and seller. +The process also allows for cancellation of the order. + +[[process-flow]] +== Process flow + +The Ordering process flow is shown in the below figure. Each task comprise a scenario that is described in detail in the following chapters. + +image::images/bpmn-advanced-ordering.png[width=1000] + +* A buyer submits an initial order to the seller requesting for delivery of goods or services. +** The order may refer to a framework agreement for its terms and conditions; otherwise the buyer’s terms and conditions apply. +** The order may contain items (goods or services) with item identifiers or items with free text description. +* The initial order may be confirmed for delivery without any more changes or it may be cancelled by buyer or seller +* The order may be changed by the buyer sending one or more order changes until a contract is concluded and the order is confirmed for delivery. +* The seller may also change the order by sending a response with proposed changes. +* The buyer may cancel the order by sending an order cancellation which may be accepted or rejected by the seller. +* The seller may cancel the order by sending a negative response with rejection of all lines. + +:leveloffset: +1 + +include::scenario1.adoc[] + +include::scenario2.adoc[] + +include::scenario3.adoc[] + +include::scenario4.adoc[] + +include::scenario5.adoc[] + +:leveloffset: -1 diff --git a/guides/profiles/65-advanced-ordering/process/scenario1.adoc b/guides/profiles/65-advanced-ordering/process/scenario1.adoc new file mode 100644 index 00000000..0375374e --- /dev/null +++ b/guides/profiles/65-advanced-ordering/process/scenario1.adoc @@ -0,0 +1,48 @@ +[[use-case-1-ordering-of-numbered-itemsarticles]] += Scenario 1 – Initial order from buyer + +The following diagram shows the business process and choreography for Scenario 1. + +image::images/bpmn-scenario1.png[width=1100] + +[cols="1s,5",options="header"] +|==== +|Scenario number +|1 + +|Name +|Initial order from buyer + +|Description +a| +* An order of numbered articles or services. +* The order instructs the seller of the delivery address. +|Parties involved +|Buyer + +Seller + +|Assumptions +|Buyer and seller have a commercial agreement with general conditions for ordering of goods or services. + +They may also have exchanged a catalogue with product information and pricing. + +|The flow +a|The buyer creates an Order with one or more lines. + +The seller receives the Order and send an Order Response Advanced and either + +* Accepts to deliver the order without changes +* Accepts to deliver the order partially or with changes +* Rejects the order + +If the seller accepts the order partially or with changes the buyer may either + +* Accept the changes by sending an Order Change confirming the changes proposed by seller +* Reject the changes and cancel the order by sending an Order Cancellation + +|Alternative results +a| +. The buyer and seller have reached an agreement on delivery of the order +. The order will be cancelled + +|XML example file +|See Appendix A for example files for scenario 1 +|==== diff --git a/guides/profiles/65-advanced-ordering/process/scenario2.adoc b/guides/profiles/65-advanced-ordering/process/scenario2.adoc new file mode 100644 index 00000000..42e6d899 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/process/scenario2.adoc @@ -0,0 +1,41 @@ +[[use-case-1-ordering-of-numbered-itemsarticles]] += Scenario 2 – Change of order from buyer + +The following diagram shows the business process and choreography for Scenario 2. + +image::images/bpmn-scenario2.png[width=1000] + +[cols="1s,5",options="header"] +|==== +|Scenario number +|2 + +|Name +|Change of order from buyer + +|Description +a| +* A change of an initial order of numbered articles or services. +|Parties involved +|Buyer + +Seller + +|Assumptions +|Buyer has sent an initial order which is accepted by seller and the order is confirmed. + +The initial order may or may not have been changed by buyer or seller, so the original order referred to in this scenario will either be the initial order or a changed order. + +|The flow +a|The buyer creates an Order Change with changes to one or more order lines. + +The seller receives the Order Change and sends an Order Response Advanced to either + +* Accept to deliver the changed order +* Reject the changes and deliver the original order + +|Alternative results +a| +. The buyer and seller have reached an agreement on delivery of the changed order +. The buyer and seller have confirmed the agreement on delivery of the original order + +|XML example file +|See Appendix A for example files for scenario 2 +|==== diff --git a/guides/profiles/65-advanced-ordering/process/scenario3.adoc b/guides/profiles/65-advanced-ordering/process/scenario3.adoc new file mode 100644 index 00000000..03c01244 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/process/scenario3.adoc @@ -0,0 +1,41 @@ +[[use-case-1-ordering-of-numbered-itemsarticles]] += Scenario 3 – Change of order from seller + +The following diagram shows the business process and choreography for Scenario 3. + +image::images/bpmn-scenario3.png[width=1000] + +[cols="1s,5",options="header"] +|==== +|Scenario number +|3 + +|Name +|Change of order from seller + +|Description +a| +* A change of an initial order of numbered articles or services. +|Parties involved +|Buyer + +Seller + +|Assumptions +|Buyer has sent an initial order which is accepted by seller and the order is confirmed. + +The initial order may or may not have been changed by buyer or seller, so the original order referred to in this scenario will either be the initial order or a changed order. + +|The flow +a|The seller creates an Order Response Advanced with changes to one or more order lines. + +The buyer receives the message and either + +* Accept the changes by sending an Order Change +* Reject the changes and cancel the order by sending an Order Cancellation + +|Alternative results +a| +. The buyer and seller have reached an agreement on delivery of the changed order +. The order will be cancelled + +|XML example file +|See Appendix A for example files for scenario 3 +|==== diff --git a/guides/profiles/65-advanced-ordering/process/scenario4.adoc b/guides/profiles/65-advanced-ordering/process/scenario4.adoc new file mode 100644 index 00000000..3ec600fc --- /dev/null +++ b/guides/profiles/65-advanced-ordering/process/scenario4.adoc @@ -0,0 +1,41 @@ +[[use-case-1-ordering-of-numbered-itemsarticles]] += Scenario 4 – Cancellation of order from buyer + +The following diagram shows the business process and choreography for Scenario 4. + +image::images/bpmn-scenario4.png[width=1000] + +[cols="1s,5",options="header"] +|==== +|Scenario number +|4 + +|Name +|Cancellation of order from buyer + +|Description +a| +* A cancellation of an initial order of numbered articles or services. +|Parties involved +|Buyer + +Seller + +|Assumptions +|Buyer has sent an initial order which is accepted by seller and the order is confirmed. + +The initial order may or may not have been changed by buyer or seller. + +|The flow +a|The buyer creates an Order Cancellation to cancel the order. + +The seller receives the Order Cancellation and sends an Order Response Advanced to either + +* Accept the cancellation +* Reject the cancellation + +|Alternative results +a| +. The order will be cancelled +. The buyer and seller have confirmed the agreement on delivery of the order + +|XML example file +|See Appendix A for example files for scenario 4 +|==== diff --git a/guides/profiles/65-advanced-ordering/process/scenario5.adoc b/guides/profiles/65-advanced-ordering/process/scenario5.adoc new file mode 100644 index 00000000..fb4a5bba --- /dev/null +++ b/guides/profiles/65-advanced-ordering/process/scenario5.adoc @@ -0,0 +1,36 @@ +[[use-case-1-ordering-of-numbered-itemsarticles]] += Scenario 5 – Cancellation of order from seller + +The following diagram shows the business process and choreography for Scenario 5. + +image::images/bpmn-scenario5.png[width=1000] + +[cols="1s,5",options="header"] +|==== +|Scenario number +|5 + +|Name +|Cancellation of order from seller + +|Description +a| +* A cancellation of an initial order of numbered articles or services. +|Parties involved +|Buyer + +Seller + +|Assumptions +|Buyer has sent an initial order which is accepted by seller and the order is confirmed. + +The initial order may or may not have been changed by buyer or seller. + +|The flow +a|The seller creates an Order Response Advanced with rejection of all lines in an order. + +The buyer receives the message and confirms the cancellation by sending an Order Cancellation. + +|Result +|The order will be cancelled. + +|XML example file +|See Appendix A for example files for scenario 5 +|==== diff --git a/guides/profiles/65-advanced-ordering/profile/identifiers.adoc b/guides/profiles/65-advanced-ordering/profile/identifiers.adoc new file mode 100644 index 00000000..dfd36a6f --- /dev/null +++ b/guides/profiles/65-advanced-ordering/profile/identifiers.adoc @@ -0,0 +1,10 @@ +[[namespaces]] += Namespaces + +include::../{order}/technical/namespace.adoc[] + +include::../{order-resp}/technical/namespace.adoc[] + +include::../{order-change}/technical/namespace.adoc[] + +include::../{order-cancellation}/technical/namespace.adoc[] diff --git a/guides/profiles/65-advanced-ordering/profile/index.adoc b/guides/profiles/65-advanced-ordering/profile/index.adoc new file mode 100644 index 00000000..d9c2a7ba --- /dev/null +++ b/guides/profiles/65-advanced-ordering/profile/index.adoc @@ -0,0 +1,11 @@ + + +include::../../../shared/profiles/info.adoc[] + +:leveloffset: +1 + +include::../../../shared/profiles/65.adoc[] + +include::identifiers.adoc[] + +:leveloffset: -1 diff --git a/guides/profiles/65-advanced-ordering/requirements/index.adoc b/guides/profiles/65-advanced-ordering/requirements/index.adoc new file mode 100644 index 00000000..8413c5a9 --- /dev/null +++ b/guides/profiles/65-advanced-ordering/requirements/index.adoc @@ -0,0 +1,13 @@ += Transaction business requirements + +:leveloffset: +1 + +include::../{order}/requirements/index.adoc[] + +include::../{order-resp}/requirements/index.adoc[] + +include::../{order-change}/requirements/index.adoc[] + +include::../{order-cancellation}/requirements/index.adoc[] + +:leveloffset: -1 diff --git a/guides/profiles/65-advanced-ordering/rules/index.adoc b/guides/profiles/65-advanced-ordering/rules/index.adoc new file mode 100644 index 00000000..de99c5cb --- /dev/null +++ b/guides/profiles/65-advanced-ordering/rules/index.adoc @@ -0,0 +1,25 @@ += Business rules + +:leveloffset: +1 + +include::../{order}/rules/order.adoc[] + +include::../{order-resp}/rules/order-response.adoc[] + +include::../{order-change}/rules/order.adoc[] + +include::../{order-cancellation}/rules/order.adoc[] + += Codelist rules + +:leveloffset: +1 + +include::../{order}/rules/codelist.adoc[] + +include::../{order-resp}/rules/codelist.adoc[] + +include::../{order-change}/rules/codelist.adoc[] + +include::../{order-cancellation}/rules/codelist.adoc[] + +:leveloffset: -2 diff --git a/guides/release-notes/v3.0.10.adoc b/guides/release-notes/v3.0.10.adoc index d8920bee..514369f9 100644 --- a/guides/release-notes/v3.0.10.adoc +++ b/guides/release-notes/v3.0.10.adoc @@ -2,6 +2,18 @@ [horizontal] Release date:: 2022-11-03 +== New BIS documents +* Added new document - BIS Advanced Ordering 3.0 with the following transactions: +** New transaction - Peppol Order Change transaction 3.0 (T114) +** New transaction - Peppol Order Cancellation transaction 3.0 (T115) +** New transaction - Peppol Order Response Advanced transaction 3.0 (T116) +** Existing transaction - Peppol Order transaction 3.3 (T01) + +== New transactions +* Peppol Order Change transaction 3.0 (T114) +* Peppol Order Cancellation transaction 3.0 (T115) +* Peppol Order Response Advanced transaction 3.0 (T116) + == BIS documentation * Invoice Response ** Definition of status codes in section Status Codes corrected to be in line with rule OP-BR111-R012 so that Accepted is not a final status and Paid is a final status. @@ -45,3 +57,4 @@ Release date:: 2022-11-03 * Correction in Rule PEPPOL-COMMON-R050 (validation of Australian Business Number (ABN)) corrected * Added eas codes 9959. Removed 9906 and 9907. * Added icd codes 0217, 0218, 0219, 0220 +* Added Action code (UNCL1229) for Order Change diff --git a/guides/release-notes/v3.0.11-hotfix.adoc b/guides/release-notes/v3.0.11-hotfix.adoc new file mode 100644 index 00000000..6289ec64 --- /dev/null +++ b/guides/release-notes/v3.0.11-hotfix.adoc @@ -0,0 +1,19 @@ += Version 3.0.11 - hotfix +[horizontal] +Release date:: 2022-12-30 + +== New BIS document +* Added new document - BIS Advanced Ordering 3.0 with the following transactions: +** New transaction - Peppol Order Change transaction 3.0 (T114) +** New transaction - Peppol Order Cancellation transaction 3.0 (T115) +** New transaction - Peppol Order Response Advanced transaction 3.0 (T116) +** Existing transaction - Peppol Order transaction 3.3 (T01) + +== New transactions +* Peppol Order Change transaction 3.0 (T114) +* Peppol Order Cancellation transaction 3.0 (T115) +* Peppol Order Response Advanced transaction 3.0 (T116) + +== Changes to code lists + +* Added Action code (UNCL1229) for Order Change \ No newline at end of file diff --git a/guides/shared/links.adoc b/guides/shared/links.adoc index c96d6bd2..821e19f2 100644 --- a/guides/shared/links.adoc +++ b/guides/shared/links.adoc @@ -26,6 +26,9 @@ :ubl-catalogue: http://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-Catalogue-2.1.xsd[UBL Catalogue 2.1] :ubl-order: http://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-Order-2.1.xsd[UBL Order 2.1] :ubl-order-response: http://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-OrderResponse-2.1.xsd[UBL Order Response 2.1] +:ubl-order-response-advanced: http://docs.oasis-open.org/ubl/os-UBL-2.3/xsd/maindoc/UBL-OrderResponse-2.3.xsd[UBL Order Response 2.3] +:ubl-order-change: http://docs.oasis-open.org/ubl/os-UBL-2.3/xsd/maindoc/UBL-OrderChange-2.3.xsd[UBL Order Change 2.3] +:ubl-order-cancellation: http://docs.oasis-open.org/ubl/os-UBL-2.3/xsd/maindoc/UBL-OrderCancellation-2.3.xsd[UBL Order Cancellation 2.3] :ubl-appl-resp: http://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-ApplicationResponse-2.1.xsd[UBL Application Response 2.1] :ubl-despatch-advice: http://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-DespatchAdvice-2.1.xsd[UBL Despatch Advice 2.1] diff --git a/guides/shared/profiles/65.adoc b/guides/shared/profiles/65.adoc new file mode 100644 index 00000000..0f2201e0 --- /dev/null +++ b/guides/shared/profiles/65.adoc @@ -0,0 +1,26 @@ + +[[prof-65]] += Customization and Profile identifiers + +In the table below you will find the values to be used as the specification identifier and the business process type for this profile + +[cols="3s,6a,3a", options="header"] +|=== +| Type +| Element `cbc:CustomizationID` +| Element `cbc:ProfileID` + + +| Order (Trdm01) +| urn:fdc:peppol.eu:poacc:trns:order:3 +.4+.^| urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + +| Order response advanced (Trdm116) +| urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + +| Order change (Trdm114) +| urn:fdc:peppol.eu:poacc:trns:order_change:3 + +| Order cancellation (Trdm115) +| urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 +|=== diff --git a/guides/transactions/114-order-change/codelists/elements.adoc b/guides/transactions/114-order-change/codelists/elements.adoc new file mode 100644 index 00000000..7d73824b --- /dev/null +++ b/guides/transactions/114-order-change/codelists/elements.adoc @@ -0,0 +1,20 @@ + + += Code lists used in order transaction + +:leveloffset: +1 + +include::elements/order-type.adoc[] + +include::elements/currency-code.adoc[] + +include::elements/media-types.adoc[] + +include::elements/country.adoc[] + +include::elements/uom.adoc[] + +include::../../../shared/codes/vat-category.adoc[] + + +:leveloffset: -1 diff --git a/guides/transactions/114-order-change/codelists/elements/country.adoc b/guides/transactions/114-order-change/codelists/elements/country.adoc new file mode 100644 index 00000000..220dcfa0 --- /dev/null +++ b/guides/transactions/114-order-change/codelists/elements/country.adoc @@ -0,0 +1,16 @@ + += Country code + +All country codes shall be the alpha-2 code from {ISO3166} + + +[cols="1,4"] +.Country of origin +|=== +h| Qualifier +| `ISO3166-1:Alpha2` (listID) +h| Document location +| `cac:Country/cbc:IdentificationCode` +h| Source codelist +| {ISO3166} +|=== diff --git a/guides/transactions/114-order-change/codelists/elements/currency-code.adoc b/guides/transactions/114-order-change/codelists/elements/currency-code.adoc new file mode 100644 index 00000000..0dc4e084 --- /dev/null +++ b/guides/transactions/114-order-change/codelists/elements/currency-code.adoc @@ -0,0 +1,16 @@ + += Currency code + +All currency identifiers shall be the alphabetic code from {ISO4217} + +.Currency identifiers +[cols="1,4"] +|=== +h| Qualifier +| _None_ +h| Document location +| `cbc:*/@currencyID` + +`cbc:DocumentCurrencyCode` +h| Source codelist +| {ISO4217} +|=== diff --git a/guides/transactions/114-order-change/codelists/elements/media-types.adoc b/guides/transactions/114-order-change/codelists/elements/media-types.adoc new file mode 100644 index 00000000..873562df --- /dev/null +++ b/guides/transactions/114-order-change/codelists/elements/media-types.adoc @@ -0,0 +1,39 @@ + +[[media-type]] += Media type code of attached document + +#Used subset from Billing BIS# + +[cols="1,4"] +.Media Types +|=== +h| Qualifier +| _None_ +h| Document location +| `cbc:EmbeddedDocumentBinaryObject/@mimeCode` +h| Source codelist +| + Subset of link:http://www.iana.org/assignments/media-types[IANA] +|=== + +Valid values are listed in the table below. + +[cols="1,4"] +.Valid subset +|=== + +.1+h| Documents +| application/pdf + +.2+h| Images +| image/png +| image/jpeg + + +.1+h| Text +| text/csv + +.2+h| Spreadsheet +| application/vnd.openxmlformats-officedocument.spreadsheetml.sheet +| application/vnd.oasis.opendocument.spreadsheet +|=== diff --git a/guides/transactions/114-order-change/codelists/elements/order-type.adoc b/guides/transactions/114-order-change/codelists/elements/order-type.adoc new file mode 100644 index 00000000..c5c73f06 --- /dev/null +++ b/guides/transactions/114-order-change/codelists/elements/order-type.adoc @@ -0,0 +1,12 @@ += Order type code + +[cols="1,4"] +|=== +h| Qualifier +| `UNCL1001` (listID) +h| Document location +| `cbc:OrderTypeCode` +h| Source codelist +a| Subset of {UNCL1001}. + +Only valid code is 227 - Consignment order +|=== diff --git a/guides/transactions/114-order-change/codelists/elements/uom.adoc b/guides/transactions/114-order-change/codelists/elements/uom.adoc new file mode 100644 index 00000000..5c54a138 --- /dev/null +++ b/guides/transactions/114-order-change/codelists/elements/uom.adoc @@ -0,0 +1,21 @@ + += Unit of measure + +Valid unit codes shall be from {UNRec20}. Unless codes for unit of measure are not in common daily use, implementers should as necessary provide a function for clarification of codes when transactions are visualised. + + +**** +NOTE: Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the "Intro" section of {UNRec20}: + +_The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure._ +**** + +[cols="1,4"] +.Unit of measure +|=== +h| Qualifier +| _None_ +h| Document location +| `cbc:*/@unitCode` +h| Source codelist +| link:http://www.unece.org/fileadmin/DAM/cefact/recommendations/rec20/rec20_Rev11e_2015.xls[UN/ECE Recommendation 20, Revision 11 (2015)] +|=== diff --git a/guides/transactions/114-order-change/codelists/id_schemes.adoc b/guides/transactions/114-order-change/codelists/id_schemes.adoc new file mode 100644 index 00000000..d5c75c6e --- /dev/null +++ b/guides/transactions/114-order-change/codelists/id_schemes.adoc @@ -0,0 +1,11 @@ + +[[id_schemes]] += Code lists for identifier schemes + +:leveloffset: +1 + +include::schemes/endpoint.adoc[] +include::schemes/party-id.adoc[] + + +:leveloffset: -1 diff --git a/guides/transactions/114-order-change/codelists/index.adoc b/guides/transactions/114-order-change/codelists/index.adoc new file mode 100644 index 00000000..c43ae92a --- /dev/null +++ b/guides/transactions/114-order-change/codelists/index.adoc @@ -0,0 +1,12 @@ + +[[codelist]] += Code lists + +The following chapters give an overview of the codes that is used in this PEPPOL BIS. + +:leveloffset: +1 + +include::elements.adoc[] +include::id_schemes.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/114-order-change/codelists/schemes/endpoint.adoc b/guides/transactions/114-order-change/codelists/schemes/endpoint.adoc new file mode 100644 index 00000000..fc4065c7 --- /dev/null +++ b/guides/transactions/114-order-change/codelists/schemes/endpoint.adoc @@ -0,0 +1,18 @@ + + += Electronic address identifier scheme + +Electronic address identifiers (Endpoint identification) use of a code list to be maintained by CEF. + +#This code list is still not available. Use Peppol Policy for identifiers# + +[cols="2,3,3", options="header"] +|=== +|Business Term +|Applicable XPath +|Code list (link or subset values) + +| Electronic address identifiers (Endpoint) +| cbc:EndpointID/@schemeID +a| Code list maintained by CEF, not yet available +|=== diff --git a/guides/transactions/114-order-change/codelists/schemes/party-id.adoc b/guides/transactions/114-order-change/codelists/schemes/party-id.adoc new file mode 100644 index 00000000..b0769597 --- /dev/null +++ b/guides/transactions/114-order-change/codelists/schemes/party-id.adoc @@ -0,0 +1,19 @@ + + += Party identifiers and party legal registration identifier scheme + +All party identifiers and party legal registration identifier has an optional scheme attribute. If used, the value shall be chosen from the ICD list from {ISO6523} + + + +[cols="2,3,3", options="header"] +|=== +|Business Term +|Applicable XPath +|Code list (link or subset values) + +| Party identifiers (Provider and Receiver) +| cac:PartyIdentification/cbc:ID/@schemeID +.3+^.^| ICD list from {ISO6523} + +|=== diff --git a/guides/transactions/114-order-change/description/index.adoc b/guides/transactions/114-order-change/description/index.adoc new file mode 100644 index 00000000..c2d85d1f --- /dev/null +++ b/guides/transactions/114-order-change/description/index.adoc @@ -0,0 +1,8 @@ +[[order-change-message]] += Description of selected parts of the Order Change message + +:leveloffset: +1 + +include::sequence-number.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/114-order-change/description/sequence-number.adoc b/guides/transactions/114-order-change/description/sequence-number.adoc new file mode 100644 index 00000000..9e3617b1 --- /dev/null +++ b/guides/transactions/114-order-change/description/sequence-number.adoc @@ -0,0 +1,11 @@ +[[sequence-number]] += Sequence number + +The Order Change Sequence number assigned by the Buyer to ensure the proper sequencing of changes. +Sequence number is mandatory in Order Change. + +.Example of an Peppol BIS Order Change with Sequence number: +[source, xml, indent=0] +---- +include::{snippet-change-dir}/snippet-advanced.xml[tags=sequence-number] +---- diff --git a/guides/transactions/114-order-change/requirements/delivery.adoc b/guides/transactions/114-order-change/requirements/delivery.adoc new file mode 100644 index 00000000..9af0871a --- /dev/null +++ b/guides/transactions/114-order-change/requirements/delivery.adoc @@ -0,0 +1,27 @@ +[[delivery]] += Delivery + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr01-021 +|An order must provide for details about delivery location (address and ID), some basic delivery terms, delivery time and contact person for a delivery of an order. + + +|tbr01-022 +|An order must provide for information about the dates before and/or after which the order as whole or individual order lines must be delivered. + + +|tbr01-033 +|An order line must provide for indication on whether the buyer accepts partial deliveries of that line. + + +|tbr01-038 +a|Basic delivery terms for transport + +* Transport location +* Transport terms + +|==== diff --git a/guides/transactions/114-order-change/requirements/general.adoc b/guides/transactions/114-order-change/requirements/general.adoc new file mode 100644 index 00000000..713a7c9f --- /dev/null +++ b/guides/transactions/114-order-change/requirements/general.adoc @@ -0,0 +1,43 @@ +[[general-requirements]] += General requirements + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr01-001 +|To control the validation and processing of an order; information that identifies the data model customization used and the business process that the order is part of + + +|tbr01-002 +|An order must provide information about its identity, type (purchase order or consignment order), issue date and validity + + +|tbr01-003 +|To provide flexibility in ordering an order must provide for free text notes on document level as well as on individual order lines. + + +|tbr01-004 +|An order must provide for information about the value of items ordered and what prices, charges and totals (including estimate of VAT) are expected to be paid in a way that can be matched against an invoice. + + +|tbr01-005 +|The order must enable the buyer to send information that can be reported back in a resulting invoice with the purpose of automating the processing of the invoice. + + +|tbr01-006 +|The order must enable the buyer to reference contract and documents that are relevant to prices and terms, including terms of delivery. + + +|tbr01-030 +|The order must support information needed to specify estimated allowance and charges on document level that apply to the order as a whole. + + +|tbr01-031 +|All amounts in the Order must be stated in the same currency. + + +|tbr01-032 +|Order should only contain non-negative prices and quantities +|==== diff --git a/guides/transactions/114-order-change/requirements/index.adoc b/guides/transactions/114-order-change/requirements/index.adoc new file mode 100644 index 00000000..935bc58f --- /dev/null +++ b/guides/transactions/114-order-change/requirements/index.adoc @@ -0,0 +1,18 @@ +[[order-change-transaction-business-requirements]] += Order Change transaction + +:leveloffset: +1 + +include::general.adoc[] + +include::parties.adoc[] + +include::delivery.adoc[] + +include::line.adoc[] + +include::legal.adoc[] + +include::peppol.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/114-order-change/requirements/legal.adoc b/guides/transactions/114-order-change/requirements/legal.adoc new file mode 100644 index 00000000..6f500874 --- /dev/null +++ b/guides/transactions/114-order-change/requirements/legal.adoc @@ -0,0 +1,12 @@ +[[legal-requirements]] += Legal requirements + + +These requirements apply to Businesses and Governments (B2G) who reside in countries whose eProcurement legal frameworks are aligned with requirements as stated in this specification. + +Legal requirements to be supported by this BIS, ref. {dir-2009-101}. + +* the information necessary in order to identify the register in which the file mentioned in Article 3 is kept, together with the number of the company in that register; +* the legal form of the company, the location of its registered office and, where appropriate, the fact that the company is being wound up. +* Where, in those documents, mention is made of the capital of the company, the reference shall be to the capital subscribed and paid up. +* Member States shall prescribe that company websites are to contain at least the particulars mentioned in the first paragraph and, if applicable, a reference to the capital subscribed and paid up. diff --git a/guides/transactions/114-order-change/requirements/line.adoc b/guides/transactions/114-order-change/requirements/line.adoc new file mode 100644 index 00000000..0c58ed33 --- /dev/null +++ b/guides/transactions/114-order-change/requirements/line.adoc @@ -0,0 +1,34 @@ +[[line-requirements]] += Line requirements + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr01-025 +|Each line in an order must be clearly identified to enable referencing from other documents. + + +|tbr01-027 +|An order must provide for information about the final price that the buyer expects to pay exclusive of any VAT. +This makes it possible for the seller to verify against his price lists and contracts. +An order must provide for giving the base quantity to which the price applies. + + +|tbr01-028 +|An order line must provide for information about the quantity ordered and its unit of measure. + + +|tbr01-029 +|An order line must provide for detailed identification of the ordered item or variant of the item including name, identifiers, description as well as the values for different item properties, diagrams and specifications. + + +|tbr01-034 +|An order line must provide for seller identifiers and standard identifiers for products + + +|tbr01-035 +|It must be possible to state informative price discounts and amounts already paid. + +|==== diff --git a/guides/transactions/114-order-change/requirements/parties.adoc b/guides/transactions/114-order-change/requirements/parties.adoc new file mode 100644 index 00000000..720e5a0b --- /dev/null +++ b/guides/transactions/114-order-change/requirements/parties.adoc @@ -0,0 +1,36 @@ +[[parties]] += Parties + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr01-010 +|An electronic order must provide for the identification of the electronic address from which the buyer sent the message and the electronic address to which it should be sent. + + +|tbr01-011 +|For supporting reverse charge VAT invoicing the order must provide for the buyers VAT number in order to enable the seller to issue legally valid invoices. +In some cases the buyer’s legal registration ID should also be provided. +The legal registration ID may be used for identification purposes in the invoicing process and to verify the identity of parties for commercial purposes. + + +|tbr01-012 +|An order must provide for legal information for the buyer. Ref {dir-2009-101} + + +|tbr01-013 +|An order must provide for contact information for the buyer and the seller including structured name, phone, fax and email and job title. + + +|tbr01-009 +|An order must provide for identifying the buyer and seller with name and address as well as identifiers, including the sellers’ legal registration ID. +Use of published identifiers is common for identifying parties. +Each party should be free to choose the scheme from which the own identification is derived. + + +|tbr01-020 +|An order must provide for contact details of the party who originated the order as a whole or for individual order lines (i.e. the end user of the items). + +|==== diff --git a/guides/transactions/114-order-change/requirements/peppol.adoc b/guides/transactions/114-order-change/requirements/peppol.adoc new file mode 100644 index 00000000..6797b7dc --- /dev/null +++ b/guides/transactions/114-order-change/requirements/peppol.adoc @@ -0,0 +1,41 @@ +[[specific-openPeppol-requirements]] += Specific OpenPeppol requirements + +[cols="1,1,4",options="header"] +|==== +|ID: +|Business term: +|Description: + +3+s|HEADER LEVEL: + +|OP-T01-010 +|Buyers contact ID +|An order must support the use of ID for buyers contact person. +On the order the information is mandatory in Norwegian markets, and recommended in others. +Normally used for “Your reference”. + +|OP-T01-011 +|Invoicee +|An order must support the use of invoicee information. +Content will be the same as for buyer except contact information. +Norwegian, Swedish and Danish requirement. + +|OP-T01-014 +|Payment instructions and terms +|An order must support specification of payment terms as plain text. +Italian requirement. + +3+s|LINE LEVEL: + +|OP-T01-012 +|Item specification reference +|There is a need to refer to an external document (ID) when it is necessary to specify the details of the item. +This could be an instruction on how an item should be assembled or configured. +Swedish requirement. + +|OP-T01-013 +|AdditionalItemProperty: + +Value quantity and value qualifier +|Value quantity and value qualifier has been added to the AdditionalItemProperty element to harmonise with Peppol BIS Catalogue. +|==== diff --git a/guides/transactions/114-order-change/rules/codelist.adoc b/guides/transactions/114-order-change/rules/codelist.adoc new file mode 100644 index 00000000..fc61c110 --- /dev/null +++ b/guides/transactions/114-order-change/rules/codelist.adoc @@ -0,0 +1,16 @@ +[[codelists-business-rules]] += Order codelists rules + +[cols="1s,5",options="header"] +|==== +|Identifier |Business Rule +|OP-T01-001 |OrderTypeCode MUST be from UN/ECE 1001 code list PEPPOL Subset +|OP-T01-002 |DocumentCurrencyCode MUST be coded using ISO code list 4217 +|OP-T01-003 |A Binary Object MIME code attribute MUST be coded using MIME Code Type version 2008 code list +|OP-T01-004 |An Endpoint Identifier Scheme identifier MUST be from the code list PEPPOL Party Identifier +|OP-T01-005 |An Party Identifier Scheme identifier MUST be from the code list PEPPOL Party Identifier +|OP-T01-006 |Country codes in an order MUST be coded using ISO code list 3166-1 +|OP-T01-007 |currencyID MUST be coded using ISO code list 4217 +|OP-T01-008 |A tax category identifier MUST be coded using UN/ECE 5305 BII2 Subset +|OP-T01-009 |Unit code MUST be coded according to the UN/ECE Recommendation 20 (2009) +|==== diff --git a/guides/transactions/114-order-change/rules/index.adoc b/guides/transactions/114-order-change/rules/index.adoc new file mode 100644 index 00000000..fd9926be --- /dev/null +++ b/guides/transactions/114-order-change/rules/index.adoc @@ -0,0 +1,6 @@ + + + +include::order-change.adoc[] + +include::codelist.adoc[] diff --git a/guides/transactions/114-order-change/rules/order-change.adoc b/guides/transactions/114-order-change/rules/order-change.adoc new file mode 100644 index 00000000..532a667c --- /dev/null +++ b/guides/transactions/114-order-change/rules/order-change.adoc @@ -0,0 +1,53 @@ +[[order-business-rules]] += Order rules + +[cols="1s,4,1",options="header"] +|==== +|RuleID +|Rule +|Error level + +|BII2-T01-R001 +|An order MUST have a customization identifier +|fatal + +|BII2-T01-R002 +|An order MUST have a profile identifier +|fatal + +|BII2-T01-R003 +|Each order line MUST have a document line identifier that is unique within the order +|fatal + +|BII2-T01-R004 +|An order MUST have a document issue date +|fatal + +|BII2-T01-R005 |An order SHOULD provide information about its validity end date |warning +|BII2-T01-R006 |An order MUST have a document identifier |fatal +|BII2-T01-R007 |Allowances and charges MUST have a reason |fatal +|BII2-T01-R009 |An order MUST be stated in a single currency |fatal +|BII2-T01-R010 |Each order line ordered quantity MUST not be negative |fatal +|BII2-T01-R011 |Each order line item net price MUST not be negative |fatal +|BII2-T01-R012 |Expected total amount for payment MUST NOT be negative |fatal +|BII2-T01-R013 |Expected total sum of line amounts MUST NOT be negative |fatal +|BII2-T01-R014 |Expected total sum of line amounts MUST equal the sum of the order line amounts at order line level |fatal +|BII2-T01-R015 |Expected total sum of allowance at document level MUST be equal to the sum of allowance amounts at document level |fatal +|BII2-T01-R016 |Expected total sum of charges at document level MUST be equal to the sum of charges at document level |fatal +|BII2-T01-R017 |Expected total amount for payment MUST be equal to the sum of line amounts minus sum of allowances at document level plus sum of charges at document level and VAT total amount |fatal +|BII2-T01-R018 |VAT total amount SHOULD be the sum of order line tax amounts, if order line tax amounts are provided |warning +|BII2-T01-R019 |Each item property MUST have a data name, if item property is provided |fatal +|BII2-T01-R020 |Each item property MUST have a data value, if item property is provided |fatal +|BII2-T01-R021 |An order MUST have the buyer party name or a buyer party identifier |fatal +|BII2-T01-R022 |An order MUST have the seller party name or a seller party identifier |fatal +|BII2-T01-R029 |Each order line SHOULD have an ordered quantity |warning +|BII2-T01-R030 |Each order line ordered quantity MUST have an associated unit of measure |fatal +|BII2-T01-R031 |Each order line MUST have an item identifier and/or an item name |fatal +|EUGEN-T01-R011 |An endpoint identifier MUST have a scheme identifier attribute |fatal +|EUGEN-T01-R012 |A party identifier MUST have a scheme identifier attribute |fatal +|EUGEN-T01-R013 |An order type code MUST have a list identifier attribute “UNCL1001” |fatal +|EUGEN-T01-R014 |A document currency code MUST have a list identifier attribute “ISO4217” |fatal +|EUGEN-T01-R015 |A country identification code MUST have a list identifier attribute “ISO3166-1:Alpha2” |fatal +|EUGEN-T01-R016 |A unit code attribute MUST have a unit code list identifier attribute “UNECERec20” |fatal +|EUGEN-T01-R017 |A tax category identifier MUST have a scheme identifier attribute “UNCL5305” |fatal +|==== diff --git a/guides/transactions/114-order-change/technical/namespace.adoc b/guides/transactions/114-order-change/technical/namespace.adoc new file mode 100644 index 00000000..0283e3d4 --- /dev/null +++ b/guides/transactions/114-order-change/technical/namespace.adoc @@ -0,0 +1,3 @@ +//test +* The target namespace for the {ubl23} Order Change is: + +`urn:oasis:names:specification:ubl:schema:xsd:OrderChange-2` diff --git a/guides/transactions/114-order-change/technical/ubl-version.adoc b/guides/transactions/114-order-change/technical/ubl-version.adoc new file mode 100644 index 00000000..7722c1e0 --- /dev/null +++ b/guides/transactions/114-order-change/technical/ubl-version.adoc @@ -0,0 +1,11 @@ +[[version-id]] += Version ID + +IMPORTANT: The element `cbc:UBLVersionID` MUST be stated with the value *2.3*: + + +.Example of UBL version identifier +[source, xml, indent=0] +---- +include::../../../transactions/76-order-response/snippets/snippet-1.xml[tags=ubl-version] +---- diff --git a/guides/transactions/115-order-cancellation/codelists/elements.adoc b/guides/transactions/115-order-cancellation/codelists/elements.adoc new file mode 100644 index 00000000..7d73824b --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/elements.adoc @@ -0,0 +1,20 @@ + + += Code lists used in order transaction + +:leveloffset: +1 + +include::elements/order-type.adoc[] + +include::elements/currency-code.adoc[] + +include::elements/media-types.adoc[] + +include::elements/country.adoc[] + +include::elements/uom.adoc[] + +include::../../../shared/codes/vat-category.adoc[] + + +:leveloffset: -1 diff --git a/guides/transactions/115-order-cancellation/codelists/elements/country.adoc b/guides/transactions/115-order-cancellation/codelists/elements/country.adoc new file mode 100644 index 00000000..220dcfa0 --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/elements/country.adoc @@ -0,0 +1,16 @@ + += Country code + +All country codes shall be the alpha-2 code from {ISO3166} + + +[cols="1,4"] +.Country of origin +|=== +h| Qualifier +| `ISO3166-1:Alpha2` (listID) +h| Document location +| `cac:Country/cbc:IdentificationCode` +h| Source codelist +| {ISO3166} +|=== diff --git a/guides/transactions/115-order-cancellation/codelists/elements/currency-code.adoc b/guides/transactions/115-order-cancellation/codelists/elements/currency-code.adoc new file mode 100644 index 00000000..0dc4e084 --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/elements/currency-code.adoc @@ -0,0 +1,16 @@ + += Currency code + +All currency identifiers shall be the alphabetic code from {ISO4217} + +.Currency identifiers +[cols="1,4"] +|=== +h| Qualifier +| _None_ +h| Document location +| `cbc:*/@currencyID` + +`cbc:DocumentCurrencyCode` +h| Source codelist +| {ISO4217} +|=== diff --git a/guides/transactions/115-order-cancellation/codelists/elements/media-types.adoc b/guides/transactions/115-order-cancellation/codelists/elements/media-types.adoc new file mode 100644 index 00000000..873562df --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/elements/media-types.adoc @@ -0,0 +1,39 @@ + +[[media-type]] += Media type code of attached document + +#Used subset from Billing BIS# + +[cols="1,4"] +.Media Types +|=== +h| Qualifier +| _None_ +h| Document location +| `cbc:EmbeddedDocumentBinaryObject/@mimeCode` +h| Source codelist +| + Subset of link:http://www.iana.org/assignments/media-types[IANA] +|=== + +Valid values are listed in the table below. + +[cols="1,4"] +.Valid subset +|=== + +.1+h| Documents +| application/pdf + +.2+h| Images +| image/png +| image/jpeg + + +.1+h| Text +| text/csv + +.2+h| Spreadsheet +| application/vnd.openxmlformats-officedocument.spreadsheetml.sheet +| application/vnd.oasis.opendocument.spreadsheet +|=== diff --git a/guides/transactions/115-order-cancellation/codelists/elements/order-type.adoc b/guides/transactions/115-order-cancellation/codelists/elements/order-type.adoc new file mode 100644 index 00000000..c5c73f06 --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/elements/order-type.adoc @@ -0,0 +1,12 @@ += Order type code + +[cols="1,4"] +|=== +h| Qualifier +| `UNCL1001` (listID) +h| Document location +| `cbc:OrderTypeCode` +h| Source codelist +a| Subset of {UNCL1001}. + +Only valid code is 227 - Consignment order +|=== diff --git a/guides/transactions/115-order-cancellation/codelists/elements/uom.adoc b/guides/transactions/115-order-cancellation/codelists/elements/uom.adoc new file mode 100644 index 00000000..5c54a138 --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/elements/uom.adoc @@ -0,0 +1,21 @@ + += Unit of measure + +Valid unit codes shall be from {UNRec20}. Unless codes for unit of measure are not in common daily use, implementers should as necessary provide a function for clarification of codes when transactions are visualised. + + +**** +NOTE: Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the "Intro" section of {UNRec20}: + +_The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure._ +**** + +[cols="1,4"] +.Unit of measure +|=== +h| Qualifier +| _None_ +h| Document location +| `cbc:*/@unitCode` +h| Source codelist +| link:http://www.unece.org/fileadmin/DAM/cefact/recommendations/rec20/rec20_Rev11e_2015.xls[UN/ECE Recommendation 20, Revision 11 (2015)] +|=== diff --git a/guides/transactions/115-order-cancellation/codelists/id_schemes.adoc b/guides/transactions/115-order-cancellation/codelists/id_schemes.adoc new file mode 100644 index 00000000..d5c75c6e --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/id_schemes.adoc @@ -0,0 +1,11 @@ + +[[id_schemes]] += Code lists for identifier schemes + +:leveloffset: +1 + +include::schemes/endpoint.adoc[] +include::schemes/party-id.adoc[] + + +:leveloffset: -1 diff --git a/guides/transactions/115-order-cancellation/codelists/index.adoc b/guides/transactions/115-order-cancellation/codelists/index.adoc new file mode 100644 index 00000000..c43ae92a --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/index.adoc @@ -0,0 +1,12 @@ + +[[codelist]] += Code lists + +The following chapters give an overview of the codes that is used in this PEPPOL BIS. + +:leveloffset: +1 + +include::elements.adoc[] +include::id_schemes.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/115-order-cancellation/codelists/schemes/endpoint.adoc b/guides/transactions/115-order-cancellation/codelists/schemes/endpoint.adoc new file mode 100644 index 00000000..733d1553 --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/schemes/endpoint.adoc @@ -0,0 +1,18 @@ + + += Electronic address identifier scheme + +Electronic address identifiers (Endpoint identification) use of a code list to be maintained by CEF. + +#This code list is still not available. Use PEPPOL Policy for identifiers# + +[cols="2,3,3", options="header"] +|=== +|Business Term +|Applicable XPath +|Code list (link or subset values) + +| Electronic address identifiers (Endpoint) +| cbc:EndpointID/@schemeID +a| Code list maintained by CEF, not yet available +|=== diff --git a/guides/transactions/115-order-cancellation/codelists/schemes/party-id.adoc b/guides/transactions/115-order-cancellation/codelists/schemes/party-id.adoc new file mode 100644 index 00000000..b0769597 --- /dev/null +++ b/guides/transactions/115-order-cancellation/codelists/schemes/party-id.adoc @@ -0,0 +1,19 @@ + + += Party identifiers and party legal registration identifier scheme + +All party identifiers and party legal registration identifier has an optional scheme attribute. If used, the value shall be chosen from the ICD list from {ISO6523} + + + +[cols="2,3,3", options="header"] +|=== +|Business Term +|Applicable XPath +|Code list (link or subset values) + +| Party identifiers (Provider and Receiver) +| cac:PartyIdentification/cbc:ID/@schemeID +.3+^.^| ICD list from {ISO6523} + +|=== diff --git a/guides/transactions/115-order-cancellation/description/index.adoc b/guides/transactions/115-order-cancellation/description/index.adoc new file mode 100644 index 00000000..b329d95d --- /dev/null +++ b/guides/transactions/115-order-cancellation/description/index.adoc @@ -0,0 +1,8 @@ +[[order-cancellation-message]] += Description of selected parts of the Order Cancellation message + +:leveloffset: +1 + +include::orderref.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/115-order-cancellation/description/orderref.adoc b/guides/transactions/115-order-cancellation/description/orderref.adoc new file mode 100644 index 00000000..558b956d --- /dev/null +++ b/guides/transactions/115-order-cancellation/description/orderref.adoc @@ -0,0 +1,10 @@ +[[order-reference]] += Order reference + +The order reference is used to give a reference to the order that is to be cancelled. + +.UBL example of order reference +[source, xml, indent=0] +---- +include::{snippet-cancellation-dir}/snippet-advanced.xml[tags=orderref] +---- diff --git a/guides/transactions/115-order-cancellation/requirements/delivery.adoc b/guides/transactions/115-order-cancellation/requirements/delivery.adoc new file mode 100644 index 00000000..9af0871a --- /dev/null +++ b/guides/transactions/115-order-cancellation/requirements/delivery.adoc @@ -0,0 +1,27 @@ +[[delivery]] += Delivery + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr01-021 +|An order must provide for details about delivery location (address and ID), some basic delivery terms, delivery time and contact person for a delivery of an order. + + +|tbr01-022 +|An order must provide for information about the dates before and/or after which the order as whole or individual order lines must be delivered. + + +|tbr01-033 +|An order line must provide for indication on whether the buyer accepts partial deliveries of that line. + + +|tbr01-038 +a|Basic delivery terms for transport + +* Transport location +* Transport terms + +|==== diff --git a/guides/transactions/115-order-cancellation/requirements/general.adoc b/guides/transactions/115-order-cancellation/requirements/general.adoc new file mode 100644 index 00000000..713a7c9f --- /dev/null +++ b/guides/transactions/115-order-cancellation/requirements/general.adoc @@ -0,0 +1,43 @@ +[[general-requirements]] += General requirements + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr01-001 +|To control the validation and processing of an order; information that identifies the data model customization used and the business process that the order is part of + + +|tbr01-002 +|An order must provide information about its identity, type (purchase order or consignment order), issue date and validity + + +|tbr01-003 +|To provide flexibility in ordering an order must provide for free text notes on document level as well as on individual order lines. + + +|tbr01-004 +|An order must provide for information about the value of items ordered and what prices, charges and totals (including estimate of VAT) are expected to be paid in a way that can be matched against an invoice. + + +|tbr01-005 +|The order must enable the buyer to send information that can be reported back in a resulting invoice with the purpose of automating the processing of the invoice. + + +|tbr01-006 +|The order must enable the buyer to reference contract and documents that are relevant to prices and terms, including terms of delivery. + + +|tbr01-030 +|The order must support information needed to specify estimated allowance and charges on document level that apply to the order as a whole. + + +|tbr01-031 +|All amounts in the Order must be stated in the same currency. + + +|tbr01-032 +|Order should only contain non-negative prices and quantities +|==== diff --git a/guides/transactions/115-order-cancellation/requirements/index.adoc b/guides/transactions/115-order-cancellation/requirements/index.adoc new file mode 100644 index 00000000..8672d6d3 --- /dev/null +++ b/guides/transactions/115-order-cancellation/requirements/index.adoc @@ -0,0 +1,18 @@ +[[order-transaction-business-requirements]] += Order transaction + +:leveloffset: +1 + +include::general.adoc[] + +include::parties.adoc[] + +include::delivery.adoc[] + +include::line.adoc[] + +include::legal.adoc[] + +include::peppol.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/115-order-cancellation/requirements/legal.adoc b/guides/transactions/115-order-cancellation/requirements/legal.adoc new file mode 100644 index 00000000..6f500874 --- /dev/null +++ b/guides/transactions/115-order-cancellation/requirements/legal.adoc @@ -0,0 +1,12 @@ +[[legal-requirements]] += Legal requirements + + +These requirements apply to Businesses and Governments (B2G) who reside in countries whose eProcurement legal frameworks are aligned with requirements as stated in this specification. + +Legal requirements to be supported by this BIS, ref. {dir-2009-101}. + +* the information necessary in order to identify the register in which the file mentioned in Article 3 is kept, together with the number of the company in that register; +* the legal form of the company, the location of its registered office and, where appropriate, the fact that the company is being wound up. +* Where, in those documents, mention is made of the capital of the company, the reference shall be to the capital subscribed and paid up. +* Member States shall prescribe that company websites are to contain at least the particulars mentioned in the first paragraph and, if applicable, a reference to the capital subscribed and paid up. diff --git a/guides/transactions/115-order-cancellation/requirements/line.adoc b/guides/transactions/115-order-cancellation/requirements/line.adoc new file mode 100644 index 00000000..0c58ed33 --- /dev/null +++ b/guides/transactions/115-order-cancellation/requirements/line.adoc @@ -0,0 +1,34 @@ +[[line-requirements]] += Line requirements + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr01-025 +|Each line in an order must be clearly identified to enable referencing from other documents. + + +|tbr01-027 +|An order must provide for information about the final price that the buyer expects to pay exclusive of any VAT. +This makes it possible for the seller to verify against his price lists and contracts. +An order must provide for giving the base quantity to which the price applies. + + +|tbr01-028 +|An order line must provide for information about the quantity ordered and its unit of measure. + + +|tbr01-029 +|An order line must provide for detailed identification of the ordered item or variant of the item including name, identifiers, description as well as the values for different item properties, diagrams and specifications. + + +|tbr01-034 +|An order line must provide for seller identifiers and standard identifiers for products + + +|tbr01-035 +|It must be possible to state informative price discounts and amounts already paid. + +|==== diff --git a/guides/transactions/115-order-cancellation/requirements/parties.adoc b/guides/transactions/115-order-cancellation/requirements/parties.adoc new file mode 100644 index 00000000..720e5a0b --- /dev/null +++ b/guides/transactions/115-order-cancellation/requirements/parties.adoc @@ -0,0 +1,36 @@ +[[parties]] += Parties + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr01-010 +|An electronic order must provide for the identification of the electronic address from which the buyer sent the message and the electronic address to which it should be sent. + + +|tbr01-011 +|For supporting reverse charge VAT invoicing the order must provide for the buyers VAT number in order to enable the seller to issue legally valid invoices. +In some cases the buyer’s legal registration ID should also be provided. +The legal registration ID may be used for identification purposes in the invoicing process and to verify the identity of parties for commercial purposes. + + +|tbr01-012 +|An order must provide for legal information for the buyer. Ref {dir-2009-101} + + +|tbr01-013 +|An order must provide for contact information for the buyer and the seller including structured name, phone, fax and email and job title. + + +|tbr01-009 +|An order must provide for identifying the buyer and seller with name and address as well as identifiers, including the sellers’ legal registration ID. +Use of published identifiers is common for identifying parties. +Each party should be free to choose the scheme from which the own identification is derived. + + +|tbr01-020 +|An order must provide for contact details of the party who originated the order as a whole or for individual order lines (i.e. the end user of the items). + +|==== diff --git a/guides/transactions/115-order-cancellation/requirements/peppol.adoc b/guides/transactions/115-order-cancellation/requirements/peppol.adoc new file mode 100644 index 00000000..570082bb --- /dev/null +++ b/guides/transactions/115-order-cancellation/requirements/peppol.adoc @@ -0,0 +1,41 @@ +[[specific-openpeppol-requirements]] += Specific OpenPEPPOL requirements + +[cols="1,1,4",options="header"] +|==== +|ID: +|Business term: +|Description: + +3+s|HEADER LEVEL: + +|OP-T01-010 +|Buyers contact ID +|An order must support the use of ID for buyers contact person. +On the order the information is mandatory in Norwegian markets, and recommended in others. +Normally used for “Your reference”. + +|OP-T01-011 +|Invoicee +|An order must support the use of invoicee information. +Content will be the same as for buyer except contact information. +Norwegian, Swedish and Danish requirement. + +|OP-T01-014 +|Payment instructions and terms +|An order must support specification of payment terms as plain text. +Italian requirement. + +3+s|LINE LEVEL: + +|OP-T01-012 +|Item specification reference +|There is a need to refer to an external document (ID) when it is necessary to specify the details of the item. +This could be an instruction on how an item should be assembled or configured. +Swedish requirement. + +|OP-T01-013 +|AdditionalItemProperty: + +Value quantity and value qualifier +|Value quantity and value qualifier has been added to the AdditionalItemProperty element to harmonise with PEPPOL BIS Catalogue. +|==== diff --git a/guides/transactions/115-order-cancellation/rules/codelist.adoc b/guides/transactions/115-order-cancellation/rules/codelist.adoc new file mode 100644 index 00000000..d9cd8127 --- /dev/null +++ b/guides/transactions/115-order-cancellation/rules/codelist.adoc @@ -0,0 +1,16 @@ +[[codelists-business-rules]] += Order codelists rules + +[cols="1s,5",options="header"] +|==== +|Identifier |Business Rule +|OP-T01-001 |OrderTypeCode in an order MUST be from UN/ECE 1001 code list PEPPOL Subset +|OP-T01-002 |DocumentCurrencyCode MUST be coded using ISO code list 4217 +|OP-T01-003 |A Binary Object MIME code attribute MUST be coded using MIME Code Type version 2008 code list +|OP-T01-004 |An Endpoint Identifier Scheme identifier MUST be from the code list PEPPOL Party Identifier +|OP-T01-005 |An Party Identifier Scheme identifier MUST be from the code list PEPPOL Party Identifier +|OP-T01-006 |Country codes in an order MUST be coded using ISO code list 3166-1 +|OP-T01-007 |currencyID MUST be coded using ISO code list 4217 +|OP-T01-008 |A tax category identifier MUST be coded using UN/ECE 5305 BII2 Subset +|OP-T01-009 |Unit code MUST be coded according to the UN/ECE Recommendation 20 (2009) +|==== diff --git a/guides/transactions/115-order-cancellation/rules/index.adoc b/guides/transactions/115-order-cancellation/rules/index.adoc new file mode 100644 index 00000000..dd061cee --- /dev/null +++ b/guides/transactions/115-order-cancellation/rules/index.adoc @@ -0,0 +1,6 @@ + + + +include::order.adoc[] + +include::codelist.adoc[] diff --git a/guides/transactions/115-order-cancellation/rules/order.adoc b/guides/transactions/115-order-cancellation/rules/order.adoc new file mode 100644 index 00000000..532a667c --- /dev/null +++ b/guides/transactions/115-order-cancellation/rules/order.adoc @@ -0,0 +1,53 @@ +[[order-business-rules]] += Order rules + +[cols="1s,4,1",options="header"] +|==== +|RuleID +|Rule +|Error level + +|BII2-T01-R001 +|An order MUST have a customization identifier +|fatal + +|BII2-T01-R002 +|An order MUST have a profile identifier +|fatal + +|BII2-T01-R003 +|Each order line MUST have a document line identifier that is unique within the order +|fatal + +|BII2-T01-R004 +|An order MUST have a document issue date +|fatal + +|BII2-T01-R005 |An order SHOULD provide information about its validity end date |warning +|BII2-T01-R006 |An order MUST have a document identifier |fatal +|BII2-T01-R007 |Allowances and charges MUST have a reason |fatal +|BII2-T01-R009 |An order MUST be stated in a single currency |fatal +|BII2-T01-R010 |Each order line ordered quantity MUST not be negative |fatal +|BII2-T01-R011 |Each order line item net price MUST not be negative |fatal +|BII2-T01-R012 |Expected total amount for payment MUST NOT be negative |fatal +|BII2-T01-R013 |Expected total sum of line amounts MUST NOT be negative |fatal +|BII2-T01-R014 |Expected total sum of line amounts MUST equal the sum of the order line amounts at order line level |fatal +|BII2-T01-R015 |Expected total sum of allowance at document level MUST be equal to the sum of allowance amounts at document level |fatal +|BII2-T01-R016 |Expected total sum of charges at document level MUST be equal to the sum of charges at document level |fatal +|BII2-T01-R017 |Expected total amount for payment MUST be equal to the sum of line amounts minus sum of allowances at document level plus sum of charges at document level and VAT total amount |fatal +|BII2-T01-R018 |VAT total amount SHOULD be the sum of order line tax amounts, if order line tax amounts are provided |warning +|BII2-T01-R019 |Each item property MUST have a data name, if item property is provided |fatal +|BII2-T01-R020 |Each item property MUST have a data value, if item property is provided |fatal +|BII2-T01-R021 |An order MUST have the buyer party name or a buyer party identifier |fatal +|BII2-T01-R022 |An order MUST have the seller party name or a seller party identifier |fatal +|BII2-T01-R029 |Each order line SHOULD have an ordered quantity |warning +|BII2-T01-R030 |Each order line ordered quantity MUST have an associated unit of measure |fatal +|BII2-T01-R031 |Each order line MUST have an item identifier and/or an item name |fatal +|EUGEN-T01-R011 |An endpoint identifier MUST have a scheme identifier attribute |fatal +|EUGEN-T01-R012 |A party identifier MUST have a scheme identifier attribute |fatal +|EUGEN-T01-R013 |An order type code MUST have a list identifier attribute “UNCL1001” |fatal +|EUGEN-T01-R014 |A document currency code MUST have a list identifier attribute “ISO4217” |fatal +|EUGEN-T01-R015 |A country identification code MUST have a list identifier attribute “ISO3166-1:Alpha2” |fatal +|EUGEN-T01-R016 |A unit code attribute MUST have a unit code list identifier attribute “UNECERec20” |fatal +|EUGEN-T01-R017 |A tax category identifier MUST have a scheme identifier attribute “UNCL5305” |fatal +|==== diff --git a/guides/transactions/115-order-cancellation/technical/namespace.adoc b/guides/transactions/115-order-cancellation/technical/namespace.adoc new file mode 100644 index 00000000..a768a10a --- /dev/null +++ b/guides/transactions/115-order-cancellation/technical/namespace.adoc @@ -0,0 +1,3 @@ +//test +* The target namespace for the {ubl23} Order Cancellation is: + +`urn:oasis:names:specification:ubl:schema:xsd:OrderCancellation-2` diff --git a/guides/transactions/115-order-cancellation/technical/ubl-version.adoc b/guides/transactions/115-order-cancellation/technical/ubl-version.adoc new file mode 100644 index 00000000..4a5986de --- /dev/null +++ b/guides/transactions/115-order-cancellation/technical/ubl-version.adoc @@ -0,0 +1,11 @@ +[[version-id]] += Version ID + +IMPORTANT: The element `cbc:UBLVersionID` MUST be stated with the value *2.1*: + + +.Example of UBL version identifier +[source, xml, indent=0] +---- +include::../../../transactions/76-order-response/snippets/snippet-1.xml[tags=ubl-version] +---- diff --git a/guides/transactions/116-order-response-advanced/codelists/elements/linestatus.adoc b/guides/transactions/116-order-response-advanced/codelists/elements/linestatus.adoc new file mode 100644 index 00000000..2083ede8 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/codelists/elements/linestatus.adoc @@ -0,0 +1,36 @@ += Line status code + +[cols="1,4"] +|=== +h| Qualifier +| `UNCL1229` (listID) +h| Document location +| `cbc:LineStatusCode` +h| Source codelist +a| Subset of {UNCL1229}. +|=== + +Valid values are listed in the table below: + +[cols="1,4", options="header"] +.Code list +|=== +| Code +| Description + +| 1 +| Order line is Added. + +| 3 +| Order line is Changed. + +| 5 +|Order line is Accepted without amendments. + +| 7 +|Order line is Not accepted. + +| 42 +|Order line is Already delivered. + +|=== diff --git a/guides/transactions/116-order-response-advanced/codelists/elements/status.adoc b/guides/transactions/116-order-response-advanced/codelists/elements/status.adoc new file mode 100644 index 00000000..9f851c2d --- /dev/null +++ b/guides/transactions/116-order-response-advanced/codelists/elements/status.adoc @@ -0,0 +1,33 @@ += Status code + +[cols="1,4"] +|=== +h| Qualifier +| `UNCL1225` (listID) +h| Document location +| `cbc:OrderResponseCode` +h| Source codelist +a| Subset of {UNCL1225}. +|=== + +Valid values are listed in the table below: + +[cols="1,4", options="header"] +.Code list +|=== +| Code +| Description + +| 12 +| Not processed + +| 27 +| Not accepted + +| 29 +| Accepted + +| 30 +| Accepted with amendment in detail section + +|=== diff --git a/guides/transactions/116-order-response-advanced/codelists/index.adoc b/guides/transactions/116-order-response-advanced/codelists/index.adoc new file mode 100644 index 00000000..09529a86 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/codelists/index.adoc @@ -0,0 +1,11 @@ + +[[codelist]] += Code lists + +The following chapters give an overview of the codes that is used in this BIS. + +:leveloffset: +1 + +include::elements.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/116-order-response-advanced/description/backorder.adoc b/guides/transactions/116-order-response-advanced/description/backorder.adoc new file mode 100644 index 00000000..c6fdb26e --- /dev/null +++ b/guides/transactions/116-order-response-advanced/description/backorder.adoc @@ -0,0 +1,12 @@ +[[order-response-with-backorder]] += Order Response Advanced with backorder. + +An Order Response Advanced may provide information for partial delivery of an order line with additional information about the maximum number of items that will be delivered at a later but not known date. + +NOTE: If the remaining quantity will NOT be delivered, maximum backorder quantity should be set to 0. + +.Example showing a response to an order of 6 items of which 2 get confirmed delivery dates and 3 are placed on backorder to be delivered later, for a total delivery of up to 5 items +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=line-backorder] +---- diff --git a/guides/transactions/116-order-response-advanced/description/change.adoc b/guides/transactions/116-order-response-advanced/description/change.adoc new file mode 100644 index 00000000..d6c99741 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/description/change.adoc @@ -0,0 +1,53 @@ +[[order-response-with-changes]] += Order Response Advanced with changes + +* When Seller accepts an order with changes, the response code «CA» must be sent on header level. +* On line level there may be a mix of different response codes. +* Some lines may have been accepted without amendments (line response code 5), some not accepted (line response code 7) and some changed (line response code 3). + +* If line response code = 3, the elements to be changed must be sent with new values. + +** The following elements can be changed: + +*** Quantity +*** Delivery period +*** Replacement item +*** Price + +.Example of change of quantity in an Order Response Advanced message: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=line-change1] +---- + + +.Example of change of quantity and delivery period in an Order Response Advanced message: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=line-change2] +---- + +NOTE: It is possible to send more than one Order Response Advanced line per Order line. + + +.Example of change of quantity and delivery period for the same Order line as in the example above. +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=line-change3] +---- + +The effect of the two Order response lines above should be interpreted as follows: + +* Order line 4 will be delivered on two dates: +** 18 pieces on 15^th^ of July and +** 12 pieces on the 15^th^ of August. + + + +.Example of Replacement item in an Order Response Advanced message: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=line-change4] +---- +<1> Information on the replacement item is sent in `cac:SellerSubstitutedLineItem` +<2> Attribute `listID`="MP" indicates UNSPSC, and the attribute `listVersionID` is used to indicate the version of UNSPSC that is used. diff --git a/guides/transactions/116-order-response-advanced/description/changeanddeliver.adoc b/guides/transactions/116-order-response-advanced/description/changeanddeliver.adoc new file mode 100644 index 00000000..6f01559a --- /dev/null +++ b/guides/transactions/116-order-response-advanced/description/changeanddeliver.adoc @@ -0,0 +1,21 @@ +[[order-response-with-changes-adding-delivering]] += Order Response Advanced replacing items and delivering over time. + +An Order Response Advanced may replace items in two ways. If the full quantity of an item is replaced that information can be provided by using the Seller substituted line item element as shown in the following example. + +.Example of Replacement item in an Order Response Advanced message: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=line-change4] +---- +<1> Information on the replacement item is sent in `cac:SellerSubstitutedLineItem` + +If the seller replaces part of the quantity or delivers the order quantity at different dates he may need to add lines and/or mark ordered lines as being delivered as demonstrated in the following example. + +In the example a seller confirms the first line of an order, provides two delivery dates for second order line of 3 pieces of Product B by adding a new line and then confirms that order line 3 has already been delivered. + +.Example of adding lines and delivering over time: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=line-change5] +---- diff --git a/guides/transactions/116-order-response-advanced/description/index.adoc b/guides/transactions/116-order-response-advanced/description/index.adoc new file mode 100644 index 00000000..484b35b5 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/description/index.adoc @@ -0,0 +1,38 @@ +[[order-response-message]] += Description of selected parts of the Order Response Advanced message + +Order Response Advanced is used in this profile because the order change reference is not present in Order Response. The rest of the message is unchanged. +The Order Response Advanced message is sent from the seller to the buyer stating the sellers ability to fulfill the order. +The following rules applies to the Order Response Advanced: + +* The Order Response Advanced must refer to an Order. +* The Order Response Advanced may refer to an Order Change. +* Seller may accept or reject the entire Order. +* If the order or any order line is rejected the Order Response Advanced should contain a reason for rejection. +* Seller may accept or reject the separate order lines. +* If Seller accepts or rejects order lines, *_all_* order lines must be sent in the Order Response Advanced. This applies even for order lines that has been delivered completely or partially. +* The following information may be changed in the Order Response Advanced: +** Quantity +** Delivery period +** Replacement item +** Price +* If the Order is rejected or changed, the Order Response Advanced may contain contact information to seller. + + +:leveloffset: +1 + +include::response-code.adoc[] + +include::order-ref.adoc[] + +include::orderchange-ref.adoc[] + +include::change.adoc[] + +include::changeanddeliver.adoc[] + +include::backorder.adoc[] + +include::../../../shared/files/vat-cat-line.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/116-order-response-advanced/description/order-ref.adoc b/guides/transactions/116-order-response-advanced/description/order-ref.adoc new file mode 100644 index 00000000..934a524a --- /dev/null +++ b/guides/transactions/116-order-response-advanced/description/order-ref.adoc @@ -0,0 +1,18 @@ +[[order-reference]] += Order reference + +Reference to the related order must be done on Header level. + +.Example of order reference on header level in an Order Response Advanced +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=order-ref] +---- + +If lines are sent in the Order Response Advanced, reference to the related order line must be sent. + +.Example of order line reference on line level: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=order-ref-line] +---- diff --git a/guides/transactions/116-order-response-advanced/description/orderchange-ref.adoc b/guides/transactions/116-order-response-advanced/description/orderchange-ref.adoc new file mode 100644 index 00000000..8421f47a --- /dev/null +++ b/guides/transactions/116-order-response-advanced/description/orderchange-ref.adoc @@ -0,0 +1,10 @@ +[[orderchange-reference]] += Order change reference + +Reference to an order change must be done on Header level. + +.Example of order change reference on header level in an Order Response Advanced: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-advanced.xml[tags=orderchange-ref] +---- diff --git a/guides/transactions/116-order-response-advanced/description/response-code.adoc b/guides/transactions/116-order-response-advanced/description/response-code.adoc new file mode 100644 index 00000000..bc041c85 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/description/response-code.adoc @@ -0,0 +1,90 @@ +[[response-code]] += Response code + +The Response code states the Sellers ability to fulfil the order and must be sent on both header level and line level if lines are sent. + + +[IMPORTANT] +==== +* Response code *_must_* be sent on header level. +* Line response code *_must_* be sent on line level if lines are sent. +* Response code may have 4 values: AB, RE, AP and CA (subset of UNCL 4343 code list) +* Line response code may have 5 values: 1, 3, 5, 7 and 42. +==== + +== Response code on Header level + +[cols="1,11",options="header"] +|==== +|Response code +|Action + +|AB +a| +* The Order has been received. +* The Order has not yet been processed. +* No lines should be sent. +* An additional Order Response Advanced should be sent after processing, to accept, reject or accept with changes + +|RE +a| +* The Order is rejected. +* No lines should be sent. + +|AP +a| +* The Order is accepted without amendment. +* No lines should be sent. + +|CA +a| +* The Order is accepted with amendment on line level. +* All lines must be sent. +|==== + + +.UBL example of Response code on Header level in an Order Response Advanced message: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=response-header] +---- + +.UBL example of an Order Response Advanced using response code "AB" (order is received: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-2.xml[tags=received] +---- +<1> Response code AB indicates only that the order has been received, but is not yet processed +<2> No order lines are sent in this response. + +== Line response code on Line level + + +[cols="1,11",options="header"] +|==== +|Response line code +|Action + +|1 +|The Order line is Added. + +|3 +|The Order line is Changed. + +|5 +|The Order line is Accepted without amendment. + +|7 +|The Order line is Not accepted. + +|42 +|The Order line is Already delivered. + +|==== + + +.Example of Response code on Line level in an Order Response Advanced message: +[source, xml, indent=0] +---- +include::{snippet-response-dir}/snippet-1.xml[tags=response-line] +---- diff --git a/guides/transactions/116-order-response-advanced/requirements/general.adoc b/guides/transactions/116-order-response-advanced/requirements/general.adoc new file mode 100644 index 00000000..bb3f24f6 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/requirements/general.adoc @@ -0,0 +1,48 @@ +[[response-requirements]] += General requirements + +[cols="1,5",options="header"] +|==== +|ID +|Requirement + +|tbr76-010 +|An order response must provide information about its identity, issue date and validity and of the entities of the seller and buyer. + + +|tbr76-001 +|The Order Response must refer to the Order it is responding to. + + +|tbr76-002 +|The seller may respond to the order as a whole with accept, reject or accept with changes. + + +|tbr76-003 +|The Order Response may state a reason for rejecting the order. + + +|tbr76-004 +|The seller may accept or reject individual order lines. + + +|tbr76-005 +|A partial accept/reject MUST refer to ALL order lines with no implicit accept/reject. + + +|tbr76-006 +|The lines in an Order Response must refer to the corresponding order line number and to the corresponding item identification. + + +|tbr76-008 +a|Information elements that may be changed in the Order Response with respect to the order are: + +* Quantity +* Delivery date/period (header and line level) +* Article (substitute) +* Price + +|tbr76-009 +|If the Order Response is rejecting or changing the Order, the Order Response should carry seller contact information for the Buyer to use when resolving issues with the Order Response. + +|==== diff --git a/guides/transactions/116-order-response-advanced/requirements/index.adoc b/guides/transactions/116-order-response-advanced/requirements/index.adoc new file mode 100644 index 00000000..029e16f5 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/requirements/index.adoc @@ -0,0 +1,8 @@ +[[transaction-business-requirements]] += Order response transaction + +:leveloffset: +1 + +include::general.adoc[] + +:leveloffset: -1 diff --git a/guides/transactions/116-order-response-advanced/rules/codelist.adoc b/guides/transactions/116-order-response-advanced/rules/codelist.adoc new file mode 100644 index 00000000..1bb6264d --- /dev/null +++ b/guides/transactions/116-order-response-advanced/rules/codelist.adoc @@ -0,0 +1,15 @@ + += Order response codelists rules + +[cols="1s,5",options="header"] +|==== +|Identifier |Business Rule +|OP-T76-001 |An order response code MUST be coded according to the code list UNCL1225. +|OP-T76-002 |An order response line status code MUST be coded according to the code list UNCL1229. +|OP-T76-003 |DocumentCurrencyCode MUST be coded using ISO code list 4217 +|OP-T76-004 |An Enpoint Identifier Scheme identifier MUST be from the code list Peppol Party Identifier +|OP-T76-005 |An Party Identifier Scheme identifier MUST be from the code list Peppol Party Identifier +|OP-T76-006 |Unit code MUST be coded according to the UN/ECE Recommendation 20 (2009) +|OP-T76-007 |CurrencyID MUST be coded using ISO code list 4217 +|OP-T76-008 |A tax category identifier MUST be coded using UN/ECE 5305 BII2 Subset +|==== diff --git a/guides/transactions/116-order-response-advanced/rules/index.adoc b/guides/transactions/116-order-response-advanced/rules/index.adoc new file mode 100644 index 00000000..5ce11ae0 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/rules/index.adoc @@ -0,0 +1,5 @@ + + +include::order-response.adoc[] + +include::codelist.adoc[] diff --git a/guides/transactions/116-order-response-advanced/rules/order-response.adoc b/guides/transactions/116-order-response-advanced/rules/order-response.adoc new file mode 100644 index 00000000..6cedff66 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/rules/order-response.adoc @@ -0,0 +1,64 @@ + += Order Response Advanced rules + +[cols="1s,4,1",options="header"] +|==== +|RuleID +|Rule +|Error level +|BII2-T116-R001 +|A Order Response Advanced MUST have a customization identifier +|fatal + +|BII2-T116-R002 +|A Order Response Advanced MUST have a profile identifier +|fatal + +|BII2-T116-R003 +|Each Order Response Advanced line MUST have a document line identifier that is unique within the Order Response Advanced +|fatal + +|BII2-T116-R004 +|A Order Response Advanced MUST have a document issue date +|fatal + +|BII2-T116-R006 +|A Order Response Advanced MUST have a document identifier +|fatal +|BII2-T116-R021 +|A Order Response Advanced MUST have the buyer party name or a buyer party identifier +|fatal + +|BII2-T116-R022 +|A Order Response Advanced MUST have the seller party name or a seller party identifier +|fatal + +|BII2-T116-R032 +|A Order Response Advanced MUST have a reference to an order +|fatal + +|BII2-T116-R033 +|A Order Response Advanced MUST have a response code +|fatal + +|BII2-T116-R034 +|An Order Response Advanced line MUST contain a reference to its corresponding order line. +|fatal + +|EUGEN-T116-R001 +|An endpoint identifier MUST have a scheme identifier attribute +|fatal + +|EUGEN-T116-R002 +|A party identifier MUST have a scheme identifier attribute +|fatal + +|EUGEN-T116-R003 +|A response code MUST have a list identifier attribute “UNCL1225” +|fatal + +|EUGEN-T116-R004 +|A line response status code MUST have a list identifier attribute “UNCL1229” +|fatal + +|==== diff --git a/guides/transactions/116-order-response-advanced/technical/namespace.adoc b/guides/transactions/116-order-response-advanced/technical/namespace.adoc new file mode 100644 index 00000000..6f3b24e9 --- /dev/null +++ b/guides/transactions/116-order-response-advanced/technical/namespace.adoc @@ -0,0 +1,2 @@ +* The target namespace for the {ubl23} Order Response Advanced is: + +`urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2` diff --git a/project.xml b/project.xml index f0c4608a..182b77e9 100644 --- a/project.xml +++ b/project.xml @@ -17,6 +17,7 @@ - Peppol BIS Order Agreement 3.0 - Peppol BIS Message Level Response 3.0 - Peppol BIS Invoice Response 3.2 + - Peppol BIS Advanced Ordering 3.0 @@ -38,6 +39,21 @@ Peppol Order Agreement transaction 3.1 (T110) + Structure-1 + structure/syntax/ubl-order-change.xml + Peppol Order Change transaction 3.0 (T114) + + + Structure-1 + structure/syntax/ubl-order-cancellation.xml + Peppol Order Cancellation transaction 3.0 (T115) + + + Structure-1 + structure/syntax/ubl-order-response-advanced.xml + Peppol Order Response Advanced transaction 3.0 (T116) + + Structure-1 structure/syntax/ubl-catalogue.xml Peppol Catalogue transaction 3.2 (T19) @@ -116,18 +132,40 @@ rules/sch/parts/PEPPOL-M-T71.sch Business rules for Peppol Message Level Response transaction 3.0 - + T111 native:Schematron rules/sch/parts/PEPPOL-M-T111.sch Business rules for Peppol Invoice Response transaction 3.0 + + T114 + native:Schematron + rules/sch/parts/PEPPOL-M-T114.sch + Business rules for Peppol Order Change transaction 3.0 + + + T115 + native:Schematron + rules/sch/parts/PEPPOL-M-T115.sch + Business rules for Peppol Order Cancellation transaction 3.0 + + + T116 + native:Schematron + rules/sch/parts/PEPPOL-M-T116.sch + Business rules for Peppol Order Response Advanced transaction 3.0 + CodeList-1 structure/codelist/UNCL1229.xml + + CodeList-1 + structure/codelist/UNCL1229_CHANGE.xml + CodeList-1 structure/codelist/UNCL5189.xml @@ -228,7 +266,7 @@ CodeList-1 structure/codelist/UNECERec19.xml - + CodeList-1 structure/codelist/UNECERec20-11e.xml @@ -285,6 +323,18 @@ Namespace-1 structure/namespace/ubl-order-response.xml + + Namespace-1 + structure/namespace/ubl-order-change.xml + + + Namespace-1 + structure/namespace/ubl-order-cancellation.xml + + Namespace-1 structure/namespace/ubl-cac.xml diff --git a/rules/buildconfig.xml b/rules/buildconfig.xml index d53dda02..501cbc58 100644 --- a/rules/buildconfig.xml +++ b/rules/buildconfig.xml @@ -12,11 +12,19 @@ unit-order-agreement unit-order-response unit-punch-out - + unit-order-change + unit-order-cancellation + unit-order-response-advanced + examples use-case-examples/order use-case-examples/order-response + use-case-examples/advanced-ordering-sc1 + use-case-examples/advanced-ordering-sc2 + use-case-examples/advanced-ordering-sc3 + use-case-examples/advanced-ordering-sc4 + use-case-examples/advanced-ordering-sc5 snippets/order snippets/order-response snippets/order-agreement @@ -24,7 +32,9 @@ snippets/punchout snippets/despatch snippets/mlr - + snippets/order-change + snippets/order-cancellation + peppolbis-t01-base-3.0 @@ -74,15 +84,34 @@ ubl-applicationresponse-2.1 - + peppolbis-t71-base-3.0 PEPPOL MLR 3.0 (T71) ubl-applicationresponse-2.1 - - + + + peppolbis-t114-base-3.0 + PEPPOL Order Change 3.0 (T114) + ubl-orderchange-2.3 + + + + peppolbis-t115-base-3.0 + PEPPOL Order Cancellation 3.0 (T114) + ubl-ordercancellation-2.3 + + + + peppolbis-t116-base-3.0 + PEPPOL Order Response Advanced 3.0 (T114) + ubl-orderresponseadvanced-2.3 + + + + peppolbis-03-order PEPPOL BIS Order Only 3.0 @@ -90,7 +119,7 @@ urn:fdc:peppol.eu:poacc:trns:order:3 peppolbis-t01-base-3.0 - + peppolbis-28-order PEPPOL BIS Ordering 3.0 @@ -106,7 +135,7 @@ urn:fdc:peppol.eu:poacc:trns:order_response:3 peppolbis-t76-base-3.0 - + peppolbis-42 PEPPOL BIS 42 Order agreement 3.0 @@ -114,7 +143,7 @@ urn:fdc:peppol.eu:poacc:trns:order_agreement:3 peppolbis-t110-base-3.0 - + peppolbis-1 PEPPOL BIS Catalogue 3.0 @@ -122,7 +151,7 @@ urn:fdc:peppol.eu:poacc:trns:catalogue:3 peppolbis-t19-base-3.0 - + peppolbis-1-response PEPPOL BIS Catalogue Response 3.0 @@ -130,7 +159,7 @@ urn:fdc:peppol.eu:poacc:trns:catalogue_response:3 peppolbis-t58-base-3.0 - + peppolbis-1 PEPPOL BIS wo Catalogue 3.0 @@ -138,7 +167,7 @@ urn:fdc:peppol.eu:poacc:trns:catalogue:3 peppolbis-t19-base-3.0 - + peppolbis-18 PEPPOL BIS Punch Out 3.0 @@ -146,7 +175,7 @@ urn:fdc:peppol.eu:poacc:trns:punch_out:3 peppolbis-t77-base-3.0 - + peppolbis-30 PEPPOL BIS Despatch Advice 3.0 @@ -154,7 +183,7 @@ urn:fdc:peppol.eu:poacc:trns:despatch_advice:3 peppolbis-t16-base-3.0 - + peppolbis-63 PEPPOL BIS Invoice response 3.0 @@ -162,7 +191,7 @@ urn:fdc:peppol.eu:poacc:trns:invoice_response:3 peppolbis-t111-base-3.0 - + peppolbis-36 PEPPOL BIS Message level response 3.0 @@ -170,6 +199,37 @@ urn:fdc:peppol.eu:poacc:trns:mlr:3 peppolbis-t71-base-3.0 - + + peppolbis-65 + PEPPOL BIS Advanced Ordering 3.0 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + urn:fdc:peppol.eu:poacc:trns:order:3 + peppolbis-t01-base-3.0 + + + + peppolbis-65 + PEPPOL BIS Advanced Ordering 3.0 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + urn:fdc:peppol.eu:poacc:trns:order_change:3 + peppolbis-t114-base-3.0 + + + + peppolbis-65 + PEPPOL BIS Advanced Ordering 3.0 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + peppolbis-t115-base-3.0 + + + + peppolbis-65 + PEPPOL BIS Advanced Ordering 3.0 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + peppolbis-t116-base-3.0 + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderCancellation_sc1.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderCancellation_sc1.xml new file mode 100644 index 00000000..f4375fe4 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderCancellation_sc1.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-01 + With reference to phone call + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderChange_sc1.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderChange_sc1.xml new file mode 100644 index 00000000..4303c380 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderChange_sc1.xml @@ -0,0 +1,151 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_change:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Change-1 + 2022-02-01 + 1 + Changes according to Order reponse + EUR + + 2022-03-01 + + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + Harbour street + Dock 45 + Bergen + 5005 + Region West + + Gate 34 + + + NO + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + Right + + + SE + + + + + 2013-07-15 + 2013-07-16 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 100 + + + 500 + 500 + 600 + 600 + + + + 1 + 3 + 5 + 200 + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + + 2 + 3 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderResponse_sc1.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderResponse_sc1.xml new file mode 100644 index 00000000..18159852 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/OrderResponse_sc1.xml @@ -0,0 +1,78 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-1 + 2022-02-01 + CA + Response message with amendments in the details + EUR + + Order-1 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + + + 2022-02-15 + 2022-02-20 + + + + + 1 + Reduced quantity to 5 and added Sellers item identification + 3 + 5 + + Item 1 + + SN-1 + + + + + 1 + + + + + 2 + Added Sellers item identification + 3 + + Item 2 + + SN-2 + + + + + 2 + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/Order_sc1.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/Order_sc1.xml new file mode 100644 index 00000000..2793130a --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc1/Order_sc1.xml @@ -0,0 +1,140 @@ + + + urn:fdc:peppol.eu:poacc:trns:order:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Order-1 + 2022-02-01 + EUR + MAFO + + 2022-03-01 + + + 2139239 + + + C1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + SE + + + + + 2022-02-15 + 2022-03-01 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 140 + + + 700 + 700 + 840 + 840 + + + + 1 + 10 + 400 + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + + 2 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc2/OrderChange_sc2.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc2/OrderChange_sc2.xml new file mode 100644 index 00000000..84006924 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc2/OrderChange_sc2.xml @@ -0,0 +1,147 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_change:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Change-2 + 2022-02-05 + 2 + EUR + + 2022-03-01 + + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + Harbour street + Dock 45 + Bergen + + NO + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + Right + + + SE + + + + + 2013-07-15 + 2013-07-16 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 100 + + + 500 + 500 + 600 + 600 + + + No changes to order line + + 1 + 4 + 5 + 200 + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + Order line to be deleted + + 2 + 2 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc2/OrderResponse_sc2.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc2/OrderResponse_sc2.xml new file mode 100644 index 00000000..2540fb85 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc2/OrderResponse_sc2.xml @@ -0,0 +1,48 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-2 + 2022-02-05 + AP + Change is accepted + EUR + + Order-1 + + + Change-2 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + + + 2022-02-15 + 2022-02-20 + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderCancellation_sc3.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderCancellation_sc3.xml new file mode 100644 index 00000000..f3283d79 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderCancellation_sc3.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-10 + With reference to phone call + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderChange_sc3.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderChange_sc3.xml new file mode 100644 index 00000000..4668ffb7 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderChange_sc3.xml @@ -0,0 +1,148 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_change:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Change-3 + 2022-02-10 + 2 + Changes according to Order reponse + EUR + + 2022-03-01 + + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + Harbour street + Dock 45 + Bergen + + NO + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + Right + + + SE + + + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 100 + + + 500 + 500 + 600 + 600 + + + + 1 + 3 + 5 + 200 + + + 2022-03-01 + 2022-04-01 + + + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + + 2 + 3 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderResponse_sc3.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderResponse_sc3.xml new file mode 100644 index 00000000..d4856fbb --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc3/OrderResponse_sc3.xml @@ -0,0 +1,77 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-3 + 2022-02-10 + CA + Response message with new delivery period for one item + EUR + + Order-1 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + + + 1 + New delivery period + 3 + + + 2022-03-01 + 2022-04-01 + + + + Item 1 + + SN-1 + + + + + 1 + + + + + 2 + No changes + 5 + + Item 2 + + SN-2 + + + + + 2 + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc4/OrderCancellation_sc4.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc4/OrderCancellation_sc4.xml new file mode 100644 index 00000000..0116567e --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc4/OrderCancellation_sc4.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-20 + With reference to phone call + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc4/OrderResponse_sc4.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc4/OrderResponse_sc4.xml new file mode 100644 index 00000000..0e80c4f3 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc4/OrderResponse_sc4.xml @@ -0,0 +1,39 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-4 + 2022-02-20 + AP + Response message to accept cancellation of the order + EUR + + Order-1 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc5/OrderCancellation_sc5.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc5/OrderCancellation_sc5.xml new file mode 100644 index 00000000..7668c501 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc5/OrderCancellation_sc5.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-20 + To accept response from Seller + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc5/OrderResponse_sc5.xml b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc5/OrderResponse_sc5.xml new file mode 100644 index 00000000..53e3d926 --- /dev/null +++ b/rules/examples/Advanced Ordering scenarios/advanced_ordering_sc5/OrderResponse_sc5.xml @@ -0,0 +1,72 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-4 + 2022-02-20 + RE + Response message to cancel the order + EUR + + Order-1 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + + + 1 + Deletion of line + 7 + 5 + + Item 1 + + SN-1 + + + + + 1 + + + + + 2 + Deletion of line + 7 + 50 + + Item 2 + + SN-2 + + + + + 2 + + diff --git a/rules/examples/OrderCancellation_Example.xml b/rules/examples/OrderCancellation_Example.xml new file mode 100644 index 00000000..45f9bad0 --- /dev/null +++ b/rules/examples/OrderCancellation_Example.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-01 + With reference to phone call + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/examples/OrderChange_Example.xml b/rules/examples/OrderChange_Example.xml new file mode 100644 index 00000000..66e2ffa0 --- /dev/null +++ b/rules/examples/OrderChange_Example.xml @@ -0,0 +1,146 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_change:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Change-1 + 2022-02-01 + 1 + Changes according to Order reponse + EUR + + 2022-03-01 + + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + Harbour street + Dock 45 + Bergen + + NO + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + Right + + + SE + + + + + 2013-07-15 + 2013-07-16 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 100 + + + 500 + 500 + 600 + 600 + + + + 1 + 3 + 5 + 200 + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + + 2 + 3 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/examples/OrderResponseAdvanced_Example.xml b/rules/examples/OrderResponseAdvanced_Example.xml new file mode 100644 index 00000000..9c25c704 --- /dev/null +++ b/rules/examples/OrderResponseAdvanced_Example.xml @@ -0,0 +1,126 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + 101 + 101-111 + 2022-04-01 + 06:10:10 + AP + Response message with amendments in the details + EUR + ABC-123 + + 11233 + + + c1-11233 + + + + 7598000000128 + + DK12345678 + + + The Supplier AB + + + + + + 7590000012347 + + DK55412777 + + + City Hospital + + + + + + 1 + Order line note text + 3 + 10 + 3 + + + 2022-05-10 + 2022-05-20 + + + + 1.50 + 1 + + + Brown sauce + + 123456 + + + SN-33 + + + 7400000001234 + + + + + 12356 + + Sauce brown, ready + + SN-34 + + + 7400000001235 + + + 12345678 + + + S + 25 + + VAT + + + + Weight + 12 gram + 12 + gram + + + + + 1 + + + + + 2 + 5 + + + 2022-05-10 + 2022-05-25 + + + + White sauce + + SN-34 + + + + + 2 + + + diff --git a/rules/sch/PEPPOLBIS-T114.sch b/rules/sch/PEPPOLBIS-T114.sch new file mode 100644 index 00000000..f90c8020 --- /dev/null +++ b/rules/sch/PEPPOLBIS-T114.sch @@ -0,0 +1,36 @@ + + + + Rules for PEPPOL Order Change transaction 3.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rules/sch/PEPPOLBIS-T115.sch b/rules/sch/PEPPOLBIS-T115.sch new file mode 100644 index 00000000..e9ae9c58 --- /dev/null +++ b/rules/sch/PEPPOLBIS-T115.sch @@ -0,0 +1,38 @@ + + + + Rules for PEPPOL Order Cancellation transaction 3.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rules/sch/PEPPOLBIS-T116.sch b/rules/sch/PEPPOLBIS-T116.sch new file mode 100644 index 00000000..9594a5a6 --- /dev/null +++ b/rules/sch/PEPPOLBIS-T116.sch @@ -0,0 +1,37 @@ + + + + Rules for PEPPOL Order Response Advanced transaction 3.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rules/sch/parts/PEPPOL-M-T01.sch b/rules/sch/parts/PEPPOL-M-T01.sch index 7970d1b5..339e9b36 100644 --- a/rules/sch/parts/PEPPOL-M-T01.sch +++ b/rules/sch/parts/PEPPOL-M-T01.sch @@ -9,8 +9,8 @@ An order transaction SHALL use profile order only or ordering. + test="some $p in tokenize('urn:fdc:peppol.eu:poacc:bis:order_only:3 urn:fdc:peppol.eu:poacc:bis:ordering:3 urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3', '\s') satisfies $p = normalize-space(.)" + flag="fatal">An order transaction SHALL use profile order only, ordering or advanced_ordering. diff --git a/rules/sch/parts/PEPPOL-M-T114.sch b/rules/sch/parts/PEPPOL-M-T114.sch new file mode 100644 index 00000000..d1dee1dc --- /dev/null +++ b/rules/sch/parts/PEPPOL-M-T114.sch @@ -0,0 +1,192 @@ + + + + + + + + + + + An order change transaction MUST use profile advanced_ordering. + + + + Specification identifier MUST start with the value 'urn:fdc:peppol.eu:poacc:trns:order_change:3'. + + + + + An order MUST be stated in a single currency + Elements of data type amount cannot have more than 2 decimals (I.e. all amounts except unit price amounts) + + + + + An order change SHOULD provide information about its validity end date. + + + + + + An order change MUST have the originator party name or an identifier + + + + When TAX is VAT then Party VAT identifiers MUST have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. + + + + + + + + + + + + + + + + Expected total amount for payment MUST NOT be negative + Expected total sum of line amounts MUST NOT be negative + Expected total sum of line amounts MUST equal the sum of the order line amounts at order line level + Expected total sum of allowance at document level MUST be equal to the sum of allowance amounts at document level + Expected total sum of charges at document level MUST be equal to the sum of charge amounts at document level + + Expected total amount without TAX = Expected total sum of line amounts - Sum of allowances on document level + Sum of charges on document level + Amount due for payment = Order change total amount with TAX - Paid amount + Rounding amount. + Expected total amount with TAX = Expected total amount without TAX + Order total TAX amount. + + + + + + Allowance/charge base amount MUST be provided when allowance/charge percentage is provided. + + + + Allowance/charge percentage MUST be provided when allowance/charge base amount is provided. + + + + Allowance/charge amount MUST equal base amount * percentage/100 if base amount and percentage exists + Each document or line level allowance MUST have an allowance reason text or an allowance reason code. + Allowance or charge amounts MUST NOT be negative. + + + + Each Tax Category MUST have a TAX category rate, except if the order is not subject to TAX. + When TAX category code is "Standard rated" (S) the TAX rate MUST be greater than zero. + + + + + + + + + + + + + Order line net amount MUST equal (Ordered quantity * (Item net price/item price base quantity) + Order line charge amount - Order line allowance amount + Base quantity MUST be a positive number above zero. + Each order line MUST have a document line identifier that is unique within the order. + Each order line ordered quantity MUST not be negative + Each order line SHOULD have an ordered quantity + + + + + + Item net price MUST equal (Gross price - Allowance amount) when gross price is provided. + + + + + Each order line item net price MUST not be negative + + The Item gross price MUST NOT be negative. + Allowance or charge amounts MUST NOT be negative. + + + + Reason code MUST be according to subset of UNCL 5189 D.16B. + + + + Reason code MUST be according to UNCL 7161 D.16B. + + diff --git a/rules/sch/parts/PEPPOL-M-T115.sch b/rules/sch/parts/PEPPOL-M-T115.sch new file mode 100644 index 00000000..4aa868cd --- /dev/null +++ b/rules/sch/parts/PEPPOL-M-T115.sch @@ -0,0 +1,16 @@ + + + + + An order cancellation transaction MUST use profile advanced_ordering. + + + + Specification identifier MUST start with the value 'urn:fdc:peppol.eu:poacc:trns:order_cancellation:3'. + + + diff --git a/rules/sch/parts/PEPPOL-M-T116.sch b/rules/sch/parts/PEPPOL-M-T116.sch new file mode 100644 index 00000000..2f880d26 --- /dev/null +++ b/rules/sch/parts/PEPPOL-M-T116.sch @@ -0,0 +1,56 @@ + + + + + + + + + + + Specification identifier MUST start with the value 'urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3'. + + + + + An order response MUST be stated in a single currency + + + + + + An order response MUST have the buyer party official name or a buyer party identifier + + + + + An order response MUST have the seller party official name or a seller party identifier + + + + + If both delivery period start date and delivery period end date are given then the end date MUST be later or equal to the start date. + + + + + + Each order response line MUST have a document line identifier that is unique within the order. + + + + diff --git a/rules/snippets/order-cancellation/snippet-advanced.xml b/rules/snippets/order-cancellation/snippet-advanced.xml new file mode 100644 index 00000000..b6a65e61 --- /dev/null +++ b/rules/snippets/order-cancellation/snippet-advanced.xml @@ -0,0 +1,53 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + 7 + 2022-02-01 + 12:30:00 + With reference to phone call + + + 34 + + + + + 123456785 + + 7300070011115 + + + PartyID123 + + + Johnssons byggvaror + + + Johnssons byggvaror + + + + + + 987654325 + + SellerPartyID123 + + + Moderna Produkter AB + + + + SE + + + + Moderna Produkter AB + + + + diff --git a/rules/snippets/order-change/snippet-advanced.xml b/rules/snippets/order-change/snippet-advanced.xml new file mode 100644 index 00000000..f04b4f84 --- /dev/null +++ b/rules/snippets/order-change/snippet-advanced.xml @@ -0,0 +1,271 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_change:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + 1 + 2022-02-01 + 12:10:10 + + 1 + + EUR + MAFO + + 2022-03-01 + + + + 1 + + + 100 + Drawing + + Ymx1ZXByaW50 + + + + + C1 + + + + + 5541277711 + + 5541277711 + + + City Hospital + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + + + 987654325 + + 987654325 + + + Harbour street + + NO + + + + Cod Liver Oil Limited + + + Öystein + +47555444333 + oystein@codliveroil.no + + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + Right + + + SE + + + + + 2013-07-15 + 2013-07-16 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + + + true + FC + Freight service + 2 + 20 + 1000 + + S + 25 + + VAT + + + + + false + 65 + Production error discount + 10 + + S + 25 + + VAT + + + + + + + + + 268.75 + + + + 1345 + 10 + 20 + 1623.75 + + + + 1 + 3 + 10 + 400 + MAFO-1 + + + 40 + + false + 10 + 50 + + + + + 1x12 pack sauce bags + Brown sauce + + + SN-33 + + + + 05704066204093 + + + + S + 25 + + VAT + + + + + + + + 2 + 3 + + 120 + + 720 + MAFO-1 + + + + 6 + 1 + + + + + 1x12 pack sauce bags + White sauce + + + + + + SN-34 + + + 08722700575887 + + + S + 25 + + VAT + + + + + + + + 3 + 3 + 15 + 225 + MAFO-1 + + + 30 + 2 + + + + 1x12 pack sauce bags + Pepper sauce + + SN-35 + + + 08722700577584 + + + S + 25 + + VAT + + + + + + diff --git a/rules/snippets/order-response-advanced/snippet-1.xml b/rules/snippets/order-response-advanced/snippet-1.xml new file mode 100644 index 00000000..1bdb8f2c --- /dev/null +++ b/rules/snippets/order-response-advanced/snippet-1.xml @@ -0,0 +1,277 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response:3 + urn:fdc:peppol.eu:poacc:bis:ordering:3 + 101 + 2013-07-01 + 06:10:10 + + CA + + Response message with amendments in the details + EUR + YourRef + + + 1 + + + + + 5546577799 + + 5546577799 + + + The Supplier AB + + + + + + 5541277711 + + 5541277711 + + + City Hospital + + + + + + 2013-07-15 + 2013-07-16 + + + + + 1 + 7 + + Brown sauce + + SN-33 + + + + + + 1 + + + + + + 2 + + 3 + + + White sauce + + SN-34 + + + + + 2 + + + + + + 3 + 3 + 23 + + Pepper sauce + + SN-35 + + + + + 3 + + + + + + + 4 + 3 + 18 + + + 2013-07-15 + 2013-07-15 + + + + Wet tissues + + + + 4 + + + + + + + 5 + 1 + 12 + + + 2013-08-15 + 2013-08-15 + + + + Wet tissues + + + + 4 + + + + + + + 6 + 3 + + Wet tissues + + SItemNo011 + + + 05704368876486 + + + + + 2 + + Wet tissues + + SItemNo012 + + + 05704368643453 + + + 14111511 + + + + + 5 + + + + + + + 11 + 5 + + Product A + + Pr00A + + + + + 1 + + + + + 10 + 3 + 2 + + + 2018-07-01 + + + + Product B + + Pr00B + + + + + 2 + + + + + 7 + 1 + 1 + + + 2018-07-05 + + + + Product B + + Pr00B + + + + + 2 + + + + + 8 + 42 + + Product C + + Pr00C + + + + + 3 + + + + + + + 9 + 3 + 2 + 3 + + + 2018-07-05 + + + + Product D + + Pr00D + + + + + 1 + + + + diff --git a/rules/snippets/order-response-advanced/snippet-2.xml b/rules/snippets/order-response-advanced/snippet-2.xml new file mode 100644 index 00000000..ae1d09ec --- /dev/null +++ b/rules/snippets/order-response-advanced/snippet-2.xml @@ -0,0 +1,48 @@ + + + + urn:fdc:peppol.eu:poacc:trns:order_response:3 + urn:fdc:peppol.eu:poacc:bis:ordering:3 + 101 + 2013-07-01 + 06:10:10 + AB + Response message with amendments in the details + EUR + YourRef + + 1 + + + + 5546577799 + + 5546577799 + + + The Supplier AB + + + + + + 5541277711 + + 5541277711 + + + City Hospital + + + + + + 2013-07-15 + 2013-07-16 + + + + diff --git a/rules/snippets/order-response-advanced/snippet-advanced.xml b/rules/snippets/order-response-advanced/snippet-advanced.xml new file mode 100644 index 00000000..bb278428 --- /dev/null +++ b/rules/snippets/order-response-advanced/snippet-advanced.xml @@ -0,0 +1,282 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + 101 + 2022-02-01 + 18:10:10 + + CA + + Response message with amendments in the details + EUR + YourRef + + + 1 + + + + + c-1 + + + + + 5546577799 + + 5546577799 + + + The Supplier AB + + + + + + 5541277711 + + 5541277711 + + + City Hospital + + + + + + 2013-07-15 + 2013-07-16 + + + + + 1 + 7 + + Brown sauce + + SN-33 + + + + + + 1 + + + + + + 2 + + 3 + + + White sauce + + SN-34 + + + + + 2 + + + + + + 3 + 3 + 23 + + Pepper sauce + + SN-35 + + + + + 3 + + + + + + + 4 + 3 + 18 + + + 2013-07-15 + 2013-07-15 + + + + Wet tissues + + + + 4 + + + + + + + 5 + 1 + 12 + + + 2013-08-15 + 2013-08-15 + + + + Wet tissues + + + + 4 + + + + + + + 6 + 3 + + Wet tissues + + SItemNo011 + + + 05704368876486 + + + + + 2 + + Wet tissues + + SItemNo012 + + + 05704368643453 + + + 14111511 + + + + + 5 + + + + + + + 11 + 5 + + Product A + + Pr00A + + + + + 1 + + + + + 10 + 3 + 2 + + + 2018-07-01 + + + + Product B + + Pr00B + + + + + 2 + + + + + 7 + 1 + 1 + + + 2018-07-05 + + + + Product B + + Pr00B + + + + + 2 + + + + + 8 + 42 + + Product C + + Pr00C + + + + + 3 + + + + + + + 9 + 3 + 2 + 3 + + + 2018-07-05 + + + + Product D + + Pr00D + + + + + 1 + + + + diff --git a/rules/snippets/order/snippet-advanced.xml b/rules/snippets/order/snippet-advanced.xml new file mode 100644 index 00000000..4a246083 --- /dev/null +++ b/rules/snippets/order/snippet-advanced.xml @@ -0,0 +1,193 @@ + + + urn:fdc:peppol.eu:poacc:trns:order:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + 1 + 2022-02-01 + 14:15:20 + EUR + MAFO + + 2022-03-01 + + + + 2139239 + + + + C1 + + + + 5541277711 + + 5541277711 + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 5546577799 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + SE + + + + + 2022-02-15 + 2022-03-01 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + true + Freight cost + 200 + + S + 25 + + VAT + + + + + false + Agreed discount + 100 + + S + 25 + + VAT + + + + + + 85.63 + + + + 700 + 800 + 885.63 + 100 + 200 + 135 + 0.37 + 751.00 + + + + + 1 + 10 + 400 + MAFO-1 + + 40 + + + Free text description of item 1 + Item 1 + + S + 25 + + VAT + + + + Color + Red + + + Size + 43 + + + + + + + 2 + 50 + 300 + MAFO-1 + + 6 + + + Free text description of item 2 + Item 2 + + S + 25 + + VAT + + + + Color + Yellow + + + Size + 36 + + + + + diff --git a/rules/unit-order-cancellation/PEPPOL-T115-R001.xml b/rules/unit-order-cancellation/PEPPOL-T115-R001.xml new file mode 100644 index 00000000..53f235a0 --- /dev/null +++ b/rules/unit-order-cancellation/PEPPOL-T115-R001.xml @@ -0,0 +1,112 @@ + + + + Verify that the buyer party official name or a buyer party identifier exists + PEPPOL-T115-R001 + + + + PEPPOL-T115-R001 + + + + + + + 7080000374200 + + + Medical + + + + + + + + + + PEPPOL-T115-R001 + + + + + + + + + Medical + + + + + + + + + PEPPOL-T115-R001 + + + + + + + 7080000374200 + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-CL001.xml b/rules/unit-order-change/PEPPOL-T114-CL001.xml new file mode 100644 index 00000000..b6e56982 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-CL001.xml @@ -0,0 +1,43 @@ + + + + Correct use of allowance codes. + PEPPOL-T114-CL001 + + + + PEPPOL-T114-CL001 + + + + + + false + 60 + 70 + 100 + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-CL002.xml b/rules/unit-order-change/PEPPOL-T114-CL002.xml new file mode 100644 index 00000000..a9237cf3 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-CL002.xml @@ -0,0 +1,43 @@ + + + + Correct use of charge codes. + PEPPOL-T114-CL002 + + + + PEPPOL-T114-CL002 + + + + + + true + HAA + SU + AAA + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R001.xml b/rules/unit-order-change/PEPPOL-T114-R001.xml new file mode 100644 index 00000000..2c50221a --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R001.xml @@ -0,0 +1,83 @@ + + + + Verify line identifier is unique within the order change + PEPPOL-T114-R001 + + + + PEPPOL-T114-R001 + + + + + + 6 + + + + + + 7 + + + + + + 8 + + + + + + + + + PEPPOL-T114-R001 + + + + + + 6 + + + + + + + + + PEPPOL-T114-R001 + + + + + + 6 + + + + + + 6 + + + + + + 8 + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R002.xml b/rules/unit-order-change/PEPPOL-T114-R002.xml new file mode 100644 index 00000000..1e93fba9 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R002.xml @@ -0,0 +1,50 @@ + + + + Verify information about validity end date. + PEPPOL-T114-R002 + + + + PEPPOL-T114-R002 + + + + + + + + + + + + PEPPOL-T114-R002 + + + + + + + + + + + + PEPPOL-T114-R002 + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R003.xml b/rules/unit-order-change/PEPPOL-T114-R003.xml new file mode 100644 index 00000000..38fe699d --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R003.xml @@ -0,0 +1,104 @@ + + + + Verify currencyID has same value as DocumentCurrencyCode. + PEPPOL-T114-R003 + + + + + + PEPPOL-T114-R003 + + + + NOK + + + + + + + + + + + PEPPOL-T114-R003 + + + + NOK + + + + + + + + + + + PEPPOL-T114-R003 + + + + NOK + + + + 65.52 + + + + + + + + + PEPPOL-T114-R003 + + + + NOK + + + + + 59.12 + + + + + + + + + + + PEPPOL-T114-R003 + + + + GBP + + + 2456.30 + 2456.30 + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R004.xml b/rules/unit-order-change/PEPPOL-T114-R004.xml new file mode 100644 index 00000000..c9a70793 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R004.xml @@ -0,0 +1,59 @@ + + + + Verify that line quantity is not negative + PEPPOL-T114-R004 + + + + PEPPOL-T114-R004 + + + + + + 10 + + + + + + + + + PEPPOL-T114-R004 + + + + + + 0 + + + + + + + + + PEPPOL-T114-R004 + + + + + + -10 + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R005.xml b/rules/unit-order-change/PEPPOL-T114-R005.xml new file mode 100644 index 00000000..bee6e043 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R005.xml @@ -0,0 +1,65 @@ + + + + Verify that price amount is not negative + PEPPOL-T114-R005 + + + + PEPPOL-T114-R005 + + + + + + + 10 + + + + + + + + + + PEPPOL-T114-R005 + + + + + + + 0 + + + + + + + + + + PEPPOL-T114-R005 + + + + + + + -10 + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R006.xml b/rules/unit-order-change/PEPPOL-T114-R006.xml new file mode 100644 index 00000000..000cfed3 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R006.xml @@ -0,0 +1,53 @@ + + + + Verify that expected payable amount is not negative + PEPPOL-T114-R006 + + + + PEPPOL-T114-R006 + + + + + 947.56 + + + + + + + + PEPPOL-T114-R006 + + + + + 0 + + + + + + + + PEPPOL-T114-R006 + + + + + -947.56 + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R007.xml b/rules/unit-order-change/PEPPOL-T114-R007.xml new file mode 100644 index 00000000..7f01e201 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R007.xml @@ -0,0 +1,53 @@ + + + + Verify that expected total sum of line amounts is not negative + PEPPOL-T114-R007 + + + + PEPPOL-T114-R007 + + + + + 2456.30 + + + + + + + + PEPPOL-T114-R007 + + + + + 0.00 + + + + + + + + PEPPOL-T114-R007 + + + + + -24 + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R008.xml b/rules/unit-order-change/PEPPOL-T114-R008.xml new file mode 100644 index 00000000..3480c0fb --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R008.xml @@ -0,0 +1,325 @@ + + + + Verify that total sum of line amounts equal the sum of the order line amounts at order line level + PEPPOL-T114-R008 + + + + + PEPPOL-T114-R008 + + + + + 6225.00 + + + + + 6000.00 + + + + + + 225 + + + + + + + + + PEPPOL-T114-R008 + + + + + 6225 + + + + + 6000.00 + + + + + + 225.0 + + + + + + + + PEPPOL-T114-R008 + + + + + 0 + + + + + 0.0 + + + + + + 0.00 + + + + + + + + + PEPPOL-T114-R008 + + + + + 1000 + + + + + 1200.0 + + + + + + -200.00 + + + + + + + + PEPPOL-T114-R008 + + + + + 6225 + + + + + 6000.10 + + + + + + 225.0 + + + + + + + + + PEPPOL-T114-R008 + + + + + 6000 + + + + + 6000.10 + + + + + + 0.0 + + + + + + + + + PEPPOL-T114-R008 + + + + + 730.73 + + + + + 69.34 + + + + + 165.70 + + + + + 168.30 + + + + + 27.80 + + + + + 41.70 + + + + + 86.68 + + + + + 20.75 + + + + + 35.27 + + + + + 35.27 + + + + + 79.92 + + + + + + + + PEPPOL-T114-R008 + + + + + 766.00 + + + + + 69.34 + + + + + 165.70 + + + + + 168.30 + + + + + 27.80 + + + + + 41.70 + + + + + 86.68 + + + + + 20.75 + + + + + 35.27 + + + + + 35.27 + + + + + 35.27 + + + + + 79.92 + + + + + + + + PEPPOL-T114-R008 + + + + + 118.13 + + + + + 118.13 + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R009.xml b/rules/unit-order-change/PEPPOL-T114-R009.xml new file mode 100644 index 00000000..0da05157 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R009.xml @@ -0,0 +1,106 @@ + + + + Verify that the expected total sum of allowance at document level is equal to + the sum of allowance amounts at document level + PEPPOL-T114-R009 + + + + + PEPPOL-T114-R009 + + + + + + true + 400 + + + false + 100 + + + + 100 + + + + + + + + PEPPOL-T114-R009 + + + + + + false + 400 + + + false + 100 + + + + 500 + + + + + + + PEPPOL-T114-R009 + + + + + + + + 0 + + + + + + + + PEPPOL-T114-R009 + + + + + + false + 400 + + + false + 100 + + + + 400 + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R010.xml b/rules/unit-order-change/PEPPOL-T114-R010.xml new file mode 100644 index 00000000..5cafbae7 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R010.xml @@ -0,0 +1,106 @@ + + + + Verify that the expected total sum of charges at document level is equal to + the sum of charge amounts at document level + PEPPOL-T114-R010 + + + + + PEPPOL-T114-R010 + + + + + + false + 400 + + + true + 100 + + + + 100 + + + + + + + + PEPPOL-T114-R010 + + + + + + true + 400 + + + true + 100 + + + + 500 + + + + + + + PEPPOL-T114-R010 + + + + + + + + 0 + + + + + + + + PEPPOL-T114-R010 + + + + + + true + 400 + + + true + 100 + + + + 400 + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R011.xml b/rules/unit-order-change/PEPPOL-T114-R011.xml new file mode 100644 index 00000000..227c08df --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R011.xml @@ -0,0 +1,100 @@ + + + + Verify that the expected total amount without VAT = Expected total sum of line amounts - Sum of allowances on document level + Sum of charges on document level + PEPPOL-T114-R011 + + + + PEPPOL-T114-R011 + + + + + 6225.0 + 6525 + 100 + 400 + + + + + + + + PEPPOL-T114-R011 + + + + + + 6225.0 + + 100 + 400 + + + + + + + + PEPPOL-T114-R011 + + + + + + 6225.0 + 6225 + 0 + 0 + + + + + + + PEPPOL-T114-R011 + + + + + + + 6225.0 + 6225 + + + + + + + + PEPPOL-T114-R011 + + + + + + + 6225.0 + 6525 + 200 + 400 + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R013.xml b/rules/unit-order-change/PEPPOL-T114-R013.xml new file mode 100644 index 00000000..1924445f --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R013.xml @@ -0,0 +1,43 @@ + + + + Verify that each order line SHOULD have an ordered quantity + PEPPOL-T114-R013 + + + + PEPPOL-T114-R013 + + + + + + 15 + + + + + + + + + PEPPOL-T114-R013 + + + + + + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R014.xml b/rules/unit-order-change/PEPPOL-T114-R014.xml new file mode 100644 index 00000000..dc5e789a --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R014.xml @@ -0,0 +1,84 @@ + + + + + Verify Order originator name or identifier is specified + PEPPOL-T114-R014 + + + + + PEPPOL-T114-R014 + + + + + + + 5790000435951 + + + ABC Supplier Ltd. + + + + + + + + + + PEPPOL-T114-R014 + + + + + + + 5790000435951 + + + + + + + + + + PEPPOL-T114-R014 + + + + + + + ABC Supplier Ltd. + + + + + + + + + + PEPPOL-T114-R014 + + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R016.xml b/rules/unit-order-change/PEPPOL-T114-R016.xml new file mode 100644 index 00000000..347160b4 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R016.xml @@ -0,0 +1,117 @@ + + + + Verify that Amount due for payment = Invoice total amount with VAT - Paid amount + Rounding amount. + PEPPOL-T114-R016 + + + + PEPPOL-T114-R016 + + + + + 8081.2 + 10 + 8071.2 + + + + + + + + PEPPOL-T114-R016 + + + + + + + 8081.2 + 10 + 0.8 + 8072 + + + + + + + + PEPPOL-T114-R016 + + + + + + + 8081.2 + 8081.2 + + + + + + + PEPPOL-T114-R016 + + + + + + 10 + 0.8 + 8072 + + + + + + + + PEPPOL-T114-R016 + + + + + 8081.2 + 0 + 0 + 8081.2 + + + + + + + PEPPOL-T114-R016 + + + + + + + 8081.2 + 100 + 0.8 + 8072 + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R017.xml b/rules/unit-order-change/PEPPOL-T114-R017.xml new file mode 100644 index 00000000..7fc1094e --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R017.xml @@ -0,0 +1,121 @@ + + + + Verify that expected total amount with VAT = Expected total amount without VAT + + Order total VAT amount. + PEPPOL-T114-R017 + + + + PEPPOL-T114-R017 + + + + 500 + + + + 6225.0 + 6000 + 6500 + 100 + 400 + + + + + + PEPPOL-T114-R017 + + + + + + 6000 + 6500 + + + + + + PEPPOL-T114-R017 + + + + 500 + + + + 6300.0 + + 7000 + 200 + 400 + + + + + + + PEPPOL-T114-R017 + + + + 0.00 + + + + 6000 + 6300 + + + + + + + PEPPOL-T114-R017 + + + + 500 + + + + 6000 + 6300 + + + + + + PEPPOL-T114-R017 + + + + 500 + + + + 6300.0 + 6500 + 200 + 600 + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R019.xml b/rules/unit-order-change/PEPPOL-T114-R019.xml new file mode 100644 index 00000000..97e583c1 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R019.xml @@ -0,0 +1,80 @@ + + + + Verify that item net price equals (Gross price - Allowance amount), when gross + price is provided + PEPPOL-T114-R019 + + + + PEPPOL-T114-R019 + + + + + + + 100.00 + + false + 15 + 115.0000 + + + + + + + + + + PEPPOL-T114-R019 + + + + + + + 100.00 + + false + 50 + + + + + + + + + + + + PEPPOL-T114-R019 + + + + + + + 100.00 + + false + 15 + 150 + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R020.xml b/rules/unit-order-change/PEPPOL-T114-R020.xml new file mode 100644 index 00000000..12557d0e --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R020.xml @@ -0,0 +1,106 @@ + + + + Verify that allowance/charge base amount is provided when allowance/charge percentage is provided. + PEPPOL-T114-R020 + + + + PEPPOL-T114-R020 + + + + + true + 10 + 1000 + + + + false + 10 + 1000 + + + + + + + PEPPOL-T114-R020 + + + + + + + true + 10 + 1000 + + + + false + 10 + 1000 + + + + + + + + + + PEPPOL-T114-R020 + + + + + true + 10 + + + + + false + 10 + + + + + + + + PEPPOL-T114-R020 + + + + + + + true + 10 + + + + + false + 10 + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R021.xml b/rules/unit-order-change/PEPPOL-T114-R021.xml new file mode 100644 index 00000000..5a9bd0ab --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R021.xml @@ -0,0 +1,101 @@ + + + + Verify that allowance/chargepercentage is provided when allowance/charge base amount is provided. + PEPPOL-T114-R021 + + + + PEPPOL-T114-R021 + + + + + true + 10 + 1000 + + + + false + 10 + 1000 + + + + + + + PEPPOL-T114-R021 + + + + + + + true + 10 + 1000 + + + + false + 10 + 1000 + + + + + + + + + + PEPPOL-T114-R021 + + + + + true + 1000 + + + + false + 1000 + + + + + + + PEPPOL-T114-R021 + + + + + + + true + 1000 + + + + false + 1000 + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R022.xml b/rules/unit-order-change/PEPPOL-T114-R022.xml new file mode 100644 index 00000000..49c90aed --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R022.xml @@ -0,0 +1,170 @@ + + + + Verify that allowance/charge amount equal base amount * percentage/100, if base + amount and percentage exists. + PEPPOL-T114-R022 + + + + PEPPOL-T114-R022 + + + + + false + 10 + 100 + 1000 + + + + true + 10 + 100 + 1000 + + + + + + + PEPPOL-T114-R022 + + + + + + + false + 10 + 100 + 1000 + + + + true + 10 + 100 + 1000 + + + + + + + + + + PEPPOL-T114-R022 + + + + + false + + 100 + + + + + true + + 100 + + + + + + + + PEPPOL-T114-R022 + + + + + + + + false + + 100 + + + + + true + + 100 + + + + + + + + + + + + + PEPPOL-T114-R022 + + + + + false + 5 + 100 + 1000 + + + + true + 10 + 100 + 500 + + + + + + + PEPPOL-T114-R022 + + + + + + + false + 10 + 150 + 1000 + + + + true + 0.10 + 100 + 1000 + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R023.xml b/rules/unit-order-change/PEPPOL-T114-R023.xml new file mode 100644 index 00000000..2cebc244 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R023.xml @@ -0,0 +1,129 @@ + + + + Verify that each document or line level allowance have an allowance reason text or an allowance reason code. + PEPPOL-T114-R023 + + + + PEPPOL-T114-R023 + + + + + false + Total order value discount + + + + + false + 97 + + + + + + PEPPOL-T114-R023 + + + + + + + false + Total order value discount + + + + + false + 97 + + + + + + + + + + PEPPOL-T114-R023 + + + + + false + Total order value discount + 97 + + + + + + + PEPPOL-T114-R023 + + + + + + + + false + Total order value discount + 97 + + + + + + + + + + + PEPPOL-T114-R023 + + + + + false + + + + + + + PEPPOL-T114-R023 + + + + + + + + false + + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R024.xml b/rules/unit-order-change/PEPPOL-T114-R024.xml new file mode 100644 index 00000000..f8f4cb33 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R024.xml @@ -0,0 +1,296 @@ + + + + Verify that order line net amount equal (Ordered quantity * (Item net price/item price base quantity) + Order line charge amount - Order line allowance amount. + PEPPOL-T114-R024 + + + + + PEPPOL-T114-R024 + + + + + + 120 + 6300.00 + + + true + 400.00 + + + + false + 100 + + + + 50.000 + 1 + + + + + + + + + + + + PEPPOL-T114-R024 + + + + + + 60 + 6300.00 + + + true + 400.00 + + + + false + 100 + + + + 100.000 + + + + + + + + + + + + PEPPOL-T114-R024 + + + + + + 12.345 + 174.54 + + + true + 40.00 + + + + false + 10 + + + + 35.1245 + 3 + + + + + + + + + + + PEPPOL-T114-R024 + + + + + + 120 + 5900.00 + + + + + false + 100 + + + + 100.000 + 2 + + + + + + + + + + + PEPPOL-T114-R024 + + + + + + 120 + 6400.00 + + + true + 400.00 + + + + + 100.000 + 2 + + + + + + + + + + + PEPPOL-T114-R024 + + + + + + 120 + 12000.00 + + + + 100.000 + + + + + + + + + + + PEPPOL-T114-R024 + + + + + + 120 + 00.00 + + + + 0.000 + + + + + + + + + + + PEPPOL-T114-R024 + + + + + + 120 + 6300.00 + + + true + 400.00 + + + + true + 100 + + + + 100.000 + 2 + + + + + + + + + + + PEPPOL-T114-R024 + + + + + + 120 + 6300.00 + + + true + 400.00 + + + + true + 100 + + + + 100.000 + + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R025.xml b/rules/unit-order-change/PEPPOL-T114-R025.xml new file mode 100644 index 00000000..5f65aab0 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R025.xml @@ -0,0 +1,83 @@ + + + + Verify that base quantity is be a positive number above zero. + PEPPOL-T114-R025 + + + + PEPPOL-T114-R025 + + + + + + + 1 + + + + + + + + + + PEPPOL-T114-R025 + + + + + + + 0.01 + + + + + + + + + + PEPPOL-T114-R025 + + + + + + + 0.00 + + + + + + + + + + PEPPOL-T114-R025 + + + + + + + -1 + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R026.xml b/rules/unit-order-change/PEPPOL-T114-R026.xml new file mode 100644 index 00000000..9fa04a56 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R026.xml @@ -0,0 +1,88 @@ + + + + PEPPOL-T114-R026 + Verify that the party VAT identifiers have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. + Nevertheless, Greece may use the prefix ‘EL’. + + + + PEPPOL-T114-R026 + + + + + + IT123456789 + + VAT + + + + + + + + + EL987654321 + + VAT + + + + + + + + + + + PEPPOL-T114-R026 + + + + + + + A123456789 + + VAT + + + + + + + + + + + PEPPOL-T114-R026 + + + + + + + + 987654321 + + VAT + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R027.xml b/rules/unit-order-change/PEPPOL-T114-R027.xml new file mode 100644 index 00000000..fce0a3c2 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R027.xml @@ -0,0 +1,73 @@ + + + + Verify that item gross price is not negative + PEPPOL-T114-R027 + + + + PEPPOL-T114-R027 + + + + + + + + false + 115.0000 + + + + + + + + + + PEPPOL-T114-R027 + + + + + + + + false + 0.0000 + + + + + + + + + + + PEPPOL-T114-R027 + + + + + + + + false + -115.0000 + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R028.xml b/rules/unit-order-change/PEPPOL-T114-R028.xml new file mode 100644 index 00000000..431e38e4 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R028.xml @@ -0,0 +1,111 @@ + + + + PEPPOL-T114-R028 + Verify that all elements with datatype amount has maximum 2 decimals + + + + PEPPOL-T114-R028 + + + + + false + 100.00 + + + + 1000.00 + + + + 6525.00 + 6825 + 7825 + 100.0 + 400.00 + 10 + 7815.00 + + + + + 6300.00 + + + false + 100 + 1000 + + + 100.000 + + false + 100.0000 + 115.0000 + + + + + + + + + + + + PEPPOL-T114-R028 + + + + + false + 100.000 + + + + 1000.200 + + + + 6525.100 + 6825.890 + 7825.0030 + 100.040 + 400.004 + 10.100 + 7815.200 + + + + + 6300.030 + + + false + 100.000 + 1000.0000 + + + 100.000 + + false + 100.0000 + 115.0000 + + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R029.xml b/rules/unit-order-change/PEPPOL-T114-R029.xml new file mode 100644 index 00000000..4fea3937 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R029.xml @@ -0,0 +1,118 @@ + + + + PEPPOL-T114-R029 + Verify that all TaxCategories have a VAT rate, except if the order change is not + subject to VAT. + + + + PEPPOL-T114-R029 + + + + + + S + 25 + + VAT + + + + + + + + + S + 25 + + VAT + + + + + + + + + + + + + + PEPPOL-T114-R029 + + + + + + O + + + VAT + + + + + + + + + O + + + VAT + + + + + + + + + + + + + PEPPOL-T114-R029 + + + + + + S + + + VAT + + + + + + + + + AE + + + VAT + + + + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R030.xml b/rules/unit-order-change/PEPPOL-T114-R030.xml new file mode 100644 index 00000000..1a1a38b4 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R030.xml @@ -0,0 +1,99 @@ + + + + PEPPOL-T114-R030 + Verify that VAT rate is higher than zero(0) if VAT category is "S" (standard + rate) + + + + PEPPOL-T114-R030 + + + + + + S + 25 + + + + + + + + S + 25.00 + + + + + + + + + + + + + PEPPOL-T114-R030 + + + + + + E + 0 + + + + + + + + Z + 0.00 + + + + + + + + + + + + PEPPOL-T114-R030 + + + + + + S + 0 + + + + + + + + S + 0.00 + + + + + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R031.xml b/rules/unit-order-change/PEPPOL-T114-R031.xml new file mode 100644 index 00000000..0ad9496e --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R031.xml @@ -0,0 +1,20 @@ + + + + PEPPOL-T114-R031 + Verify that ProfileID is correct + + + + PEPPOL-T114-R031 + + + + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R032.xml b/rules/unit-order-change/PEPPOL-T114-R032.xml new file mode 100644 index 00000000..ca4edbab --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R032.xml @@ -0,0 +1,71 @@ + + + + Verify that allowance amounts are not negative + PEPPOL-T114-R032 + + + + PEPPOL-T114-R032 + + + + + 100 + + + + + + 10 + + + + + + + + PEPPOL-T114-R032 + + + + + 0 + + + + + + 0.00 + + + + + + + + + PEPPOL-T114-R032 + + + + + -100 + + + + + + -10 + + + + + + diff --git a/rules/unit-order-change/PEPPOL-T114-R033.xml b/rules/unit-order-change/PEPPOL-T114-R033.xml new file mode 100644 index 00000000..e162f6f5 --- /dev/null +++ b/rules/unit-order-change/PEPPOL-T114-R033.xml @@ -0,0 +1,70 @@ + + + + Verify that any allowance charge amounts are not negative + PEPPOL-T114-R033 + + + + PEPPOL-T114-R033 + + + + + + + + 100 + + + + + + + + + + + PEPPOL-T114-R033 + + + + + + + + 0 + + + + + + + + + + + PEPPOL-T114-R033 + + + + + + + + -100 + + + + + + + + diff --git a/rules/unit-order-response-advanced/PEPPOL-T116-R001.xml b/rules/unit-order-response-advanced/PEPPOL-T116-R001.xml new file mode 100644 index 00000000..b831a08c --- /dev/null +++ b/rules/unit-order-response-advanced/PEPPOL-T116-R001.xml @@ -0,0 +1,120 @@ + + + + Verify that the buyer party official name or a buyer party identifier + PEPPOL-T116-R001 + + + + PEPPOL-T116-R001 + + + + + + + 7080000374200 + + + Medical + + + + + + + + + + PEPPOL-T116-R001 + + + + + + + + + Medical + + + + + + + + + PEPPOL-T116-R001 + + + + + + + 7080000374200 + + + + + + + + + + + PEPPOL-T116-R001 + + + + + + + + + + + + + + + + + + + + + PEPPOL-T116-R001 + + + + + + + + + + + + + + diff --git a/rules/unit-order-response-advanced/PEPPOL-T116-R002.xml b/rules/unit-order-response-advanced/PEPPOL-T116-R002.xml new file mode 100644 index 00000000..86132a28 --- /dev/null +++ b/rules/unit-order-response-advanced/PEPPOL-T116-R002.xml @@ -0,0 +1,117 @@ + + + + Verify that the seller party official name or a seller party identifier + PEPPOL-T116-R002 + + + + PEPPOL-T116-R002 + + + + + + + 7080000374200 + + + Medical + + + + + + + + + + PEPPOL-T116-R002 + + + + + + + + Medical + + + + + + + + + PEPPOL-T116-R002 + + + + + + + 7080000374200 + + + + + + + + + + + PEPPOL-T116-R002 + + + + + + + + + + + + + + + + + + + + PEPPOL-T116-R002 + + + + + + + + + + + + + diff --git a/rules/unit-order-response-advanced/PEPPOL-T116-R003.xml b/rules/unit-order-response-advanced/PEPPOL-T116-R003.xml new file mode 100644 index 00000000..5a500a97 --- /dev/null +++ b/rules/unit-order-response-advanced/PEPPOL-T116-R003.xml @@ -0,0 +1,83 @@ + + + + Verify line identifier is unique within the order response + PEPPOL-T116-R003 + + + + PEPPOL-T116-R003 + + + + + + 6 + + + + + + 7 + + + + + + 8 + + + + + + + + + PEPPOL-T116-R003 + + + + + + 6 + + + + + + + + + PEPPOL-T116-R003 + + + + + + 6 + + + + + + 6 + + + + + + 8 + + + + + + + diff --git a/rules/unit-order-response-advanced/PEPPOL-T116-R004.xml b/rules/unit-order-response-advanced/PEPPOL-T116-R004.xml new file mode 100644 index 00000000..082e5e78 --- /dev/null +++ b/rules/unit-order-response-advanced/PEPPOL-T116-R004.xml @@ -0,0 +1,125 @@ + + + + Verify that if a delivery period has a start date and an end date, the end date + is equal to, or later than the start date + PEPPOL-T116-R004 + + + + + PEPPOL-T116-R004 + + + + + + 2013-06-01 + 2013-06-01 + + + + + + + + + 2013-07-15 + 2013-07-15 + + + + + + + + + + PEPPOL-T116-R004 + + + + + 2013-06-01 + 2013-08-01 + + + + + + + 2013-07-15 + 2014-07-15 + + + + + + + + + + + PEPPOL-T116-R004 + + + + + 2013-06-01 + + + + + + + + + 2014-07-15 + + + + + + + + + + + + PEPPOL-T116-R004 + + + + + + 2013-06-01 + 2013-05-01 + + + + + + + 2013-07-15 + 2013-06-14 + + + + + + + + + diff --git a/rules/unit-order-response-advanced/PEPPOL-T116-R005.xml b/rules/unit-order-response-advanced/PEPPOL-T116-R005.xml new file mode 100644 index 00000000..0465d290 --- /dev/null +++ b/rules/unit-order-response-advanced/PEPPOL-T116-R005.xml @@ -0,0 +1,54 @@ + + + + Verify currencyID has same value as DocumentCurrencyCode. + PEPPOL-T116-R005 + + + + + + PEPPOL-T116-R005 + + + + + EUR + + + + + + + + + + + + + + + PEPPOL-T116-R005 + + + + NOK + + + + + + + + + + + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc1/OrderCancellation_sc1.xml b/rules/use-case-examples/advanced-ordering-sc1/OrderCancellation_sc1.xml new file mode 100644 index 00000000..f4375fe4 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc1/OrderCancellation_sc1.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-01 + With reference to phone call + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc1/OrderChange_sc1.xml b/rules/use-case-examples/advanced-ordering-sc1/OrderChange_sc1.xml new file mode 100644 index 00000000..66e2ffa0 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc1/OrderChange_sc1.xml @@ -0,0 +1,146 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_change:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Change-1 + 2022-02-01 + 1 + Changes according to Order reponse + EUR + + 2022-03-01 + + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + Harbour street + Dock 45 + Bergen + + NO + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + Right + + + SE + + + + + 2013-07-15 + 2013-07-16 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 100 + + + 500 + 500 + 600 + 600 + + + + 1 + 3 + 5 + 200 + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + + 2 + 3 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc1/OrderResponse_sc1.xml b/rules/use-case-examples/advanced-ordering-sc1/OrderResponse_sc1.xml new file mode 100644 index 00000000..9b5b7876 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc1/OrderResponse_sc1.xml @@ -0,0 +1,78 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-1 + 2022-02-01 + CA + Response message with amendments in the details + EUR + + Order-1 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + + + 2022-02-15 + 2022-02-20 + + + + + 1 + Reduced quantity to 5 and added Sellers item identification + 3 + 5 + + Item 1 + + SN-1 + + + + + 1 + + + + + 2 + Added Sellers item identification + 3 + + Item 2 + + SN-2 + + + + + 2 + + + diff --git a/rules/use-case-examples/advanced-ordering-sc1/Order_sc1.xml b/rules/use-case-examples/advanced-ordering-sc1/Order_sc1.xml new file mode 100644 index 00000000..1cf2064d --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc1/Order_sc1.xml @@ -0,0 +1,140 @@ + + + urn:fdc:peppol.eu:poacc:trns:order:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Order-1 + 2022-02-01 + EUR + MAFO + + 2022-03-01 + + + 2139239 + + + C1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + SE + + + + + 2022-02-15 + 2022-03-01 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 140 + + + 700 + 700 + 840 + 840 + + + + 1 + 10 + 400 + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + + 2 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc2/OrderChange_sc2.xml b/rules/use-case-examples/advanced-ordering-sc2/OrderChange_sc2.xml new file mode 100644 index 00000000..924da257 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc2/OrderChange_sc2.xml @@ -0,0 +1,147 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_change:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Change-2 + 2022-02-05 + 2 + EUR + + 2022-03-01 + + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + Harbour street + Dock 45 + Bergen + + NO + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + Right + + + SE + + + + + 2013-07-15 + 2013-07-16 + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 100 + + + 500 + 500 + 600 + 600 + + + No changes to order line + + 1 + 4 + 5 + 200 + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + Order line to be deleted + + 2 + 2 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc2/OrderResponse_sc2.xml b/rules/use-case-examples/advanced-ordering-sc2/OrderResponse_sc2.xml new file mode 100644 index 00000000..5a4e413e --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc2/OrderResponse_sc2.xml @@ -0,0 +1,48 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-2 + 2022-02-05 + AP + Change is accepted + EUR + + Order-1 + + + Change-2 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + + + 2022-02-15 + 2022-02-20 + + + diff --git a/rules/use-case-examples/advanced-ordering-sc3/OrderCancellation_sc3.xml b/rules/use-case-examples/advanced-ordering-sc3/OrderCancellation_sc3.xml new file mode 100644 index 00000000..f3283d79 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc3/OrderCancellation_sc3.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-10 + With reference to phone call + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc3/OrderChange_sc3.xml b/rules/use-case-examples/advanced-ordering-sc3/OrderChange_sc3.xml new file mode 100644 index 00000000..a219a612 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc3/OrderChange_sc3.xml @@ -0,0 +1,148 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_change:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Change-3 + 2022-02-10 + 2 + Changes according to Order reponse + EUR + + 2022-03-01 + + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + City Hospital 345433 + 5541277711 + + Eurocity + + SE + + + + + Martin Foggerty + +46555785488 + martin.foggerty@cityhospital.se + + + + + + 7302347231110 + + 5546577799 + + + Harbour street + Dock 45 + Bergen + + NO + + + + The Supplier AB + + + + + + + Lower street 5 + Reception + Stockholm + 11120 + + Right + + + SE + + + + + + Hospital Tourist Department + + + John + +465558877523 + john@cityhospital.se + + + + + 100 + + + 500 + 500 + 600 + 600 + + + + 1 + 3 + 5 + 200 + + + 2022-03-01 + 2022-04-01 + + + + 40 + + + Item 1 + + S + 20 + + VAT + + + + + + + + 2 + 4 + 50 + 300 + + 6 + + + Item 2 + + S + 20 + + VAT + + + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc3/OrderResponse_sc3.xml b/rules/use-case-examples/advanced-ordering-sc3/OrderResponse_sc3.xml new file mode 100644 index 00000000..0bcc4796 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc3/OrderResponse_sc3.xml @@ -0,0 +1,77 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-3 + 2022-02-10 + CA + Response message with new delivery period for one item + EUR + + Order-1 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + + + 1 + New delivery period + 3 + + + 2022-03-01 + 2022-04-01 + + + + Item 1 + + SN-1 + + + + + 1 + + + + + 2 + No changes + 5 + + Item 2 + + SN-2 + + + + + 2 + + + diff --git a/rules/use-case-examples/advanced-ordering-sc4/OrderCancellation_sc4.xml b/rules/use-case-examples/advanced-ordering-sc4/OrderCancellation_sc4.xml new file mode 100644 index 00000000..0116567e --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc4/OrderCancellation_sc4.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-20 + With reference to phone call + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc4/OrderResponse_sc4.xml b/rules/use-case-examples/advanced-ordering-sc4/OrderResponse_sc4.xml new file mode 100644 index 00000000..08d1fb9a --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc4/OrderResponse_sc4.xml @@ -0,0 +1,39 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-4 + 2022-02-20 + AP + Response message to accept cancellation of the order + EUR + + Order-1 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc5/OrderCancellation_sc5.xml b/rules/use-case-examples/advanced-ordering-sc5/OrderCancellation_sc5.xml new file mode 100644 index 00000000..7668c501 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc5/OrderCancellation_sc5.xml @@ -0,0 +1,45 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Cancellation-1 + 2022-02-20 + To accept response from Seller + + Order-1 + + + + 7300010000001 + + 5541277711 + + + City Hospital 345433 + + + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + SE + + + + The Supplier AB + + + + diff --git a/rules/use-case-examples/advanced-ordering-sc5/OrderResponse_sc5.xml b/rules/use-case-examples/advanced-ordering-sc5/OrderResponse_sc5.xml new file mode 100644 index 00000000..470e3ef5 --- /dev/null +++ b/rules/use-case-examples/advanced-ordering-sc5/OrderResponse_sc5.xml @@ -0,0 +1,72 @@ + + + urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + Response-4 + 2022-02-20 + RE + Response message to cancel the order + EUR + + Order-1 + + + + 7302347231110 + + 5546577799 + + + The Supplier AB + + + + + + 7300010000001 + + 5541277711 + + + City Hospital + + + + + + 1 + Deletion of line + 7 + 5 + + Item 1 + + SN-1 + + + + + 1 + + + + + 2 + Deletion of line + 7 + 50 + + Item 2 + + SN-2 + + + + + 2 + + diff --git a/structure/codelist/UNCL1229_CHANGE.xml b/structure/codelist/UNCL1229_CHANGE.xml new file mode 100644 index 00000000..0ed79aa8 --- /dev/null +++ b/structure/codelist/UNCL1229_CHANGE.xml @@ -0,0 +1,36 @@ + + + + Action code (UNCL1229) for Order Change + UNCL1229_CHANGE + D.17A + UN/CEFACT + openPEPPOL + + + 1 + Order line is added + The information is to be or has been added. + + + 2 + Deleted + The Order line is to be or has been deleted. + + + 3 + Changed + The Order line is changed. + + + 4 + No action + The line item is not affected by the actual message. + + + 74 + Reopened + Opened again + + + diff --git a/structure/namespace/ubl-order-cancellation.xml b/structure/namespace/ubl-order-cancellation.xml new file mode 100644 index 00000000..c9b6ebad --- /dev/null +++ b/structure/namespace/ubl-order-cancellation.xml @@ -0,0 +1,28 @@ + + + urn:oasis:names:specification:ubl:schema:xsd:OrderCancellation-2 + 2.2 + urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2 + + ext:UBLExtensions + cbc:UBLVersionID + cbc:CustomizationID + cbc:ProfileID + cbc:ProfileExecutionID + cbc:ID + cbc:UUID + cbc:IssueDate + cbc:IssueTime + cbc:OrderTypeCode + cbc:Note + cbc:CancellationNote + cac:OriginatorDocumentReference + cac:AdditionalDocumentReference + cac:Contract + cac:BuyerCustomerParty + cac:SellerSupplierParty + cac:OriginatorCustomerParty + + diff --git a/structure/namespace/ubl-order-change.xml b/structure/namespace/ubl-order-change.xml new file mode 100644 index 00000000..89b9cd32 --- /dev/null +++ b/structure/namespace/ubl-order-change.xml @@ -0,0 +1,58 @@ + + + urn:oasis:names:specification:ubl:schema:xsd:OrderChange-2 + 2.2 + urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2 + + ext:UBLExtensions + cbc:UBLVersionID + cbc:CustomizationID + cbc:ProfileID + cbc:ProfileExecutionID + cbc:ID + cbc:SalesOrderID + cbc:SequenceNumberID + cbc:CopyIndicator + cbc:UUID + cbc:IssueDate + cbc:IssueTime + cbc:Note + cbc:RequestedInvoiceCurrencyCode + cbc:DocumentCurrencyCode + cbc:PricingCurrencyCode + cbc:TaxCurrencyCode + cbc:CustomerReference + cbc:AccountingCostCode + cbc:AccountingCost + cbc:LineCountNumeric + cac:ValidityPeriod + cac:QuotationDocumentReference + cac:OrderDocumentReference + cac:OriginatorDocumentReference + cac:CatalogueReference + cac:AdditionalDocumentReference + cac:Contract + cac:ProjectReference + cac:Signature + cac:BuyerCustomerParty + cac:SellerSupplierParty + cac:OriginatorCustomerParty + cac:FreightForwarderParty + cac:AccountingCustomerParty + cac:Delivery + cac:DeliveryTerms + cac:PaymentMeans + cac:PaymentTerms + cac:TransactionConditions + cac:AllowanceCharge + cac:TaxExchangeRate + cac:PricingExchangeRate + cac:PaymentExchangeRate + cac:DestinationCountry + cac:TaxTotal + cac:AnticipatedMonetaryTotal + cac:OrderLine + + diff --git a/structure/namespace/ubl-order-response-advanced.xml b/structure/namespace/ubl-order-response-advanced.xml new file mode 100644 index 00000000..23bff110 --- /dev/null +++ b/structure/namespace/ubl-order-response-advanced.xml @@ -0,0 +1,63 @@ + + + urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2 + 2.2 + urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2 + + ext:UBLExtensions + cbc:UBLVersionID + cbc:CustomizationID + cbc:ProfileID + cbc:ProfileExecutionID + cbc:ID + cbc:SalesOrderID + cbc:CopyIndicator + cbc:UUID + cbc:IssueDate + cbc:IssueTime + cbc:OrderResponseCode + cbc:Note + cbc:DocumentCurrencyCode + cbc:PricingCurrencyCode + cbc:TaxCurrencyCode + cbc:TotalPackagesQuantity + cbc:GrossWeightMeasure + cbc:NetWeightMeasure + cbc:NetNetWeightMeasure + cbc:GrossVolumeMeasure + cbc:NetVolumeMeasure + cbc:CustomerReference + cbc:AccountingCostCode + cbc:AccountingCost + cbc:LineCountNumeric + cac:ValidityPeriod + cac:OrderReference + cac:OrderDocumentReference + cac:OrderChangeDocumentReference + cac:OriginatorDocumentReference + cac:AdditionalDocumentReference + cac:Contract + cac:Signature + cac:SellerSupplierParty + cac:BuyerCustomerParty + cac:OriginatorCustomerParty + cac:FreightForwarderParty + cac:AccountingSupplierParty + cac:AccountingCustomerParty + cac:Delivery + cac:DeliveryTerms + cac:PaymentMeans + cac:PaymentTerms + cac:AllowanceCharge + cac:TransactionConditions + cac:TaxExchangeRate + cac:PricingExchangeRate + cac:PaymentExchangeRate + cac:DestinationCountry + cac:TaxTotal + cac:LegalMonetaryTotal + cac:OrderLine + + diff --git a/structure/syntax/ubl-order-cancellation.xml b/structure/syntax/ubl-order-cancellation.xml new file mode 100644 index 00000000..9910ba90 --- /dev/null +++ b/structure/syntax/ubl-order-cancellation.xml @@ -0,0 +1,709 @@ + + + adv-order-cancellation-3.0 + PEPPOL-T115 + T115-basic + urn:oasis:names:specification:ubl:schema:xsd:OrderCancellation-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 + + ubl:OrderCancellation + + cbc:CustomizationID + Specification identification + Identifies the specification of content and rules that apply to the + transaction. + Identifier + tir01-001 + urn:fdc:peppol.eu:poacc:trns:order_cancellation:3 + + + cbc:ProfileID + Business process type identifier + Identifies the BII profile or business process context in which the + transaction appears. + Identifier + tir01-002 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + + + cbc:ID + Order identifier + A transaction instance must have an identifier. The identifier enables + referencing the transaction for various purposes such as from other transactions + that are part of the same process. + Identifier + tir01-003 + 0-123 + + + cbc:IssueDate + Issue date + The date on which the transaction instance was issued. + Date + tir01-004 + 2022-02-01 + + + cbc:IssueTime + Issue time + The time assigned by the buyer on which the order was issued. + Time + tir01-005 + 14:12:32 + + + cbc:Note + Document level textual note + Free form text applying to the Order. This element may contain notes or any + other similar information that is not contained explicitly in another + structure. + Text + tir01-006 + Packages of other sizes are OK + + + cbc:CancellationNote + Document level textual note + The general reason for cancellation of the referenced order. + Text + The substituted items does not fit our usage. + + + cac:OrderReference + Order reference + + cbc:ID + Order document reference + Used to reference the initial order. + Document reference + 4832423 + + + + cac:OriginatorDocumentReference + Originator document + + cbc:ID + Originator document reference + A reference to Originator Document. To be able to give a reference to + the internal requisition on the buyer site on which the order is + based. + Document reference + tir01-012 + 5435235 + + + + cac:AdditionalDocumentReference + Additional documents + + cbc:ID + Document identifier + An identifier for the referenced document. + tir01-154 + doc-34 + + + cbc:DocumentType + Document description + Textual description of the document. + Text + tir01-016 + Timesheet + + + cac:Attachment + Attachment(s) + + cbc:EmbeddedDocumentBinaryObject + Attached document + The attached document embeded as binary object, coded as Base64. + The binary object has two supplementary components: a Mime Code, which specifies the Mime type of the attachment and a Filename + that is provided by (or on behalf of) the sender of the document + Binary object + tir01-017 + + mimeCode + Attached document Mime code + The mime code of the attached document. + MimeCode + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + + + filename + Attached document filename + The file name of the attached document + Hours-spent.xsl + + QklTIE9yZGVyIEFncmVlbWVudCAtIDQyQQ== + + + cac:ExternalReference + External reference + Reference to external document + + cbc:URI + External document URI + The Uniform Resource Identifier (URI) that identifies where the + external document is located. + Text + tir01-018 + http://www.test.eu/image.jpg + + + + + + cac:Contract + Contract information + Reference to contract + + cbc:ID + Reference identifier + Positive identification of the reference such as a unique + identifier. + Document reference + tir01-019 + + + + cac:BuyerCustomerParty + Buyer information + Description of buyer + + cac:Party + Party information + + cbc:EndpointID + Buyer party electronic address + Identifies the buyer party's electronic address + Identifier + tir01-021 + + schemeID + Scheme identifier + Scheme identifier for the electronic address + eas + 0192 + + 987654325 + + + cac:PartyIdentification + Party identification + + cbc:ID + Buyer party identification + An identification for the buyer party. + tir01-022 + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0192 + + 123456785 + + + + cac:PartyName + Party name + + cbc:Name + Buyer name + Name of buyer The name of the party who orders the listed + items. + Text + tir01-023 + Buyer name + + + + cac:PostalAddress + Postal address + Postal address of the buyer + + cbc:StreetName + Address line 1 + The main address line in a postal address usually the street + name and number. + Text + tir01-032 + + + cbc:AdditionalStreetName + Address line 2 + An additional address line in a postal address that can be used + to give further details supplementing the main line. Common use are + secondary house number in a complex or in a building. + Text + tir01-027 + + + cbc:CityName + City + The common name of the city where the postal address is. The + name is written in full rather than as a code. + Text + tir01-031 + + + cbc:PostalZone + Post code + The identifier for an addressable group of properties according + to the relevant national postal service, such as a ZIP code or Post + Code. + Text + tir01-024 + + + cbc:CountrySubentity + Country subdivision + For specifying a region, county, state, province etc. within a + country by using text. + Text + tir01-141 + + + cac:AddressLine + Address line + + cbc:Line + Address line 3 + An additional address line in an address that can be used + to give further details supplementing the main line. + Text + tir01-p003 + Gate 34 + + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir01-033 + ISO3166 + NL + + + + + cac:PartyTaxScheme + Buyer tax information + + cbc:CompanyID + Buyer TAX identifier + The buyers registered Value Added Tax identifier. To be stated + in case reverse charge is to apply to the purchase. + Identifier + tir01-034 + PEPPOL-T01-R026 + + + cac:TaxScheme + Tax scheme + + cbc:ID + Mandatory element. + Identifier + tir01-p004 + GST + + + + + cac:PartyLegalEntity + Buyer legal information + + cbc:RegistrationName + Buyers legal registration name + The official name of the party as registered with the relevant + fiscal authority. + Text + tir01-044 + + + cbc:CompanyID + Buyers legal registration identifier + Identifies a company as registered with the company + registration scheme. + Identifier + tir01-043 + + schemeID + Scheme identifier + The identification scheme identifier of the buyer legal + registration identifier. + ICD + 0192 + + 987654325 + + + cac:RegistrationAddress + Legal address + + cbc:CityName + Buyers legal registration address city name + Associates with the registered address of the party within + a Corporate Registration Scheme. The name of a city, town, or + village. + Text + tir01-045 + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir01-046 + ISO3166 + NL + + + + + + cac:Contact + Contact information + Buyer contact information + + cbc:Name + Contact person name + The name of the contact person. + Text + tir01-050 + + + cbc:Telephone + Contact telephone number + A phone number for the contact person. If the person has a + direct number, this is that number. + Text + tir01-047 + + + cbc:ElectronicMail + Contact email address + The e-mail address for the contact person. If the person has a + direct e-mail this is that email. + Text + tir01-049 + + + + + + cac:SellerSupplierParty + Seller information + Description of seller + + cac:Party + Party information + + cbc:EndpointID + Seller party electronic address + Identifies the seller party's electronic address + Identifier + tir01-058 + + schemeID + Scheme identifier + Scheme identifier for the electronic address + 0192 + + 987654325 + + + cac:PartyIdentification + Party identification + + cbc:ID + Seller party identification + Identifies a party. + Identifier + tir01-059 + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0192 + + 123456785 + + + + cac:PartyName + Party name + Name of seller + tir01-060 + + cbc:Name + Seller party trading name + The trading name of the party. + Text + tir01-060 + Seller name + + + + cac:PostalAddress + Postal address + Postal address of the Seller + + cbc:StreetName + Address line 1 + The main address line in a postal address usually the street + name and number. + Text + tir01-063 + + + cbc:AdditionalStreetName + Address line 2 + An additional address line in a postal address that can be used + to give further details supplementing the main line. Common use are + secondary house number in a complex or in a building. + Text + tir01-064 + + + cbc:CityName + City + The common name of the city where the postal address is. The + name is written in full rather than as a code. + Text + tir01-065 + + + cbc:PostalZone + Post code + The identifier for an addressable group of properties according + to the relevant national postal service, such as a ZIP code or Post + Code. + Text + tir01-068 + + + cbc:CountrySubentity + Country subdivision + For specifying a region, county, state, province etc. within a + country by using text. + Text + tir01-142 + + + cac:AddressLine + Address line + + cbc:Line + Address line 3 + An additional address line in an address that can be used + to give further details supplementing the main line. + Text + tir01-p005 + Gate 34 + + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir01-069 + ISO3166 + NL + + + + + cac:PartyLegalEntity + Seller legal information + + cbc:RegistrationName + Seller legal registration name + The official name of the party as registered with the relevant + fiscal authority. + Text + tir01-044 + + + cbc:CompanyID + Seller legal registration identifier + Identifies a company as registered with the company + registration scheme. + Identifier + tir01-043 + + schemeID + Scheme identifier + The identification scheme identifier of the buyer legal + registration identifier. + ICD + 0192 + + 987654325 + + + cac:RegistrationAddress + Legal address + + cbc:CityName + Sellers legal registration address city name + Associates with the registered address of the party within + a Corporate Registration Scheme. The name of a city, town, or + village. + Text + tir01-045 + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir01-046 + ISO3166 + NL + + + + + + cac:Contact + Contact + Seller contact information + + cbc:Name + Contact person name + The name of the contact person. + Text + tir01-074 + + + cbc:Telephone + Contact telephone number + A phone number for the contact person. If the person has a + direct number, this is that number. + Text + tir01-077 + + + cbc:ElectronicMail + Contact email address + The e-mail address for the contact person. If the person has a + direct e-mail this is that email. + Text + tir01-076 + + + + + + cac:OriginatorCustomerParty + Originator party + Information regarding the originator of the order + + cac:Party + Party information + Description of the originator party + + + cac:PartyIdentification + Party identification + Identification of the originator + PEPPOL-T01-R014 + + cbc:ID + Originator identifier + Identifies a party. + Identifier + tir01-081 + + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0192 + + 123456785 + + + + cac:PartyName + Party name + Name of the originator + PEPPOL-T01-R014 + + cbc:Name + Originator name + The name of the party. + Text + tir01-082 + Originator name + + + + cac:Contact + Contact + The originators contact information + + cbc:Name + Contact person name + The name of the contact person. + Text + tir01-086 + + + cbc:Telephone + Contact telephone number + A phone number for the contact person. If the person has a + direct number, this is that number. + Text + tir01-083 + + + cbc:ElectronicMail + Contact email address + The e-mail address for the contact person. If the person has a + direct e-mail this is that email. + Text + tir01-085 + + + + + + diff --git a/structure/syntax/ubl-order-change.xml b/structure/syntax/ubl-order-change.xml new file mode 100644 index 00000000..2d04f642 --- /dev/null +++ b/structure/syntax/ubl-order-change.xml @@ -0,0 +1,2311 @@ + + + OrderChange + PEPPOL-T114 + T114-basic + urn:oasis:names:specification:ubl:schema:xsd:OrderChange-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 + + ubl:OrderChange + + cbc:CustomizationID + Specification identification + Identifies the specification of content and rules that apply to the + transaction. + Identifier + tir114-001 + urn:fdc:peppol.eu:poacc:trns:order_change:3 + + + cbc:ProfileID + Business process type identifier + Identifies the BII profile or business process context in which the + transaction appears. + Identifier + tir114-002 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + + + cbc:ID + Order identifier + A transaction instance must have an identifier. The identifier enables + referencing the transaction for various purposes such as from other transactions + that are part of the same process. + Identifier + tir114-003 + 0-123 + + + cbc:SalesOrderID + Sales order reference + An identifier of a referenced sales order, issued by the + Seller. + Document Reference + tir114-p001 + 112233 + + + cbc:IssueDate + Order issue date + The date on which the transaction instance was issued. + Date + tir114-004 + 2022-02-01 + + + cbc:IssueTime + Order issue time + The time assigned by the buyer on which the order was issued. + Time + tir114-005 + 12:12:12 + + + cbc:SequenceNumberID + Order Change Sequence Number + The Order Change Sequence Number assigned by the Buyer to ensure the proper sequencing of changes. + Identifier + tir114-006 + 15 + + + cbc:Note + Document level textual note + Free form text applying to the Order. This element may contain notes or any + other similar information that is not contained explicitly in another + structure. + Text + tir114-007 + Packages of other sizes are OK + + + cbc:DocumentCurrencyCode + Currency + The default currency for the order. + Code + tir114-008 + ISO4217 + NOK + + + cbc:CustomerReference + Buyer contact + The element is used for the reference of who ordered the products/services. + Example being the name of the person ordering, employee number or a code identifying this person or department/group. Also known as "Your reference", and should also be sent in the corresponding invoice. + Text + tir114-p002 + oik987 + + + cbc:AccountingCost + Buyers accounting string + Used by the buyer to specify a reference that should be repeated in e.g. + invoice to enable the buyer to automatically book e.g. to the right project, or + account. + text + tir114-009 + 1234:45435:243234 + + + cac:ValidityPeriod + Validity period + + cbc:EndDate + Order validity end date + The end date for when the order is valid. The end date for the time + period within which the seller must respond. An order should contain the + validity end date + Date + tir114-010 + PEPPOL-T114-R002 + 2022-03-01 + + + + cac:OrderReference + Order reference + + cbc:ID + Order document reference + Used to reference the initial order. + Document reference + 4832423 + + + + cac:QuotationDocumentReference + Quotation reference + Reference to quotation which is basis for the order + + cbc:ID + Quotation document reference + A requirement to give a unique reference to the quotation that is the + base for the order. + Document reference + tir114-011 + 1232424 + + + + cac:OriginatorDocumentReference + Originator document + + cbc:ID + Originator document reference + A reference to Originator Document. To be able to give a reference to + the internal requisition on the buyer site on which the order is + based. + Document reference + tir114-012 + 5435235 + + + + cac:AdditionalDocumentReference + Additional documents + + cbc:ID + Document identifier + An identifier for the referenced document. + tir114-154 + doc-34 + + + cbc:DocumentType + Document description + Textual description of the document. + Text + tir114-016 + Timesheet + + + cac:Attachment + Attachment(s) + + cbc:EmbeddedDocumentBinaryObject + Attached document + The attached document embeded as binary object, coded as Base64. + The binary object has two supplementary components: a Mime Code, which specifies the Mime type of the attachment and a Filename + that is provided by (or on behalf of) the sender of the document + Binary object + tir114-017 + + mimeCode + Attached document Mime code + The mime code of the attached document. + MimeCode + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + + + filename + Attached document filename + The file name of the attached document + Hours-spent.xsl + + QklTIE9yZGVyIEFncmVlbWVudCAtIDQyQQ== + + + cac:ExternalReference + External reference + Reference to external document + + cbc:URI + External document URI + The Uniform Resource Identifier (URI) that identifies where the + external document is located. + Text + tir114-018 + http://www.test.eu/image.jpg + + + + + + cac:Contract + Contract information + Reference to contract + + cbc:ID + Reference identifier + Positive identification of the reference such as a unique + identifier. + Document reference + tir114-019 + + + + cac:BuyerCustomerParty + Buyer information + Description of buyer + + cac:Party + Party information + + cbc:EndpointID + Buyer party electronic address + Identifies the buyer party's electronic address + Identifier + tir114-021 + + schemeID + Scheme identifier + Scheme identifier for the electronic address + eas + 0088 + + 7300010000001 + + + cac:PartyIdentification + Party identification + + cbc:ID + Buyer party identification + An identification for the buyer party. + tir114-022 + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0088 + + 7300010000001 + + + + cac:PartyName + Party name + + cbc:Name + Buyer name + Name of buyer The name of the party who orders the listed + items. + Text + tir114-023 + Buyer name + + + + cac:PostalAddress + Postal address + Postal address of the buyer + + cbc:StreetName + Address line 1 + The main address line in a postal address usually the street + name and number. + Text + tir114-032 + + + cbc:AdditionalStreetName + Address line 2 + An additional address line in a postal address that can be used + to give further details supplementing the main line. Common use are + secondary house number in a complex or in a building. + Text + tir114-027 + + + cbc:CityName + City + The common name of the city where the postal address is. The + name is written in full rather than as a code. + Text + tir114-031 + + + cbc:PostalZone + Post code + The identifier for an addressable group of properties according + to the relevant national postal service, such as a ZIP code or Post + Code. + Text + tir114-024 + + + cbc:CountrySubentity + Country subdivision + For specifying a region, county, state, province etc. within a + country by using text. + Text + tir114-141 + + + cac:AddressLine + Address line + + cbc:Line + Address line 3 + An additional address line in an address that can be used + to give further details supplementing the main line. + Text + tir114-p003 + Gate 34 + + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir114-033 + ISO3166 + NL + + + + + cac:PartyTaxScheme + Buyer tax information + + cbc:CompanyID + Buyer TAX identifier + The buyers registered Value Added Tax identifier. To be stated + in case reverse charge is to apply to the purchase. + Identifier + tir114-034 + PEPPOL-T114-R026 + + + cac:TaxScheme + Tax scheme + + cbc:ID + Mandatory element. E.g. "VAT", "GST" or "TAX" + Identifier + tir114-p004 + GST + + + + + cac:PartyLegalEntity + Buyer legal information + + cbc:RegistrationName + Buyers legal registration name + The official name of the party as registered with the relevant + fiscal authority. + Text + tir114-044 + + + cbc:CompanyID + Buyers legal registration identifier + Identifies a company as registered with the company + registration scheme. + Identifier + tir114-043 + + schemeID + Scheme identifier + The identification scheme identifier of the buyer legal + registration identifier. + ICD + 0192 + + 987654325 + + + cac:RegistrationAddress + Legal address + + cbc:CityName + Buyers legal registration address city name + Associates with the registered address of the party within + a Corporate Registration Scheme. The name of a city, town, or + village. + Text + tir114-045 + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir114-046 + ISO3166 + NL + + + + + + cac:Contact + Contact information + Buyer contact information + + cbc:Name + Contact person name + The name of the contact person. + Text + tir114-050 + + + cbc:Telephone + Contact telephone number + A phone number for the contact person. If the person has a + direct number, this is that number. + Text + tir114-047 + + + cbc:ElectronicMail + Contact email address + The e-mail address for the contact person. If the person has a + direct e-mail this is that email. + Text + tir114-049 + + + + + + cac:SellerSupplierParty + Seller information + Description of seller + + cac:Party + Party information + + cbc:EndpointID + Seller party electronic address + Identifies the seller party's electronic address + Identifier + tir114-058 + + schemeID + Scheme identifier + Scheme identifier for the electronic address + 0088 + + 7300010000001 + + + cac:PartyIdentification + Party identification + + cbc:ID + Seller party identification + Identifies a party. + Identifier + tir114-059 + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0088 + + 7300010000001 + + + + cac:PartyName + Party name + Name of seller + tir114-060 + + cbc:Name + Seller party trading name + The trading name of the party. + Text + tir114-060 + Seller name + + + + cac:PostalAddress + Postal address + Postal address of the Seller + + cbc:StreetName + Address line 1 + The main address line in a postal address usually the street + name and number. + Text + tir114-063 + + + cbc:AdditionalStreetName + Address line 2 + An additional address line in a postal address that can be used + to give further details supplementing the main line. Common use are + secondary house number in a complex or in a building. + Text + tir114-064 + + + cbc:CityName + City + The common name of the city where the postal address is. The + name is written in full rather than as a code. + Text + tir114-065 + + + cbc:PostalZone + Post code + The identifier for an addressable group of properties according + to the relevant national postal service, such as a ZIP code or Post + Code. + Text + tir114-068 + + + cbc:CountrySubentity + Country subdivision + For specifying a region, county, state, province etc. within a + country by using text. + Text + tir114-142 + + + cac:AddressLine + Address line + + cbc:Line + Address line 3 + An additional address line in an address that can be used + to give further details supplementing the main line. + Text + tir114-p005 + Gate 34 + + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir114-069 + ISO3166 + NL + + + + + cac:PartyLegalEntity + Seller legal information + + cbc:RegistrationName + Seller legal registration name + The official name of the party as registered with the relevant + fiscal authority. + Text + tir114-044 + + + cbc:CompanyID + Seller legal registration identifier + Identifies a company as registered with the company + registration scheme. + Identifier + tir114-043 + + schemeID + Scheme identifier + The identification scheme identifier of the buyer legal + registration identifier. + ICD + 0192 + + 987654325 + + + cac:RegistrationAddress + Legal address + + cbc:CityName + Sellers legal registration address city name + Associates with the registered address of the party within + a Corporate Registration Scheme. The name of a city, town, or + village. + Text + tir114-045 + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir114-046 + ISO3166 + NL + + + + + + cac:Contact + Contact + Seller contact information + + cbc:Name + Contact person name + The name of the contact person. + Text + tir114-074 + + + cbc:Telephone + Contact telephone number + A phone number for the contact person. If the person has a + direct number, this is that number. + Text + tir114-077 + + + cbc:ElectronicMail + Contact email address + The e-mail address for the contact person. If the person has a + direct e-mail this is that email. + Text + tir114-076 + + + + + + cac:OriginatorCustomerParty + Originator party + Information regarding the originator of the order + + cac:Party + Party information + Description of the originator party + + cac:PartyIdentification + Party identification + Identification of the originator + PEPPOL-T114-R014 + + cbc:ID + Originator identifier + Identifies a party. + Identifier + tir114-081 + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0088 + + 7300010000001 + + + + cac:PartyName + Party name + Name of the originator + PEPPOL-T114-R014 + + cbc:Name + Originator name + The name of the party. + Text + tir114-082 + Originator name + + + + cac:Contact + Contact + The originators contact information + + cbc:Name + Contact person name + The name of the contact person. + Text + tir114-086 + + + cbc:Telephone + Contact telephone number + A phone number for the contact person. If the person has a + direct number, this is that number. + Text + tir114-083 + + + cbc:ElectronicMail + Contact email address + The e-mail address for the contact person. If the person has a + direct e-mail this is that email. + Text + tir114-085 + + + + + + cac:AccountingCustomerParty + Invoicee party + Information regarding the receiver of the invoice based on the order + (Invoicee) + + cac:Party + Party information + Description of the invoicee party + + cbc:EndpointID + Invoicee party electronic address + Identifies the invoicee party's electronic address + Identifier + tir114-157 + + schemeID + Scheme identifier + Scheme identifier for the electronic address + 0088 + + 7300010000001 + + + cac:PartyIdentification + Party identification + Identification of the invoicee party + + cbc:ID + Invoicee identifier + An identifer for the invoicee party. + Identifier + tir114-156 + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0192 + + 987654325 + + + + cac:PartyName + Party name + + cbc:Name + Invoicee name + The name of the party who should be invoiced for the ordered + items (invoicee). + Text + tir114-155 + Invoicee name + + + + cac:PostalAddress + Postal address + Postal address of the invoicee + + cbc:StreetName + Address line 1 + The main address line in a postal address usually the street + name and number. + Text + tir114-p013 + The main address line in the postal address, usually + the street name and number + + + cbc:AdditionalStreetName + Address line 2 + An additional address line in a postal address that can be used + to give further details supplementing the main line. Common use are + secondary house number in a complex or in a building. + Text + tir114-p014 + + + cbc:CityName + City + The common name of the city where the postal address is. The + name is written in full rather than as a code. + Text + tir114-p009 + + + cbc:PostalZone + Post code + The identifier for an addressable group of properties according + to the relevant national postal service, such as a ZIP code or Post + Code. + Text + tir114-p015 + + + cbc:CountrySubentity + Country subdivision + For specifying a region, county, state, province etc. within a + country by using text. + Text + tir114-p016 + + + cac:AddressLine + Address line + + cbc:Line + Address line 3 + An additional address line in an address that can be used + to give further details supplementing the main line. + Text + tir114-p006 + Gate 34 + + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir114-p017 + ISO3166 + NL + + + + + cac:PartyTaxScheme + Party tax scheme + Tax information of the invoicee party + + cbc:CompanyID + Invoicee TAX identifier + The invoicees registered Tax + identifier + Identifier + tir114-p018 + PEPPOL-T114-R026 + + + cac:TaxScheme + Tax scheme + + cbc:ID + Tax scheme identifier. + Identifier + tir114-p003 + VAT + + + + + cac:PartyLegalEntity + Party legal entity + Legal information of the invoicee party + + cbc:RegistrationName + Invoicee's Legal registration name + The official name of the invoicee party as registered with the + relevant fiscal authority. + Text + tir114-159 + + + cbc:CompanyID + Company identifier + Identifies a company as registered with the company + registration scheme. + Identifier + tir114-158 + + schemeID + Buyer legal registration identifier identification scheme + identifier + The identification scheme identifier of the buyer legal + registration identifier. + ICD + 0002 + + 987654325 + + + cac:RegistrationAddress + Legal registration address + + cbc:CityName + City name + Associates with the registered address of the party within + a Corporate Registration Scheme. The name of a city, town, or + village. + Text + tir114-160 + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir114-161 + ISO3166 + NL + + + + + + cac:Contact + Contact + Invoicee contact information + + cbc:Name + Contact person name + The name of the contact person. + Text + tir114-p025 + + + cbc:Telephone + Contact telephone number + A phone number for the contact person. If the person has a + direct number, this is that number. + Text + tir114-p026 + + + cbc:ElectronicMail + Contact email address + The e-mail address for the contact person. If the person has a + direct e-mail this is that email. + Text + tir114-p027 + + + + + + cac:Delivery + Delivery information + + cac:DeliveryLocation + Delivery location + + cbc:ID + Delivery location ID + An identifer for the location to where the ordered items should be + delivered. + Identifier + tir114-169 + + schemeID + Deliver to location identifier identification scheme identifier + The identification scheme identifier of the Deliver to location + identifier. + ICD + 0088 + + 7300010000001 + + + cbc:Name + Delivery location name + A name of the location to where the ordered items should be + delivered. + Text + tir114-p028 + South side goods arrival dock + + + cac:Address + Delivery address + + cbc:StreetName + Address line 1 + The main address line in a postal address usually the street + name and number. + Text + tir114-092 + + + cbc:AdditionalStreetName + Address line 2 + An additional address line in a postal address that can be used + to give further details supplementing the main line. Common use are + secondary house number in a complex or in a building. + Text + tir114-093 + + + cbc:CityName + City + The common name of the city where the postal address is. The + name is written in full rather than as a code. + Text + tir114-096 + + + cbc:PostalZone + Post code + The identifier for an addressable group of properties according + to the relevant national postal service, such as a ZIP code or Post + Code. + Text + tir114-097 + + + cbc:CountrySubentity + Country subdivision + For specifying a region, county, state, province etc. within a + country by using text. + Text + tir114-144 + + + cac:AddressLine + Address line + + cbc:Line + Address line 3 + An additional address line in an address that can be used + to give further details supplementing the main line. + Text + tir114-p007 + Gate 34 + + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir114-098 + ISO3166 + NL + + + + + + cac:RequestedDeliveryPeriod + Requested delivery period + + cbc:StartDate + Period start date + The date on which the period starts. The start dates counts as part + of the period.Format ="YYYY-MM-DD" + Date + tir114-099 + + + cbc:StartTime + Period start time + The time on which the period starts.The start time counts as + part of the period. Format ="HH:MM:SS" + Time + tir114-140 + + + cbc:EndDate + Period end date + The date on which the period ends. The end date counts as part of + the period.Format ="YYYY-MM-DD" + Date + tir114-100 + + + cbc:EndTime + Period end time + The time on which the period ends.The end time counts as + part of the period. Format ="HH:MM:SS" + Time + tir114-141 + + + + cac:DeliveryParty + Delivery party + + cac:PartyIdentification + Party identification + Identification of the delivery party + + cbc:ID + Delivery party identifier + An identifier for the party that should deliver the ordered + items.In this BIS: The identifier of the party that should receive the + ordered items + tir114-101 + + schemeID + Deliver party registration identifier identification scheme + identifier + The identification scheme identifier of the deliverparty + identifier. + ICD + 0002 + + 987654325 + + + + cac:PartyName + Party name + + cbc:Name + Delivery party name + The name of the party that should handle the delivery.In this + BIS: The name of the party that should receive the + delivery + Text + tir114-102 + Delivery name + + + + cac:PostalAddress + Final Delivery address + The final address for the delivery + + cbc:StreetName + Address line 1 + The main address line in a postal address usually the street + name and number. + Text + tir114-p029 + + + cbc:AdditionalStreetName + Address line 2 + An additional address line in a postal address that can be used + to give further details supplementing the main line. Common use are + secondary house number in a complex or in a building. + Text + tir114-p030 + + + cbc:CityName + City + The common name of the city where the postal address is. The + name is written in full rather than as a code. + Text + tir114-p031 + + + cbc:PostalZone + Post code + The identifier for an addressable group of properties according + to the relevant national postal service, such as a ZIP code or Post + Code. + Text + tir114-p032 + + + cbc:CountrySubentity + Country subdivision + For specifying a region, county, state, province etc. within a + country by using text. + Text + tir114-p033 + + + cac:AddressLine + Address line + + cbc:Line + Address line 3 + An additional address line in an address that can be used + to give further details supplementing the main line. + Text + tir114-p034 + Gate 34 + + + + cac:Country + Country + + cbc:IdentificationCode + Country code + A code that identifies the country.The lists of valid + countries are registered with the ISO 3166-1 Maintenance agency, + "Codes for the representation of names of countries and their + subdivisions". Codes must be according to the alpha-2 + representation. + Code + tir-p035 + ISO3166 + NL + + + + + cac:Contact + Contact information + Contact information for the delivery party + + cbc:Name + Contact person name + The name of the contact person. + Text + tir114-103 + + + cbc:Telephone + Contact telephone number + A phone number for the contact person. If the person has a + direct number, this is that number. + Text + tir114-104 + + + cbc:ElectronicMail + Contact email address + The e-mail address for the contact person. If the person has a + direct e-mail this is that email. + Text + tir114-106 + + + + + cac:Shipment + Shipment + + cbc:ID + Shipment identifier + Element is mandated by syntax structure use value NA + + + cac:TransportHandlingUnit + Transport handling unit + + cbc:ShippingMarks + Packing label + A text that the buyer requests to be printed on the packing labels. + Text + tir114-p036 + Receiving instructions. + + + + + + cac:DeliveryTerms + Terms of delivery + + cbc:ID + Delivery terms identifier + Delivery terms identifier, normally Incoterms + Text + tir114-107 + FOB + + + cbc:SpecialTerms + Delivery special terms + A description of special conditions relating to the Delivery + Terms. + Text + tir114-108 + + + cac:DeliveryLocation + Delivery location information + + cbc:ID + Delivery terms location + The location to which the delivery terms refer. Used to qualify the + delivery terms e.g. "Terms of delivery are FOB Rotterdam" + Text + tir114-109 + Rotterdam + + + + + cac:PaymentTerms + Payment terms + + cbc:Note + Payment terms + Payment terms for the order described in text + Text + tir114-p010 + + + + cac:AllowanceCharge + Allowance and charge information + Allowances and charges for the order + + cbc:ChargeIndicator + AllowanceChargeIndicator + Indicator used to state if the following is an allowance or charge. + true = Charge, false = Allowance + Boolean + tir114-p002 + TrueFalse + false + + + cbc:AllowanceChargeReasonCode + Document level allowance or charge reason code + The reason for the document level allowance or charge, expressed as a + code. For allowances a subset of codelist UNCL5189 is to be used, and for + charges codelist UNCL7161 applies. The Document level allowance reason code and + the Document level allowance reason shall indicate the same allowance + reason + Code + UNCL5189 + UNCL7161 + PEPPOL-T114-R023 + tir114-p008 + 95 + + + cbc:AllowanceChargeReason + Allowance and charges reason + A textual reason for the allowance or the charge. Can also be its name. + The Document level allowance reason code and the Document level allowance reason + shall indicate the same allowance reason + Text + PEPPOL-T114-R023 + tir114-112 + + + cbc:MultiplierFactorNumeric + Document level allowance or charge percentage + The percentage that may be used, in conjunction with the document level + allowance base amount, to calculate the document level allowance or charge + amount. To state 20%, use value 20. + Percentage + PEPPOL-T114-R021 + tir114-p009 + 20 + + + cbc:Amount + Allowance and charge amount + The net amount of the allowance or the charge exluding + TAX. + Amount + tir114-113 + PEPPOL-T114-R022 + PEPPOL-T114-R028 + + currencyID + Currency identifier + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:BaseAmount + Document level allowance or charge base amount + The base amount that may be used, in conjunction with the document + level allowance or charge percentage, to calculate the document level allowance + or charge amount. Must be rounded to maximum 2 decimals + Amount + PEPPOL-T114-R020 + PEPPOL-T114-R028 + tir114-p010 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 1000 + + + cac:TaxCategory + Tax category + + cbc:ID + TAX category code + The TAX category code that applies to the document level allowance + or charge. + Code + UNCL5305 + tir114-p011 + S + + + cbc:Percent + TAX rate + The TAX rate, represented as percentage that applies to the + document level allowance or charge. As this element is of data type + percentage, please note that no %-sign should be used. To state 25 %, use + value 25.00 + Percentage + PEPPOL-T114-R029 + PEPPOL-T114-R030 + tir114-p012 + 25.00 + + + cac:TaxScheme + Tax scheme information + + cbc:ID + Tax scheme identifier. + Identifier + tir114-p013 + GST + + + + + + cac:TaxTotal + Tax total + Specification of expected tax amount + + cbc:TaxAmount + TAX total amount + The total TAX amount that is "added to the document total w/o TAX". + This is the sum of all TAX subcategory amounts. The expected Tax Total in the + corresponding invoice. + Amount + tir114-114 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + + cac:AnticipatedMonetaryTotal + Anticipated monetary total + Estimated total amounts for the order + + cbc:LineExtensionAmount + Sum of line amounts + Sum of line amounts in the document.The total of Line Extension Amounts + net of tax and settlement discounts. Must be rounded to maximum 2 + decimals. + Amount + tir114-115 + PEPPOL-T114-R007 + PEPPOL-T114-R008 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:TaxExclusiveAmount + Document total without TAX + The "Sum of line amounts" plus "sum of allowances on document level" + plus "sum of charges on document level". Must be rounded to maximum 2 + decimals. + Amount + tir114-145 + PEPPOL-T114-R011 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:TaxInclusiveAmount + Document total including TAX + The total value including TAX. Must be rounded to maximum 2 + decimals. + Amount + tir114-147 + PEPPOL-T114-R017 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:AllowanceTotalAmount + Sum of allowances on document level + Sum of all allowances on header level in the document. Allowances on + line level are included in the line amount and summed up into the "sum of line + amounts". Must be rounded to maximum 2 decimals. + Amount + tir114-116 + PEPPOL-T114-R009 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:ChargeTotalAmount + Sum of charges on document level + Sum of all charge on header level in the document. Charges on line + level are included in the line amount and summed up into the "sum of line + amounts". Must be rounded to maximum 2 decimals. + Amount + tir114-117 + PEPPOL-T114-R010 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:PrepaidAmount + Prepaid amounts + Any amounts that have been paid a-priory. Must be rounded to maximum 2 + decimals. + tir114-148 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:PayableRoundingAmount + Rounding of document total + The amount to be added to the total to round the amount to be paid. + Must be rounded to maximum 2 decimals. + Amount + tir114-146 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:PayableAmount + Payable amount + The amount that is expected to be paid. Must be rounded to maximum 2 + decimals. + Amount + tir114-118 + PEPPOL-T114-R006 + PEPPOL-T114-R016 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + + cac:OrderLine + Order line + Specification of order lines + + cbc:Note + Order line note + Free-form text applying to the Order Line. This element may contain + notes or any other similar information that is not contained explicitly in + another structure. Is to capture any free form description related to the order + line as a whole. + Text + tir114-123 + + + cac:LineItem + Line item + Description of line item + + cbc:ID + Line item identifier + Identifies the Line Item assigned by the buyer, the identifier must + be unique within the order. + Identifier + tir114-120 + PEPPOL-T114-R001 + 1 + + + cbc:LineStatusCode + Response code + A code that indicates status of the referenced order line + UNCL1229_CHANGE + 3 + + + cbc:Quantity + Ordered quantity + The quantity of Items for the Line Item. The quantity for the order + line. + Quantity + tir114-132 + PEPPOL-T114-R004 + PEPPOL-T114-R013 + + unitCode + Ordered quantity unit of measure + The unit of measure that applies to the ordered + quantity. + Code + UNECERec20 + C62 + + 10 + + + cbc:LineExtensionAmount + Order line amount + The total amount for the Line Item, including Allowance Charges but + net of taxes. The expected line amount excluding TAX but inclusive of other + charges, allowances and taxes. + Amount + tir114-128 + PEPPOL-T114-R024 + PEPPOL-T114-R028 + + currencyID + Currency identifier, value must be the same as what is used in + tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:PartialDeliveryIndicator + Partial delivery indicator + Indicates if the line items must be delivered in a single shipment. + Default is that partial delivery is allowed (true) + Boolean + tir114-124 + TrueFalse + true + + + cbc:AccountingCost + Buyers accounting string + The buyer's accounting information applied to the Line Item, + expressed as text. + Text + tir114-125 + + + cac:Delivery + Line delivery information + Delivery information for the order line + + cbc:ID + Delivery location ID + An identifer for the location to where the ordered line item should be delivered. + Identifier + tir114-p037 + + schemeID + Deliver to location identifier identification scheme identifier + The identification scheme identifier of the Deliver to location identifier. + ICD + 0088 + + 7300010000001 + + + cac:RequestedDeliveryPeriod + Order line requested delivery period + Requested delivery period for the order line + + cbc:StartDate + Period start date + The date on which the period starts. The start dates counts + as part of the period. Format ="YYYY-MM-DD" + Date + tir114-126 + 2022-02-15 + + + cbc:StartTime + Period start time + The time on which the period starts.The start time counts as + part of the period. Format ="HH:MM:SS" + Time + tir114-142 + 00:00:00 + + + cbc:EndDate + Period end date + The date on which the period ends. The end date counts as + part of the period.Format ="YYYY-MM-DD" + Date + tir114-127 + 2022-03-01 + + + cbc:EndTime + Period end time + The time on which the period ends.The end time counts as + part of the period. Format ="HH:MM:SS" + Time + tir114-143 + 22:00:00 + + + + + cac:OriginatorParty + Originator information + Information regarding the originator of the order line + + cac:PartyIdentification + Party identification + Identification of the originator + + cbc:ID + Order line originator party ID + The party who originated Order. + tir114-121 + + schemeID + Scheme identifier + Scheme identifier for party + identification + ICD + 0088 + + 7300010000001 + + + + cac:PartyName + Party name + Name of the originator + + cbc:Name + Order line originator party name + The party who originated Order. + Text + tir114-122 + Originator name + + + + + cac:AllowanceCharge + Order line allowance and charges + A group of business terms providing information about allowances or + charges applicable to the individual order line. + + cbc:ChargeIndicator + Use “true” when informing about Charges and “false” when + informing about Allowances + tir114-p014 + false + + + cbc:AllowanceChargeReasonCode + Line level allowance or charge reason code + The reason for the line level allowance or charge, expressed as + a code. For allowances a subset of codelist UNCL5189 is to be used, and + for charges codelist UNCL7161 applies. The Document level allowance + reason code and the Document level allowance reason shall indicate the + same allowance reason + Code + UNCL5189 + UNCL7161 + PEPPOL-T114-R023 + tir114-p015 + 95 + + + cbc:AllowanceChargeReason + Line level allowance or charge reason + The reason for the line level allowance or charge, expressed as + text. The Document level allowance reason code and the Document level + allowance reason shall indicate the same allowance reason + Text + PEPPOL-T114-R023 + tir114-p016 + Discount + + + cbc:MultiplierFactorNumeric + Line level allowance or charge percentage + The percentage that may be used, in conjunction with the line + level allowance base amount, to calculate the line level allowance or + charge amount. + Percentage + PEPPOL-T114-R021 + tir114-p017 + 20 + + + cbc:Amount + Line level allowance or charge amount + The amount of an allowance or a charge, without TAX. Must be + rounded to maximum 2 decimals + Amount + PEPPOL-T114-R022 + PEPPOL-T114-R028 + tir114-p018 + + currencyID + Currency identifier, value must be the same as what is used + in tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:BaseAmount + Line level allowance or charge base amount + The base amount that may be used, in conjunction with the line + level allowance or charge percentage, to calculate the line level + allowance or charge amount. Must be rounded to maximum 2 decimals + Amount + PEPPOL-T114-R020 + PEPPOL-T114-R028 + tir114-p019 + + currencyID + Currency identifier, value must be the same as what is used + in tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 1000 + + + + cac:Price + Price information + + cbc:PriceAmount + Item price + The net price of the item including all allowances, charges and + taxes but exluding TAX. Although price is an optional element in an + order it recommended as best practice to either state the price or + provide reference to an appropriate source from which the price can be + identified such as a contract, catalogue or a quote. + Price amount + tir114-130 + PEPPOL-T114-R005 + PEPPOL-T114-R019 + + currencyID + Currency identifier, value must be the same as what is used + in tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 211.124 + + + cbc:BaseQuantity + Item price base quantity + The actual quantity to which the price applies. + tir114-131 + PEPPOL-T114-R025 + + unitCode + Base quantity unit of measure + The unit of measure that applies to the base + quantity. + Code + UNECERec20 + C62 + + 1 + + + cac:AllowanceCharge + Price discount information + Information on discounts connected to the price + + cbc:ChargeIndicator + AllowanceChargeIndicator + Only discounts are allowed for the price, hence the only + valid value is false (meaning an allowance) + Boolean + tir114-p004 + false + + + cbc:Amount + Discount amount + Discount amount connected to the price + Price amount + tir114-p006 + + currencyID + Currency identifier, value must be the same as what is + used in tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + cbc:BaseAmount + Item list price + The gross price of the item before subtracting discounts. + E.g. list price. + Price amount + tir114-152 + PEPPOL-T114-R027 + + currencyID + Currency identifier, value must be the same as what is + used in tir114-007, DocumentCurrencyCode. + ISO4217 + PEPPOL-T114-R003 + EUR + + 200 + + + + + cac:Item + Item information + + cbc:Description + Item description + Free-form field that can be used to give a text description of + the item. A detailed description of the item. + Text + tir114-133 + + + cbc:Name + Item name + A short name for an item. A short name given to an + item, such as a name from a Catalogue, as distinct from a + description. + Text + tir114-135 + + + cac:BuyersItemIdentification + Buyers item identification + + cbc:ID + Buyers item identifier + An identifier, assigned by the buyer, for the + item. Associates the item with its identification according to the + buyer's system. + Identifier + tir114-p022 + abc32432 + + + + cac:SellersItemIdentification + Sellers item identification + + cbc:ID + The Sellers item identifier + An identifier, assigned by the seller, for the + item. Associates the item with its identification according to the + seller's system. + Identifier + tir114-p020 + 3249834 + + + + cac:StandardItemIdentification + Standard item identification + + cbc:ID + Item standard identifier + An item identifier based on a registered scheme. Associates + the item with its identification according to a standard system. + Identifier + tir114-136 + + schemeID + Item standard identifier identification scheme identifier + The identification scheme identifier of the Item standard identifier + ICD + 0192 + + 987654325 + + + + cac:ItemSpecificationDocumentReference + Item specification reference + Referece to an item specification document + + cbc:ID + Document reference identifier + Reference to an external document (ID) when it is necessary + to specify the details of the item. + Document reference + tir114-p007 + doc4353.pdf + + + + cac:CommodityClassification + Commodity classification information + + cbc:ItemClassificationCode + Item classification code + A code for classifying the item by its type or nature. + Classification codes are used to allow grouping of similar items for + a various purposes e.g. public procurement (CPV), e-Commerce + (UNSPSC) etc. + Code + tir114-149 + + listID + Item classification identifier identification scheme + identifier + The identification scheme identifier of the Item + classification identifier + UNCL7143 + STI + + + listVersionID + Item classification identifier version identification scheme + identifier + The identification scheme version identifier of the + Item classification identifier + + + name + Clear text name equivalent of classification code + The textual equivalent of the code value + Office furniture + + 9873242 + + + + cac:ClassifiedTaxCategory + Line TAX information + + cbc:ID + Item TAX category code + The TAX category code for the item. + Code + tir114-150 + UNCL5305 + S + + + cbc:Percent + Line TAX rate + The TAX percentage rate that applies to the line + amount. + Percentage + tir114-170 + PEPPOL-T114-R029 + PEPPOL-T114-R030 + 25 + + + cac:TaxScheme + Tax scheme information + + cbc:ID + Tax scheme. + Identifier + tir114-p021 + VAT + + + + + cac:AdditionalItemProperty + Additional item property information + A group of business terms providing information about properties of the goods and services invoiced. + + cbc:Name + Item property name + The name of the property.The name must be sufficiently + descriptive to define the value. The definition may be supplemented + with the property unit of measure when relevant. + Text + tir114-138 + Color + + + cbc:NameCode + Item property code + Code for the item property according to a property code system. + Code + tir114-p024 + + listID + Name code list id. + An identifier for the code list used for the Name code, this is bilaterally agreed + + + + cbc:Value + Item property value + The value of the item property. + Text + tir114-139 + Red + + + cbc:ValueQuantity + Item property unit of measure + The unit of measure in which the property value is stated, + if relevant. May not be relevant when properties are + descriptive. + Quantity + tir114-p020 + + unitCode + Value quantity unit of measure + The unit of measure that applies to the value + quantity. + Code + UNECERec20 + C62 + + 10 + + + cbc:ValueQualifier + Property classification + Standardized and predefined classification of items properties. + Text + tir114-p021 + + + + cac:ItemInstance + Item instance information + Information relevant to an item instance or shared by the items + in the order line. + + cbc:SerialID + Item serial identification + An identifier that is specific to the items in the order + line. + tir114-p023 + + + cac:LotIdentification + Item lot information + Information about the production lot which the order line + items come from. + + cbc:LotNumberID + Item lot identifier + An identifier for the production lot which the order + line items come from. + tir114-p022 + + + + + + + + diff --git a/structure/syntax/ubl-order-response-advanced.xml b/structure/syntax/ubl-order-response-advanced.xml new file mode 100644 index 00000000..7d957db0 --- /dev/null +++ b/structure/syntax/ubl-order-response-advanced.xml @@ -0,0 +1,708 @@ + + + OrderResponseAdvanced + PEPPOL-T116 + T116-basic + urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2 + urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 + + ubl:OrderResponse + + cbc:CustomizationID + Specification identification + Identifies the specification of content and rules that apply to the + transaction. + Identifier + tir116-001 + urn:fdc:peppol.eu:poacc:trns:order_response:3 + + + cbc:ProfileID + Business process type identifier + Identifies the BII profile or business process context in which the + transaction appears. + Identifier + tir116-002 + urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 + + + cbc:ID + Order response identifier + A transaction instance must have an identifier. The identifier enables + referencing the transaction for various purposes such as from other transactions + that are part of the same process. + Identifier + tir116-003 + or0987 + + + cbc:SalesOrderID + Sales order reference + An identifier of a referenced sales order, issued by the Seller. + Document Reference + tir116-p007 + 112233 + + + cbc:IssueDate + Order response issue date + The date on which the transaction instance was issued. + Date + tir116-004 + 2018-05-15 + + + cbc:IssueTime + Order response issue time + The time on which the transaction instance was issued + Time + tir116-005 + 09:23:56 + + + cbc:OrderResponseCode + Response code + A code that indicates whether the referenced order has been received and not yet processed, + or is Accepted or Rejected as whole, alternatively, Accepted with change or already delivered.If response code is Accept or + Reject there may not be any response lines. + Code + tir116-200 + UNCL4343-T76 + AP + + + cbc:Note + Response clarification + Clarification of the suppliers decision. + Text + tir116-006 + + + cbc:DocumentCurrencyCode + Document currency + The default currency for the offer. + tir116-007 + ISO4217 + EUR + + + cbc:CustomerReference + Buyer reference identifier + An identifier assigned by the Buyer used for internal routing purposes.The + identifier is defined by the buyer (contact ID, department, office id, project + code), but provided by the seller in the order response. + Identifier + tir110-044 + abc123 + + + cac:OrderReference + Order reference + + cbc:ID + Order document reference + Used to reference the order that is being responded to. + Document reference + tir116-011 + o-23424 + + + + cac:OrderChangeDocumentReference + Order change reference + + cbc:ID + Order change document reference + Used to reference the order change that is being responded to. + Document reference + tir116-208 + c-23424 + + + + cac:SellerSupplierParty + Seller information + + cac:Party + Description of seller + + cbc:EndpointID + Seller party electronic address + Identifies the seller party's electronic address + Identifier + tir116-058 + + schemeID + Scheme identifier + Scheme identifier for the electronic address + eas + 0088 + + 7300010000001 + + + cac:PartyIdentification + Seller identification + PEPPOL-T116-R002 + + cbc:ID + Seller party identification + Identifies a party. + Identifier + tir116-059 + + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0184 + + DK88777654 + + + + + cac:PartyLegalEntity + Name of seller + PEPPOL-T116-R002 + + + cbc:RegistrationName + Seller party name + The name of the party. + Text + tir116-060 + Seller Inc. + + + + + + + cac:BuyerCustomerParty + Buyer information + + cac:Party + Description of buyer + + cbc:EndpointID + Buyer party electronic address + Identifies the buyer party's electronic address + Identifier + tir116-021 + + schemeID + Scheme identifier + Scheme identifier for the electronic address + eas + 0088 + + 7300010000001 + + + cac:PartyIdentification + Buyer identification + PEPPOL-T116-R001 + + cbc:ID + Buyer party identification + An identification for the buyer party. + tir116-022 + + + + schemeID + Scheme identifier + Scheme identifier for party identification + ICD + 0184 + + DK88777654 + + + + + cac:PartyLegalEntity + Party name + PEPPOL-T116-R001 + + + cbc:RegistrationName + Buyer party name + The name of the party who ordered the items and receives the + response. + Text + tir116-023 + PEPPOL-T116-R001 + Buyer name + + + + + + + cac:Delivery + Delivery information + + cac:PromisedDeliveryPeriod + Promised delivery period + + cbc:StartDate + Period start date + The date on which the period starts. The start dates counts as + part of the period. + date + tir116-099 + PEPPOL-T116-R004 + 2018-06-01 + + + cbc:StartTime + Period start time + The time on which the period starts. The start time + counts as part of the period. + Time + tir116-202 + 22:00:00 + + + cbc:EndDate + Period end date + The date on which the period ends. The end date counts as part of + the period. + Date + tir116-100 + PEPPOL-T116-R004 + 2018-06-30 + + + cbc:EndTime + Period end time + The time on which the period ends. The end time + counts as part of the period. + Time + tir116-203 + 24:00:00 + + + + + cac:OrderLine + Specification of order lines + + cac:LineItem + Description of line item + + cbc:ID + Document line identifier + Identifies the response line. Each order response line MUST be unique within the order response. + Identifier + tir116-120 + PEPPOL-T116-R003 + 3 + + + cbc:Note + Response clarification + Clarifacation of the suppliers decision for the + line. + Text + tir116-204 + Please note our offices are closed in July, all orders received will be processed in August + + + cbc:LineStatusCode + Response code + A code that indicates whether the referenced order line as whole + is Accepted or Rejected or, alternatively, Accepted with + change. + tir116-202 + UNCL1229 + 3 + + + cbc:Quantity + Quantity + The quantity of items that will be delivered. + Quantity + tir116-132 + + unitCode + Ordered quantity unit of measure + The unit of measure that applies to the ordered quantity. + Code + UNECERec20 + C62 + + 10 + + + cbc:MaximumBackorderQuantity + Maximum backorder quantity + The quantity of items that will be delivered at a later time. + A unit for the backordered quantity is the same as for the Quantity. + If none of the remaining quantity for the response line is to be delivered, use 0 "zero". + Quantity + tir116-p005 + 3 + + + cac:Delivery + Delivery information + + cac:PromisedDeliveryPeriod + Delivery period + + cbc:StartDate + Period start date + The date on which the period starts. The start dates + counts as part of the period. + Date + tir116-126 + PEPPOL-T116-R004 + 2018-05-28 + + + cbc:StartTime + Period start time + The time on which the period starts. The start time + counts as part of the period. + Time + tir116-204 + 22:00:00 + + + cbc:EndDate + Period end date + The date on which the period ends. The end date counts as + part of the period. + Date + tir116-127 + PEPPOL-T116-R004 + 2018-05-29 + + + cbc:EndTime + Period end time + The time on which the period ends. The end time + counts as part of the period. + Time + tir116-205 + 24:00:00 + + + + + cac:Price + Price information + + cbc:PriceAmount + Item price + The net price of an item including discounts or surcharges + that apply to the price.Although price is an optional element in an + offer it recommended as best practice to either state the price or + provide reference to an appropriate source from which the price can be + identified such as a contract, catalogue or a quote.. The price amount. + The net price of the item including all allowances, charges and taxes + but exluding TAX. + Price amount + tir116-130 + + currencyID + Currency identifier, must have the same value as element "Document currency". + ISO4217 + PEPPOL-T116-R004 + EUR + + 1000.00 + + + cbc:BaseQuantity + Item price base quantity + The actual quantity to which the price applies. + Quantity + tir116-131 + + unitCode + Base quantity unit of measure + The unit of measure that applies to the base quantity. + Code + UNECERec20 + C62 + + 2 + + + + cac:Item + Item information + + cbc:Name + Item name + A short name given to an item, such as a name from + a Catalogue, as distinct from a description. A short name for the + item. + Text + tir116-205 + Copy paper, 500 sheets + + + cac:BuyersItemIdentification + Buyer item identification + + + cbc:ID + Buyers item identifier + An identifier, assigned by the buyer, for the + item. Associates the item with its identification according to the + buyer's system. + Identifier + tir116-p006 + 111111 + + + + + cac:SellersItemIdentification + Sellers item identification + + cbc:ID + The Sellers item identifier + An identifier, assigned by the seller, for the + item. Associates the item with its identification according to the + seller's system. + Identifier + tir116-206 + + 3249834 + + + + cac:StandardItemIdentification + Standard item identification + + cbc:ID + Item standard identifier + An item identifier based on a registered scheme. Associates + the item with its identification according to a standard system. + Identifier + tir116-207 + + + schemeID + Item standard identifier identification scheme identifier + The identification scheme identifier of the Item standard identifier + ICD + 0160 + + 05704066204093 + + + + + + + cac:SellerSubstitutedLineItem + Substituted line item by the seller + + cbc:ID + Substituted Line Item Identifier + Identifier of the substituted line item + tir116-p002 + 3 + + + cac:Item + Item information + + cbc:Name + Item name + A short name optionally given to an item, such as a name from + a Catalogue, as distinct from a description. A short name for the + item. + Text + tir116-134 + Copy paper, 1000 sheets + + + cac:SellersItemIdentification + Sellers item identification + + cbc:ID + Sellers item identifier + An identifier, assigned by the seller, for the + item. Associates the item with its identification according to the + seller's system. + Identifier + tir116-135 + 3249834 + + + + cac:StandardItemIdentification + Standard item identification + + cbc:ID + Item standard identifier + An item identifier based on a registered scheme. Associates + the item with its identification according to a standard system. + Identifier + tir116-136 + + schemeID + Item standard identifier identification scheme identifier + The identification scheme identifier of the Item standard identifier + ICD + 0160 + + 87463294723134124 + + + + cac:CommodityClassification + Commodity classification information + + cbc:ItemClassificationCode + Item classification code + A code for classifying the item by its type or nature. Classification codes are used to + allow grouping of similar items for a various purposes e.g. public + procurement (CPV), e-Commerce (UNSPSC) etc. + Code + tir116-149 + + listID + Item classification identifier identification scheme identifier + The identification scheme identifier of the Item classification identifier + UNCL7143 + MP + + + listVersionID + Item classification identifier version identification scheme identifier + The identification scheme version identifier of the Item classification identifier + 20.0601 + + + name + Clear text name equivalent of classification code + The textual equivalent of the code value + Office furniture + + + + + + cac:ClassifiedTaxCategory + Line TAX information + + cbc:ID + Item TAX category code + The TAX category code for the item. + Code + tir116-150 + + UNCL5305 + S + + + cbc:Percent + Line TAX rate + The TAX percentage rate that applies to the line + amount. + Percentage + tir04-170 + 25 + + + cac:TaxScheme + Tax scheme information + + cbc:ID + Tax scheme. E.g. “VAT” or “GST” + Identifier + tir116-p003 + GST + + + + + cac:AdditionalItemProperty + Additional item property information + A group of business terms providing information about properties of the goods and services invoiced. + + cbc:Name + Item property name + The name of the property.The name must be sufficiently + descriptive to define the value. The definition may be supplemented + with the property unit of measure when relevant. + Text + tir116-138 + Color + + + cbc:NameCode + Item property code + Code for the item property according to a property code system. + Code + tir116-p004 + + listID + Name code list id. + An identifier for the code list used for the Name code, this is bilaterally agreed + + + + cbc:Value + Item property value + The value of the item property. + Text + tir116-139 + Red + + + cbc:ValueQuantity + Item property unit of measure + The unit of measure in which the property value is stated, + if relevant. May not be relevant when properties are + descriptive. + Quantity + tir116-p008 + + + unitCode + Value quantity unit of measure + The unit of measure that applies to the value quantity. + Code + UNECERec20 + NAR + + 2 + + + cbc:ValueQualifier + Property classification + Standardized and predefined classification of items properties. + Text + tir116-p009 + + + + + + cac:OrderLineReference + Reference to order line + + cbc:LineID + Order line reference + Used to reference the initial order line that correspondes to the + response.All order lines should be stated when an order is changed. + tir116-201 + + 34 + + + + +