For our absent friend, Michael J. Adcock - il miglior fabbro
Lisa Seaburg, Aeon LLC <lseaburg@aeon-llc.com>
{Describe the status and stability of the specification here.}
If you are on the <ubl@lists.oasis-open.org> list for committee members, send comments there. If you are not on that list, subscribe to the <ubl-comment@lists.oasis-open.org> list and send comments there. To subscribe, send an email message to <ubl-comment-request@lists.oasis-open.org> with the word "subscribe" as the body of the message.
{If a Committee Specification or OASIS Standard:} The errata page for this specification is at http://www.oasis-open.org/committees/ubl/{yyy}.
Copyright © 2003 OASIS Open, Inc. All Rights Reserved.
XML was designed to specify multiple data formats optimized for different data exchange applications. So the recent explosion of XML specifications resulting from the efforts of industry associations to develop domain-specific markup languages is neither unexpected nor detrimental. In one area, however, these otherwise beneficial XML industry initiatives are creating interoperability problems and impeding the development of inexpensive software. That area is the specification of XML schemas for common business documents such as purchase orders and invoices.
While different industries frequently do have slightly different requirements for these common business forms, their similarities far outweigh their differences, and most of the work devoted to the design of these forms in each industry segment is simply wasted effort that would better be deployed in work on XML schemas for the data that is truly specific to a given industry. The goal of UBL is to standardize XML schemas for common business documents so that industry organizations can concentrate on the part of the data interchange problem in which they have special expertise and truly divergent needs.
We hope the arrival of a standard set of XML business schemas will solve major interoperability problems for both vendors and users and speed the entry of small and medium-size businesses into the electronic marketplace. The OASIS UBL (Universal Business Language) defines a set of XML building blocks together with a framework that will enable trading partners to unambiguously identify and exchange basic e-commerce documents in specific business contexts. It initially provides a common XML library for basic business documents for a typical procurement ("order to payment") business process.
Significantly, UBL leverages knowledge from existing EDI and XML B2B systems. It is user-driven, with deep experience and partnership resources to call on. Our goal is to unite and harmonize a number of currently existing XML and EDI business libraries into a set of internationally legally recognized international standards. We are committed to truly global trade and information interoperability. UBL will be freely available to everyone without legal encumbrance or licensing fees.
The design of UBL schemas is modular, reusable, and extensible in XML-aware ways. The UBL Library has been designed as a collection of object classes, their properties and associations expressed as a conceptual model. We call these components business information entities (BIES). The analysis and design processes used by the UBL Library Content team are described in Annex A. These business information entities (BIES) are assembled into a specific hierarchical, document structures, such as an Order or an Invoice. These document models are then transformed based upon specific UBL Naming and Design rules [NDR] into XML Schema syntax [XSD1][XSD2]. By publishing the models, methodology and rules for schema creation, we hope that UBL components will also be used to assemble new and customised document structures. UBL is designed to be layered on existing successful standards. For example, the ebXML infrastructure developed by OASIS and the UN/CEFACT provides for XML registry services, reliable XML messaging, standardized trading partner agreements, a standard data dictonary, and a business process methodology. UBL provides an XML implementation of Electronic Business XML (ebXML) Core Components that provide the data content to this framework. In addition, UBL re-usable components and even entire UBL document schemas are usable in a wide variety of other ecommerce frameworks, for example as the content for Web Services.
This release, known as UBL 1.0 Beta, is provided to enable trial implementations of UBL in realistic business environments. Subsequent to this release will be the submission of this specification to OASIS as a Committee Draft suitable for approval as a Tehcnical Specification. The downloadable version of this release is available here: UBLv10-alpha Downloadable Release. (This is a zip file that will unpack to give you a replica of the online release directories.)
If there are any problems with the links in this document, you can find the full online version at http://www.oasis-open.org/committees/ubl/lcsc/UBLv10-alpha/ . [[NB this cannot be the OASIS web site]]
Support for this release is available via the UBL discussion list or by email to the Library Content Subcommittee Editor, Bill Meadows This support period applies from Friday, October 31, 2003 until Monday, January 19th, 2004.
In addition, we welcome any comments and suggestions arising from any trial implementations.
The work of the OASIS UBL Technical Committee is open to public view through the mail archives linked from the UBL home page: http://www.oasis-open.org/home/index.php [[ there is anew URL
Formal input to UBL from industry data exchange organizations is provided through the UBL Liaison Subcommittee: http://oasis-open.org/committees/ubl/lsc/
Input from the general public is accepted through the ubl-comment mail list: http://lists.oasis-open.org/archives/ubl-comment/ [[ NB This is going to disappear soon ]]
Interested parties are invited to comment on the work of the UBL TC by subscribing to the ubl-comment list using the OASIS list manager: http://lists.oasis-open.org/ob/adm.pl
The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY and OPTIONAL, when they appear in this document, are to be interpreted as described in [RFC2119] as quoted here:
This document and its associated components are Copyright © 2003 OASIS and are protected by applicable law as works in progress within the OASIS Universal Business Language Technical Committee. As works in progress, they do not yet have the status of an OASIS Standard or an OASIS Committee Specification. This draft and its associated components are provided on a royalty-free basis and may be freely circulated for purposes of experimentation and review. While the construction of experimental prototypes based on these materials is encouraged for the purpose of generating input back to the committee process, implementers are strongly advised against basing commercial or mission-critical applications on the draft specifications contained in this package. THESE MATERIALS ARE FURNISHED WITH NO WARRANTY, EXPRESS OR IMPLIED, AS TO THEIR SUITABILITY FOR ANY APPLICATION.
The Library Content part of UBL specifies a library of business information entities to be used in the construction of business documents together with a set of common XML business documents assembled from those entities.
This document contains normative and non-normative references used by UBL: the context scenario and business rules used to construct the business models and business documents; and the schema instances of the business documents.
The terms Core Component and Business Information Entity are used in this specification with the meanings given in [CCTS].
The terms Object Class, Property, Representation Term, and Qualifier are used in this specification with the meanings given in [ISO11179].
The specific context adopted for UBL 1.0 is based on a typical trading cycle- that of procurement. We have used this context as a means of developing a set of common, re-usable Business Information Entities and their accompanying document definitions.
This section describes the scenario, business rules, transactions and choreography of a rudimentary order-to-payment business process. A set of UBL documents have been assembled to demonstrate the information exchanges required by these transactions. We have adopted an 80/20 rule for this scenario - recognising this is not the definitive description of this process but a generalised case.
Of course, this is not the entire scope of the UBL Library. The components and their documents can also be used as a basis for extension to create more function-rich, but separately defined, scenarios. As this occurs, we envisage that this section will become part of a registry of available business processes from different, complementary sources.
This model addresses the requirements of a basic, usable trading cycle from Order to Invoice between Buyer and Seller. It includes specifications for:

