Universal Business Language — Library Content — 1.0 Review

For our absent friend, Michael J. Adcock  - il miglior fabbro
Editor:

Lisa Seaburg, Aeon LLC <lseaburg@aeon-llc.com>

Contributors:
Members of the Library Content Sub Committee
Abstract:

The specification defines the Library for the Universal Business Language.

Status:

{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}.

Table of Contents


1. Introduction

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.

Back to top

1.1 Notes about this Release

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]]

Back to top

1.2 Support for this Release

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.

Back to top

1.3 General comments about OASIS UBL TC

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

Back to top

1.4 Document Conventions

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:

" MUST: This word, or the terms "REQUIRED" or "SHALL", means that the definition is an absolute requirement of the specification."
" MUST NOT: This phrase, or the phrase "SHALL NOT", means that the definition is an absolute prohibition of the specification."
" SHOULD: This word, or the adjective "RECOMMENDED", means that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course."
" SHOULD NOT: This phrase, or the phrase "NOT RECOMMENDED", means that there may exist valid reasons in particular circumstances when the particular behavior is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behavior described with this label."
" MAY: This word, or the adjective "OPTIONAL", mean that an item is truly optional. One vendor may choose to include the item because a particular marketplace requires it or because the vendor feels that it enhances the product while another vendor may omit the same item. An implementation which does not include a particular option MUST be prepared to interoperate with another implementation which does include the option, though perhaps with reduced functionality. In the same vein an implementation which does include a particular option MUST be prepared to interoperate with another implementation which does not include the option (except, of course, for the feature the option provides)."
Back to top

1.5 Disclaimer

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.

Back to top

2. Document Scope

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.

Back to top

3. Normative References

[ISO11179] International Standards Organisation's Specification and Standardization of Data Elements for Information Technology
http://isotc.iso.ch/livelink/livelink/fetch/2000/2489/Ittf_Home/PubliclyAvailableStandards.htm??Redirect=1
[ISO 8601] Data elements and interchange formats -- Information interchange -- Representation of dates and times
http://www.iso.org/iso/en/CombinedQueryResult.CombinedQueryResult?queryString=8601
[CCTS] UN/CEFACT ebXML Core Components Technical Specification 1.90
http://xml.coverpages.org/CCTSv190-2002.pdf Should this be the CCTS 2.0??
[NDR]  Universal Business Language Naming and Design Rules
http://www.oasis-open.org/committees/sc_home.php?wg_abbrev=ubl-ndrsc
[UML]  Unified Modeling Language 1.4 (formal/01-09-67) Should this be updated to 2.0??
http://www.omg.org/cgi-bin/doc?formal/01-09-67
[XML]  Extensible Markup Language (XML) 1.0 (Second Edition),W3C Recommendation 6 October 2000
http://www.w3.org/TR/2000/REC-xml-20001006
[XSD1] XML Schema Part 1: Structures, W3C Recommendation 2 May 2001
http://www.w3.org/TR/xmlschema-1/
[XSD2] XML Schema Part 2: Datatypes, W3C Recommendation 02 May 2001
http://www.w3.org/TR/xmlschema-2/
Back to top

4. Terms and Definitions

Business Context
The formal description of a specific business circumstance as identified by the values of a set of context categories, allowing different business circumstances to be uniquely distinguished.
Class Diagram
A graphical notation used by the UML [UML] to describe the static structure of a system, including object classes and their associations.
Container
A modular and self-contained group of data components.
Containership
Aggregating components (nested elements in an XML schema [XML]).
Context
The circumstance or events that form the environment within which something exists or takes place.
Dependency Diagram
A refinement of a class diagram that emphasises the dependent associations to between object classes.
Document
A set of information components that are interchanged as part of a business activity; for example placing an order.
Document Assembly
A description of an hierarchical pathway through a normalized model of information components.
Hierarchical Model
A tree-structured model that can be implemented as a document schema.
Normalization
A formal technique for identifying and defining functional dependencies.
Normalized Model
A representation of normalized data components.
Schema
An XML document definition based on the W3C XML Schema language [XSD1][XSD2].
schema
Any XML document definition.
Spreadsheet Model
A representation of a data model in tabular form.

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].

Back to top

5. Symbols and Abbreviations

