Skip to main content
POST
Revenue Report

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, see Authentication for more detail.

Body

application/json
exportType
enum<string>

Export format for the report

Available options:
JSON,
CSV
recipients
object

Email recipients for the report

accountingMethod
enum<string>

Accounting method to generate the report in. Defaults to the company's configured accounting method.

Available options:
ACCRUAL,
CASH
filters
object

Filters to apply to the report

grouping
object

Grouping options for the revenue report

Response

Success

result
enum<string>

The result of the action performed.

Available options:
SUCCESS,
FAILURE
data
object

The data generated by the action performed.