Set Company Details Set company data in invoice

Company information basically contains the logo or company name + tagline as a text. You can easily set "company" data in invoice using setInvoiceCompany function or You can set company data directly by passing array using setInvoiceCompanyData() function with "company" parameter. "Company" data normally includes "logo", "name", "tagline" etc. You can add or remove these fields. You can set whether to use logo image or text (Company name with tagline) in "companylogo" settings parameter.

                            $xinvoice = new Xinvoice();
                            //set company array
                            $company = array("logo" => "");
                            //set company data 
                            echo $xinvoice->render();