POST api/v1/Order

Retrieve a list of 'orders' for a specific customer, or all and time frame
Can return orders, credits and returns
You can send either account number or customer ID dending on what you have stored
Leave customer fields empty to get all orders changes since date

Request Information

URI Parameters

None.

Body Parameters

OrderParams
NameDescriptionTypeAdditional information
apiKey

Please contact Caliq support to get your key

string

Required

OrdersSince

List orders, credits and returns made on and since YYYYMMDD. If supplied empty then all orders will be returned

string

None.

AccountNo

Customer account number to returns orders for

string

None.

CustomerID

Customer ID to returns orders for

integer

None.

EventID

Return data for just a specific event ID. Other filters are ignored if set

integer

None.

EventNo

Return data for just a specific event number. Other filters are ignored if set

integer

None.

ReturnLines

Return order line breakdown

boolean

None.

OnlyActive

Only return active orders, credit and returns

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OrdersSince": "sample string 1",
  "AccountNo": "sample string 2",
  "CustomerID": 3,
  "EventID": 4,
  "EventNo": 5,
  "ReturnLines": true,
  "OnlyActive": true,
  "apiKey": "sample string 1"
}

application/xml, text/xml

Sample:
<OrderParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OrdersSince>sample string 1</OrdersSince>
  <AccountNo>sample string 2</AccountNo>
  <CustomerID>3</CustomerID>
  <EventID>4</EventID>
  <EventNo>5</EventNo>
  <ReturnLines>true</ReturnLines>
  <OnlyActive>true</OnlyActive>
  <apiKey>sample string 1</apiKey>
</OrderParams>

Response Information

Resource Description

Returns:
200 OK Returns a collection of orders
400 Bad Request - parameters supplied cannot be properly interpreted
401 Not Authorised if supplied api key is not valid
204 No Content if the requested filters dont match any data 503 Service Unavailable

Orders
NameDescriptionTypeAdditional information
OrderList

Collection of Order

None.

Response Formats

application/json, text/json

