Cash Register Closing API

Manage cash register closing items (cash balance closing documents) — retrieve, create, and update

Base URL

https://{tenant}.logzi.com/api/cash_pretense/

Every request returns a JSON response. On success result.code == 1, on failure result.code == 0. Cash closing items (cash pretense) are the balance lines recorded when closing the cash register — e.g. turnover calculated from the number of cash, coins, and banknotes.

GET /api/cash_pretense/get

Retrieve a single cash closing item by ID.

Query parameters

ParameterTypeRequiredDescription
idintUnique identifier of the closing item

Example request

GET /api/cash_pretense/get?id=3
X-API-KEY: {your_api_key}
GET /api/cash_pretense/list

Retrieve the list of cash closing items.

Query parameters

ParameterTypeRequiredDescription
list_offsetintPagination offset (default: 0)
list_conditionobjectObject of filter conditions
language_idintLanguage ID for translation

Example request

GET /api/cash_pretense/list?list_offset=0
X-API-KEY: {your_api_key}
POST /api/cash_pretense/save

Create or update a cash closing item. Use data[id] = 0 for a new item.

POST fields — data object

FieldTypeRequiredDescription
idint0 = new item, >0 = update
namestringName / label of the item
type_idintID of the closing item type
ledger_number_idintID of the ledger account number

Example request

POST /api/cash_pretense/save
X-API-KEY: {your_api_key}
Content-Type: application/json

{
  "data": {
    "id": 0,
    "name": "Napi záró egyenleg",
    "type_id": 1,
    "ledger_number_id": 5
  }
}
POST /api/cash_pretense/delete

Delete a cash closing item.

POST fields — data object

FieldTypeRequiredDescription
idintID of the closing item to delete

Example request

POST /api/cash_pretense/delete
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 3 } }

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!