DespatchAdvice
Base DespatchAdvice example
Sample origin: https://github.com/OpenPEPPOL/poacc-upgrade-3/blob/master/rules/examples/DespatchAdvice_Example.xml
{
"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"
}
]
}
]
}
]
}
]
}
]
}
}
Last updated
Was this helpful?