final String txpr = getParam("taxpayer","");
try {
connect();
TaxPayer taxpr = new TaxPayer(getSession().getDms(), txpr);
taxpr.refreshCounters(getSession());
taxpr.save(getSession());
bizname = taxpr.getBusinessName();
pending = taxpr.getPendingInvoicesCount();
processed = taxpr.getProcessedInvoicesCount();
approved = taxpr.getApprovedInvoicesCount();