Figure 1. Order-to-Payment Business Process
An Identifier identifies each Item (e.g. a product identifier), which shall be one of the following:
The Item Identification assumes that each different packaging of an Item (e.g. a 6-pack and a 12-pack of the same item) has a different Item Identifier.
The Item may be further distinguished by the specification of Measurement(s) or Physical Attribute(s). This enables specification of the following kinds of item:
This is an item that is not identified by an unambiguous, machine processable, product code and where it is necessary to provide additional descriptive information about the item to precisely identify what is required.
This is an item that the customer describes according to his need, and in the specification of which the customer may make some reference to comparable "standard" items.
This is an item in which it is necessary to specify one or more measurements as part of the descriptive specification of the item.
For an Item, price ranges by amount, quantity, etc. are not repeated back to the Seller; only the active price is specified. The Buyer may not know the Item Base Price, in which case it is not specified. This makes a detailed response from the Seller necessary [See Order Response (Complex)].
Ordered items may include Hazardous items, insofar as it is not necessary to specify related information at the order stage. The Buyer may not be aware of the nature of the Item. Indication of the Hazardous nature of the Item, and any relevant information, would be indicated in the Despatch Advice.
The Order may specify Charge Payment (e.g. freight, documentation etc) instructions that identify the type of charge and who pays which charges. The Order can be placed 'on account' against a trading credit account held by the Seller, or against a credit/debit card account, or a direct debit agreement. The Order overall allows only for specification of Currency (e.g. £, $, € etc by ISO currency code) for Pricing, for Invoice presentation, for Tax accounting. In the case of International freight/documentation charges, it may also be necessary to specify the Currency.
Trade discount may be specified at Order level. The Buyer may not know the trade discount, in which case it is not specified. This makes a detailed response from the Seller necessary [See Order Response (Complex)].
The Order may specify delivery terms and constraints that apply for the delivery location in relation to the following information that would normally not appear until the Despatch Advice:
The Order provides for multiple Order Lines.
Each Order Line provides for specification of a single place of delivery, and a schedule of quantities and requested delivery dates.
The Order may specify delivery terms, while the Order Line may provide instructions for delivery.
The Buyer may indicate potential alternatives that are acceptable. For each Order Line, an Alternative Item can be included. The Alternative Item may be specified by any one of the range of Item identifiers. For example, the specified Quantity may change e.g. 20x6-packs as an alternative to 10x12-packs.
The Order Response (simple) is the means by which the Seller confirms receipt of the Order from the Buyer, indicating either commitment to fulfill without change or that the Order has been rejected.
Proposed changes by the Seller would be accomplished through the OrderResponse (Complex).
The Order Response (complex) is a complete replacement of the Order. It reflects the entire state of the order transaction. It also is the means by which the Seller confirms or supplies Order-related details to the Buyer that were not available to, or specified by, the Buyer at the time of ordering. These may include:
The Seller may advise replacements or substitutes which will be made, or changes necessary, using the Order Response (complex). The Substitute or Replacement Item may be specified by any one of the range of Item identifiers. For example, the specified Quantity may change e.g. 20x6-packs as a replacement for 10x12-packs.
The Buyer can change an Order, subject to the legal contract or trading partner agreement, by sending an OrderChange, or by sending an Order Cancellation followed by a new, complete replacement, Order.
An Order Change reflects the entire state of the order transaction.
Buyers can initiate a change to a previously accepted order. Buyers may change an order for various reasons such as changing the ordered items, quantity, delivery date, ship-to address, etc. Suppliers can accept or reject the change order using either Order Response documents.
At any point of the process, a Buyer can cancel an active order transaction using the Order Cancellation document. Legal contracts, trading partner agreements and business rules would restrict at what point a Order Cancellation would be ignored (e.g. at the point of manufacture or delivery process initiation). Given the agreements and rules, an Order Cancellation may or may not be an automated business transaction. The terms and conditions of a contract formation for business commitments will dictate what if any of these restrictions and/or guidelines will apply.
The following information may appear in the Despatch Advice:
The Despatch Advice caters for two situations:
Additionally, in either case, the Despatch Advice can advise:
Despatch Lines of the Despatch Advice may not correspond one-to-one with Order Lines, but these need to be linked by reference. The information structure of the Despatch Advice, geared to physical considerations, may result in multiple Despatch Lines from one Order Line. Equally, partial despatch may result in some Order Lines not being matched by any Line in a Despatch Advice.
Within a Despatch Advice, an Item may also indicate the Country of Origin and the Hazardous nature of the Item.
The Receipt Advice is sent by the Receiver (Buyer) to the Seller to confirm receipt of items, and is capable of reporting shortages and/or damaged items.
The Receipt Advice caters for two situations. For ease of processing claimed receipt against claimed delivery, it needs to be organised in the same way as the matching Despatch Advice:
The Receipt Advice allows the Receiver to state any shortages from the claimed despatch quantity, to state any quantities rejected for a given reason.
As presently arranged the Receipt Line only allows for one rejection quantity and reason. However, any rejection of quantities of same item for different reasons could be achieved by subdividing the Receipt Line so that there are multiple Receipt Lines to one Despatch Line.
The Invoice is normally issued on the basis of one despatch event triggering one invoice. An Invoice may also be issued for pre-payment on a whole or partial basis. The possibilities are:
The invoice only contains the information that is necessary for invoicing purposes. It does not re-iterate information already established in the Order, Order Change, Order Response (complex), Despatch Advice, or Receipt Advice that is not necessary when invoicing. The Invoice refers to the Order, Despatch Advice or Receipt Advice by a Reference of those documents.
Taxation on the Invoice allows for compound taxes, the sequence of calculation implied by the sequence of information repeated in the data-stream. (e.g., Energy tax, with VAT — Value Added Tax — superimposed).
Charges can be specified either as a lump sum, or by percentage applied to the whole Invoice value prior to calculation of taxes. Such charges cover:
The present Invoice does not cover Debit and Credit Notes. Nor does the cycle include a Customer Account Statement that summarises Invoices, Credit Notes and Debit Notes to be paid.
Each Invoice Line refers to the related Order Line and may refer to the Despatch Advice Line and/or Receipt Advice Line.
Different business scenarios to meet different ways of trading cycle operation can, and should, be developed by separate, appropriate teams of business experts. Ideally they should take advantage of the basic UBL model as a starting point and as an exemplar. However, part of the UBL charter is to develop a context methodology which will formalize the way that documents for other scenarios can be implementated. When this is in place as part of UBL 2.0 it will ensure interoperability, reduce ambiguity, and avoid unnecessary overlap. Meanwhile we encourage the UBL community to share their customisation and developments, both to improve the quality of the underlying library and provide valuable input into the UBL context methodology work.
For example within the procurement domain, suggested other scenarios include situations of:
Need text here.
Annex A contains the UBL Conceptual model.
Annex B contains the hierarchical document structures assembled from this model. The non-normative UBL document models contain enough meta-data to allow the automatic generation of XML Schemas based on the UBL Naming and Design Rules.
Ken Holman is going to put this together.
The conceptual data model describes all the Object Classes, Properties and Associations involved in a general trade procurement process, as defined by Section 5 of this Specification.
This data model is presented graphically as a UML Class diagram.
Figure 2. UBL Conceptual Class Diagram
Note that this model does not represent any specific document type. It is a conceptual view of all the necessary information components involved in any of the UBL document types. All the current UBL document types were derived using object classes and associations taken from this model.
All Business Documents are defined in their individual spreadsheets, each references the Re-usable Component Library spreadsheet.
These are provided in both Microsoft(R) Excel (.xls) and Open Office formats (.svc).
Class diagrams for the UBL documents are referenced through the identifiers below.
These are provided in both GIF and PDF formats.
The XSD schema for the UBL Business documents are contained in the XSD directory in the Release.
Descriptive text goes here.
All Business Documents are defined in their individual spreadsheets, which reference the Re-usable Component Library spreadsheet:
These UML class diagrams were automatically reverse engineered and generated from the XML Schemas included in this distribution. Note that an attribute in a UML class does not necessarily correspond to an attribute in the XML Schema. When creating the diagram, any child element within XML content is mapped to a UML attribute if either: (a) the element has a simpleType primitive value, or (b) the element's type is a complexType with simpleContent (i.e. the type extends a simpleType). This produces the most useful diagram for reviewing the semantic information model represented by the schema.
Class diagrams for the UBL documents are referenced through the identifiers below.
This section is a placeholder for supplemental materials. In the current review cycle some are included below. We expect others, such sample instances, to be available in the near future.
The following is an ASN.1 specification of the UBL transfer formats using ASN.1.
It provides an alternative XML Schema definition for the XML documents which defines the same valid XML documents as the XSD Schema, which is the primary definition of valid XML documents.
Use of this Schema enables ASN.1 tools to be used for UBL transfers.
This schema, in conjunction with the ASN.1 Packed Encoding Rules, provides an efficient encoding of the information in this specification, and is the definitive definition of such binary transfers.
The following is the ASN.1 definition for the current release of UBL: asn/asn1spec.html
This section contains examples of formatting specifications and presentation conventions that can be used as models when considering the display of instances of UBL schemas in a human-readable form. Presentational semantics have not been standardized in this version of UBL, and they may never be due to differing international requirements and conventions for the presentation of information found in business documents.
The formatting specifications referenced below describe three scenarios for the visualization of UBL instances. One is intended to conform to the UN Layout Key for printed business documents, and the other two correspond to the Office and Joinery scenarios described elsewhere in this package. However, these specifications must not be considered as reference implementations or as normative components of the UBL specifications; they are merely examples from one of what will probably be many available UBL presentation libraries, including open-source stylesheets and proprietary vendor packages.
The formatting specification documentation conventions, a link to known implementations and a summary of work in this area for this package is found in the formatting specification index file.
Formatting specifications and sample XSLT and XSL-FO stylesheets for each of the UBL documents are referenced through the identifiers below:
The business transactions represented here focus on Order Management and are intended to be examples of how these documents can be used. These samples were manually created by business experts and are only meant to show some possible ways to use these documents. These are not the only way to create UBL compliant documents.
There are two sets of examples.