Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.
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

@Slitzo3

Description

@Slitzo3

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions