Skip to content

Money log

Money log schema

id long?
Money Log ID - cannot be null in PUT/PATCH methods
📶 EQUALS,ENUM

_branchId integer
Branch ID
📶 EQUALS,ENUM

_cloudId integer
Cloud ID

_employeeId long?
Employee ID
📶 EQUALS,ENUM

_orderId long
Order ID
📶 EQUALS,ENUM

_relatedMoneyLogId long?
Related money log ID
📶 EQUALS,ENUM

_sellerId long?
Seller ID
📶 EQUALS,ENUM

amount double
Money log amount

created timestamp
Money log created date and time
📶 EQUALS, ENUM, NUMBER 🔽 BOTH

currency string?(3)
Currency code

flags long
Money log flags
📶 BITS

note string?(1000)
Money log note

paymentTypeId long
Payment type ID
📶 EQUALS, ENUM

tags string[]?
Tags for a money log
📶 EQUALS, ENUM

tipAmount double?
Paid tip amount

transactionType enum
Transaction type
📶 EQUALS, ENUM

versionDate timestamp?
Last modification date and time
📶 EQUALS, ENUM, NUMBER 🔽 BOTH

MoneyLog.transactionType (enum)

// represented as a string in JSON
SALE,
REFUND,
REGISTER_CLOSE,
REGISTER_OPEN,
CASH_IN_OUT,
REGISTER_CLOSE_SECONDARY,
REGISTER_OPEN_SECONDARY

JSON response

{
    "_branchId": <integer>,
    "_cloudId": <integer>,
    "_employeeId": <long>,
    "_orderId": <long>,
    "_sellerId": <long>,
    "amount": <double>,
    "created": <timestamp>,
    "currency": <string>,
    "flags": <long>,
    "id": <long>,
    "note": <string>,
    "paymentTypeId": <long>,
    "tags": <string[]>,
    "tipAmount": <double>?,
    "transactionType": <enum>,
    "versionDate": <timestamp>
}

Money log flags

Bit Name
1 INVOICE_FROM_RECEIPTS

Get money logs

GET https://api.dotykacka.cz/v2/clouds/:cloudId/money-logs

Path Parameters

Name Type Description
cloudId* integer

Query Parameters

Name Type Description
sort string
filter string
page integer
limit integer

Headers

Name Type Description
If-None-Match string ETag to return results only if changed.
Authorization* string Bearer accessToken
[
 {
  // tag schema
 }
]

Get money log

GET https://api.dotykacka.cz/v2/clouds/:cloudId/money-logs/:moneyLogId

Path Parameters

Name Type Description
moneyLogId* integer
cloudId* integer

Headers

Name Type Description
If-None-Match string ETag to return results only if changed.
Authorization* string Bearer accessToken
{
    // tag schema
}

Options money logs

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/money-logs

Path Parameters

Name Type Description
cloudId* integer

Headers

Name Type Description
Authorization* string Bearer accessToken

Options money log

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/money-logs/:moneyLogId

Path Parameters

Name Type Description
moneyLogId* integer
cloudId* integer

Headers

Name Type Description
Authorization* string Bearer accessToken