---
title: "Balanca e arkes fiskale"
operation_id: "api.v1.cash-register.balance"
method: GET
path: "/api/v1/cash-register/balance"
group: "Arka Fiskale"
api_version: "v1"
authenticated: true
canonical: "https://fature.al/api-reference/endpoints/api-v1-cash-register-balance.html"
---

# Balanca e arkes fiskale

Part of the [fature.al API](/api-reference/index.html) documentation.

## GET /api/v1/cash-register/balance

Kthen gjendjen e arkes fiskale (TCR) te perdoruesit, ne ALL.

Pa `toDate` kthehet balanca e fundit. Me `toDate` llogaritet gjendja sic ka qene ne fund te asaj
dite, cka e ben te dobishme per rakordim me nje dite te shkuar.

Full URL: `https://fature.al/api/v1/cash-register/balance`

API version: `v1`.

Authentication: required (bearer token).

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `toDate` | string<date>, nullable | no | Data deri te cila llogaritet balanca. Pa te kthehet balanca e fundit. |

### Example request

```bash
curl -X GET 'https://fature.al/api/v1/cash-register/balance' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'X-Client-Id: YOUR_CLIENT_ID' \
  -H 'X-Client-Secret: YOUR_CLIENT_SECRET' \
  -H 'Accept: application/json'
```

### Responses

**200** — Kur perdoruesi nuk ka pajisje fiskale, pergjigja kthehet me HTTP 200 dhe `status: false`.

**422** — Te dhenat nuk kaluan validimin. Kjo pergjigje perdor fushen `success`, jo `status`.

| Field | Type | Description |
| --- | --- | --- |
| `success` | boolean | Always false |
| `message` | string | A single summary line, the same for every validation failure |
| `errors` | object | The failing fields, each with the messages for it. Dotted keys point into nested objects and array items, e.g. `lines.0.quantity` |

```json
{
    "success": true,
    "message": "Hello there",
    "errors": []
}
```

**500** — Gabim i papritur ne server.

| Field | Type | Description |
| --- | --- | --- |
| `status` | boolean | Always false. A successful response carries `status: true` and a `data` object instead |
| `message` | string | The exception message. Empty when the failure carries no exception of its own |
| `errors` | array | Messages to show the operator or to log. Absent when the failure has nothing to add beyond `message` |

```json
{
    "status": true,
    "message": "Hello there",
    "errors": [
        "errors"
    ]
}
```
