POSBalances

Search for balances

Get balances. Balances are readonly and can only be created via Customers 1st app

get/posbalances

Request

  • Base URL
    https://api.c1st.com/api
  • URL
    https://api.c1st.com/api/posbalances
  • Auth
    HTTP bearer

Query parameters

paginationStartinteger

Determine the offset (in number of item) to fetch. This is usually a multiple of the pageLength.

paginationPageLengthinteger

Determine the number of items to fetch in one page.

sortOrder-1 | 1

Sorting order. If order is 1, items are retrieved in ascending order, if -1, in descending order.

sortFieldstring

Sort by field e.g. date,...

userIdinteger

Id of the cashier

cashRegisterIdinteger

Id of the cash register

toDatestring

Get all payments before the given date

fromDatestring

Get all payments after the given date

Response

Ok

countinteger nullable

The total number of items found by the query.

hasMoreboolean

True if there are data to retrieve than the given page length

Example response

{
  "content": [
    {
      "date": "2019-01-01 12:00:00",
      "enddate": "2019-01-01 12:00:00",
      "startdate": "2019-01-01 12:00:00",
      "numpayments": 5,
      "cashstart": 123.45,
      "cashcounted": 123.45,
      "expense": 123.54,
      "cashrevenue": 123.45,
      "cashtobank": 123.45,
      "cashdifference": 123.45,
      "totalrevenue": 123.45,
      "totalrevenue_ex_vat": 123.45,
      "cashregistertitle": "Register 1",
      "last_synced_at": "2019-01-01 12:00:00",
      "lastdinerosync": "2019-01-01 12:00:00",
      "lasteconomicsync": "2019-01-01 12:00:00",
      "paymenttypes": [
        {
          "paymenttypeid": 1,
          "title": "Cash",
          "amount": 123.45,
          "card_fees": 123.45,
          "cash": true,
          "accountno": "1234",
          "currency": "DKK",
          "giftcardtype": "1234"
        }
      ],
      "payouts": [
        {
          "date": "2025-05-01 12:00:00",
          "exported_at": "2025-05-01 12:00:00",
          "reference": "3K94P0673PGSJUF3",
          "amount": 123.45,
          "currency": "DKK"
        }
      ],
      "returnsum": -100,
      "salesum": 100,
      "invoices": 1,
      "invoicesum": 1000,
      "totalsenttobookkeeping": 123.45,
      "totalvat": 123.45,
      "totalvatbypercentage": [
        {
          "vat_type_name": "25%",
          "revenue_account_no": "1234",
          "vat_account_no": "1234",
          "percentage": 25,
          "amount": 420,
          "revenue_ex_vat": 1680,
          "revenue_incl_vat": 2100
        }
      ],
      "totalcostprice": 123.45,
      "totalcostpricestockonly": 123.45,
      "note": "This is a note",
      "stockvalue": 10,
      "startpaymentno": 255,
      "endpaymentno": 256,
      "number_of_products": 15,
      "number_of_services": 3,
      "number_of_return_sales": 2,
      "number_of_uncompleted_sales": 1,
      "total_discount": 50.75,
      "total_uncompleted_sales": 125.5,
      "accumulated_sales": 125.5,
      "accumulated_returns": 30,
      "drawer_open_count": 10,
      "number_of_receipts": 20,
      "number_of_receipt_copies_printed": 5,
      "total_revenue_receipt_copies": 30
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.