API
User Manual
  • Introduction to API v2
  • Guides
    • Getting started
    • Authorization
    • Delivery Notes Integrations
  • API Reference
    • General
      • Data types
        • Validation
        • Prices
      • Schema
      • Flags
      • ETags
        • ETag examples
      • Filtering
      • Sorting
      • Paging
      • Methods
      • HTTP Status Codes
    • Enums
      • Payment methods
      • Units
      • Order status
  • Entity
    • Attendance
    • Branch
    • Category
    • Cloud
    • Course
    • Customer
    • Customer Account
    • Customer Account Log
    • Daily Menu
    • Daily Menu Product
    • Delivery Note
    • Discount group
    • EET subject
    • Employee
    • Money log
    • Order
    • Order item
    • Product
    • Product Customization
    • Product Ingredient
    • Reservation
    • Stock Packaging
    • Supplier
    • Table
    • Tag
    • Tax (VAT rates)
    • Warehouse
    • Warehouse Branch
  • Others
    • Reports
      • Base Sales Report
    • POS actions
    • Release notes
    • Breaking changes
    • Webhook
    • Third-party libraries
  • Migration
    • Migrating from API v1
    • API v1 Services
      • Branch Service
      • Category Service
      • Customer Service
      • Employee Service
      • OAuth2 Login Service
      • POS action service
      • Product Service
      • Reservation Service
      • Sale Service
      • Stock Service
      • Supplier Service
      • Tableseat Service
      • Tag Service
      • Warehouse Service
Powered by GitBook
On this page
  • Money log schema
  • Money log flags
  • Get money logs
  • Get money log
  • Options money logs
  • Options money log

Was this helpful?

Export as PDF
  1. Entity

Money log

PreviousEmployeeNextOrder

Last updated 2 months ago

Was this helpful?

Money log schema

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

_branchId integer 📶 EQUALS,ENUM

_cloudId integer

_employeeId long? 📶 EQUALS,ENUM

_orderId long 📶 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

Branch ID
Cloud ID
Employee ID
Order ID