All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.oasis-open.ubl.examples.MyTransportationStatus.xml Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.2.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<TransportationStatus 
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
xmlns="urn:oasis:names:specification:ubl:schema:xsd:TransportationStatus-2">

  <!--this document needs additional information not defined by the UBL TC-->
  <ext:UBLExtensions>
    <ext:UBLExtension>
      <ext:ExtensionContent>
        <mec:Additional xmlns:mec="urn:X-MyCompany:Extension" 
                        xmlns:mac="urn:X-MyCompany:Aggregate" 
                        xmlns:mbc="urn:X-MyCompany:Basic">

          <mac:QualificationLevel>
            <cbc:ID>L1</cbc:ID>
            <cbc:Description>Level 1</cbc:Description>
            <mbc:LevelPrerequisite>Level0</mbc:LevelPrerequisite>
          </mac:QualificationLevel>

          <mac:ThirdPartyBilling>
            <cac:Party>
              <cac:PartyName>
                <cbc:Name>Jane Doe</cbc:Name>
              </cac:PartyName>
            </cac:Party>
          </mac:ThirdPartyBilling>  

        </mec:Additional>
      </ext:ExtensionContent>
    </ext:UBLExtension>
  </ext:UBLExtensions>

  <!--the remainder is stock UBL-->
  <cbc:UBLVersionID>2.1</cbc:UBLVersionID>
  <cbc:CustomizationID>urn:X-demo:TransportShipments</cbc:CustomizationID>
  <cbc:ProfileID>urn:X-demo:CoreElement</cbc:ProfileID>
  <cbc:ID>1234</cbc:ID>
  <cbc:IssueDate>2010-08-13</cbc:IssueDate>
  <cbc:IssueTime>15:30:00.0Z</cbc:IssueTime>
  <cbc:Description>En route</cbc:Description>

  <cac:Consignment>
    <cbc:ID>XYZ987</cbc:ID>
    <cbc:SummaryDescription>Electronic components</cbc:SummaryDescription>
  </cac:Consignment>

  <cac:TransportEvent>
    <cac:CurrentStatus>
      <cbc:ConditionCode>31</cbc:ConditionCode>
      <cbc:Description>En route</cbc:Description>
    </cac:CurrentStatus>
    <cac:Contact>
      <cbc:Name>John Smith</cbc:Name>
      <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
    </cac:Contact>
  </cac:TransportEvent>

</TransportationStatus>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy