Set From Label Set from (sender) label in invoice

You can easily set "from" label (i.e. sender details label) in invoice using setInvoiceFrom function or You can set from label directly by passing array using setInvoiceFromLabel() function with "from" parameter. "From" label normally includes "name" etc. You can add or remove these fields.

  
                            $xinvoice = new Xinvoice();
                            //set from array
                            $from = array("name" => "Sender: ");
                            //set from label 
                            $xinvoice->setInvoiceFromLabel($from);            
                            echo $xinvoice->render();