# Monthly statements

> A statement is what the stores actually paid for a month. RecordJet collects the stores’ statements and imports them. ReleaseAPI routes every line through your ledger, and once the month is accepted, your reports appear with the money split to every customer and wallet.

Source: https://docs.releaseapi.com/statements.html

**At a glance**

- RecordJet imports the stores’ statements each month. You keep the [ledger](https://docs.releaseapi.com/ledger.html) correct before the import, and read the results afterwards.
- A month is processed all or nothing **for every RecordJet tenant together**, and it is final once accepted. Corrections arrive in a later month.
- When the first report for a month appears, the month is final. Tenant keys get no statement events, so poll the report list.
- To get each artist’s monthly earnings, sum `total_revenue_wallet` per wallet from `STATEMENTS_PLAYS_PER_WALLET`, then group wallets by customer ([step by step](https://docs.releaseapi.com/statements.html#earnings-per-artist)).
- Each tenant gets ten Parquet reports per month. Money is in nano-euros, and months are written as their first day.
- On wallet rows, only `revenue_wallet` belongs to the wallet. The other amounts repeat the whole line.

> **As a tenant, you only read:** Under RecordJet you don’t upload statements.

## How a month reaches you

Every month takes the same four steps from the stores to your reports:

1. **Stores report.** Each store sends RecordJet a statement for the month after it closes, and each store reports on its own schedule.
2. **RecordJet imports the month.** All stores’ lines for the month go into one import. Every line is matched to a release or video through the [ledger](https://docs.releaseapi.com/ledger.html), fees are taken, and the rest is split to wallets by the share rule in force when the sale happened.
3. **The month is checked and accepted.** Processing is all or nothing. If any line can’t be placed, the whole month is held back until it is fixed, so a partial month never reaches you.
4. **Your reports appear.** Acceptance publishes the month for every tenant at once. Your reports, [statement series](https://docs.releaseapi.com/analytics.html#monthly-series) and [exports](https://docs.releaseapi.com/reports.html#exports) for that month become readable.

*Diagram: Sales from several store months are booked in one statement month. RecordJet accepts it, and ten reports appear for your tenant at once.* A booked month collects whatever the stores reported in time, from several sale months. Acceptance makes it final and publishes all ten of your reports in the same step, so the first report you see means the month is complete.

Accepted months are final. A store’s correction, refund or late payment for an earlier month arrives in a later month’s statement. Shares still follow the sale date, while the fees and the owner follow the month the money is booked in. Negative lines reduce the wallets they hit, so a wallet can end a month negative. See [Which month counts](https://docs.releaseapi.com/royalties.html#which-month).

### Why every tenant’s month is published together

RecordJet imports one statement month for all of its tenants together, as one import. That has two consequences for your payout calendar:

- **One unplaced line holds everyone’s month.** If any line in the month, from any tenant’s catalog, can’t be matched to a release, the whole import stops until it is fixed. A barcode or ISRC of yours that the ledger doesn’t know can delay every RecordJet tenant, and theirs can delay you.
- **Acceptance is for every tenant at once.** RecordJet can’t publish your month and hold back another label’s.

There is no fixed publication day. Make sure every GTIN and ISRC you sell under belongs to an accepted release, so your own lines can always be placed (see [Splits and the ledger](https://docs.releaseapi.com/ledger.html)). Plan payouts around when the reports appear, not around a calendar date.

## Know when a month is final

Statement events are on the client’s journal stream, so a tenant key doesn’t receive them. Poll the report list instead. Reports are registered in the same step that marks the month final, so the first one you see means the full set is there.

The cURL examples on this page use `$BASE` for `https://api-sandbox.releaseapi.com/v1` and `$RELEASEAPI_KEY` for your key, as set up in the [Quickstart](https://docs.releaseapi.com/quickstart.html#before-you-start).

`GET /v1/reporting/statements/reports?monthFrom=2026-09&monthTo=2026-09`

**cURL**

```bash
curl -G "$BASE/reporting/statements/reports" \
  --data-urlencode "monthFrom=2026-09" \
  --data-urlencode "monthTo=2026-09" \
  -H "X-API-KEY: $RELEASEAPI_KEY"
```

**Response**

```json
{ "items": [], "hasMore": false, "limit": 100, "offset": 0 }
```

An empty list means September isn’t final yet. It never means “you earned nothing”. Every tenant that has at least one release or video in the ledger gets the full set of ten reports for every accepted month, and a report with no lines has `metaData.recordCount: 0`. (A tenant with nothing in the ledger has nothing to be paid for.) Checking once a day is enough.

- **Final means final.** Once a month’s reports are listed, they don’t change through the API, because the month can no longer be reset or deleted. Load each month once.
- **Analytics follow.** [Statement series](https://docs.releaseapi.com/analytics.html#monthly-series) are refreshed from these reports a few minutes later. There’s no signal for that, so take payout figures from the reports, and retry a series that doesn’t show the month yet.

> **No statement months in sandbox:** RecordJet imports the stores’ statements into production only, so a sandbox tenant has no statement reports. Your RecordJet contact provides sample report files. Build and unit-test your loader against those and the [column tables](https://docs.releaseapi.com/statements.html#report-columns) below, then point it at production with a `READER` key once your production tenant exists. The report list, the download call and the Parquet format are the same in both environments.

## Show each artist their monthly earnings

This section shows how to list what each artist earned in a statement month. The rest of these docs refer to this method.

### Map “artist” to customers and wallets

- **The artist you pay** — A [customer](https://docs.releaseapi.com/royalties.html#customers-and-wallets). Every person or company you pay is one customer, whether or not they own the release.
- **Their money** — Their **wallets**. Each wallet belongs to exactly one customer (`customerId`), and share rules send money to wallets. An artist’s earnings are the sum over all of their wallets.
- **The owner figure** — The release owner’s amount (`revenue_customer`) is the money before splits. If you don’t split revenue, it is what you pay the owner. If you use share rules, pay from wallets instead (see [Paying people](https://docs.releaseapi.com/royalties.html#paying-people)).

### Where your label’s own cut sits

Pick one of two models and use it consistently, because they compound if you use both:

| Model | How it works | Use it when |
| --- | --- | --- |
| Tenant fee | `tenantFeePercentage` is taken before any wallet sees the money. Your cut is `revenue_tenant − revenue_customer` and appears in no wallet. | Your cut is the same percentage on everything. |
| Label wallet | Your label is a customer with a wallet that takes a share in each track’s share rule. It shows up in wallet reports like any artist. | Deals differ per artist or per track. |

### Booked month, not streamed month

A statement month is the month the money was **booked** (`reported_at`). It contains sales from earlier months, because stores report after the month closes. Royalty statements are normally issued per booked month, and that is what the per-wallet report gives you. To show “earned for streams in March” instead, group `STATEMENTS_SPLIT` rows by `sold_at`, and expect a streamed month to keep growing as later statements arrive.

### Build the list

1. **Wait until the month is final**

   Poll the report list as in [Know when a month is final](https://docs.releaseapi.com/statements.html#know-when-final).

2. **Download one file for the month**

   List the month’s `STATEMENTS_PLAYS_PER_WALLET` report and download it ([Read the results](https://docs.releaseapi.com/statements.html#read-the-results)). It has one row per wallet and service, for every wallet in your tenant.

3. **Sum per wallet, then per customer**

   Add up `total_revenue_wallet` per `wallet_id` (only that column, because the other amounts are whole-track figures). Map wallets to customers with `GET /v1/distribution/accounting/wallets`, which returns each wallet’s `customerId` (filter with `?customerId=` for one artist). Divide by 1,000,000,000 only for display.

Parquet is a columnar file format, so read it with a Parquet library rather than by hand. Two common choices:

**Sum one month’s wallet money**

**Node.js**

```javascript
// npm install @duckdb/node-api   (DuckDB reads Parquet files directly with SQL)
import { DuckDBInstance } from "@duckdb/node-api";

const db = await DuckDBInstance.create(":memory:");
const conn = await db.connect();

// Cast the 64-bit sums to text and parse them with BigInt, so no nano-euro is lost.
const reader = await conn.runAndReadAll(
  `SELECT wallet_id, CAST(SUM(total_revenue_wallet) AS VARCHAR) AS nano
     FROM read_parquet('plays-per-wallet-2026-09.parquet')
    GROUP BY wallet_id`
);
for (const r of reader.getRowObjects()) {
  const nano = BigInt(r.nano);
  console.log(r.wallet_id, nano, Number(nano) / 1e9);
}
```

**Python**

```python
# pip install pandas pyarrow
import pandas as pd

df = pd.read_parquet("plays-per-wallet-2026-09.parquet")
per_wallet = df.groupby("wallet_id")["total_revenue_wallet"].sum()   # int64, nano-euros
print(per_wallet / 1_000_000_000)
```

### Other views of the same money

| You need | Use |
| --- | --- |
| One artist’s chart over many months, in JSON | [A wallet’s statement series](https://docs.releaseapi.com/analytics.html#wallet-statements), field `earningsWallet`, one call per wallet. It is refreshed a few minutes after the reports appear, so take payout figures from the report. |
| A per-track statement for one payee, as CSV | A `STATEMENTS_SPLIT_EXTERNAL_SUMMARY` [export](https://docs.releaseapi.com/reports.html#exports) filtered to the payee’s wallets. |
| Every line behind a payout, for audits | `STATEMENTS_SPLIT`: one row per line and wallet share, with `sold_at` and `report_row`. |

## Read the results

Every accepted month produces ten reports for your tenant, plus one client-level `STATEMENTS_PREPROCESSED` report that only client keys see. Tenant keys see their own tenant’s reports. Client keys see all of them and can filter with `tenantId`. `monthFrom` and `monthTo` filter on `reportedAt`.

The list is newest first unless you pass `sortBy` and `sortOrder`. Downloading by id returns a signed Parquet link valid for 24 hours, so request it right before you download.

`GET /v1/reporting/statements/reports`

**cURL**

```bash
curl -G "$BASE/reporting/statements/reports" \
  --data-urlencode "reportType=STATEMENTS_PLAYS_PER_WALLET" \
  --data-urlencode "monthFrom=2026-09" \
  --data-urlencode "monthTo=2026-09" \
  -H "X-API-KEY: $RELEASEAPI_KEY"

# then, for a report id from the list
curl "$BASE/reporting/statements/reports/$REPORT_ID/download/parquet" \
  -H "X-API-KEY: $RELEASEAPI_KEY"
# → { "url": "https://…" }  a signed link to the Parquet file, valid for 24 hours
```

**Response**

```json
{
  "items": [
    {
      "id": "8c2f5a1e-3d74-4b96-a0e8-5f1c7b9d2e43",
      "clientId": "7c4a91e2-5d3b-4f08-a6e1-93b2c0d4e517",
      "tenantId": "b55ec853-f63b-4cb3-9c2f-868b4eb42f95",
      "reportedAt": "2026-09",
      "reportType": "STATEMENTS_PLAYS_PER_WALLET",
      "metaData": {
        "recordCount": 1842,
        "eTag": "9b1e0c7d4a2f58e3b6c1d0a9f7e4b2c8",
        "sizeBytes": 61440
      },
      "createdAt": "2026-10-14T16:05:52.118Z"
    }
  ],
  "hasMore": false,
  "limit": 100,
  "offset": 0
}
```

| Report type | One row per | Use it for |
| --- | --- | --- |
| `STATEMENTS_SPLIT` | Statement line × wallet share | Line-level payout detail and audits. |
| `STATEMENTS_PROCESSED` | Statement line, after fees | Revenue at client, tenant and owner level. |
| `STATEMENTS_PLAYS_PER_WALLET` | Wallet and service | Payouts, with totals per wallet. |
| `STATEMENTS_PLAYS_PER_CUSTOMER`, `…_PER_TRACK`, `…_PER_VIDEO`, `…_PER_CUSTOMER_COUNTRY`, `…_PER_CUSTOMER_RELEASE_TRACK` | The named dimension | Statements for owners and catalog reporting. |
| `STATEMENTS_WALLET_TAX`, `STATEMENTS_CUSTOMER_TAX` | Wallet or customer and purchase type | Applying different tax treatment to streams, downloads and other income. They group the money but don’t compute tax. |
| `STATEMENTS_PREPROCESSED` | Raw line, validated | Checking what was uploaded (client accounts only). |

### Report columns

Reports are Parquet files with `snake_case` column names. These conventions hold for every report:

- **Money** is a 64-bit integer in nano-euros (`INT64`; divide by 1,000,000,000).
- **Months** are Parquet `DATE` values on the first day of the month: `2026-09-01` for September. `sold_at` is a month too, and always before `reported_at`, so a line booked in September can be a sale from August or earlier, never from September.
- **Ids** are UUID strings, and **enums** are their API codes, in upper snake case.
- **Fees** appear twice: as an exact `DECIMAL(38,18)` and as an integer per million.
- **Nullability.** Columns marked “no” below always carry a value. The files declare most columns `OPTIONAL` regardless, so create warehouse columns as nullable and test for `NULL` in the “yes” columns only.
- **`report_row`** is the line’s position in the month’s statement file. A tenant doesn’t see that file, but `(reported_at, report_row, report_sub_row)` identifies one source line across `STATEMENTS_PROCESSED` and `STATEMENTS_SPLIT`, which is the join key between the two.

Read columns by name, never by position, because new columns can appear over time.

Here is the full schema of every report, generated from the code that writes them:

**`STATEMENTS_PROCESSED` · 32 columns**

One row per statement line (or track part of a bundle line), after fees.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `client_id` | STRING (UUID) | no | Your RecordJet or client account. |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `customer_id` | STRING (UUID) | no | The release’s or video’s **owner**, not the wallet’s customer. |
| `report_row` | INT64 | no | Position of the line in the month’s statement file. With `reported_at` it identifies a source line. |
| `report_sub_row` | INT32 | yes | Set when a bundle line was divided across tracks: `(volume − 1) × 1000 + track number`. |
| `reporting_provider` | STRING (enum) | no | The reporting feed the row came from. |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `sold_at` | DATE (first of month) | no | The month of the sale (first of the month), always before `reported_at`. |
| `provider_track_id` | STRING | yes | The store’s own id for the track. |
| `release_id` | STRING (UUID) | yes | What the row matched. Empty on video rows. |
| `track_id` | STRING (UUID) | yes | What the row matched. Empty on video rows. |
| `video_id` | STRING (UUID) | yes | Set on video rows only. |
| `gtin` | STRING | no | As resolved; a bundle line gets the release’s GTIN on every track row. |
| `isrc` | STRING | no | As resolved; a bundle line gets each track’s ISRC. |
| `purchase_type` | STRING (enum) | no | `STREAM`, `DOWNLOAD`, `PHYSICAL`, `NEIGHBOURING`, `PUBLISHING` or `RECOGNITION`. |
| `media_type` | STRING (enum) | no | `AUDIO` or `VIDEO`. |
| `transaction_type` | STRING (enum) | no | `GENERIC`, `AD_SUPPORTED`, `SUBSCRIPTION`, `TRIAL`, `FAMILY`, `EDUCATION`, `DISCOUNTED`, `REFUND`, `PREORDER`, `UNPAID`, `FEE` or `CORRECTION`. |
| `store` | STRING (enum) | no | Reporting store code (the company), from `/v1/core/data/reporting-stores`. |
| `service` | STRING (enum) | no | Reporting service code (the product), from `/v1/core/data/reporting-services`. |
| `channel` | STRING | yes | Free text from the store, when it sends one. |
| `country` | STRING (enum) | no | ISO 3166 alpha-2. `ZZ` when the store’s country is unknown. |
| `quantity` | INT64 | no | Streams or units. A bundle line repeats its quantity on every track row. |
| `revenue_client` | INT64 (nano-EUR) | no | The line at client level, before any fee. |
| `revenue_tenant` | INT64 (nano-EUR) | no | After the client fee. |
| `revenue_customer` | INT64 (nano-EUR) | no | After both fees: the owner’s money. |
| `revenue_currency` | STRING | no | Always `EUR`. |
| `client_fee_percentage` | DECIMAL(38,18) | no | The fee applied, as an exact decimal. |
| `tenant_fee_percentage` | DECIMAL(38,18) | no | The fee applied, as an exact decimal. |
| `client_fee_per_mio` | INT32 | yes | The same fee per million, rounded half-up (15% is `150000`). |
| `tenant_fee_per_mio` | INT32 | yes | The same fee per million, rounded half-up. |
| `audio_quality` | STRING (enum) | yes | `COMPRESSED`, `LOSSLESS` or `IMMERSIVE`. |
| `bundle_sale` | BOOLEAN | yes | The store line was a whole-release sale, divided across tracks. |

**`STATEMENTS_SPLIT` · 35 columns**

One row per line and wallet share.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `client_id` | STRING (UUID) | no | Your RecordJet or client account. |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `customer_id` | STRING (UUID) | no | The release’s or video’s **owner**, not the wallet’s customer. |
| `wallet_id` | STRING (UUID) | no | The wallet this row’s share belongs to. |
| `share_per_mio` | INT32 | no | The wallet’s share of the track, per million. |
| `report_row` | INT64 | no | Position of the line in the month’s statement file. With `reported_at` it identifies a source line. |
| `report_sub_row` | INT32 | yes | Set when a bundle line was divided across tracks: `(volume − 1) × 1000 + track number`. |
| `reporting_provider` | STRING (enum) | no | The reporting feed the row came from. |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `sold_at` | DATE (first of month) | no | The month of the sale (first of the month), always before `reported_at`. |
| `provider_track_id` | STRING | yes | The store’s own id for the track. |
| `release_id` | STRING (UUID) | yes | What the row matched. Empty on video rows. |
| `track_id` | STRING (UUID) | yes | What the row matched. Empty on video rows. |
| `video_id` | STRING (UUID) | yes | Set on video rows only. |
| `gtin` | STRING | no | As resolved; a bundle line gets the release’s GTIN on every track row. |
| `isrc` | STRING | no | As resolved; a bundle line gets each track’s ISRC. |
| `purchase_type` | STRING (enum) | no | `STREAM`, `DOWNLOAD`, `PHYSICAL`, `NEIGHBOURING`, `PUBLISHING` or `RECOGNITION`. |
| `media_type` | STRING (enum) | no | `AUDIO` or `VIDEO`. |
| `transaction_type` | STRING (enum) | no | `GENERIC`, `AD_SUPPORTED`, `SUBSCRIPTION`, `TRIAL`, `FAMILY`, `EDUCATION`, `DISCOUNTED`, `REFUND`, `PREORDER`, `UNPAID`, `FEE` or `CORRECTION`. |
| `store` | STRING (enum) | no | Reporting store code (the company), from `/v1/core/data/reporting-stores`. |
| `service` | STRING (enum) | no | Reporting service code (the product), from `/v1/core/data/reporting-services`. |
| `channel` | STRING | yes | Free text from the store, when it sends one. |
| `country` | STRING (enum) | no | ISO 3166 alpha-2. `ZZ` when the store’s country is unknown. |
| `quantity` | INT64 | no | Streams or units. A bundle line repeats its quantity on every track row. |
| `revenue_client` | INT64 (nano-EUR) | no | The line at client level, before any fee. |
| `revenue_tenant` | INT64 (nano-EUR) | no | After the client fee. |
| `revenue_customer` | INT64 (nano-EUR) | no | After both fees: the owner’s money. |
| `revenue_wallet` | INT64 (nano-EUR) | no | This wallet’s part of `revenue_customer`. The only money column that belongs to the wallet. |
| `revenue_currency` | STRING | no | Always `EUR`. |
| `client_fee_percentage` | DECIMAL(38,18) | no | The fee applied, as an exact decimal. |
| `tenant_fee_percentage` | DECIMAL(38,18) | no | The fee applied, as an exact decimal. |
| `client_fee_per_mio` | INT32 | yes | The same fee per million, rounded half-up (15% is `150000`). |
| `tenant_fee_per_mio` | INT32 | yes | The same fee per million, rounded half-up. |
| `audio_quality` | STRING (enum) | yes | `COMPRESSED`, `LOSSLESS` or `IMMERSIVE`. |
| `bundle_sale` | BOOLEAN | yes | The store line was a whole-release sale, divided across tracks. |

**`STATEMENTS_PLAYS_PER_WALLET` · 9 columns**

Totals per wallet and service.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `service` | STRING (enum) | no | Reporting service code (the product), from `/v1/core/data/reporting-services`. |
| `wallet_id` | STRING (UUID) | no | The wallet this row’s share belongs to. |
| `total_quantity` | INT64 | no | Sum of `quantity`. Counts track units: a bundle line adds its quantity once per track, and wallet reports once per wallet as well. |
| `total_revenue_client` | INT64 (nano-EUR) | no | Sum at client level. |
| `total_revenue_tenant` | INT64 (nano-EUR) | no | Sum after the client fee. |
| `total_revenue_customer` | INT64 (nano-EUR) | no | Sum after both fees. |
| `total_revenue_wallet` | INT64 (nano-EUR) | no | Sum of the wallet’s own money. |

**`STATEMENTS_WALLET_TAX` · 9 columns**

Totals per wallet and purchase type.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `purchase_type` | STRING (enum) | no | `STREAM`, `DOWNLOAD`, `PHYSICAL`, `NEIGHBOURING`, `PUBLISHING` or `RECOGNITION`. |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `wallet_id` | STRING (UUID) | no | The wallet this row’s share belongs to. |
| `total_quantity` | INT64 | no | Sum of `quantity`. Counts track units: a bundle line adds its quantity once per track, and wallet reports once per wallet as well. |
| `total_revenue_client` | INT64 (nano-EUR) | no | Sum at client level. |
| `total_revenue_tenant` | INT64 (nano-EUR) | no | Sum after the client fee. |
| `total_revenue_customer` | INT64 (nano-EUR) | no | Sum after both fees. |
| `total_revenue_wallet` | INT64 (nano-EUR) | no | Sum of the wallet’s own money. |

**`STATEMENTS_PLAYS_PER_CUSTOMER` · 8 columns**

Totals per owner customer and service.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `service` | STRING (enum) | no | Reporting service code (the product), from `/v1/core/data/reporting-services`. |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `customer_id` | STRING (UUID) | no | The release’s or video’s **owner**, not the wallet’s customer. |
| `total_quantity` | INT64 | no | Sum of `quantity`. Counts track units: a bundle line adds its quantity once per track, and wallet reports once per wallet as well. |
| `total_revenue_client` | INT64 (nano-EUR) | no | Sum at client level. |
| `total_revenue_tenant` | INT64 (nano-EUR) | no | Sum after the client fee. |
| `total_revenue_customer` | INT64 (nano-EUR) | no | Sum after both fees. |

**`STATEMENTS_CUSTOMER_TAX` · 8 columns**

Totals per owner customer and purchase type.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `purchase_type` | STRING (enum) | no | `STREAM`, `DOWNLOAD`, `PHYSICAL`, `NEIGHBOURING`, `PUBLISHING` or `RECOGNITION`. |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `customer_id` | STRING (UUID) | no | The release’s or video’s **owner**, not the wallet’s customer. |
| `total_quantity` | INT64 | no | Sum of `quantity`. Counts track units: a bundle line adds its quantity once per track, and wallet reports once per wallet as well. |
| `total_revenue_client` | INT64 (nano-EUR) | no | Sum at client level. |
| `total_revenue_tenant` | INT64 (nano-EUR) | no | Sum after the client fee. |
| `total_revenue_customer` | INT64 (nano-EUR) | no | Sum after both fees. |

**`STATEMENTS_PLAYS_PER_CUSTOMER_COUNTRY` · 8 columns**

Totals per owner customer and country.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `customer_id` | STRING (UUID) | no | The release’s or video’s **owner**, not the wallet’s customer. |
| `country` | STRING (enum) | no | ISO 3166 alpha-2. `ZZ` when the store’s country is unknown. |
| `total_quantity` | INT64 | no | Sum of `quantity`. Counts track units: a bundle line adds its quantity once per track, and wallet reports once per wallet as well. |
| `total_revenue_client` | INT64 (nano-EUR) | no | Sum at client level. |
| `total_revenue_tenant` | INT64 (nano-EUR) | no | Sum after the client fee. |
| `total_revenue_customer` | INT64 (nano-EUR) | no | Sum after both fees. |

**`STATEMENTS_PLAYS_PER_CUSTOMER_RELEASE_TRACK` · 9 columns**

Totals per owner customer, release and track.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `customer_id` | STRING (UUID) | no | The release’s or video’s **owner**, not the wallet’s customer. |
| `release_id` | STRING (UUID) | no | Always set. This report holds track rows only; video money is in the `…_PLAYS_PER_VIDEO` report. |
| `track_id` | STRING (UUID) | no | Always set. This report holds track rows only; video money is in the `…_PLAYS_PER_VIDEO` report. |
| `total_quantity` | INT64 | no | Sum of `quantity`. Counts track units: a bundle line adds its quantity once per track, and wallet reports once per wallet as well. |
| `total_revenue_client` | INT64 (nano-EUR) | no | Sum at client level. |
| `total_revenue_tenant` | INT64 (nano-EUR) | no | Sum after the client fee. |
| `total_revenue_customer` | INT64 (nano-EUR) | no | Sum after both fees. |

**`STATEMENTS_PLAYS_PER_TRACK` · 9 columns**

Totals per track and service.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `service` | STRING (enum) | no | Reporting service code (the product), from `/v1/core/data/reporting-services`. |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `release_id` | STRING (UUID) | no | Always set. This report holds track rows only; video money is in the `…_PLAYS_PER_VIDEO` report. |
| `track_id` | STRING (UUID) | no | Always set. This report holds track rows only; video money is in the `…_PLAYS_PER_VIDEO` report. |
| `total_quantity` | INT64 | no | Sum of `quantity`. Counts track units: a bundle line adds its quantity once per track, and wallet reports once per wallet as well. |
| `total_revenue_client` | INT64 (nano-EUR) | no | Sum at client level. |
| `total_revenue_tenant` | INT64 (nano-EUR) | no | Sum after the client fee. |
| `total_revenue_customer` | INT64 (nano-EUR) | no | Sum after both fees. |

**`STATEMENTS_PLAYS_PER_VIDEO` · 8 columns**

Totals per video and service.

| Column | Parquet type | Null | Notes |
| --- | --- | --- | --- |
| `reported_at` | DATE (first of month) | no | The month the money is booked in (first of the month). |
| `tenant_id` | STRING (UUID) | no | Your tenant. |
| `service` | STRING (enum) | no | Reporting service code (the product), from `/v1/core/data/reporting-services`. |
| `video_id` | STRING (UUID) | no | Always set. This report holds video rows only. |
| `total_quantity` | INT64 | no | Sum of `quantity`. Counts track units: a bundle line adds its quantity once per track, and wallet reports once per wallet as well. |
| `total_revenue_client` | INT64 (nano-EUR) | no | Sum at client level. |
| `total_revenue_tenant` | INT64 (nano-EUR) | no | Sum after the client fee. |
| `total_revenue_customer` | INT64 (nano-EUR) | no | Sum after both fees. |

> **Wallet rows repeat the whole line:** In `STATEMENTS_SPLIT` and the wallet reports, `quantity` and the client, tenant and customer amounts are the *whole line’s* values, repeated on every wallet’s row. Only `revenue_wallet` belongs to the wallet. Sum `revenue_wallet` across wallets, and take the sums of the other columns from `STATEMENTS_PROCESSED`.

**Quantities count track units.** A whole-album sale is divided across the album’s tracks, and every track row carries the sale’s quantity. Every `total_quantity` is a sum over track rows, so one album sold once adds the number of tracks to a customer’s total. Wallet reports add it once per wallet as well. To count sales, use `STATEMENTS_PROCESSED` and take each source line once: rows with an empty `report_sub_row` as they are, and from a bundle line only one row per `(reported_at, report_row)`. `report_sub_row` on a bundle row is `(volume − 1) × 1000 + track number`.

The tax reports group money by `purchase_type` so you can treat streams, downloads and other income differently. They compute no tax, and they aren’t split by listener country. For country-based withholding, group `STATEMENTS_SPLIT` by `country` yourself.

### Which sales are in a month

A month’s statement holds whatever the stores reported in time, so September’s might contain Spotify’s August and Apple’s July. Group `STATEMENTS_PROCESSED` by `service` and `sold_at` to see which store months it covers. That answers questions such as “is Apple’s August missing or just late?”

For screens, query the same numbers as JSON through [analytics](https://docs.releaseapi.com/analytics.html), for example a wallet’s monthly earnings with `POST /v1/analytics/statements/series/wallets/{walletId}`. For CSV files, order an [export](https://docs.releaseapi.com/reports.html#exports).

> **Customer reports follow the owner.** Reports and series per customer show the money of releases that customer *owns*. A producer paid through a wallet on someone else’s release appears only in wallet-level data. If you split revenue, pay from wallet reports.

## Next steps

- [Analytics](https://docs.releaseapi.com/analytics.html): Show customers and wallets their monthly earnings.
- [Reports and exports](https://docs.releaseapi.com/reports.html#exports): Order split statements as CSV for finance.
- [Splits and the ledger](https://docs.releaseapi.com/ledger.html): Check which fees, owner and split apply before the next month is processed.
