Method: Whmcs::Invoice.get_invoices
- Defined in:
- lib/whmcs/invoice.rb
.get_invoices(params = {}) ⇒ Object
Get invoices
Parameters:
-
:userid
- the client ID to retrieve invoices for -
:status
- the status to filter for, Paid, Unpaid, Cancelled, etc… -
:limitstart
- the offset number to start at when returning matches (optional, default 0) -
:limitnum
- the number of records to return (optional, default 25)
See:
17 18 19 20 |
# File 'lib/whmcs/invoice.rb', line 17 def self.get_invoices(params = {}) params.merge!(:action => 'getinvoices') send_request(params) end |