fun getBalance(version: Int?, cashRegisterName: String): BalanceInfo?
Get balance of registration.
version
- version of seller, may be null (if latest data needed)
cashRegisterName
- described in swedish regulations as "cash register designation"
ReferenceNotFoundJsonException
- if cashRegisterName is not found
com.srv4pos.server.api.exceptions.UnprocessableEntityJsonException
- see:
UnprocessableEntityErrorType.DAY_IS_NOT_CLOSED,
UnprocessableEntityErrorType.REPORT_IS_NOT_PRINTED
Return
balance of registration