(→Method) |
(→Optional Data Parameters) |
||
Line 11: | Line 11: | ||
==Optional Data Parameters== | ==Optional Data Parameters== | ||
*{$type}: all, paid, unpaid or disregarded; the default is all. | *{$type}: all, paid, unpaid or disregarded; the default is all. | ||
− | *{$start}: | + | *{$start}: Sets the start number for the invoices retrieved; the default is 0 |
− | *{$limit}: | + | *{$limit}: Sets the limit number for the invoices retrieved; the default is 100 |
==Returned Data== | ==Returned Data== |
The billing list command displays a list of all invoices from SingleHop.
Contents |
stdClass Object( [success] => TRUE/FALSE [data] => stdClass Object( [total] => Total number of invoices on your LEAP account. [invoices] => Array( [0] => stdClass Object( [id] => The invoice ID. [created] => The date the invoice was created (unix timestamp). [due] => The date the invoice is due (unix timestamp). [overdue] => The date the invoice is considered overdue (unix timestamp). [datepaid] => The date the invoice was paid (unix timestamp). [paid] => If the invoice was paid (TRUE/FALSE). [amount] => The total amount of the invoice. [amount_unpaid] => The total amount of the invoice that hasn't been paid. [num_components] => How many items are on the invoice. [received_credits] => The amount of credit that was applied to the invoice. ) ) ) )