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

# Hap balancen e arkes

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

## POST /api/v1/cash-register/open-balance

Hap diten ne arken fiskale, hapi qe duhet para se te leshohet fatura e pare cash.

- `balance` eshte gjendja me te cilen nis dita. Pa te merret `0`.
- Perdoruesi duhet te kete nje pajisje fiskale (TCR) te lidhur, perndryshe veprimi nuk ka ku
  te regjistrohet.

Hapja regjistrohet si veprim `OPEN_DAY` dhe del ne listen e veprimeve.

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

API version: `v1`.

Authentication: required (bearer token).

### Example request

```bash
curl -X POST 'https://fature.al/api/v1/cash-register/open-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, kur balanca eshte negative, ose kur ruajtja deshton, pergjigja kthehet me HTTP 200 dhe `status: false`.

**201** — Created

| Field | Type | Description |
| --- | --- | --- |
| `status` | boolean |  |
| `data` | object |  |
| `data.balance` | number |  |

```json
{
    "status": true,
    "data": {
        "balance": 19.99
    }
}
```
