Set Invoice Main Header Label Set header label e.g invoice no, date, due date, total due etc in invoice

You can easily set "header" label in invoice using setInvoiceHeader function or You can set header label directly by passing array using setInvoiceHeaderLabel() function with "header" parameter. "Header" label normally includes "no", "date", "duedate", "total_due" etc. You can add or remove these fields.

  
                            $xinvoice = new Xinvoice();
                            //set header array
                            $header = array("no" => "Inv. No: ");
                            //set header label 
                            $xinvoice->setInvoiceHeaderLabel($header);              
                            echo $xinvoice->render();