apidocs / com.srv4pos.server.api.registration / RegistrationService / getBalance

getBalance

fun getBalance(version: Int?, cashRegisterName: String): BalanceInfo?

Get balance of registration.

Parameters

version - version of seller, may be null (if latest data needed)

cashRegisterName - described in swedish regulations as "cash register designation"

Exceptions

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