Revenue

Revenue

Retrieving Revenue Report Information

If you are distributing under any Revelator distribution deals, your Revelator revenue reports are added directly to your account. Download these reports for use in any an external system.

If you are using any non-Revelator distribution deals and not using Revelator for reporting or analytics, make sure that you do not configure your account to import your 3rd party revenue reports. Also, do not enter your credentials for the reporting fields when configuring your integration settings.

GET /finance/salereport/all

Retrieves a list of financial reports. This endpoint can return two distinct types of reports—User Statements and Sale Reports—each with its own data source, granularity, and applicable filters. Use this endpoint with filtering parameters, to find a specific statementTypeId.

Understanding Report Types

It is crucial to understand the two types of reports returned by this endpoint, as their availability and behavior differ based on your account type (Parent or Child).

1. User Statements
  • What they are: System-generated statements created during a Royalty Run.
  • Granularity: Contain consolidated revenue from all applicable sources for a specific period.
  • Availability:
    • For Child Accounts: These are the only reports available.
    • For Parent Accounts: To retrieve User Statements generated for your children, you must include the query parameter received=false.
2. Sale Reports
  • What they are: Raw financial reports imported directly into our system from DSPs or imported using our template for unsupported DSPs import.
  • Granularity: Are granulated on a per-store basis.
  • Availability:
    • For Parent Accounts: These are the primary reports you will see by default (when received is not false).
    • For Child Accounts: Sale Reports are not accessible.

Query Params

ParameterTypeDescriptionApplicable Report Type
pageNumber
optional
integerThe page number of the results to retrieve.All
pageSize
optional
integerThe number of items to return per page.All
fromDate
optional
stringFilters for reports with a date (reporting month) on or after this date (YYYY-MM-DD).All
toDate
optional
stringFilters for reports with a date (reporting month) on or before this date (YYYY-MM-DD).All
releaseId
optional
integerFilters for reports associated with a specific releaseId.User Statements
trackId
optional
integerFilters for reports associated with a specific trackId.User Statements
storeId
optional
integerFilters for reports from a specific DSP storeId.Sale Reports
payeeId
optional
integerFilters User Statements reports to include only those associated with the specified payeeId.User Statements
processed
optional
booleanFilters for reports based on their processing status (true or false).Sale Reports
approved
optional
booleanFilters for reports based on their approval status (true or false).User Statements
received
optional
booleanFor Parent Accounts only. Set to false to retrieve User Statements generated for your children. If omitted or true, retrieves Sale Reports.User Statements
searchText
optional
stringA case-insensitive search term used to filter reports by matching the payee name or payor name.All

Examples

Example: Retrieving Sale Reports (Parent Account)
Example: Retrieving User Statements

GET /finance/salereport/{statementId}

Retrieves only the specified statement and its parameters.

The format of statementId in the query is: statementId={statementTypeId}%7C{statementId} , %7C is URL-encoded for ”|” (bar/pipe).

Failure to use this format will result in an error response. Use the Retrieving Revenue Report Information endpoint with filtering parameters, to find the specific statementTypeId of the statement you need.

Example

Downloading Revenue Reports

The method for downloading reports depends on the report type you wish to retrieve: “User Statements” (system-generated royalty statements) or “Sale Reports” (raw reports imported from DSPs or import template).

Use the Retrieving Revenue Report Information endpoint with filtering parameters, to find the specific statementTypeId of the statement you need.

  • User Statements will have a statementTypeId of 1.
  • Sale Reports will have a statementTypeId of -1.

Please ensure you are using the correct endpoint below for the desired report type.

Downloading User Statements

User Statements can be downloaded in two formats: a Summary (HTML file) or Details (.csv file). Both endpoints download a single statement at a time.

GET /finance/salereport/download/summary

Downloads the Summary revenue report as an HTML file for the specified User Statement.

Query Params

ParameterTypeDescription
statementId
required
stringThe full statement ID of the User Statement (e.g., 1%7C12345).

GET /finance/salereport/download/details

Downloads the Details revenue report as a .csv file for the specified User Statement.

Query Params

ParameterTypeDescription
statementId
required
stringThe full statement ID of the User Statement (e.g., 1%7C12345).
Example: Downloading User Statements

Downloading Sale Reports

Sale Reports (statementTypeId = -1) can be downloaded in bulk using a POST request.

POST /finance/salereport/post-download

Downloads one or more Sale Reports as a compressed ZIP archive.

The request body should be a JSON array of statementId strings. Each statementId must be for a Sale Report (statementTypeId of -1).

Request Body

ParameterTypeDescription
bodyarray of stringsAn array of statementId strings to download.
Example: Downloading Sale Reports