Sample:
{
  "OrderList": [
    {
      "ID": 1,
      "Kind": "sample string 2",
      "Created": "sample string 3",
      "Number": 4,
      "Description": "sample string 5",
      "ChannelID": 6,
      "AccountNo": "sample string 7",
      "AccountID": 8,
      "Status": "sample string 9",
      "Editable": true,
      "Currency": "sample string 11",
      "Active": true,
      "Value": 13.0,
      "ValueVAT": 14.0,
      "Carriage": 15.0,
      "CarriageVAT": 16.0,
      "WebOrderRef": "sample string 17",
      "CustomerPONo": "sample string 18",
      "Bill_Line1": "sample string 19",
      "Bill_Line2": "sample string 20",
      "Bill_Line3": "sample string 21",
      "Bill_Town": "sample string 22",
      "Bill_County": "sample string 23",
      "Bill_Country": "sample string 24",
      "Bill_Postcode": "sample string 25",
      "Bill_AddressID": 26,
      "Del_Line1": "sample string 27",
      "Del_Company": "sample string 28",
      "Del_Line2": "sample string 29",
      "Del_Line3": "sample string 30",
      "Del_Town": "sample string 31",
      "Del_County": "sample string 32",
      "Del_Country": "sample string 33",
      "Del_Postcode": "sample string 34",
      "Del_AddressID": 35,
      "ContactIDOrder": 36,
      "ContactIDDeliver": 37,
      "ContactIDInvoice": 38,
      "RequiredDelivery": "sample string 39",
      "SalesRep": "sample string 40",
      "SalesRepID": "sample string 41",
      "AccountMgr": "sample string 42",
      "AccountMgrID": "sample string 43",
      "OfficeRep": "sample string 44",
      "OfficeRepID": "sample string 45",
      "WHActions": {
        "WHActionsList": [
          {
            "ID": 1,
            "OrderID": 2,
            "OrderNo": 3,
            "Consignment": 4,
            "WebOrderRef": "sample string 5",
            "TimeStamp": "2024-09-19T22:13:43.6213306+01:00",
            "Action": 7,
            "ActionDesc": "sample string 8",
            "ActionedBy": "sample string 9",
            "WHActionsItems": {
              "WHActionsItemsList": [
                {
                  "Code": "sample string 1",
                  "Description": "sample string 2",
                  "Qty": 3
                },
                {
                  "Code": "sample string 1",
                  "Description": "sample string 2",
                  "Qty": 3
                }
              ]
            }
          },
          {
            "ID": 1,
            "OrderID": 2,
            "OrderNo": 3,
            "Consignment": 4,
            "WebOrderRef": "sample string 5",
            "TimeStamp": "2024-09-19T22:13:43.6213306+01:00",
            "Action": 7,
            "ActionDesc": "sample string 8",
            "ActionedBy": "sample string 9",
            "WHActionsItems": {
              "WHActionsItemsList": [
                {
                  "Code": "sample string 1",
                  "Description": "sample string 2",
                  "Qty": 3
                },
                {
                  "Code": "sample string 1",
                  "Description": "sample string 2",
                  "Qty": 3
                }
              ]
            }
          }
        ]
      },
      "Despatches": {
        "DespatchList": [
          {
            "DespatchNo": 1,
            "OrderID": 2,
            "OrderNo": 3,
            "AccountNo": "sample string 4",
            "AccountID": 5,
            "ChannelID": 6,
            "WebOrderRef": "sample string 7",
            "DespatchMethodID": 8,
            "DespatchMethodName": "sample string 9",
            "CarrierRef": "sample string 10",
            "CarrierName": "sample string 11",
            "TrackingURL": "sample string 12",
            "DespDate": "sample string 13",
            "DocID": 14,
            "DespLines": {
              "DespLine": [
                {
                  "ID": 1,
                  "Code": "sample string 2",
                  "Description": "sample string 3",
                  "Qty": 4
                },
                {
                  "ID": 1,
                  "Code": "sample string 2",
                  "Description": "sample string 3",
                  "Qty": 4
                }
              ]
            }
          },
          {
            "DespatchNo": 1,
            "OrderID": 2,
            "OrderNo": 3,
            "AccountNo": "sample string 4",
            "AccountID": 5,
            "ChannelID": 6,
            "WebOrderRef": "sample string 7",
            "DespatchMethodID": 8,
            "DespatchMethodName": "sample string 9",
            "CarrierRef": "sample string 10",
            "CarrierName": "sample string 11",
            "TrackingURL": "sample string 12",
            "DespDate": "sample string 13",
            "DocID": 14,
            "DespLines": {
              "DespLine": [
                {
                  "ID": 1,
                  "Code": "sample string 2",
                  "Description": "sample string 3",
                  "Qty": 4
                },
                {
                  "ID": 1,
                  "Code": "sample string 2",
                  "Description": "sample string 3",
                  "Qty": 4
                }
              ]
            }
          }
        ]
      },
      "EventInvoices": {
        "EventInvoiceList": [
          {
            "DocumentType": "sample string 1",
            "DocumentID": 2,
            "DocumentRef": "sample string 3",
            "Created": "sample string 4",
            "GoodsAmount": 5.0,
            "VATAmount": 6.0,
            "SurchargeAmount": 7.0
          },
          {
            "DocumentType": "sample string 1",
            "DocumentID": 2,
            "DocumentRef": "sample string 3",
            "Created": "sample string 4",
            "GoodsAmount": 5.0,
            "VATAmount": 6.0,
            "SurchargeAmount": 7.0
          }
        ]
      },
      "EventPayments": {
        "EventPaymentList": [
          {
            "PaymentDate": "sample string 1",
            "Amount": 2.0,
            "Ref1": "sample string 3",
            "Ref2": "sample string 4",
            "Description": "sample string 5",
            "Name": "sample string 6",
            "PaymentTypeID": 7
          },
          {
            "PaymentDate": "sample string 1",
            "Amount": 2.0,
            "Ref1": "sample string 3",
            "Ref2": "sample string 4",
            "Description": "sample string 5",
            "Name": "sample string 6",
            "PaymentTypeID": 7
          }
        ]
      },
      "EventDocuments": {
        "EventDocumentList": [
          {
            "DocumentType": "sample string 1",
            "DocumentTypeID": 2,
            "DocumentID": 3,
            "DocumentRef": "sample string 4",
            "Created": "sample string 5"
          },
          {
            "DocumentType": "sample string 1",
            "DocumentTypeID": 2,
            "DocumentID": 3,
            "DocumentRef": "sample string 4",
            "Created": "sample string 5"
          }
        ]
      },
      "OrderLines": {
        "OrderLineList": [
          {
            "OrderID": 1,
            "OrderNumber": 2,
            "LineID": 3,
            "Editable": true,
            "ID": 5,
            "Code": "sample string 6",
            "Description": "sample string 7",
            "Qty": 8,
            "QtyDespatched": 9,
            "QtyInWarehouse": 10,
            "QtyInvoiced": 11,
            "QtyProcessed": 12,
            "Status": "sample string 13",
            "Value": 14.0,
            "ValueIncVAT": 15.0,
            "UnitPrice": 16.0,
            "UnitPriceCust": 17.0,
            "UnitPriceList": 18.0,
            "RequiredDate": "sample string 19",
            "EstimatedDate": "sample string 20",
            "EstimatedDateText": "sample string 21",
            "LineText": "sample string 22",
            "IsKitHeader": true,
            "IsKitItem": true,
            "KitParentLineID": 25
          },
          {
            "OrderID": 1,
            "OrderNumber": 2,
            "LineID": 3,
            "Editable": true,
            "ID": 5,
            "Code": "sample string 6",
            "Description": "sample string 7",
            "Qty": 8,
            "QtyDespatched": 9,
            "QtyInWarehouse": 10,
            "QtyInvoiced": 11,
            "QtyProcessed": 12,
            "Status": "sample string 13",
            "Value": 14.0,
            "ValueIncVAT": 15.0,
            "UnitPrice": 16.0,
            "UnitPriceCust": 17.0,
            "UnitPriceList": 18.0,
            "RequiredDate": "sample string 19",
            "EstimatedDate": "sample string 20",
            "EstimatedDateText": "sample string 21",
            "LineText": "sample string 22",
            "IsKitHeader": true,
            "IsKitItem": true,
            "KitParentLineID": 25
          }
        ]
      }
    },
    {
      "ID": 1,
      "Kind": "sample string 2",
      "Created": "sample string 3",
      "Number": 4,
      "Description": "sample string 5",
      "ChannelID": 6,
      "AccountNo": "sample string 7",
      "AccountID": 8,
      "Status": "sample string 9",
      "Editable": true,
      "Currency": "sample string 11",
      "Active": true,
      "Value": 13.0,
      "ValueVAT": 14.0,
      "Carriage": 15.0,
      "CarriageVAT": 16.0,
      "WebOrderRef": "sample string 17",
      "CustomerPONo": "sample string 18",
      "Bill_Line1": "sample string 19",
      "Bill_Line2": "sample string 20",
      "Bill_Line3": "sample string 21",
      "Bill_Town": "sample string 22",
      "Bill_County": "sample string 23",
      "Bill_Country": "sample string 24",
      "Bill_Postcode": "sample string 25",
      "Bill_AddressID": 26,
      "Del_Line1": "sample string 27",
      "Del_Company": "sample string 28",
      "Del_Line2": "sample string 29",
      "Del_Line3": "sample string 30",
      "Del_Town": "sample string 31",
      "Del_County": "sample string 32",
      "Del_Country": "sample string 33",
      "Del_Postcode": "sample string 34",
      "Del_AddressID": 35,
      "ContactIDOrder": 36,
      "ContactIDDeliver": 37,
      "ContactIDInvoice": 38,
      "RequiredDelivery": "sample string 39",
      "SalesRep": "sample string 40",
      "SalesRepID": "sample string 41",
      "AccountMgr": "sample string 42",
      "AccountMgrID": "sample string 43",
      "OfficeRep": "sample string 44",
      "OfficeRepID": "sample string 45",
      "WHActions": {
        "WHActionsList": [
          {
            "ID": 1,
            "OrderID": 2,
            "OrderNo": 3,
            "Consignment": 4,
            "WebOrderRef": "sample string 5",
            "TimeStamp": "2024-09-19T22:13:43.6213306+01:00",
            "Action": 7,
            "ActionDesc": "sample string 8",
            "ActionedBy": "sample string 9",
            "WHActionsItems": {
              "WHActionsItemsList": [
                {
                  "Code": "sample string 1",
                  "Description": "sample string 2",
                  "Qty": 3
                },
                {
                  "Code": "sample string 1",
                  "Description": "sample string 2",
                  "Qty": 3
                }
              ]
            }
          },
          {
            "ID": 1,
            "OrderID": 2,
            "OrderNo": 3,
            "Consignment": 4,
            "WebOrderRef": "sample string 5",
            "TimeStamp": "2024-09-19T22:13:43.6213306+01:00",
            "Action": 7,
            "ActionDesc": "sample string 8",
            "ActionedBy": "sample string 9",
            "WHActionsItems": {
              "WHActionsItemsList": [
                {
                  "Code": "sample string 1",
                  "Description": "sample string 2",
                  "Qty": 3
                },
                {
                  "Code": "sample string 1",
                  "Description": "sample string 2",
                  "Qty": 3
                }
              ]
            }
          }
        ]
      },
      "Despatches": {
        "DespatchList": [
          {
            "DespatchNo": 1,
            "OrderID": 2,
            "OrderNo": 3,
            "AccountNo": "sample string 4",
            "AccountID": 5,
            "ChannelID": 6,
            "WebOrderRef": "sample string 7",
            "DespatchMethodID": 8,
            "DespatchMethodName": "sample string 9",
            "CarrierRef": "sample string 10",
            "CarrierName": "sample string 11",
            "TrackingURL": "sample string 12",
            "DespDate": "sample string 13",
            "DocID": 14,
            "DespLines": {
              "DespLine": [
                {
                  "ID": 1,
                  "Code": "sample string 2",
                  "Description": "sample string 3",
                  "Qty": 4
                },
                {
                  "ID": 1,
                  "Code": "sample string 2",
                  "Description": "sample string 3",
                  "Qty": 4
                }
              ]
            }
          },
          {
            "DespatchNo": 1,
            "OrderID": 2,
            "OrderNo": 3,
            "AccountNo": "sample string 4",
            "AccountID": 5,
            "ChannelID": 6,
            "WebOrderRef": "sample string 7",
            "DespatchMethodID": 8,
            "DespatchMethodName": "sample string 9",
            "CarrierRef": "sample string 10",
            "CarrierName": "sample string 11",
            "TrackingURL": "sample string 12",
            "DespDate": "sample string 13",
            "DocID": 14,
            "DespLines": {
              "DespLine": [
                {
                  "ID": 1,
                  "Code": "sample string 2",
                  "Description": "sample string 3",
                  "Qty": 4
                },
                {
                  "ID": 1,
                  "Code": "sample string 2",
                  "Description": "sample string 3",
                  "Qty": 4
                }
              ]
            }
          }
        ]
      },
      "EventInvoices": {
        "EventInvoiceList": [
          {
            "DocumentType": "sample string 1",
            "DocumentID": 2,
            "DocumentRef": "sample string 3",
            "Created": "sample string 4",
            "GoodsAmount": 5.0,
            "VATAmount": 6.0,
            "SurchargeAmount": 7.0
          },
          {
            "DocumentType": "sample string 1",
            "DocumentID": 2,
            "DocumentRef": "sample string 3",
            "Created": "sample string 4",
            "GoodsAmount": 5.0,
            "VATAmount": 6.0,
            "SurchargeAmount": 7.0
          }
        ]
      },
      "EventPayments": {
        "EventPaymentList": [
          {
            "PaymentDate": "sample string 1",
            "Amount": 2.0,
            "Ref1": "sample string 3",
            "Ref2": "sample string 4",
            "Description": "sample string 5",
            "Name": "sample string 6",
            "PaymentTypeID": 7
          },
          {
            "PaymentDate": "sample string 1",
            "Amount": 2.0,
            "Ref1": "sample string 3",
            "Ref2": "sample string 4",
            "Description": "sample string 5",
            "Name": "sample string 6",
            "PaymentTypeID": 7
          }
        ]
      },
      "EventDocuments": {
        "EventDocumentList": [
          {
            "DocumentType": "sample string 1",
            "DocumentTypeID": 2,
            "DocumentID": 3,
            "DocumentRef": "sample string 4",
            "Created": "sample string 5"
          },
          {
            "DocumentType": "sample string 1",
            "DocumentTypeID": 2,
            "DocumentID": 3,
            "DocumentRef": "sample string 4",
            "Created": "sample string 5"
          }
        ]
      },
      "OrderLines": {
        "OrderLineList": [
          {
            "OrderID": 1,
            "OrderNumber": 2,
            "LineID": 3,
            "Editable": true,
            "ID": 5,
            "Code": "sample string 6",
            "Description": "sample string 7",
            "Qty": 8,
            "QtyDespatched": 9,
            "QtyInWarehouse": 10,
            "QtyInvoiced": 11,
            "QtyProcessed": 12,
            "Status": "sample string 13",
            "Value": 14.0,
            "ValueIncVAT": 15.0,
            "UnitPrice": 16.0,
            "UnitPriceCust": 17.0,
            "UnitPriceList": 18.0,
            "RequiredDate": "sample string 19",
            "EstimatedDate": "sample string 20",
            "EstimatedDateText": "sample string 21",
            "LineText": "sample string 22",
            "IsKitHeader": true,
            "IsKitItem": true,
            "KitParentLineID": 25
          },
          {
            "OrderID": 1,
            "OrderNumber": 2,
            "LineID": 3,
            "Editable": true,
            "ID": 5,
            "Code": "sample string 6",
            "Description": "sample string 7",
            "Qty": 8,
            "QtyDespatched": 9,
            "QtyInWarehouse": 10,
            "QtyInvoiced": 11,
            "QtyProcessed": 12,
            "Status": "sample string 13",
            "Value": 14.0,
            "ValueIncVAT": 15.0,
            "UnitPrice": 16.0,
            "UnitPriceCust": 17.0,
            "UnitPriceList": 18.0,
            "RequiredDate": "sample string 19",
            "EstimatedDate": "sample string 20",
            "EstimatedDateText": "sample string 21",
            "LineText": "sample string 22",
            "IsKitHeader": true,
            "IsKitItem": true,
            "KitParentLineID": 25
          }
        ]
      }
    }
  ]
}

