fun stats(period: String?, cashRegisterName: String?): TaxesStatsInfo?
Returns stats by taxes.
period - filters by date period
cashRegisterName - filters by cash register name
com.srv4pos.server.api.exceptions.TypeMismatchJsonException - if period java.lang.String isn't convertible to
java.util.Date.
Return
TaxesStatsInfo with stats.