# Download cashier balances as JSON

**GET** `https://api.zoined.com/v2/download/cashierBalance.json?limit=1000&offset=0&start=2017-01-01&end=2017-01-31`

Endpoint: GET /v2/download/cashierBalance.json
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer token

## Query parameters:

  - `limit` (number)
    How many entries to return

  - `offset` (number)
    Which offset to return data from

  - `start` (string)
    Return data starting from given date

  - `end` (string)
    Return data ending to given date

## Response 200:

  - `200` (unknown)
    Request has been processed successfully.
**Headers**
- `Content-Type: application/json`

## Response 200 fields (application/json):

  - `organisation_id` (string, required)
    Identifier of store for this balance
    Example: ORG1

  - `department_id` (string)
    Optional identifier of department for this balance
    Example: DEP1

  - `register_id` (string)
    Optional cash register identifier for this balance
    Example: 123

  - `batch_id` (string)
    Optional batch or shift identifier for this balance row
    Example: 1

  - `payment_method` (string, required)
    Payment method of this balance row
    Example: Cash

  - `sales_date` (string, required)
    Date of balance (yyyy-mm-dd)
    Example: 2018-01-01

  - `sales_time` (string)
    Optional time of balance (hh:mm:ss)
    Example: 15:00:00

  - `batch_status` (string)
    Optional status of this batch ID
    Example: OK

  - `transaction_count` (number, required)
    Number of transactions for this shift and payment method
    Example: 9

  - `shift_amount` (number, required)
    Total amount of payments for this shift and payment method
    Example: 1000

  - `over_short` (number)
    Difference in money between sales and shift amounts
    Example: 100

  - `cash_dropped` (number)
    How much cash was dropped from register during this shift
    Example: 0

  - `cash_paid_out` (number)
    How much cash was paid out from register during this shift
    Example: 50

  - `currency` (string)
    Shift currency as ISO 4217 currency code. Required if multiple currencies are used by the customer.
    Example: EUR

## Response 400:

  - `400` (unknown)
    Invalid or malformed request.
**Headers**
- `Content-Type: application/json`

## Response 400 fields (application/json):

  - `status` (string, required)
    Status of the operation OK / Not OK
    Example: Not OK

  - `msg` (string, required)
    Message describing result of operation
    Example: Reason for error

## Response 401:

  - `401` (unknown)
    Missing or invalid authorization token in header
**Headers**
- `Content-Type: application/json`

## Response 401 fields (application/json):

  - `status` (string, required)
    Status of the operation OK / Not OK
    Example: Not OK

  - `msg` (string, required)
    Message describing result of operation
    Example: Unauthorized

## Response 500:

  - `500` (unknown)
    Internal error or exception
**Headers**
- `Content-Type: application/json`

## Response 500 fields (application/json):

  - `status` (string, required)
    Status of the operation OK / Not OK
    Example: Not OK

  - `msg` (string, required)
    Message describing result of operation
    Example: Reason for error

## Response 200 examples:

  - `response` (unknown)

## Response 400 examples:

  - `response` (unknown)

## Response 401 examples:

  - `response` (unknown)

## Response 500 examples:

  - `response` (unknown)