application/xml, text/xml

Sample:
<Orders xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Order>
    <ID>1</ID>
    <Kind>sample string 2</Kind>
    <Created>sample string 3</Created>
    <Number>4</Number>
    <Description>sample string 5</Description>
    <ChannelID>6</ChannelID>
    <AccountNo>sample string 7</AccountNo>
    <AccountID>8</AccountID>
    <Status>sample string 9</Status>
    <Editable>true</Editable>
    <Currency>sample string 11</Currency>
    <Active>true</Active>
    <Value>13</Value>
    <ValueVAT>14</ValueVAT>
    <Carriage>15</Carriage>
    <CarriageVAT>16</CarriageVAT>
    <WebOrderRef>sample string 17</WebOrderRef>
    <CustomerPONo>sample string 18</CustomerPONo>
    <Bill_Line1>sample string 19</Bill_Line1>
    <Bill_Line2>sample string 20</Bill_Line2>
    <Bill_Line3>sample string 21</Bill_Line3>
    <Bill_Town>sample string 22</Bill_Town>
    <Bill_County>sample string 23</Bill_County>
    <Bill_Country>sample string 24</Bill_Country>
    <Bill_Postcode>sample string 25</Bill_Postcode>
    <Bill_AddressID>26</Bill_AddressID>
    <Del_Line1>sample string 27</Del_Line1>
    <Del_Company>sample string 28</Del_Company>
    <Del_Line2>sample string 29</Del_Line2>
    <Del_Line3>sample string 30</Del_Line3>
    <Del_Town>sample string 31</Del_Town>
    <Del_County>sample string 32</Del_County>
    <Del_Country>sample string 33</Del_Country>
    <Del_Postcode>sample string 34</Del_Postcode>
    <Del_AddressID>35</Del_AddressID>
    <ContactIDOrder>36</ContactIDOrder>
    <ContactIDDeliver>37</ContactIDDeliver>
    <ContactIDInvoice>38</ContactIDInvoice>
    <RequiredDelivery>sample string 39</RequiredDelivery>
    <SalesRep>sample string 40</SalesRep>
    <SalesRepID>sample string 41</SalesRepID>
    <AccountMgr>sample string 42</AccountMgr>
    <AccountMgrID>sample string 43</AccountMgrID>
    <OfficeRep>sample string 44</OfficeRep>
    <OfficeRepID>sample string 45</OfficeRepID>
    <WHActions>
      <WHAction>
        <ID>1</ID>
        <OrderID>2</OrderID>
        <OrderNo>3</OrderNo>
        <Consignment>4</Consignment>
        <WebOrderRef>sample string 5</WebOrderRef>
        <TimeStamp>2024-09-19T22:13:43.6213306+01:00</TimeStamp>
        <Action>7</Action>
        <ActionDesc>sample string 8</ActionDesc>
        <ActionedBy>sample string 9</ActionedBy>
        <WHActionsItems>
          <WHActionItem>
            <Code>sample string 1</Code>
            <Description>sample string 2</Description>
            <Qty>3</Qty>
          </WHActionItem>
          <WHActionItem>
            <Code>sample string 1</Code>
            <Description>sample string 2</Description>
            <Qty>3</Qty>
          </WHActionItem>
        </WHActionsItems>
      </WHAction>
      <WHAction>
        <ID>1</ID>
        <OrderID>2</OrderID>
        <OrderNo>3</OrderNo>
        <Consignment>4</Consignment>
        <WebOrderRef>sample string 5</WebOrderRef>
        <TimeStamp>2024-09-19T22:13:43.6213306+01:00</TimeStamp>
        <Action>7</Action>
        <ActionDesc>sample string 8</ActionDesc>
        <ActionedBy>sample string 9</ActionedBy>
        <WHActionsItems>
          <WHActionItem>
            <Code>sample string 1</Code>
            <Description>sample string 2</Description>
            <Qty>3</Qty>
          </WHActionItem>
          <WHActionItem>
            <Code>sample string 1</Code>
            <Description>sample string 2</Description>
            <Qty>3</Qty>
          </WHActionItem>
        </WHActionsItems>
      </WHAction>
    </WHActions>
    <Despatches>
      <Despatch>
        <DespatchNo>1</DespatchNo>
        <OrderID>2</OrderID>
        <OrderNo>3</OrderNo>
        <AccountNo>sample string 4</AccountNo>
        <AccountID>5</AccountID>
        <ChannelID>6</ChannelID>
        <WebOrderRef>sample string 7</WebOrderRef>
        <DespatchMethodID>8</DespatchMethodID>
        <DespatchMethodName>sample string 9</DespatchMethodName>
        <CarrierRef>sample string 10</CarrierRef>
        <CarrierName>sample string 11</CarrierName>
        <TrackingURL>sample string 12</TrackingURL>
        <DespDate>sample string 13</DespDate>
        <DocID>14</DocID>
        <DespLines>
          <DespLine>
            <ID>1</ID>
            <Code>sample string 2</Code>
            <Description>sample string 3</Description>
            <Qty>4</Qty>
          </DespLine>
          <DespLine>
            <ID>1</ID>
            <Code>sample string 2</Code>
            <Description>sample string 3</Description>
            <Qty>4</Qty>
          </DespLine>
        </DespLines>
      </Despatch>
      <Despatch>
        <DespatchNo>1</DespatchNo>
        <OrderID>2</OrderID>
        <OrderNo>3</OrderNo>
        <AccountNo>sample string 4</AccountNo>
        <AccountID>5</AccountID>
        <ChannelID>6</ChannelID>
        <WebOrderRef>sample string 7</WebOrderRef>
        <DespatchMethodID>8</DespatchMethodID>
        <DespatchMethodName>sample string 9</DespatchMethodName>
        <CarrierRef>sample string 10</CarrierRef>
        <CarrierName>sample string 11</CarrierName>
        <TrackingURL>sample string 12</TrackingURL>
        <DespDate>sample string 13</DespDate>
        <DocID>14</DocID>
        <DespLines>
          <DespLine>
            <ID>1</ID>
            <Code>sample string 2</Code>
            <Description>sample string 3</Description>
            <Qty>4</Qty>
          </DespLine>
          <DespLine>
            <ID>1</ID>
            <Code>sample string 2</Code>
            <Description>sample string 3</Description>
            <Qty>4</Qty>
          </DespLine>
        </DespLines>
      </Despatch>
    </Despatches>
    <EventInvoices>
      <EventInvoice>
        <DocumentType>sample string 1</DocumentType>
        <DocumentID>2</DocumentID>
        <DocumentRef>sample string 3</DocumentRef>
        <Created>sample string 4</Created>
        <GoodsAmount>5</GoodsAmount>
        <VATAmount>6</VATAmount>
        <SurchargeAmount>7</SurchargeAmount>
      </EventInvoice>
      <EventInvoice>
        <DocumentType>sample string 1</DocumentType>
        <DocumentID>2</DocumentID>
        <DocumentRef>sample string 3</DocumentRef>
        <Created>sample string 4</Created>
        <GoodsAmount>5</GoodsAmount>
        <VATAmount>6</VATAmount>
        <SurchargeAmount>7</SurchargeAmount>
      </EventInvoice>
    </EventInvoices>
    <EventPayments>
      <EventPayment>
        <PaymentDate>sample string 1</PaymentDate>
        <Amount>2</Amount>
        <Ref1>sample string 3</Ref1>
        <Ref2>sample string 4</Ref2>
        <Description>sample string 5</Description>
        <Name>sample string 6</Name>
        <PaymentTypeID>7</PaymentTypeID>
      </EventPayment>
      <EventPayment>
        <PaymentDate>sample string 1</PaymentDate>
        <Amount>2</Amount>
        <Ref1>sample string 3</Ref1>
        <Ref2>sample string 4</Ref2>
        <Description>sample string 5</Description>
        <Name>sample string 6</Name>
        <PaymentTypeID>7</PaymentTypeID>
      </EventPayment>
    </EventPayments>
    <EventDocuments>
      <EventDocument>
        <DocumentType>sample string 1</DocumentType>
        <DocumentTypeID>2</DocumentTypeID>
        <DocumentID>3</DocumentID>
        <DocumentRef>sample string 4</DocumentRef>
        <Created>sample string 5</Created>
      </EventDocument>
      <EventDocument>
        <DocumentType>sample string 1</DocumentType>
        <DocumentTypeID>2</DocumentTypeID>
        <DocumentID>3</DocumentID>
        <DocumentRef>sample string 4</DocumentRef>
        <Created>sample string 5</Created>
      </EventDocument>
    </EventDocuments>
    <OrderLines>
      <OrderLine>
        <OrderID>1</OrderID>
        <OrderNumber>2</OrderNumber>
        <LineID>3</LineID>
        <Editable>true</Editable>
        <ID>5</ID>
        <Code>sample string 6</Code>
        <Description>sample string 7</Description>
        <Qty>8</Qty>
        <QtyDespatched>9</QtyDespatched>
        <QtyInWarehouse>10</QtyInWarehouse>
        <QtyInvoiced>11</QtyInvoiced>
        <QtyProcessed>12</QtyProcessed>
        <Status>sample string 13</Status>
        <Value>14</Value>
        <ValueIncVAT>15</ValueIncVAT>
        <UnitPrice>16</UnitPrice>
        <UnitPriceCust>17</UnitPriceCust>
        <UnitPriceList>18</UnitPriceList>
        <RequiredDate>sample string 19</RequiredDate>
        <EstimatedDate>sample string 20</EstimatedDate>
        <EstimatedDateText>sample string 21</EstimatedDateText>
        <LineText>sample string 22</LineText>
        <IsKitHeader>true</IsKitHeader>
        <IsKitItem>true</IsKitItem>
        <KitParentLineID>25</KitParentLineID>
      </OrderLine>
      <OrderLine>
        <OrderID>1</OrderID>
        <OrderNumber>2</OrderNumber>
        <LineID>3</LineID>
        <Editable>true</Editable>
        <ID>5</ID>
        <Code>sample string 6</Code>
        <Description>sample string 7</Description>
        <Qty>8</Qty>
        <QtyDespatched>9</QtyDespatched>
        <QtyInWarehouse>10</QtyInWarehouse>
        <QtyInvoiced>11</QtyInvoiced>
        <QtyProcessed>12</QtyProcessed>
        <Status>sample string 13</Status>
        <Value>14</Value>
        <ValueIncVAT>15</ValueIncVAT>
        <UnitPrice>16</UnitPrice>
        <UnitPriceCust>17</UnitPriceCust>
        <UnitPriceList>18</UnitPriceList>
        <RequiredDate>sample string 19</RequiredDate>
        <EstimatedDate>sample string 20</EstimatedDate>
        <EstimatedDateText>sample string 21</EstimatedDateText>
        <LineText>sample string 22</LineText>
        <IsKitHeader>true</IsKitHeader>
        <IsKitItem>true</IsKitItem>
        <KitParentLineID>25</KitParentLineID>
      </OrderLine>
    </OrderLines>
  </Order>
  <Order>
    <ID>1</ID>
    <Kind>sample string 2</Kind>
    <Created>sample string 3</Created>
    <Number>4</Number>
    <Description>sample string 5</Description>
    <ChannelID>6</ChannelID>
    <AccountNo>sample string 7</AccountNo>
    <AccountID>8</AccountID>
    <Status>sample string 9</Status>
    <Editable>true</Editable>
    <Currency>sample string 11</Currency>
    <Active>true</Active>
    <Value>13</Value>
    <ValueVAT>14</ValueVAT>
    <Carriage>15</Carriage>
    <CarriageVAT>16</CarriageVAT>
    <WebOrderRef>sample string 17</WebOrderRef>
    <CustomerPONo>sample string 18</CustomerPONo>
    <Bill_Line1>sample string 19</Bill_Line1>
    <Bill_Line2>sample string 20</Bill_Line2>
    <Bill_Line3>sample string 21</Bill_Line3>
    <Bill_Town>sample string 22</Bill_Town>
    <Bill_County>sample string 23</Bill_County>
    <Bill_Country>sample string 24</Bill_Country>
    <Bill_Postcode>sample string 25</Bill_Postcode>
    <Bill_AddressID>26</Bill_AddressID>
    <Del_Line1>sample string 27</Del_Line1>
    <Del_Company>sample string 28</Del_Company>
    <Del_Line2>sample string 29</Del_Line2>
    <Del_Line3>sample string 30</Del_Line3>
    <Del_Town>sample string 31</Del_Town>
    <Del_County>sample string 32</Del_County>
    <Del_Country>sample string 33</Del_Country>
    <Del_Postcode>sample string 34</Del_Postcode>
    <Del_AddressID>35</Del_AddressID>
    <ContactIDOrder>36</ContactIDOrder>
    <ContactIDDeliver>37</ContactIDDeliver>
    <ContactIDInvoice>38</ContactIDInvoice>
    <RequiredDelivery>sample string 39</RequiredDelivery>
    <SalesRep>sample string 40</SalesRep>
    <SalesRepID>sample string 41</SalesRepID>
    <AccountMgr>sample string 42</AccountMgr>
    <AccountMgrID>sample string 43</AccountMgrID>
    <OfficeRep>sample string 44</OfficeRep>
    <OfficeRepID>sample string 45</OfficeRepID>
    <WHActions>
      <WHAction>
        <ID>1</ID>
        <OrderID>2</OrderID>
        <OrderNo>3</OrderNo>
        <Consignment>4</Consignment>
        <WebOrderRef>sample string 5</WebOrderRef>
        <TimeStamp>2024-09-19T22:13:43.6213306+01:00</TimeStamp>
        <Action>7</Action>
        <ActionDesc>sample string 8</ActionDesc>
        <ActionedBy>sample string 9</ActionedBy>
        <WHActionsItems>
          <WHActionItem>
            <Code>sample string 1</Code>
            <Description>sample string 2</Description>
            <Qty>3</Qty>
          </WHActionItem>
          <WHActionItem>
            <Code>sample string 1</Code>
            <Description>sample string 2</Description>
            <Qty>3</Qty>
          </WHActionItem>
        </WHActionsItems>
      </WHAction>
      <WHAction>
        <ID>1</ID>
        <OrderID>2</OrderID>
        <OrderNo>3</OrderNo>
        <Consignment>4</Consignment>
        <WebOrderRef>sample string 5</WebOrderRef>
        <TimeStamp>2024-09-19T22:13:43.6213306+01:00</TimeStamp>
        <Action>7</Action>
        <ActionDesc>sample string 8</ActionDesc>
        <ActionedBy>sample string 9</ActionedBy>
        <WHActionsItems>
          <WHActionItem>
            <Code>sample string 1</Code>
            <Description>sample string 2</Description>
            <Qty>3</Qty>
          </WHActionItem>
          <WHActionItem>
            <Code>sample string 1</Code>
            <Description>sample string 2</Description>
            <Qty>3</Qty>
          </WHActionItem>
        </WHActionsItems>
      </WHAction>
    </WHActions>
    <Despatches>
      <Despatch>
        <DespatchNo>1</DespatchNo>
        <OrderID>2</OrderID>
        <OrderNo>3</OrderNo>
        <AccountNo>sample string 4</AccountNo>
        <AccountID>5</AccountID>
        <ChannelID>6</ChannelID>
        <WebOrderRef>sample string 7</WebOrderRef>
        <DespatchMethodID>8</DespatchMethodID>
        <DespatchMethodName>sample string 9</DespatchMethodName>
        <CarrierRef>sample string 10</CarrierRef>
        <CarrierName>sample string 11</CarrierName>
        <TrackingURL>sample string 12</TrackingURL>
        <DespDate>sample string 13</DespDate>
        <DocID>14</DocID>
        <DespLines>
          <DespLine>
            <ID>1</ID>
            <Code>sample string 2</Code>
            <Description>sample string 3</Description>
            <Qty>4</Qty>
          </DespLine>
          <DespLine>
            <ID>1</ID>
            <Code>sample string 2</Code>
            <Description>sample string 3</Description>
            <Qty>4</Qty>
          </DespLine>
        </DespLines>
      </Despatch>
      <Despatch>
        <DespatchNo>1</DespatchNo>
        <OrderID>2</OrderID>
        <OrderNo>3</OrderNo>
        <AccountNo>sample string 4</AccountNo>
        <AccountID>5</AccountID>
        <ChannelID>6</ChannelID>
        <WebOrderRef>sample string 7</WebOrderRef>
        <DespatchMethodID>8</DespatchMethodID>
        <DespatchMethodName>sample string 9</DespatchMethodName>
        <CarrierRef>sample string 10</CarrierRef>
        <CarrierName>sample string 11</CarrierName>
        <TrackingURL>sample string 12</TrackingURL>
        <DespDate>sample string 13</DespDate>
        <DocID>14</DocID>
        <DespLines>
          <DespLine>
            <ID>1</ID>
            <Code>sample string 2</Code>
            <Description>sample string 3</Description>
            <Qty>4</Qty>
          </DespLine>
          <DespLine>
            <ID>1</ID>
            <Code>sample string 2</Code>
            <Description>sample string 3</Description>
            <Qty>4</Qty>
          </DespLine>
        </DespLines>
      </Despatch>
    </Despatches>
    <EventInvoices>
      <EventInvoice>
        <DocumentType>sample string 1</DocumentType>
        <DocumentID>2</DocumentID>
        <DocumentRef>sample string 3</DocumentRef>
        <Created>sample string 4</Created>
        <GoodsAmount>5</GoodsAmount>
        <VATAmount>6</VATAmount>
        <SurchargeAmount>7</SurchargeAmount>
      </EventInvoice>
      <EventInvoice>
        <DocumentType>sample string 1</DocumentType>
        <DocumentID>2</DocumentID>
        <DocumentRef>sample string 3</DocumentRef>
        <Created>sample string 4</Created>
        <GoodsAmount>5</GoodsAmount>
        <VATAmount>6</VATAmount>
        <SurchargeAmount>7</SurchargeAmount>
      </EventInvoice>
    </EventInvoices>
    <EventPayments>
      <EventPayment>
        <PaymentDate>sample string 1</PaymentDate>
        <Amount>2</Amount>
        <Ref1>sample string 3</Ref1>
        <Ref2>sample string 4</Ref2>
        <Description>sample string 5</Description>
        <Name>sample string 6</Name>
        <PaymentTypeID>7</PaymentTypeID>
      </EventPayment>
      <EventPayment>
        <PaymentDate>sample string 1</PaymentDate>
        <Amount>2</Amount>
        <Ref1>sample string 3</Ref1>
        <Ref2>sample string 4</Ref2>
        <Description>sample string 5</Description>
        <Name>sample string 6</Name>
        <PaymentTypeID>7</PaymentTypeID>
      </EventPayment>
    </EventPayments>
    <EventDocuments>
      <EventDocument>
        <DocumentType>sample string 1</DocumentType>
        <DocumentTypeID>2</DocumentTypeID>
        <DocumentID>3</DocumentID>
        <DocumentRef>sample string 4</DocumentRef>
        <Created>sample string 5</Created>
      </EventDocument>
      <EventDocument>
        <DocumentType>sample string 1</DocumentType>
        <DocumentTypeID>2</DocumentTypeID>
        <DocumentID>3</DocumentID>
        <DocumentRef>sample string 4</DocumentRef>
        <Created>sample string 5</Created>
      </EventDocument>
    </EventDocuments>
    <OrderLines>
      <OrderLine>
        <OrderID>1</OrderID>
        <OrderNumber>2</OrderNumber>
        <LineID>3</LineID>
        <Editable>true</Editable>
        <ID>5</ID>
        <Code>sample string 6</Code>
        <Description>sample string 7</Description>
        <Qty>8</Qty>
        <QtyDespatched>9</QtyDespatched>
        <QtyInWarehouse>10</QtyInWarehouse>
        <QtyInvoiced>11</QtyInvoiced>
        <QtyProcessed>12</QtyProcessed>
        <Status>sample string 13</Status>
        <Value>14</Value>
        <ValueIncVAT>15</ValueIncVAT>
        <UnitPrice>16</UnitPrice>
        <UnitPriceCust>17</UnitPriceCust>
        <UnitPriceList>18</UnitPriceList>
        <RequiredDate>sample string 19</RequiredDate>
        <EstimatedDate>sample string 20</EstimatedDate>
        <EstimatedDateText>sample string 21</EstimatedDateText>
        <LineText>sample string 22</LineText>
        <IsKitHeader>true</IsKitHeader>
        <IsKitItem>true</IsKitItem>
        <KitParentLineID>25</KitParentLineID>
      </OrderLine>
      <OrderLine>
        <OrderID>1</OrderID>
        <OrderNumber>2</OrderNumber>
        <LineID>3</LineID>
        <Editable>true</Editable>
        <ID>5</ID>
        <Code>sample string 6</Code>
        <Description>sample string 7</Description>
        <Qty>8</Qty>
        <QtyDespatched>9</QtyDespatched>
        <QtyInWarehouse>10</QtyInWarehouse>
        <QtyInvoiced>11</QtyInvoiced>
        <QtyProcessed>12</QtyProcessed>
        <Status>sample string 13</Status>
        <Value>14</Value>
        <ValueIncVAT>15</ValueIncVAT>
        <UnitPrice>16</UnitPrice>
        <UnitPriceCust>17</UnitPriceCust>
        <UnitPriceList>18</UnitPriceList>
        <RequiredDate>sample string 19</RequiredDate>
        <EstimatedDate>sample string 20</EstimatedDate>
        <EstimatedDateText>sample string 21</EstimatedDateText>
        <LineText>sample string 22</LineText>
        <IsKitHeader>true</IsKitHeader>
        <IsKitItem>true</IsKitItem>
        <KitParentLineID>25</KitParentLineID>
      </OrderLine>
    </OrderLines>
  </Order>
</Orders>