Invoice Number Add/Change number of invoice

You can easily set number in invoice using setInvoiceNo function. By default, default number is set in config. You can directly change default number in config also. You can also set number using the generic function setInvoiceData for changing data.

                            $xinvoice = new Xinvoice();
                             // You can set invoice number using this function or can change directly in config file.
                            echo $xinvoice->render();