ABIE
Aggregate Business Information Entity
ACC
Aggregate Core Component
ASBIE
Association Business Information Entity
ASCC
Association Core Component
BBIE
Basic Business Information Entity
BCC
Basic Core Component
BIE
Business Information Entity
CC
Core Component
EAN
European Article Numbering Association
EDI
Electronic Data Interchange
ISO
International Standards Organisation
NDR
UBL Naming and Design Rules [NDR]
UML
Unified Modeling Language [UML]
UN/CEFACT
United Nations Centre for Trade Facilitation and Electronic Business
XML
Extensible Markup Language [XML]
XSD
World Wide Web Consortium's XML Schema Language [XSD1][XSD2]
Back to top

6. Initial UBL Business Scenario

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.

Back to top

6.1 The Order-to-Payment Business Process

This model addresses the requirements of a basic, usable trading cycle from Order to Invoice between Buyer and Seller. It includes specifications for:

  • Order
  • OrderChange
  • Order Response (simple)
  • Order Response (complex)
  • Order Cancellation
  • Despatch Advice
  • Receipt Advice
  • Invoice

Figure 1. Order-to-Payment Business Process

Back to top

6.1.1 Items

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:

Back to top
6.1.1.1 Item Requiring Description

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.

Back to top
6.1.1.2 Customer Defined Item

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.

Back to top
6.1.1.3 Item Measurements

This is an item in which it is necessary to specify one or more measurements as part of the descriptive specification of the item.

Back to top
6.1.1.4 Other Item Details

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.

Back to top

6.1.2 Order

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.

Back to top
6.1.2.1 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.

Back to top

6.1.3 Order Response (Simple)

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.

Back to top

6.1.4 Order Response (Complex)

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.

Back to top

6.1.5 Order Change

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.

Back to top

6.1.6 Order Cancellation

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.

Back to top

6.1.7 Despatch Advice

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.

Back to top

6.1.8 Receipt Advice

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.

Back to top

6.1.9 Invoice

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.

Back to top
6.1.9.1 Invoice Item Line

Each Invoice Line refers to the related Order Line and may refer to the Despatch Advice Line and/or Receipt Advice Line.

Back to top

6.2 Adapting UBL for other scenarios

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:

Back to top

 

Back to top

7. UBL Library

Back to top

7.1 Description

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.

Back to top

8. UBL Document Schemas

Back to top

9. Code Lists

Ken Holman is going to put this together.

Back to top

Annex A: UBL Conceptual Data Model (informative)

Back to top

A.1 Introduction

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.

Back to top

Annex B: UBL Document Descriptions (informative)

Back to top

B.1 UBL Document Spreadsheets

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).

UBL Order (MS Excel) or UBL Order (Open Office)
UBL Order Response (Simple) (MS Excel) or UBL Order Response (Simple) (Open Office)
UBL Order Response (Complex) (MS Excel) or UBL Order Response (Complex) (Open Office)
UBL Order Change (MS Excel) or UBL Order Change (Open Office)
UBL Order Cancellation (MS Excel) or UBL Order Cancellation (Open Office)
UBL Despatch Advice (MS Excel) or UBL Despatch Advice (Open Office)
UBL Receipt Advice (MS Excel) or UBL Receipt Advice (Open Office)
UBL Invoice (MS Excel) or UBL Invoice (Open Office)
All Aggregate Business Information Entities are expressed in the UBL Re-usable Component Library spreadsheet (MS Excel) or UBL Re-usable Component Library spreadsheet (Open Office)
Back to top

B.2 UML Class Diagrams

Class diagrams for the UBL documents are referenced through the identifiers below.

These are provided in both GIF and PDF formats.

Back to top

B.2.1 Document Models

UBL Order (GIF) and UBL Order (PDF)
UBL Order Response (GIF) and UBL Order Response (PDF)
UBL Order Change (GIF) and UBL Order Change (PDF)
UBL Order Cancellation (GIF) and UBL Order Cancellation (PDF)
UBL Despatch Advice (GIF) and UBL Despatch Advice (PDF)
UBL Receipt Advice (GIF) and UBL Receipt Advice (PDF)
UBL Invoice (GIF) and UBL Invoice (PDF)
Back to top

B.2.2 Packages

Address (GIF) and Address (PDF)
Delivery (GIF) and Delivery (PDF)
Item (GIF) and Item (PDF)
Hazardous Item (GIF) and Hazardous Item (PDF)
Party (GIF) and Party (PDF)
Payment (GIF) and Payment (PDF)
Procurement (GIF) and Procurement (PDF)
Tax (GIF) and Tax (PDF)
Back to top

