/ubl:DespatchAdvice

Dispatch Advice

Türkiye | VRBL-DespatchAdvice-TR-1p2
Download sample files
Context ID DPA0001
Usage M
Usage Description

The message

Final Format Path /DespatchAdvice

Description

A document used to describe the despatch or delivery of goods and services.

Child elements
Usage Element Description Cardinality
M cec:UBLExtensions Extensions Group 0..1
M cbc:CustomizationID Customization ID

Identifies a user-defined customization of UBL for a specific use.

0..1
- cbc:ProfileID Profile ID

Identifies a user-defined profile of the customization of UBL being used.

0..1
M cbc:ID ID

An identifier for this document, assigned by the sender.

1..1
M cbc:CopyIndicator Copy Indicator

Indicates whether this document is a copy (true) or not (false).

0..1
M cbc:UUID UUID

A universally unique identifier for an instance of this document.

0..1
M cbc:IssueDate Issue Date

The date, assigned by the sender, on which this document was issued.

1..1
M cbc:IssueTime Issue Time

The time, assigned by the sender, at which this document was issued.

0..1
O cbc:DespatchAdviceTypeCode Dispatch Advice Type Code

A code signifying the type of the Despatch Advice.

0..1
O cbc:Note Note

Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.

0..n
O cac:OrderReference Order Reference Group

A reference to an Order with which this Despatch Advice is associated.

0..n
O cac:AdditionalDocumentReference Additional Document Reference Group

A reference to an additional document associated with this document.

0..n
M cac:DespatchSupplierParty Seller Group

The despatch party.

1..1
M cac:DeliveryCustomerParty Buyer Group

The delivery recipient.

1..1
- cac:Shipment Shipment Group

The shipment.

0..1
M cac:DespatchLine Dispatch Line Group

A Despatch Line associated with a kind of item delivered.

1..n
Details

Example: Irsaliye-VRBL-Sample1.xml

