Invoices
Methods
DownloadInvoice
Downloads the specified invoice.
Parameters
invoice_id:
number
Invoice ID
Returns
file_content:
The method returns a raw data, there is no 'file_content' parameter in fact
GetAccountInvoices
Gets all invoices of the specified USD or EUR account.
GetAccountInvoices example
Parameters
count:
number
OptionalNumber of invoices to show per page. Default value is 20
offset:
number
OptionalNumber of invoices to skip (e.g. if you set count = 20 and offset = 0 the first time, the next time, offset has to be equal to 20 to skip the items shown earlier). Default value is 0
Returns
count:
number
Number of returned invoices matching the query parameters
result:
Array of the account invoices
total_count:
number
Total number of invoices matching the query parameters