B.3 XSD Schema

The XSD schema for the UBL Business documents are contained in the XSD directory in the Release.

Descriptive text goes here.

Back to top

B.3.1 UBL XSD Schema

UBL Order
Placeholder
Back to top

Annex C: UBL Document Descriptions (informative)

Back to top

C.1 UBL Document Spreadsheets

All Aggregate Business Information Entities are expressed in the UBL Re-usable Component Library spreadsheet.
xls/UBL-Library-v10-Reusable.xls

All Business Documents are defined in their individual spreadsheets, which reference the Re-usable Component Library spreadsheet:

UBL Order
xls/UBL-Library-v10-Order.xls
UBL Order Response (Simple)
xls/UBL-Library-v10-OrderResponseSimple.xls
UBL Order Response (Complex)
xls/UBL-Library-v10-OrderResponse.xls
UBL Order Change
xls/UBL-Library-v10-OrderChange.xls
UBL Order Cancellation
xls/UBL-Library-v10-OrderCancellation.xls
UBL Despatch Advice
xls/UBL-Library-v10-DespatchAdvice.xls
UBL Receipt Advice
xls/UBL-Library-v10-ReceiptAdvice.xls
UBL Invoice
xls/UBL-Library-v10-Invoice.xls
Back to top

C.2 UML Class Diagrams

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.

Back to top

C.2.1 Root Document Schemas

UBL Order
uml/UBL-Library-v10-Order.gif
UBL Order Response
uml/UBL-Library-v10-OrderResponse.gif
UBL Simple Order Response
uml/UBL-Library-v10-OrderResponseSimple.gif
UBL Order Change
uml/UBL-Library-v10-OrderChange.gif
UBL Order Cancellation
uml/UBL-Library-v10-OrderCancellation.gif
UBL Despatch Advice
uml/UBL-Library-v10-DespatchAdvice.gif
UBL Receipt Advice
uml/UBL-Library-v10-ReceiptAdvice.gif
UBL Invoice
uml/UBL-Library-v10-Invoice.gif
Back to top

C.2.2 Reusable Schema Components

InvoiceLine
uml/reusable/UBL-Library-v10-InvoiceLine.gif
OrderLine
uml/reusable/UBL-Library-v10-OrderLine.gif
Item
uml/reusable/UBL-Library-v10-Item.gif
OrderedShipment
uml/reusable/UBL-Library-v10-OrderedShipment.gif
DeliveryRequirement
uml/reusable/UBL-Library-v10-DeliveryRequirement.gif
HazardousItem
uml/reusable/UBL-Library-v10-HazardousItem.gif
AllowanceCharge
uml/reusable/UBL-Library-v10-AllowanceCharge.gif
BuyerParty
uml/reusable/UBL-Library-v10-BuyerParty.gif
SellerParty
uml/reusable/UBL-Library-v10-SellerParty.gif
FreightForwarderParty
uml/reusable/UBL-Library-v10-FreightForwarderParty.gif
DestinationParty
uml/reusable/UBL-Library-v10-DestinationParty.gif
PartyTaxScheme
uml/reusable/UBL-Library-v10-PartyTaxScheme.gif
Back to top

C.2.3 Core Component Types

String Types
uml/cct/CoreComponentTypes-String.gif
Decimal Types
uml/cct/CoreComponentTypes-Decimal.gif
Other Types
uml/cct/CoreComponentTypes-Other.gif
Back to top

Annex D: UBL Supplemental Materials (informative)

Back to top

D.1 Introduction

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.

Back to top

D.2 Non-Normative References

[ASN.1] Abstract Syntax Notation One, W3C Recommendation 15 October 2001
http://www.itu.int/ITU-T/studygroups/com17/languages/x680-x693_0702.pdf
[XSL-FO] Extensible Stylesheet Language Version 1.0, W3C Recommendation 15 October 2001
http://www.w3.org/TR/xsl
[XSLT] Extensible Stylesheet Language Transformations Version 1.0, W3C Recommendation 16 November 1999
http://www.w3.org/TR/xslt
Back to top

D.3 ASN.1 Specification of UBL

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

Back to top

D.4 Formatting specifications

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:

