public long getProcessedInvoicesCount() throws DmsException, ClassNotFoundException, NullPointerException, IllegalStateException, SQLException, IOException {
HashMap<String,Object> oCounters = Cache.getEntryMap(id()+"TaxPayerCounters");
if (null==oCounters) {
AtrilSession oSes = DAO.getAdminSession("TaxPayer");
oCounters = refreshCounters(oSes);
oSes.disconnect();
oSes.close();
}
return ((BigDecimal) oCounters.get("processed_invoices")).longValue();
}