Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

[Feature] Add import for whmcs invoices to CPG #99

Open
Slitzo3 opened this issue Mar 14, 2022 · 0 comments
Open

[Feature] Add import for whmcs invoices to CPG #99

Slitzo3 opened this issue Mar 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Slitzo3
Copy link
Contributor

Slitzo3 commented Mar 14, 2022

Make it possible to import invoice data from whmcs to cpg-api

This is a example of how a whmcs invoice looks:

  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.

@Slitzo3 Slitzo3 added the enhancement New feature or request label Mar 14, 2022
@Tolfx Tolfx self-assigned this Mar 14, 2022
@Tolfx Tolfx added the good first issue Good for newcomers label Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants