UBL is designed to provide a universally understood and recognized commercial syntax for legally binding business documents and to operate within a standard business framework such as ISO 15000 (ebXML) to provide a complete, standards-based infrastructure that can extend the benefits of existing EDI systems to businesses of all sizes. UBL is freely available to everyone without legal encumbrance or licensing fees.
Please refer to the official open-oasis.org site for the full documentation for UBL v2.0 and UBL v2.1
In order to you to include this software in your own project, you must first specify the dependency on the artifact. The most current version is 2.1.0
and it is backwards compatible with 2.0.0
.
<dependency>
<groupId>com.tradeshift</groupId>
<artifactId>tradeshift-ubl-xsd</artifactId>
<version>2.1.0</version>
</dependency>
libraryDependencies +=
"com.tradeshift" %% "tradeshift-ubl-xsd" % "2.1.0"
dependencies {
compile 'com.tradeshift:tradeshift-ubl-xsd:2.1.0'
}
The artifact only contains the XML Schemas (XSD) of the Universal Business Language standard. This repository contains an amount of examples that can be a starting point for your learning of UBL.
The UBL language is a fairly big specification and it's quickly easy to get lost if you start out digging directly into the XSDs. However here is a few links to few common document types: