Due date Add/Change due date of invoice

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

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