Set Footer Information Set footer label in invoice

Footer is normally used to display some notes or terms and conditions. You can easily set "footer" label (i.e. sender details) in invoice using setInvoiceFooter function or You can set footer label directly by passing array using setInvoiceFooterLabel() function with "footer" parameter. "Footer" label normally includes "note" etc. for example "terms and condition" You can add or remove these fields.

  
                            $xinvoice = new Xinvoice();
                            //set footer array
                            $footer = array("note" => "Terms and Conditions: ");
                            //set footer label 
                            $xinvoice->setInvoiceFooterLabel($footer);            
                            echo $xinvoice->render();