LogoLogo
  • Qvalia Developer Tools
    • API
    • JSON/XML or JSON to XML
    • Attachments to messages
  • Quick Start
  • API Documentation
    • API's
      • Invoice APIs
      • Credit Note APIs
      • Order APIs
      • Order Response APIs
      • Order Change APIs
      • Order Cancellation APIs
      • Catalogue APIs
      • Despatch Advice
      • Enrichment API
      • Partner
  • Sample Data
    • API Sample Data
      • Invoice
      • CreditNote
      • Order
      • OrderResponse
      • OrderChange
      • OrderCancellation
      • Catalogue
      • DespatchAdvice
  • SFTP Integration
    • SFTP Integration
  • VAN Operator
    • Operators
  • Qvalia
    • Home
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Sample Data
  2. API Sample Data

OrderResponse

Base OrderResponse example

PreviousOrderNextOrderChange

Last updated 17 hours ago

Was this helpful?

Sample origin:

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