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

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

NameTypeDescription

cloudId*

integer

Query Parameters

NameTypeDescription

sort

string

filter

string

page

integer

limit

integer

Headers

NameTypeDescription

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

NameTypeDescription

moneyLogId*

integer

cloudId*

integer

Headers

NameTypeDescription

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

NameTypeDescription

cloudId*

integer

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Options money log

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

Path Parameters

NameTypeDescription

moneyLogId*

integer

cloudId*

integer

Headers

NameTypeDescription

Authorization*

string

Bearer accessToken

Last updated