DespatchAdvice
Base DespatchAdvice example
Last updated
Was this helpful?
Base DespatchAdvice example
Last updated
Was this helpful?
Sample origin:
{
"DespatchAdvice": {
"$": {
"xmlns": "urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2",
"xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2",
"xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
},
"cbc:CustomizationID": [
{
"_": "urn:fdc:peppol.eu:poacc:trns:despatch_advice:3"
}
],
"cbc:ProfileID": [
{
"_": "urn:fdc:peppol.eu:poacc:bis:despatch_advice:3"
}
],
"cbc:ID": [
{
"_": "565899"
}
],
"cbc:IssueDate": [
{
"_": "2018-09-20"
}
],
"cbc:IssueTime": [
{
"_": "12:00:00"
}
],
"cbc:Note": [
{
"_": "sample"
}
],
"cac:OrderReference": [
{
"cbc:ID": [
{
"_": "AEG012345"
}
]
}
],
"cac:DespatchSupplierParty": [
{
"cac:Party": [
{
"cbc:EndpointID": [
{
"_": "7300010000001",
"$": {
"schemeID": "0088"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "7300010000001",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Busy Street"
}
],
"cbc:CityName": [
{
"_": "Farthing"
}
],
"cbc:PostalZone": [
{
"_": "AA99 1BB"
}
],
"cbc:CountrySubentity": [
{
"_": "Heremouthshire"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "The Roundabout"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "GB"
}
]
}
]
}
],
"cac:PartyLegalEntity": [
{
"cbc:RegistrationName": [
{
"_": "Consortial"
}
]
}
],
"cac:Contact": [
{
"cbc:Name": [
{
"_": "Mrs Bouquet"
}
],
"cbc:Telephone": [
{
"_": "0158 1233714"
}
],
"cbc:ElectronicMail": [
{
"_": "bouquet@fpconsortial.co.uk"
}
]
}
]
}
]
}
],
"cac:DeliveryCustomerParty": [
{
"cac:Party": [
{
"cbc:EndpointID": [
{
"_": "5798000000124",
"$": {
"schemeID": "0088"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5790000435951",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Avon Way"
}
],
"cbc:AdditionalStreetName": [
{
"_": "way 2"
}
],
"cbc:CityName": [
{
"_": "Bridgtow"
}
],
"cbc:PostalZone": [
{
"_": "ZZ99 1ZZ"
}
],
"cbc:CountrySubentity": [
{
"_": "Avon"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "3rd Floor, Room 5"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "GB"
}
]
}
]
}
],
"cac:PartyLegalEntity": [
{
"cbc:RegistrationName": [
{
"_": "IYT Corporation"
}
]
}
]
}
],
"cac:DeliveryContact": [
{
"cbc:Name": [
{
"_": "Mr Fred Churchill"
}
],
"cbc:Telephone": [
{
"_": "0127 2653214"
}
],
"cbc:ElectronicMail": [
{
"_": "fred@iytcorporation.gov.uk"
}
]
}
]
}
],
"cac:BuyerCustomerParty": [
{
"cac:Party": [
{
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5790000435951",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "IYT Corporation"
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Avon Way"
}
],
"cbc:AdditionalStreetName": [
{
"_": "way 2"
}
],
"cbc:CityName": [
{
"_": "Bridgtow"
}
],
"cbc:PostalZone": [
{
"_": "ZZ99 1ZZ"
}
],
"cbc:CountrySubentity": [
{
"_": "Avon"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "3rd Floor, Room 5"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "GB"
}
]
}
]
}
]
}
]
}
],
"cac:SellerSupplierParty": [
{
"cac:Party": [
{
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5790000435951",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "IYT Corporation"
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Avon Way"
}
],
"cbc:AdditionalStreetName": [
{
"_": "way 2"
}
],
"cbc:CityName": [
{
"_": "Bridgtow"
}
],
"cbc:PostalZone": [
{
"_": "ZZ99 1ZZ"
}
],
"cbc:CountrySubentity": [
{
"_": "Avon"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "3rd Floor, Room 5"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "GB"
}
]
}
]
}
]
}
]
}
],
"cac:OriginatorCustomerParty": [
{
"cac:Party": [
{
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5790000435951",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "IYT Corporation"
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Avon Way"
}
],
"cbc:AdditionalStreetName": [
{
"_": "way 2"
}
],
"cbc:CityName": [
{
"_": "Bridgtow"
}
],
"cbc:PostalZone": [
{
"_": "ZZ99 1ZZ"
}
],
"cbc:CountrySubentity": [
{
"_": "Avon"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "3rd Floor, Room 5"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "GB"
}
]
}
]
}
]
}
]
}
],
"cac:Shipment": [
{
"cbc:ID": [
{
"_": "1"
}
],
"cbc:Information": [
{
"_": "text"
}
],
"cbc:GrossWeightMeasure": [
{
"_": "1",
"$": {
"unitCode": "C62"
}
}
],
"cbc:GrossVolumeMeasure": [
{
"_": "1",
"$": {
"unitCode": "C62"
}
}
],
"cbc:TotalTransportHandlingUnitQuantity": [
{
"_": "3"
}
],
"cac:Consignment": [
{
"cbc:ID": [
{
"_": "1"
}
],
"cbc:Information": [
{
"_": "text"
}
],
"cac:CarrierParty": [
{
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "Name"
}
]
}
],
"cac:Person": [
{
"cac:IdentityDocumentReference": [
{
"cbc:ID": [
{
"_": "1234"
}
],
"cbc:DocumentType": [
{
"_": "Inv"
}
]
}
]
}
]
}
]
}
],
"cac:Delivery": [
{
"cbc:TrackingID": [
{
"_": "456789"
}
],
"cac:EstimatedDeliveryPeriod": [
{
"cbc:StartDate": [
{
"_": "2018-09-25"
}
],
"cbc:StartTime": [
{
"_": "12:00:00"
}
],
"cbc:EndDate": [
{
"_": "2018-09-27"
}
],
"cbc:EndTime": [
{
"_": "12:00:00"
}
]
}
],
"cac:Despatch": [
{
"cbc:ActualDespatchDate": [
{
"_": "2018-09-25"
}
],
"cbc:ActualDespatchTime": [
{
"_": "13:00:00"
}
],
"cac:DespatchAddress": [
{
"cbc:StreetName": [
{
"_": "Avon Way"
}
],
"cbc:AdditionalStreetName": [
{
"_": "way 2"
}
],
"cbc:CityName": [
{
"_": "Bridgtow"
}
],
"cbc:PostalZone": [
{
"_": "ZZ99 1ZZ"
}
],
"cbc:CountrySubentity": [
{
"_": "Avon"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "3rd Floor, Room 5"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "GB"
}
]
}
]
}
]
}
]
}
]
}
],
"cac:DespatchLine": [
{
"cbc:ID": [
{
"_": "1"
}
],
"cbc:Note": [
{
"_": "Mrs Green agreed to waive charge"
}
],
"cbc:DeliveredQuantity": [
{
"_": "10",
"$": {
"unitCode": "C62"
}
}
],
"cbc:OutstandingQuantity": [
{
"_": "2",
"$": {
"unitCode": "C62"
}
}
],
"cbc:OutstandingReason": [
{
"_": "text"
}
],
"cac:OrderLineReference": [
{
"cbc:LineID": [
{
"_": "1"
}
],
"cac:OrderReference": [
{
"cbc:ID": [
{
"_": "AEG012345"
}
]
}
]
}
],
"cac:Item": [
{
"cbc:Name": [
{
"_": "beeswax"
}
],
"cac:BuyersItemIdentification": [
{
"cbc:ID": [
{
"_": "6578489"
}
]
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "17589683"
}
]
}
],
"cac:StandardItemIdentification": [
{
"cbc:ID": [
{
"_": "1234567891234",
"$": {
"schemeID": "0160"
}
}
],
"cbc:ExtendedID": [
{
"_": "22114455"
}
]
}
],
"cac:HazardousItem": [
{
"cbc:UNDGCode": [
{
"_": "ADR"
}
],
"cbc:HazardClassID": [
{
"_": "Code"
}
]
}
],
"cac:AdditionalItemProperty": [
{
"cbc:Name": [
{
"_": "Colour"
}
],
"cbc:Value": [
{
"_": "Blue"
}
]
}
],
"cac:ItemInstance": [
{
"cbc:ManufactureDate": [
{
"_": "2018-01-01"
}
],
"cbc:BestBeforeDate": [
{
"_": "2018-12-01"
}
],
"cbc:SerialID": [
{
"_": "4558784"
}
],
"cac:LotIdentification": [
{
"cbc:LotNumberID": [
{
"_": "546378239"
}
],
"cbc:ExpiryDate": [
{
"_": "2010-01-01"
}
]
}
]
}
]
}
],
"cac:Shipment": [
{
"cbc:ID": [
{
"_": "NA"
}
],
"cac:TransportHandlingUnit": [
{
"cbc:ID": [
{
"_": "5454"
}
],
"cbc:TransportHandlingUnitTypeCode": [
{
"_": "4H"
}
],
"cbc:HazardousRiskIndicator": [
{
"_": "false"
}
],
"cbc:ShippingMarks": [
{
"_": "text"
}
],
"cac:MeasurementDimension": [
{
"cbc:AttributeID": [
{
"_": "AAW"
}
],
"cbc:Measure": [
{
"_": "1",
"$": {
"unitCode": "C62"
}
}
]
}
],
"cac:Package": [
{
"cbc:ID": [
{
"_": "126"
}
],
"cbc:PackagingTypeCode": [
{
"_": "BX"
}
]
},
{
"cbc:ID": [
{
"_": "667"
}
],
"cbc:PackagingTypeCode": [
{
"_": "BX"
}
]
}
]
}
]
}
]
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?>
<DespatchAdvice xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2">
<cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:despatch_advice:3</cbc:CustomizationID>
<cbc:ProfileID>urn:fdc:peppol.eu:poacc:bis:despatch_advice:3</cbc:ProfileID>
<cbc:ID>565899</cbc:ID>
<cbc:IssueDate>2018-09-20</cbc:IssueDate>
<cbc:IssueTime>12:00:00</cbc:IssueTime>
<cbc:Note>sample</cbc:Note>
<cac:OrderReference>
<cbc:ID>AEG012345</cbc:ID>
</cac:OrderReference>
<cac:DespatchSupplierParty>
<cac:Party>
<cbc:EndpointID schemeID="0088">7300010000001</cbc:EndpointID>
<cac:PartyIdentification>
<cbc:ID schemeID="0088">7300010000001</cbc:ID>
</cac:PartyIdentification>
<cac:PostalAddress>
<cbc:StreetName>Busy Street</cbc:StreetName>
<cbc:CityName>Farthing</cbc:CityName>
<cbc:PostalZone>AA99 1BB</cbc:PostalZone>
<cbc:CountrySubentity>Heremouthshire</cbc:CountrySubentity>
<cac:AddressLine>
<cbc:Line>The Roundabout</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Consortial</cbc:RegistrationName>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Name>Mrs Bouquet</cbc:Name>
<cbc:Telephone>0158 1233714</cbc:Telephone>
<cbc:ElectronicMail>bouquet@fpconsortial.co.uk</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:DespatchSupplierParty>
<cac:DeliveryCustomerParty>
<cac:Party>
<cbc:EndpointID schemeID="0088">5798000000124</cbc:EndpointID>
<cac:PartyIdentification>
<cbc:ID schemeID="0088">5790000435951</cbc:ID>
</cac:PartyIdentification>
<cac:PostalAddress>
<cbc:StreetName>Avon Way</cbc:StreetName>
<cbc:AdditionalStreetName>way 2</cbc:AdditionalStreetName>
<cbc:CityName>Bridgtow</cbc:CityName>
<cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
<cbc:CountrySubentity>Avon</cbc:CountrySubentity>
<cac:AddressLine>
<cbc:Line>3rd Floor, Room 5</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyLegalEntity>
<cbc:RegistrationName>IYT Corporation</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
<cac:DeliveryContact>
<cbc:Name>Mr Fred Churchill</cbc:Name>
<cbc:Telephone>0127 2653214</cbc:Telephone>
<cbc:ElectronicMail>fred@iytcorporation.gov.uk</cbc:ElectronicMail>
</cac:DeliveryContact>
</cac:DeliveryCustomerParty>
<cac:BuyerCustomerParty>
<cac:Party>
<cac:PartyIdentification>
<cbc:ID schemeID="0088">5790000435951</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>IYT Corporation</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Avon Way</cbc:StreetName>
<cbc:AdditionalStreetName>way 2</cbc:AdditionalStreetName>
<cbc:CityName>Bridgtow</cbc:CityName>
<cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
<cbc:CountrySubentity>Avon</cbc:CountrySubentity>
<cac:AddressLine>
<cbc:Line>3rd Floor, Room 5</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
</cac:Party>
</cac:BuyerCustomerParty>
<cac:SellerSupplierParty>
<cac:Party>
<cac:PartyIdentification>
<cbc:ID schemeID="0088">5790000435951</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>IYT Corporation</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Avon Way</cbc:StreetName>
<cbc:AdditionalStreetName>way 2</cbc:AdditionalStreetName>
<cbc:CityName>Bridgtow</cbc:CityName>
<cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
<cbc:CountrySubentity>Avon</cbc:CountrySubentity>
<cac:AddressLine>
<cbc:Line>3rd Floor, Room 5</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
</cac:Party>
</cac:SellerSupplierParty>
<cac:OriginatorCustomerParty>
<cac:Party>
<cac:PartyIdentification>
<cbc:ID schemeID="0088">5790000435951</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>IYT Corporation</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Avon Way</cbc:StreetName>
<cbc:AdditionalStreetName>way 2</cbc:AdditionalStreetName>
<cbc:CityName>Bridgtow</cbc:CityName>
<cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
<cbc:CountrySubentity>Avon</cbc:CountrySubentity>
<cac:AddressLine>
<cbc:Line>3rd Floor, Room 5</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
</cac:Party>
</cac:OriginatorCustomerParty>
<cac:Shipment>
<cbc:ID>1</cbc:ID>
<cbc:Information>text</cbc:Information>
<cbc:GrossWeightMeasure unitCode="C62">1</cbc:GrossWeightMeasure>
<cbc:GrossVolumeMeasure unitCode="C62">1</cbc:GrossVolumeMeasure>
<cbc:TotalTransportHandlingUnitQuantity>3</cbc:TotalTransportHandlingUnitQuantity>
<cac:Consignment>
<cbc:ID>1</cbc:ID>
<cbc:Information>text</cbc:Information>
<cac:CarrierParty>
<cac:PartyName>
<cbc:Name>Name</cbc:Name>
</cac:PartyName>
<cac:Person>
<cac:IdentityDocumentReference>
<cbc:ID>1234</cbc:ID>
<cbc:DocumentType>Inv</cbc:DocumentType>
</cac:IdentityDocumentReference>
</cac:Person>
</cac:CarrierParty>
</cac:Consignment>
<cac:Delivery>
<cbc:TrackingID>456789</cbc:TrackingID>
<cac:EstimatedDeliveryPeriod>
<cbc:StartDate>2018-09-25</cbc:StartDate>
<cbc:StartTime>12:00:00</cbc:StartTime>
<cbc:EndDate>2018-09-27</cbc:EndDate>
<cbc:EndTime>12:00:00</cbc:EndTime>
</cac:EstimatedDeliveryPeriod>
<cac:Despatch>
<cbc:ActualDespatchDate>2018-09-25</cbc:ActualDespatchDate>
<cbc:ActualDespatchTime>13:00:00</cbc:ActualDespatchTime>
<cac:DespatchAddress>
<cbc:StreetName>Avon Way</cbc:StreetName>
<cbc:AdditionalStreetName>way 2</cbc:AdditionalStreetName>
<cbc:CityName>Bridgtow</cbc:CityName>
<cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
<cbc:CountrySubentity>Avon</cbc:CountrySubentity>
<cac:AddressLine>
<cbc:Line>3rd Floor, Room 5</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
</cac:Country>
</cac:DespatchAddress>
</cac:Despatch>
</cac:Delivery>
</cac:Shipment>
<cac:DespatchLine>
<cbc:ID>1</cbc:ID>
<cbc:Note>Mrs Green agreed to waive charge</cbc:Note>
<cbc:DeliveredQuantity unitCode="C62">10</cbc:DeliveredQuantity>
<cbc:OutstandingQuantity unitCode="C62">2</cbc:OutstandingQuantity>
<cbc:OutstandingReason>text</cbc:OutstandingReason>
<cac:OrderLineReference>
<cbc:LineID>1</cbc:LineID>
<cac:OrderReference>
<cbc:ID>AEG012345</cbc:ID>
</cac:OrderReference>
</cac:OrderLineReference>
<cac:Item>
<cbc:Name>beeswax</cbc:Name>
<cac:BuyersItemIdentification>
<cbc:ID>6578489</cbc:ID>
</cac:BuyersItemIdentification>
<cac:SellersItemIdentification>
<cbc:ID>17589683</cbc:ID>
</cac:SellersItemIdentification>
<cac:StandardItemIdentification>
<cbc:ID schemeID="0160">1234567891234</cbc:ID>
<cbc:ExtendedID>22114455</cbc:ExtendedID>
</cac:StandardItemIdentification>
<cac:HazardousItem>
<cbc:UNDGCode>ADR</cbc:UNDGCode>
<cbc:HazardClassID>Code</cbc:HazardClassID>
</cac:HazardousItem>
<cac:AdditionalItemProperty>
<cbc:Name>Colour</cbc:Name>
<cbc:Value>Blue</cbc:Value>
</cac:AdditionalItemProperty>
<cac:ItemInstance>
<cbc:ManufactureDate>2018-01-01</cbc:ManufactureDate>
<cbc:BestBeforeDate>2018-12-01</cbc:BestBeforeDate>
<cbc:SerialID>4558784</cbc:SerialID>
<cac:LotIdentification>
<cbc:LotNumberID>546378239</cbc:LotNumberID>
<cbc:ExpiryDate>2010-01-01</cbc:ExpiryDate>
</cac:LotIdentification>
</cac:ItemInstance>
</cac:Item>
<cac:Shipment>
<cbc:ID>NA</cbc:ID>
<cac:TransportHandlingUnit>
<cbc:ID>5454</cbc:ID>
<cbc:TransportHandlingUnitTypeCode>4H</cbc:TransportHandlingUnitTypeCode>
<cbc:HazardousRiskIndicator>false</cbc:HazardousRiskIndicator>
<cbc:ShippingMarks>text</cbc:ShippingMarks>
<cac:MeasurementDimension>
<cbc:AttributeID>AAW</cbc:AttributeID>
<cbc:Measure unitCode="C62">1</cbc:Measure>
</cac:MeasurementDimension>
<cac:Package>
<cbc:ID>126</cbc:ID>
<cbc:PackagingTypeCode>BX</cbc:PackagingTypeCode>
</cac:Package>
<cac:Package>
<cbc:ID>667</cbc:ID>
<cbc:PackagingTypeCode>BX</cbc:PackagingTypeCode>
</cac:Package>
</cac:TransportHandlingUnit>
</cac:Shipment>
</cac:DespatchLine>
</DespatchAdvice>