Make it possible to import invoice data from whmcs to cpg-api This is a example of how a whmcs invoice looks: ``` id: 1 userid: 2 invoicenum: "" date: "2022-03-14" duedate: "2022-03-14" datepaid: "2022-03-14 21:51:25" last_capture_attempt: "0000-00-00 00:00:00" date_refunded: "0000-00-00 00:00:00" date_cancelled: "0000-00-00 00:00:00" subtotal: 0.00 credit: 0.00 tax: 0.00 tax2: 0.00 total: 0.00 taxrate: 0.000 taxrate2: 0.000 status: "Paid" paymentmethod: "banktransfer" notes: "" created_at: "0000-00-00 00:00:00" updated_at: "0000-00-00 00:00:00" ``` tax2, taxrate2 & invoicenum can be removed. Some of these values ex, Notes, date_refunded & date_cancelled would have to be added to the api.
Make it possible to import invoice data from whmcs to cpg-api
This is a example of how a whmcs invoice looks:
tax2, taxrate2 & invoicenum can be removed. Some of these values ex, Notes, date_refunded & date_cancelled would have to be added to the api.