UBL Order
fs/FS-UBL-Order.html
UBL Order Response
fs/FS-UBL-OrderResponse.html
UBL Simple Order Response
fs/FS-UBL-OrderResponseSimple.html
UBL Order Change
fs/FS-UBL-OrderChange.html
UBL Order Cancellation
fs/FS-UBL-OrderCancellation.html
UBL Despatch Advice
fs/FS-UBL-DespatchAdvice.html
UBL Receipt Advice
fs/FS-UBL-ReceiptAdvice.html
UBL Invoice
fs/FS-UBL-Invoice.html
Back to top

D. 5 Other Document Samples

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.

Back to top

D.5.1 Example One Buying Office Supplies

The buyer, Bill's Microdevices, orders several different items from an office supply store. He knows the supplier's codes for the items and the price.
Office Supply Order - XML instance, Office Supply Order - printed version
The buyer, decides to change the original order.
Office Supply Order Change - XML instance, Office Supply Order Change- printed version
The seller, Joes Office Supply, replies with an Order Response (simple) so as to indicate the acceptance of the order. At the same time, the seller gives his reference number of the order, i.e. the sales order in his system, and also tells the buyer whom to contact if he has any queries.
Office Supply Order Response - XML instance (simple), Office Supply Order Response - printed version
The buyer cancels a different Order
Office Supply Order Cancel - XML instance, Office Supply Order Cancel - printed version
The seller advises the buyer of the despatch of the items ordered.
Office Supply Despatch Advice - XML Instance, Office Supply Despatch Advice - printed version
The buyer notifies the seller of missing items.
Office Supply Receipt Advice - XML Instance, Office Supply Receipt Advice - printed version
The Seller raises the Invoice automatically when the despatch occurs, and the resolution of shortages etc will be handled post-invoicing. The Invoice shows the tax amount The Seller notes that payment is due within 30 days of Invoice.
Office Supply Invoice - XML Instance, Office Supply Invoice - printed version
Back to top

D.5.2 Example Two Buying Joinery

The buyer, Jerry Builders, PLC. in the UK, orders a number of windows, a door set and some lengths of timber for delivery to a building site. He knows the supplier's codes for the items and that he must also specify a number of physical attributes to get the precise item that he wants. Some windows are asymmetric and are 'handed' left or right: most door sets are handed as they are hinged on one side. The wood and its finish, the 'fittings' are the handles, stays etc. Items can be glazed in different ways. Loose timber is coded according to its cross section and the length must be specified. While the buyer knows these things from the catalogue he does not know the current prices or any discount rate he may get.
Joinery Order - XML Instance, Joinery Order - printed version
The seller, Specialist Windows PLC, replies with an Order Response (complex) so as to indicate the unit price of each item and to inform the buyer of the trade discount that he will be given. At the same time, the seller gives his reference number of the order, i.e. the identity of the order in his system, and also tells the buyer whom to contact if he has any queries.
Joinery Order Response - XML Instance, Joinery Order Response - printed version
The seller advises the buyer of the despatch of the items ordered, which will in fact be delivered on two pallets identified as "A" and "B" (i.e. transportation units). The Despatch Advice lists the items in order line sequence and refers to the pallet on which the item is delivered.
Joinery Despatch Advice - XML Instance, Joinery Despatch Advice - printed version
The Despatch Advice travels with the delivery; a paper copy is signed and returned as proof of receipt. Hence the UBL Receipt Advice is not used.
The Seller raises the Invoice automatically when the despatch occurs, and the resolution of any shortages would be handled post-invoicing. The Invoice has to show the tax point date, the VAT (Value Added Tax) category to which the item belongs and also to show the VAT rate and total for each tax category on the invoice. VAT is also applied to charges such as the delivery surcharge. In order to encourage speedy payment of the amount due, the Seller offers a discount for prompt settlement, which the buyer can deduct if paying within 30 days. (Note that VAT regulations assume it will be taken and so the tax is calculated on the trade discounted total of line items plus any charges and less the settlement discount amount.)
Joinery Invoice - XML Instance, Joinery Invoice - printed version
This scenario is based on the products, product identification, business requirements and practices of a real UK joinery manufacturer and sales company. It operated its own specialised transport fleet delivering all over the United Kingdom and to offshore islands.


Last modified 25 September 2003 / 9:21am
Copyright © 2003 OASIS