Invoice statistics
Description
Allows you to get general statistics on your invoices and payments.
Request
Request parameters
Parameter
Data type
Description
Example
Mandatory?
startDate
String
Start date of invoice creation in Y-m-d format
2000-01-01
no
endDate
String
End date of invoice creation in Y-m-d format
2030-01-01
no
Example answer
Answer parameters
Parameter
Description
invoicesTotalNum
Total number of invoices
invoicesPaidNum
Number of paid invoices (with status "Paid")
invoicesTotalUSD
Sum of all paid invoices in USD
invoicesByProjects
Sum of all paid invoices by projects in USD
invoicesByCurrencies
Sum of all paid invoices by currency
invoicesByMonths
Sum of all paid invoices by month in USD
invoicesByDate
Sum of all paid invoices by days in USD
invoicesByDate.date
Date in Unix Timestamp format including microseconds
invoicesByDate.value
Sum of all paid invoices for a specific date in USD
Last updated