<ubl:DespatchAdvice schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2 file:///C:/Users/tempuser/Documents/Workspace/schemas/Schemas/Vertex/vrbl/maindoc/UBL-DespatchAdvice-2.4.xsd">
  <ext:UBLExtensions>
    <ext:UBLExtension>
      <ext:ExtensionContent>
        <vrbl:DespatchAdviceExtension>
          <vrbl:DocumentSubtypeCode>VRBL:TR:TEMELIRSALIYE</vrbl:DocumentSubtypeCode>
          <vrbl:RoutingDetails>
            <vrbl:Sender>1288331521</vrbl:Sender>
            <vrbl:Receiver>9205121120</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:DespatchAdviceExtension>
      </ext:ExtensionContent>
    </ext:UBLExtension>
  </ext:UBLExtensions>
  <cbc:UBLVersionID>2.4</cbc:UBLVersionID>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#DespatchAdvice#VRBL-DespatchAdvice-TR-1p2</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>GIB2016000000011</cbc:ID>
  <cbc:CopyIndicator>false</cbc:CopyIndicator>
  <cbc:UUID>F47AC10B-58CC-4372-A567-0E02B2C3D479</cbc:UUID>
  <cbc:IssueDate>2016-08-14</cbc:IssueDate>
  <cbc:IssueTime>09:00:00</cbc:IssueTime>
  <cbc:DespatchAdviceTypeCode>VRBL:TR:SEVK</cbc:DespatchAdviceTypeCode>
  <cbc:Note>Mallar teslim edildi..</cbc:Note>
  <cac:OrderReference>
    <cbc:ID>GIB2016000000033</cbc:ID>
    <cbc:IssueDate>2016-08-14</cbc:IssueDate>
  </cac:OrderReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>GIB2016000000011</cbc:ID>
    <cbc:IssueDate>2016-08-10</cbc:IssueDate>
    <cbc:DocumentType>Katalog</cbc:DocumentType>
  </cac:AdditionalDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>GIB2016000000078</cbc:ID>
    <cbc:IssueDate>2016-08-11</cbc:IssueDate>
    <cbc:DocumentType>Kontrat</cbc:DocumentType>
  </cac:AdditionalDocumentReference>
  <cac:DespatchSupplierParty>
    <cac:Party>
      <cac:PartyName>
        <cbc:Name>AAA Anonim Şirketi</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Papatya Caddesi Yasemin Sokak</cbc:StreetName>
        <cbc:BuildingNumber>21</cbc:BuildingNumber>
        <cbc:CitySubdivisionName>Beşiktaş</cbc:CitySubdivisionName>
        <cbc:CityName>İstanbul</cbc:CityName>
        <cbc:PostalZone>34100</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>TR</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <ext:UBLExtensions>
          <ext:UBLExtension>
            <ext:ExtensionContent>
              <vrbl:PartyTaxSchemeExtension>
                <vrbl:TaxOfficeName>Büyük Mükellefler</vrbl:TaxOfficeName>
              </vrbl:PartyTaxSchemeExtension>
            </ext:ExtensionContent>
          </ext:UBLExtension>
        </ext:UBLExtensions>
        <cbc:CompanyID>1288331521</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:Contact>
        <cbc:Telephone>(212) 925 51515</cbc:Telephone>
        <cbc:ElectronicMail>aa@aaa.com.tr</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
    <cac:DespatchContact>
      <cbc:Name>Cemal Temiz</cbc:Name>
    </cac:DespatchContact>
  </cac:DespatchSupplierParty>
  <cac:DeliveryCustomerParty>
    <cac:Party>
      <cac:PartyIdentification>
        <cbc:ID schemeID="VRBL:TR:MUSTERINO">120010751</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>BBB Limited  Şirketi</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Ihlamur Mahallesi Selvi Caddesi Sedir Sokak</cbc:StreetName>
        <cbc:BuildingNumber>75/A</cbc:BuildingNumber>
        <cbc:CitySubdivisionName>Kızılay</cbc:CitySubdivisionName>
        <cbc:CityName>Ankara</cbc:CityName>
        <cbc:PostalZone>06100</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>TR</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <ext:UBLExtensions>
          <ext:UBLExtension>
            <ext:ExtensionContent>
              <vrbl:PartyTaxSchemeExtension>
                <vrbl:TaxOfficeName>Çankaya</vrbl:TaxOfficeName>
              </vrbl:PartyTaxSchemeExtension>
            </ext:ExtensionContent>
          </ext:UBLExtension>
        </ext:UBLExtensions>
        <cbc:CompanyID>9205121120</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:Contact>
        <cbc:Telephone>(312) 621 1112</cbc:Telephone>
        <cbc:ElectronicMail>bb@bbb.com.tr</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:DeliveryCustomerParty>
  <cac:Shipment>
    <cbc:ID/>
    <cac:GoodsItem>
      <cbc:ValueAmount currencyID="TRY">35200</cbc:ValueAmount>
    </cac:GoodsItem>
    <cac:ShipmentStage>
      <cac:TransportMeans>
        <cac:RoadTransport>
          <cbc:LicensePlateID schemeID="VRBL:TR:PLAKA">06DR4077</cbc:LicensePlateID>
        </cac:RoadTransport>
      </cac:TransportMeans>
      <cac:DriverPerson>
        <cbc:FirstName>Mehmet</cbc:FirstName>
        <cbc:FamilyName>Öztürk</cbc:FamilyName>
        <cbc:Title>Şoför</cbc:Title>
        <cbc:NationalityID>14922266699</cbc:NationalityID>
      </cac:DriverPerson>
      <cac:DriverPerson>
        <cbc:FirstName>Mustafa</cbc:FirstName>
        <cbc:FamilyName>Öztürk</cbc:FamilyName>
        <cbc:Title>Şoför</cbc:Title>
        <cbc:NationalityID>14922266600</cbc:NationalityID>
      </cac:DriverPerson>
    </cac:ShipmentStage>
    <cac:Delivery>
      <cac:CarrierParty>
        <cac:PartyName>
          <cbc:Name>CCC Lojistik Anonim Şirketi</cbc:Name>
        </cac:PartyName>
        <cac:PostalAddress>
          <cbc:CitySubdivisionName>Osmancık</cbc:CitySubdivisionName>
          <cbc:CityName>Çorum</cbc:CityName>
          <cac:Country>
            <cbc:IdentificationCode>TR</cbc:IdentificationCode>
          </cac:Country>
        </cac:PostalAddress>
        <cac:PartyTaxScheme>
          <cbc:CompanyID>1288331523</cbc:CompanyID>
          <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
          </cac:TaxScheme>
        </cac:PartyTaxScheme>
      </cac:CarrierParty>
      <cac:Despatch>
        <cbc:ActualDespatchDate>2016-08-14</cbc:ActualDespatchDate>
        <cbc:ActualDespatchTime>09:00:00</cbc:ActualDespatchTime>
      </cac:Despatch>
    </cac:Delivery>
    <cac:TransportHandlingUnit>
      <cac:TransportEquipment>
        <cbc:ID>06DR4088</cbc:ID>
      </cac:TransportEquipment>
      <cac:TransportEquipment>
        <cbc:ID>06DR4099</cbc:ID>
      </cac:TransportEquipment>
    </cac:TransportHandlingUnit>
  </cac:Shipment>
  <cac:DespatchLine>
    <cbc:ID>1</cbc:ID>
    <cbc:DeliveredQuantity unitCode="C62">20</cbc:DeliveredQuantity>
    <cac:OrderLineReference>
      <cbc:LineID>1</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Name>Masa Üstü Bilgisayar</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>PNC1234</cbc:ID>
      </cac:SellersItemIdentification>
    </cac:Item>
    <cac:Shipment>
      <cbc:ID/>
    </cac:Shipment>
  </cac:DespatchLine>
  <cac:DespatchLine>
    <cbc:ID>2</cbc:ID>
    <cbc:DeliveredQuantity unitCode="C62">12</cbc:DeliveredQuantity>
    <cac:OrderLineReference>
      <cbc:LineID>2</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Name>Notebook Bilgisayar</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>PNC1235</cbc:ID>
      </cac:SellersItemIdentification>
    </cac:Item>
    <cac:Shipment>
      <cbc:ID/>
    </cac:Shipment>
  </cac:DespatchLine>
  <cac:DespatchLine>
    <cbc:ID>3</cbc:ID>
    <cbc:DeliveredQuantity unitCode="C62">12</cbc:DeliveredQuantity>
    <cac:OrderLineReference>
      <cbc:LineID>3</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Name>Notebook Çantası</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>PNC1236</cbc:ID>
      </cac:SellersItemIdentification>
    </cac:Item>
    <cac:Shipment>
      <cbc:ID/>
    </cac:Shipment>
  </cac:DespatchLine>
  <cac:DespatchLine>
    <cbc:ID>4</cbc:ID>
    <cbc:DeliveredQuantity unitCode="C62">2</cbc:DeliveredQuantity>
    <cac:OrderLineReference>
      <cbc:LineID>4</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Name>Yazıcı</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>PNC1237</cbc:ID>
      </cac:SellersItemIdentification>
    </cac:Item>
    <cac:Shipment>
      <cbc:ID/>
    </cac:Shipment>
  </cac:DespatchLine>
</ubl:DespatchAdvice>
Rules
Rule ID Error Message
VRBL-DES-TR-1p2-1 The Document Subtype Code must exist within the Dispatch Advice.
VRBL-DES-TR-1p2-2 The Copy Indicator must exist within the Dispatch Advice.
VRBL-DPA-CORE-3 The Routing Details must exist within the Dispatch Advice.
VRBL-DPA-CORE-4 The Customization ID must exist within the Dispatch Advice.
VRBL-DPA-CORE-5 The Profile ID must exist within the Dispatch Advice.
VRBL-DPA-CORE-6 The Issue Date must exist within the Dispatch Advice.