OrderResponse
Base OrderResponse example
Sample origin: https://github.com/OpenPEPPOL/poacc-upgrade-3/blob/master/rules/examples/OrderResponse_Example.xml
{
"OrderResponse": {
"$": {
"xmlns": "urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2",
"xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
"xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
},
"cbc:CustomizationID": [
{
"_": "urn:fdc:peppol.eu:poacc:trns:order_response:3"
}
],
"cbc:ProfileID": [
{
"_": "urn:fdc:peppol.eu:poacc:bis:ordering:3"
}
],
"cbc:ID": [
{
"_": "101"
}
],
"cbc:SalesOrderID": [
{
"_": "101-111"
}
],
"cbc:IssueDate": [
{
"_": "2013-07-01"
}
],
"cbc:IssueTime": [
{
"_": "06:10:10"
}
],
"cbc:OrderResponseCode": [
{
"_": "CA"
}
],
"cbc:Note": [
{
"_": "Response message with amendments in the details"
}
],
"cbc:DocumentCurrencyCode": [
{
"_": "EUR"
}
],
"cbc:CustomerReference": [
{
"_": "ABC-123"
}
],
"cac:OrderReference": [
{
"cbc:ID": [
{
"_": "11233"
}
]
}
],
"cac:SellerSupplierParty": [
{
"cac:Party": [
{
"cbc:EndpointID": [
{
"_": "7598000000128",
"$": {
"schemeID": "0088"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "DK12345678",
"$": {
"schemeID": "0184"
}
}
]
}
],
"cac:PartyLegalEntity": [
{
"cbc:RegistrationName": [
{
"_": "The Supplier AB"
}
]
}
]
}
]
}
],
"cac:BuyerCustomerParty": [
{
"cac:Party": [
{
"cbc:EndpointID": [
{
"_": "7590000012347",
"$": {
"schemeID": "0088"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "DK55412777",
"$": {
"schemeID": "0184"
}
}
]
}
],
"cac:PartyLegalEntity": [
{
"cbc:RegistrationName": [
{
"_": "City Hospital"
}
]
}
]
}
]
}
],
"cac:Delivery": [
{
"cac:PromisedDeliveryPeriod": [
{
"cbc:StartDate": [
{
"_": "2013-07-15"
}
],
"cbc:StartTime": [
{
"_": "12:30:00"
}
],
"cbc:EndDate": [
{
"_": "2013-07-16"
}
],
"cbc:EndTime": [
{
"_": "18:00:00"
}
]
}
]
}
],
"cac:OrderLine": [
{
"cac:LineItem": [
{
"cbc:ID": [
{
"_": "1"
}
],
"cbc:Note": [
{
"_": "Order line note text"
}
],
"cbc:LineStatusCode": [
{
"_": "3"
}
],
"cbc:Quantity": [
{
"_": "10",
"$": {
"unitCode": "C62"
}
}
],
"cbc:MaximumBackorderQuantity": [
{
"_": "3"
}
],
"cac:Delivery": [
{
"cac:PromisedDeliveryPeriod": [
{
"cbc:StartDate": [
{
"_": "2018-08-10"
}
],
"cbc:StartTime": [
{
"_": "12:30:00"
}
],
"cbc:EndDate": [
{
"_": "2018-08-12"
}
],
"cbc:EndTime": [
{
"_": "18:00:00"
}
]
}
]
}
],
"cac:Price": [
{
"cbc:PriceAmount": [
{
"_": "1.50",
"$": {
"currencyID": "EUR"
}
}
],
"cbc:BaseQuantity": [
{
"_": "1",
"$": {
"unitCode": "C62"
}
}
]
}
],
"cac:Item": [
{
"cbc:Name": [
{
"_": "Brown sauce"
}
],
"cac:BuyersItemIdentification": [
{
"cbc:ID": [
{
"_": "123456"
}
]
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "SN-33"
}
]
}
],
"cac:StandardItemIdentification": [
{
"cbc:ID": [
{
"_": "7400000001234",
"$": {
"schemeID": "0160"
}
}
]
}
]
}
]
}
],
"cac:SellerSubstitutedLineItem": [
{
"cbc:ID": [
{
"_": "12356"
}
],
"cac:Item": [
{
"cbc:Name": [
{
"_": "Sauce brown, ready"
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "SN-34"
}
]
}
],
"cac:StandardItemIdentification": [
{
"cbc:ID": [
{
"_": "7400000001235",
"$": {
"schemeID": "0160"
}
}
]
}
],
"cac:CommodityClassification": [
{
"cbc:ItemClassificationCode": [
{
"_": "12345678",
"$": {
"listID": "MP",
"listVersionID": "19.0501"
}
}
]
}
],
"cac:ClassifiedTaxCategory": [
{
"cbc:ID": [
{
"_": "S"
}
],
"cbc:Percent": [
{
"_": "25"
}
],
"cac:TaxScheme": [
{
"cbc:ID": [
{
"_": "VAT"
}
]
}
]
}
],
"cac:AdditionalItemProperty": [
{
"cbc:Name": [
{
"_": "Weight"
}
],
"cbc:Value": [
{
"_": "12 gram"
}
],
"cbc:ValueQuantity": [
{
"_": "12",
"$": {
"unitCode": "GRM"
}
}
],
"cbc:ValueQualifier": [
{
"_": "gram"
}
]
}
]
}
]
}
],
"cac:OrderLineReference": [
{
"cbc:LineID": [
{
"_": "1"
}
]
}
]
},
{
"cac:LineItem": [
{
"cbc:ID": [
{
"_": "2"
}
],
"cbc:LineStatusCode": [
{
"_": "5"
}
],
"cac:Item": [
{
"cbc:Name": [
{
"_": "White sauce"
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "SN-34"
}
]
}
]
}
]
}
],
"cac:OrderLineReference": [
{
"cbc:LineID": [
{
"_": "2"
}
]
}
]
},
{
"cac:LineItem": [
{
"cbc:ID": [
{
"_": "3"
}
],
"cbc:Note": [
{
"_": "Substituted Item"
}
],
"cbc:LineStatusCode": [
{
"_": "3"
}
],
"cac:Item": [
{
"cbc:Name": [
{
"_": "Pepper sauce"
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "SN-35"
}
]
}
]
}
]
}
],
"cac:SellerSubstitutedLineItem": [
{
"cbc:ID": [
{
"_": "1"
}
],
"cac:Item": [
{
"cbc:Name": [
{
"_": "Pepper sauce"
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "SN-36"
}
]
}
],
"cac:StandardItemIdentification": [
{
"cbc:ID": [
{
"_": "8722700577588",
"$": {
"schemeID": "0160"
}
}
]
}
],
"cac:ClassifiedTaxCategory": [
{
"cbc:ID": [
{
"_": "S"
}
],
"cbc:Percent": [
{
"_": "25"
}
],
"cac:TaxScheme": [
{
"cbc:ID": [
{
"_": "VAT"
}
]
}
]
}
]
}
]
}
],
"cac:OrderLineReference": [
{
"cbc:LineID": [
{
"_": "3"
}
]
}
]
}
]
}
}
Last updated
Was this helpful?