API
Search…
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
_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
transactionType enum Transaction type 📶 EQUALS, ENUM
versionDate timestamp? Last modification date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH

MoneyLog.transactionType (enum)

1
// represented as a string in JSON
2
SALE,
3
REFUND,
4
REGISTER_CLOSE,
5
REGISTER_OPEN,
6
CASH_IN_OUT,
7
REGISTER_CLOSE_SECONDARY,
8
REGISTER_OPEN_SECONDARY
Copied!

JSON response

1
{
2
"_branchId": <integer>,
3
"_cloudId": <integer>,
4
"_employeeId": <long>,
5
"_orderId": <long>,
6
"_sellerId": <long>,
7
"amount": <double>,
8
"created": <timestamp>,
9
"currency": <string>,
10
"flags": <long>,
11
"id": <long>,
12
"note": <string>,
13
"paymentTypeId": <long>,
14
"tags": <string[]>,
15
"transactionType": <enum>
16
"versionDate": <timestamp>
17
}
Copied!

Money log flags

Bit
Name
1
INVOICE_FROM_RECEIPTS
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/money-logs
Get money logs
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/money-logs/:moneyLogId
Get money log
options
https://api.dotykacka.cz
/v2/clouds/:cloudId/money-logs
Options money logs
options
https://api.dotykacka.cz
/v2/clouds/:cloudId/money-logs/:moneyLogId
Options money log
Last modified 7d ago