GET api/Sales?from={from}&to={to}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
from

string

Required

to

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Sale
NameDescriptionTypeAdditional information
Sale_Key

string

None.

Customer

Customer

Required

Sale_Date

date

Required

Store_Id

integer

Required

Grand_Total

decimal number

Required

SaleLines

Collection of SaleLine

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "sale_key": "sample string 1",
    "customer": {
      "id": 1,
      "code": "sample string 2",
      "name": "sample string 3",
      "firstname": "sample string 4",
      "lastname": "sample string 5",
      "customerkey": "040c1842-789f-4261-b0e2-d7f2eb3b0b2c",
      "customergroupid": 7,
      "creationdate": "2026-10-02T12:17:59+02:00",
      "modificationdate": "2026-10-02T12:17:59+02:00",
      "barcode": "sample string 10",
      "address": "sample string 11",
      "address_2": "sample string 12",
      "addressnr": "sample string 13",
      "addressbox": "sample string 14",
      "postalcode": "sample string 15",
      "community": "sample string 16",
      "gender": "sample string 17",
      "phones": [
        {
          "sequence": 1,
          "type": 1,
          "typetext": "sample string 2",
          "phonenumber": "sample string 3"
        },
        {
          "sequence": 1,
          "type": 1,
          "typetext": "sample string 2",
          "phonenumber": "sample string 3"
        }
      ],
      "weburl": "sample string 18",
      "email": "sample string 19",
      "webpass_plain": "sample string 20",
      "optin": true,
      "language": "sample string 21",
      "vatliable": true,
      "vatcountry": "sample string 23",
      "vatnumber": "sample string 24",
      "invoiceperiod": 25,
      "invoicecumultype": 26,
      "invoicepaymentcondition": 27,
      "discountpercentage": 28.1,
      "pricesexclusive": true,
      "ticketdigital": true,
      "invoicedeliveryaddresses": [
        {
          "id": 1,
          "key": "82c52200-0745-48a4-905b-b6fcd8960777",
          "customerid": 3,
          "customerkey": "db7d0498-b878-4f3b-9f2c-3ac3346322e2",
          "name": "sample string 5",
          "address": "sample string 6",
          "postalcode": "sample string 7",
          "community": "sample string 8",
          "phone": "sample string 9",
          "email": "sample string 10"
        },
        {
          "id": 1,
          "key": "82c52200-0745-48a4-905b-b6fcd8960777",
          "customerid": 3,
          "customerkey": "db7d0498-b878-4f3b-9f2c-3ac3346322e2",
          "name": "sample string 5",
          "address": "sample string 6",
          "postalcode": "sample string 7",
          "community": "sample string 8",
          "phone": "sample string 9",
          "email": "sample string 10"
        }
      ],
      "shopidpreferred": 1,
      "ispersonnel": true
    },
    "sale_date": "2026-10-02T12:17:59.7311084+02:00",
    "store_id": 3,
    "grand_total": 4.0,
    "salelines": [
      {
        "line_id": "sample string 1",
        "sale_key": "sample string 2",
        "product_name": "sample string 3",
        "product_name_fr": "sample string 4",
        "product_name_nl": "sample string 5",
        "price": 6.0,
        "unit": "sample string 7",
        "quantity": 8.0,
        "tax_amount": 9.0,
        "tax_percent": 10.0,
        "row_total": 11.0,
        "comment": "sample string 12"
      },
      {
        "line_id": "sample string 1",
        "sale_key": "sample string 2",
        "product_name": "sample string 3",
        "product_name_fr": "sample string 4",
        "product_name_nl": "sample string 5",
        "price": 6.0,
        "unit": "sample string 7",
        "quantity": 8.0,
        "tax_amount": 9.0,
        "tax_percent": 10.0,
        "row_total": 11.0,
        "comment": "sample string 12"
      }
    ]
  },
  {
    "sale_key": "sample string 1",
    "customer": {
      "id": 1,
      "code": "sample string 2",
      "name": "sample string 3",
      "firstname": "sample string 4",
      "lastname": "sample string 5",
      "customerkey": "040c1842-789f-4261-b0e2-d7f2eb3b0b2c",
      "customergroupid": 7,
      "creationdate": "2026-10-02T12:17:59+02:00",
      "modificationdate": "2026-10-02T12:17:59+02:00",
      "barcode": "sample string 10",
      "address": "sample string 11",
      "address_2": "sample string 12",
      "addressnr": "sample string 13",
      "addressbox": "sample string 14",
      "postalcode": "sample string 15",
      "community": "sample string 16",
      "gender": "sample string 17",
      "phones": [
        {
          "sequence": 1,
          "type": 1,
          "typetext": "sample string 2",
          "phonenumber": "sample string 3"
        },
        {
          "sequence": 1,
          "type": 1,
          "typetext": "sample string 2",
          "phonenumber": "sample string 3"
        }
      ],
      "weburl": "sample string 18",
      "email": "sample string 19",
      "webpass_plain": "sample string 20",
      "optin": true,
      "language": "sample string 21",
      "vatliable": true,
      "vatcountry": "sample string 23",
      "vatnumber": "sample string 24",
      "invoiceperiod": 25,
      "invoicecumultype": 26,
      "invoicepaymentcondition": 27,
      "discountpercentage": 28.1,
      "pricesexclusive": true,
      "ticketdigital": true,
      "invoicedeliveryaddresses": [
        {
          "id": 1,
          "key": "82c52200-0745-48a4-905b-b6fcd8960777",
          "customerid": 3,
          "customerkey": "db7d0498-b878-4f3b-9f2c-3ac3346322e2",
          "name": "sample string 5",
          "address": "sample string 6",
          "postalcode": "sample string 7",
          "community": "sample string 8",
          "phone": "sample string 9",
          "email": "sample string 10"
        },
        {
          "id": 1,
          "key": "82c52200-0745-48a4-905b-b6fcd8960777",
          "customerid": 3,
          "customerkey": "db7d0498-b878-4f3b-9f2c-3ac3346322e2",
          "name": "sample string 5",
          "address": "sample string 6",
          "postalcode": "sample string 7",
          "community": "sample string 8",
          "phone": "sample string 9",
          "email": "sample string 10"
        }
      ],
      "shopidpreferred": 1,
      "ispersonnel": true
    },
    "sale_date": "2026-10-02T12:17:59.7311084+02:00",
    "store_id": 3,
    "grand_total": 4.0,
    "salelines": [
      {
        "line_id": "sample string 1",
        "sale_key": "sample string 2",
        "product_name": "sample string 3",
        "product_name_fr": "sample string 4",
        "product_name_nl": "sample string 5",
        "price": 6.0,
        "unit": "sample string 7",
        "quantity": 8.0,
        "tax_amount": 9.0,
        "tax_percent": 10.0,
        "row_total": 11.0,
        "comment": "sample string 12"
      },
      {
        "line_id": "sample string 1",
        "sale_key": "sample string 2",
        "product_name": "sample string 3",
        "product_name_fr": "sample string 4",
        "product_name_nl": "sample string 5",
        "price": 6.0,
        "unit": "sample string 7",
        "quantity": 8.0,
        "tax_amount": 9.0,
        "tax_percent": 10.0,
        "row_total": 11.0,
        "comment": "sample string 12"
      }
    ]
  }
]