Properties
Optional BankNotes
BankNotes: undefined | {}
Optional Coins
Coins: undefined | {}
CurrencyID
CurrencyID: string
Optional Data
Data: undefined | {}
DeviceID
DeviceID: number
Optional ForceValidation
ForceValidation: undefined | false | true
PaymentTypeID
PaymentTypeID: number
Optional PendingCashDeposits
PendingCashDeposits: number[]
TotalAmount
TotalAmount: number
Completes the closing of a cash journal, making the device once again unavailable for cash transactions until a new journal is opened.
This service expects a list of coins and notes, which summed up must equal the given
TotalAmount
.If the
TotalAmount
is different from what was expected (returned asExpectedClosingAmount
inStartCloseCashJournal
) then this deviation must be corrected and provided through a list of corrections in theCorrections
field.For cash journals that either do not use or ignore cash journals, most properties will automatically be set to the expected amounts. Should you want to enforce validation, regardless, specify the
ForceValidation
astrue
.Pending cash deposits need to be accounted for as well - supply their
ID
s asPendingCashDeposits
. Do not add theAmount
of cash deposits to theTotalAmount
, as the user cannot usually verify the cash deposit content.