check_VAT(); ///@var $total_error (int) total of errors found in e-invoice $total_error=count ($a_error['general']) + count($a_error['operation']) + count($a_error['customer']) + count($a_error['company']) +count($a_vat_error); if ( $total_error == 0 ) : return; endif; $error_message=new \Noalyss\XMLDocument\Error_Message($a_error); ?>