This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves the total amount (in USD) and count of the partner's materialized invoices matching the provided filter.
The totals cover exactly the invoices the filter matches, across every status. Pass an empty filter to total the partner's full invoice history. The Wix Studio dashboard's total is narrower: it sums only PAID and UNPAID invoices that match the filters selected in the UI, so it excludes BELOW_THRESHOLD invoices.
You can only call this method when authenticated as a Wix user or by using an account level API key.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.