Money log

Money log schema

id long? Money Log ID - cannot be null in PUT/PATCH methods ๐Ÿ“ถ EQUALS,ENUM

_branchId integer Branch ๐Ÿ“ถ EQUALS,ENUM

_cloudId integer Cloudโ€‹

_employeeId long? Employee ๐Ÿ“ถ EQUALS,ENUM

_orderId long Order ๐Ÿ“ถ EQUALS,ENUM

_sellerId long? Seller ๐Ÿ“ถ 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)

// representation like string
REFUND, REGISTER_CLOSE, REGISTER_OPEN,
SALE, CASH_IN_OUT, OUT, RECEIVED

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[]>,
"transactionType": <enum>
"versionDate": <timestamp>
}

Money log flags

Bit

Name

1

INVOICE_FROM_RECEIPTS

get
Get money logs

https://api.dotykacka.cz/v2/clouds/:cloudId/money-logs
Request
Response
Request
Path Parameters
cloudId
required
integer
โ€‹
Headers
If-None-Match
optional
string
ETag to return results only if changed.
Authorization
required
string
Bearer accessToken
Query Parameters
sort
optional
string
โ€‹
filter
optional
string
โ€‹
page
optional
integer
โ€‹
limit
optional
integer
โ€‹
Response
200: OK
[
{
// tag schema
}
]

get
Get money log

https://api.dotykacka.cz/v2/clouds/:cloudId/money-logs/:moneyLogId
Request
Response
Request
Path Parameters
moneyLogId
required
integer
โ€‹
cloudId
required
integer
โ€‹
Headers
If-None-Match
optional
string
ETag to return results only if changed.
Authorization
required
string
Bearer accessToken
Response
200: OK
{
// tag schema
}

options
Options money logs

https://api.dotykacka.cz/v2/clouds/:cloudId/money-logs
Request
Response
Request
Path Parameters
cloudId
required
integer
โ€‹
Headers
Authorization
required
string
Bearer accessToken
Response
200: OK
โ€‹

options
Options money log

https://api.dotykacka.cz/v2/clouds/:cloudId/money-logs/:moneyLogId
Request
Response
Request
Path Parameters
moneyLogId
required
integer
โ€‹
cloudId
required
integer
โ€‹
Headers
Authorization
required
string
Bearer accessToken
Response
200: OK
โ€‹