# Splits and the ledger

> A share rule says who gets which part of a track’s money. The ledger keeps every version of those rules, with the date each took effect, so a statement from any month is paid by the rules of that month.

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

**At a glance**

- Acceptance writes the ledger for you: a release commit (fees, owner, ISRCs) and one wallet commit per track (the share rule).
- Every change you make takes effect on the **1st of the month after acceptance** (UTC). The last change accepted in a month wins.
- Fees and the owner follow the **reported** month, while share rules follow the **sale** month.
- Each track has one share rule with up to 20 wallets, and the shares must add up to exactly `1000000`.
- The ledger never rewrites the past, so you correct earlier months in your own books.

## How it works

You don’t write the ledger directly. Instead, you set fees, the owner and share rules on a release, and acceptance records them as a *commit*. Every later change that affects money writes another commit. Statement processing looks up the commit in effect for each line’s month.

The ledger has three parts:

| Ledger | Keyed by | Answers |
| --- | --- | --- |
| **Release ledger** | GTIN | Which release does this barcode belong to? Which fees apply, who is the owner, and which ISRCs map to which tracks? |
| **Wallet ledger** | Track | Which wallets share this track’s money, and in what proportion? |
| **Video ledger** | GTIN and ISRC | The same for a music video, with fees, owner and shares in one commit. |

### When changes take effect

A commit takes effect on the **first day of the next month**, counted from the UTC date the release or edit is *accepted* (not submitted). A change accepted on 5 October 2026 takes effect on 1 November 2026. The ledger keeps one version per release per effective date, so a second change in October replaces the first.

*Diagram: Two share rule changes accepted on 5 and 20 October. The second replaces the first, and takes effect on 1 November. October sales keep the previous split.* Commits are dated to the first of the month after acceptance. The last change accepted in a month wins, and the ones before it never take effect.

Fees and the owner are looked up by the month a line was *reported*, and share rules by the month the sale *happened*. Videos work the same way, and [How money flows](https://docs.releaseapi.com/royalties.html#which-month) explains why. The oldest commit for a release also covers every earlier date, so a sale from before the first acceptance still finds a split.

### History and audit

- **The ledger only moves forward.** No change applies to a month that has started, and commits are never edited. Correct the past in your own books ([Changing the past](https://docs.releaseapi.com/royalties.html#changing-the-past)).
- **One kind of commit is dated back.** When lines in a statement month match nothing, RecordJet maps those barcodes with commits dated to the *first day of that statement’s reported month*, so the held-back month can be processed again. These commits only place money that had nowhere to go, and they never change an accepted month. If you mirror the ledger in a warehouse, note that `effectiveDate` can be earlier than `createdAt`, so rebuild history from the commits, not from arrival order.
- **Same-month versions are replaced, not kept.** A replaced commit disappears from lists and exports. The journal keeps it as the `payload` of a `DELETED` event. If you need every version, store the ledger events.
- **Commits record why, not who.** A commit has no user or key field. The event’s `eventName` says what caused it (`DRAFT_RELEASE_ACCEPTED`, `RELEASE_TAKEDOWN_REQUESTED`, …), and the release’s own journal history shows which edit was accepted at that moment.

## Set a share rule

Each track’s share rule is set in its `accounting`. The rule lists wallets and their share in parts per million:

**Track accounting**

```json
{
  "accounting": {
    "shareRules": [
      {
        "shares": [
          { "walletId": "9d2a7c55-0e3b-4a6f-8c21-7f4b1d9e3a02", "sharePerMio": 520000 },
          { "walletId": "47be01d3-5c8a-4e29-b6f0-3a1d8e7c2b94", "sharePerMio": 300000 },
          { "walletId": "c0ff3e11-2d4a-4b6c-9e8f-5a7b3c1d0e92", "sharePerMio": 180000 }
        ]
      }
    ]
  }
}
```

Send it with the track when you [write the draft](https://docs.releaseapi.com/drafts.html). These rules apply:

- **One rule per track.** `shareRules` is a list, but a track may have zero or one rule. Two rules fail validation with `TRACK_SHARE_RULE_MAX_ONE_PER_TRACK`.
- **Shares sum to exactly 1,000,000.** `520000` is 52%. Anything else is rejected with `SHARE_SUM_INVALID`.
- **Up to 20 wallets**, each listed once.
- **Same tenant.** Every wallet must exist in the release’s tenant. It doesn’t have to belong to the owner: a producer’s wallet on an artist’s release is the normal case.
- **Order matters slightly.** The rounding remainder of each split, at most a few nano-euros and sometimes negative, goes to the first wallet in the list. Put the main payee first. [Rounding, exactly](https://docs.releaseapi.com/royalties.html#rounding) has the algorithm.

> **Always set a rule:** A track with no share rule still earns money for its owner, but no wallet receives it, so it never appears in wallet reports. If a track has a single payee, give that payee’s wallet `1000000`.

To change the split of a live release, edit the release and submit it again. [Change splits on live releases](https://docs.releaseapi.com/ledger.html#change-splits) walks through the steps.

### Fees and owner

The release’s `accounting` holds the rest (full field list in [Accounting fields](https://docs.releaseapi.com/drafts.html#accounting)):

- `ownerCustomerId` (required): the customer who owns the release. It’s fixed once the release is live, and changing it fails with `CHANGING_CUSTOMER_CURRENTLY_NOT_SUPPORTED`.
- `clientFeePercentage`: the client’s cut of the gross, a decimal used exactly as sent (`0.15` is 15%). **As a tenant under RecordJet, leave it out**, because it’s RecordJet’s fee and acceptance applies the one in your contract.
- `tenantFeePercentage`: the tenant’s cut of what the client fee leaves. If you leave it out, the tenant’s default fee applies.

Tenant default fees only apply to releases accepted *after* they change. To move live releases to new fees, edit each release’s `accounting`. Fee-only edits are accepted automatically, but there is no bulk endpoint. The steps are the same as in [Change splits on live releases](https://docs.releaseapi.com/ledger.html#change-splits).

Reports show the fees twice: as decimals, and as integers per million (`client_fee_per_mio`), rounded half-up for display. Calculations always use the exact decimal.

## Change splits on live releases

You change a live release’s split with an edit, one release at a time. Labels that keep contracts in their own system usually run this as a sync job: when a contract changes, edit every release it covers.

1. **Check for an open edit**

   `GET /v1/distribution/drafts/full-releases/{releaseId}`. A `404` means no edit is open. If a draft comes back, someone is already editing the release (a release has at most one edit draft). Add your share rules to that draft and continue at step 3. If it’s in review, wait for the outcome and retry.

2. **Open the edit draft**

   `POST /v1/distribution/drafts/releases/draft-from-release` with `{ "releaseId": … }`. Only call it after step 1, because it replaces an existing edit draft without warning, even one in review. See [Open the edit draft](https://docs.releaseapi.com/catalog.html#open-the-edit-draft).

3. **Change the share rules and write the draft back**

   Change `accounting.shareRules` on the tracks whose split changes, and `PUT` the whole body back to `/v1/distribution/drafts/full-releases/{releaseId}`. Leave everything else as it is.

4. **Submit**

   `PUT /v1/distribution/drafts/releases/{releaseId}/status` with `{"status": "REVIEW"}`. An edit that only changes accounting is [accepted automatically](https://docs.releaseapi.com/review.html#automatic-acceptance), without a reviewer. An edit that mixes splits with other changes waits for review.

Acceptance writes a wallet commit for each track whose rule changed, under the [usual timing](https://docs.releaseapi.com/ledger.html#when-changes-take-effect). Keep these limits in mind:

- **No bulk call.** Fifty releases under one contract means fifty edits. Run them one by one and follow each outcome in the [journal](https://docs.releaseapi.com/events.html).
- **No scheduling.** You can’t date a commit to a later month. For a split that starts in March, submit the edit in February. Keep pending changes in your own system until then.
- **Check the result** with `GET /v1/distribution/ledger/wallets?releaseId=…`: the new commits carry next month’s `effectiveDate`.

## What writes the ledger

You never write release or wallet commits directly. These are the events that write them:

| What happens | Commits written | Effective from |
| --- | --- | --- |
| A release is accepted for the first time | One release commit; one wallet commit per track | 1st of next month |
| An edit is accepted that changes the fees, adds a Dolby Atmos ISRC or changes a track’s secondary ISRCs | A new release commit | 1st of next month |
| An edit is accepted that changes a track’s share rule | A wallet commit for each changed track | 1st of next month |
| A takedown is requested | A release commit with `isTakenDown: true` | 1st of next month |
| An edit is accepted that removes every store, or brings a taken-down release back | A release commit with `isTakenDown` `true` or `false` | 1st of next month |
| RecordJet maps statement lines that matched nothing | Release commits for the mapped GTINs | The first day of that statement’s reported month, so the held-back month can be processed again. These are the only commits that are dated back (see [History and audit](https://docs.releaseapi.com/ledger.html#history-and-audit)) |
| A client adds a manual mapping | A release or video commit with `isManualMapping: true` | 1st of next month |

The owner, the GTIN, the track count and the primary ISRCs can’t change once a release is live (see [Manage live releases](https://docs.releaseapi.com/catalog.html)), so edits never write commits for those. Videos follow the same pattern in the video ledger.

### Takedowns and shared ISRCs

A takedown doesn’t cut off revenue. Late sales still resolve to the taken-down release. When several releases share a code, the rules below decide which one gets the line. They use the commits in effect on the first day of the line’s **reported month**:

- **Same GTIN:** the release with the most recent *active* commit (not a takedown, not a manual mapping) wins. Taken-down and manual commits count only when no active one exists. A later takedown of the winner doesn’t hand the GTIN back to an older release.
- **Same ISRC, line without GTIN** (a single and its album): the release that became active first and is still active wins. If all of them are taken down, the one taken down most recently wins. Its share rule applies, so ISRC-only lines follow the single. Find shared ISRCs in your commits’ `trackMappings` ([Check where money goes as a tenant](https://docs.releaseapi.com/ledger.html#tenant-checks)).

## Check where a line would go

Sometimes you need to know which release, fees and owner apply to a GTIN or ISRC, and from when. How you find out depends on your key.

*Diagram: How a statement line finds its money path: by GTIN and ISRC, by GTIN only, or by ISRC only; then the release commit for the reported month and the wallet commit for the sale month.* Which codes the store sent decides how the line finds its release, and the two months decide which ledger versions apply. A line with neither code, or a code nobody owns, holds the whole month back (see [Monthly statements](https://docs.releaseapi.com/statements.html#how-a-month-reaches-you)).

### Check where money goes as a tenant

The resolve endpoints only work with a client key, and a tenant key gets `401` (see [Client accounts: resolve and map codes](https://docs.releaseapi.com/ledger.html#resolve-endpoints)). Instead, a tenant reads its own commits, which answer the same question for its own releases:

| Question | Read |
| --- | --- |
| Which fees and owner apply to this release, from when? | `GET /v1/distribution/ledger/releases?releaseId=…`. There’s one commit per `effectiveDate`, and the commit with the latest `effectiveDate` on or before the first day of a line’s reported month applies. |
| Which release is behind this barcode? | `GET /v1/distribution/ledger/releases?gtin=…` |
| Which split applies to this track, from when? | `GET /v1/distribution/ledger/wallets?trackId=…`, or `?releaseId=…` for every track. Pick by the line’s *sale* month. |
| Which ISRCs map to which track, and in which order? | The release commit’s `trackMappings`. The first entry without `isSecondary` is the “first track” that takes a bundle’s [rounding remainder](https://docs.releaseapi.com/royalties.html#rounding). |

A tenant key sees only its own tenant’s commits. If another tenant of the same client has a release with the same GTIN or ISRC, the client-wide rules in [Takedowns and shared ISRCs](https://docs.releaseapi.com/ledger.html#takedowns-and-shared-isrcs) decide, and only `resolve-gtin` and `resolve-isrc` show that. Ask your RecordJet contact when a payout looks wrong and you suspect a shared code.

## Read the ledger

Read commits to check which version ReleaseAPI will use for a month, or to mirror the ledger in your own system.

**Read**

- `GET /v1/distribution/ledger/releases` — Filter by `releaseId`, `gtin`
- `GET /v1/distribution/ledger/releases/{ledgerReleaseId}` — One release commit
- `GET /v1/distribution/ledger/wallets` — Filter by `trackId`, `releaseId`
- `GET /v1/distribution/ledger/wallets/{ledgerWalletId}` — One wallet commit
- `GET /v1/distribution/ledger/videos` — Video commits
- `POST /v1/distribution/ledger/export/releases` — All release commits as JSONL
- `POST /v1/distribution/ledger/export/wallets` — All wallet commits as JSONL

Reading needs `LEDGER_READ` and works with tenant and client keys. Lists are paginated like every other list (see [API basics](https://docs.releaseapi.com/api-basics.html#pagination)) and return the newest commits first (`createdAt`, descending) unless you pass `sortBy` and `sortOrder`. A client key can narrow them with `tenantId`. The video list filters by `videoId` and `gtin`.

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/distribution/ledger/wallets?trackId=…`

**cURL**

```bash
curl -G "$BASE/distribution/ledger/wallets" \
  --data-urlencode "trackId=f30b6e2a-1c9d-4f7b-8e4a-6d2c0b9f1e57" \
  -H "X-API-KEY: $RELEASEAPI_KEY"
```

**Response**

```json
{
  "items": [
    {
      "id": "5c8e1a3f-7b2d-4e9c-a6f1-0d3b8e2c7a45",
      "clientId": "7c4a91e2-5d3b-4f08-a6e1-93b2c0d4e517",
      "tenantId": "b55ec853-f63b-4cb3-9c2f-868b4eb42f95",
      "trackId": "f30b6e2a-1c9d-4f7b-8e4a-6d2c0b9f1e57",
      "effectiveDate": "2026-06-01",
      "shareRules": [
        {
          "shares": [
            { "walletId": "9d2a7c55-0e3b-4a6f-8c21-7f4b1d9e3a02", "sharePerMio": 520000 },
            { "walletId": "47be01d3-5c8a-4e29-b6f0-3a1d8e7c2b94", "sharePerMio": 300000 },
            { "walletId": "c0ff3e11-2d4a-4b6c-9e8f-5a7b3c1d0e92", "sharePerMio": 180000 }
          ]
        }
      ],
      "createdAt": "2026-05-14T10:02:31.540Z"
    }
  ],
  "hasMore": false,
  "limit": 100,
  "offset": 0
}
```

**Release commit fields**

- `id` (uuid) — The commit’s id. A replaced same-month commit disappears and its successor gets a new id.
- `clientId, tenantId` (uuid)
- `gtin` (string) — The barcode this commit maps.
- `effectiveDate` (date) — The first day this commit applies, which is always the first of a month.
- `releaseId` (uuid)
- `trackCount` (integer) — The number of tracks a bundle line is divided by.
- `clientFeePercentage, tenantFeePercentage` (number) — Exact decimals. Parse them as decimals, not floats (in Python, `json.loads(…, parse_float=Decimal)`).
- `ownerCustomerId` (uuid)
- `isTakenDown` (boolean) — Written by a takedown, and also `true` on every manual mapping. A taken-down commit still resolves revenue, but at lower priority.
- `isManualMapping` (boolean) — Added by a client or by a statement fallback mapping.
- `trackMappings` (array) — Every ISRC that maps to a track of this release: the primary ISRC, a Dolby Atmos ISRC, and any secondary ISRCs. Secondary entries have `isSecondary: true`.
  - `isrc` (string)
  - `trackId` (uuid)
  - `volumeNumber, trackNumber` (integer)
  - `isSecondary` (boolean, optional) — Missing means `false`.
- `createdAt` (timestamp) — When the commit was written. It can be later than `effectiveDate` (see [History and audit](https://docs.releaseapi.com/ledger.html#history-and-audit)).

Unique per client on `(gtin, releaseId, effectiveDate)`.

**Wallet commit fields**

- `id, clientId, tenantId` (uuid)
- `trackId` (uuid)
- `effectiveDate` (date) — Always the first of a month. The rule applies to sales from this month on.
- `shareRules` (array) — Zero or one rule, each a list of `shares` with `walletId` and `sharePerMio`. An empty list means the track had no rule, so its money stays at customer level.
- `createdAt` (timestamp)

Unique per client on `(trackId, effectiveDate)`.

**Video commit fields**

A video commit combines both ledgers: `id`, `clientId`, `tenantId`, `videoId`, `gtin`, `isrc`, `secondaryIsrc` (optional list), `effectiveDate`, `clientFeePercentage`, `tenantFeePercentage`, `ownerCustomerId`, `isManualMapping`, `isTakenDown`, `shareRules` and `createdAt`. Unique per client on `(gtin, videoId, effectiveDate)`.

### Export the whole ledger

The export endpoints take no request body and stream every commit in your scope as JSON Lines. Use them to mirror the ledger in a warehouse or to audit splits across your whole catalog.

- **Same objects as the list.** Each line is a commit with the fields above, including `id`, `tenantId` and `createdAt`. Fields without a value are left out rather than sent as `null`.
- **Always the full set.** There is no filter and no “changed since”. Every call returns every current commit in your scope (its own tenant for a tenant key, all tenants for a client key). The lines come in no guaranteed order and the response isn’t compressed.
- **Current commits only.** A commit replaced in the same month doesn’t appear in the export. Treat each export as a snapshot: replace your copy of the table with it, or keep a history yourself from the journal’s ledger events.
- **No video export.** Page through `GET /v1/distribution/ledger/videos` instead.

`POST /v1/distribution/ledger/export/wallets`

```bash
curl -X POST "$BASE/distribution/ledger/export/wallets" \
  -H "X-API-KEY: $RELEASEAPI_KEY" \
  -o wallet-ledger-export.jsonl
```

## Events

Commits are journaled as `LEDGER_RELEASE_COMMIT`, `LEDGER_WALLET_COMMIT` or `LEDGER_VIDEO_COMMIT`.

- `eventName` says what caused the commit: `DRAFT_RELEASE_ACCEPTED`, `RELEASE_TAKEDOWN_REQUESTED`, `VIDEO_TAKEDOWN_REQUESTED` or `STATEMENTS_MAPPING_FIXED`. Manual mappings carry none.
- A replaced same-month commit produces a `DELETED` event for the old commit, then `CREATED` for the new one.

See the [Event catalog](https://docs.releaseapi.com/events.html#event-catalog).

## Share rule errors

A share rule or fee that breaks the rules above is rejected with one of these codes:

| Code | Meaning |
| --- | --- |
| `SHARE_SUM_INVALID` | The shares don’t add up to 1,000,000. |
| `INVALID_SHARE_PER_MIO` | A share is below 0 or above 1,000,000. |
| `SHARE_WALLET_DUPLICATED` | The same wallet appears twice in one rule. |
| `TOO_MANY_SHARES` | A rule has more than 20 wallets. |
| `SHARE_RULES_NEED_SHARES` | A rule has an empty `shares` list. |
| `TRACK_SHARE_RULE_MAX_ONE_PER_TRACK` | A track has more than one rule. |
| `WALLET_ID_NOT_FOUND` — `WALLET_BELONGS_TO_OTHER_TENANT` | The wallet doesn’t exist in the release’s tenant. |
| `INVALID_FEE_PERCENTAGE` | A fee is outside 0–1. Send `0.15`, not `15`. |

## Client accounts: resolve and map codes

Two ledger tools need a client key: resolving a code across every tenant, and mapping an extra GTIN to a release. If you’re a tenant under RecordJet, RecordJet uses them on your behalf. Ask your RecordJet contact when a payout looks wrong or an old barcode needs to be mapped to a release.

### Resolve a GTIN or ISRC

With a client key, the resolve endpoints run statement processing’s own lookup across every tenant. Use them to debug a payout or to check an edit before the month ends.

- `POST /v1/distribution/ledger/resolve-gtin` — `{ gtin, hintIsrc? }`
- `POST /v1/distribution/ledger/resolve-isrc` — `{ isrc }`

`POST /v1/distribution/ledger/resolve-gtin`

**cURL**

```bash
curl "$BASE/distribution/ledger/resolve-gtin" \
  -H "X-API-KEY: $RELEASEAPI_CLIENT_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "gtin": "4063361000016" }'
```

**Response**

```json
{
  "resolved": [
    {
      "validFrom": null,
      "validTo": "2026-10-31",
      "validRuleRelease": {
        "gtin": "4063361000016",
        "clientId": "7c4a91e2-5d3b-4f08-a6e1-93b2c0d4e517",
        "tenantId": "b55ec853-f63b-4cb3-9c2f-868b4eb42f95",
        "releaseId": "e7a1b3c5-8d2f-4e6a-9b0c-1f3e5d7a9c24",
        "customerId": "0b1c2d3e-4f50-4a61-8b72-93c4d5e6f708",
        "clientFeePercentage": 0.15,
        "tenantFeePercentage": 0.2,
        "effectiveDate": "2026-06-01",
        "items": [
          {
            "isrc": "DEXW92600001",
            "trackId": "f30b6e2a-1c9d-4f7b-8e4a-6d2c0b9f1e57",
            "volumeNumber": 1,
            "trackNumber": 1,
            "isSecondary": false
          }
        ],
        "isTakenDown": false,
        "isManualMapping": false
      }
    },
    {
      "validFrom": "2026-11-01",
      "validTo": null,
      "validRuleRelease": {
        "gtin": "4063361000016",
        "clientId": "7c4a91e2-5d3b-4f08-a6e1-93b2c0d4e517",
        "tenantId": "b55ec853-f63b-4cb3-9c2f-868b4eb42f95",
        "releaseId": "e7a1b3c5-8d2f-4e6a-9b0c-1f3e5d7a9c24",
        "customerId": "0b1c2d3e-4f50-4a61-8b72-93c4d5e6f708",
        "clientFeePercentage": 0.15,
        "tenantFeePercentage": 0.25,
        "effectiveDate": "2026-11-01",
        "items": [
          {
            "isrc": "DEXW92600001",
            "trackId": "f30b6e2a-1c9d-4f7b-8e4a-6d2c0b9f1e57",
            "volumeNumber": 1,
            "trackNumber": 1,
            "isSecondary": false
          }
        ],
        "isTakenDown": false,
        "isManualMapping": false
      }
    }
  ]
}
```

Each entry is a period with one rule. A `null` bound means the period is open-ended, and identical periods are merged. In the Response tab, an edit raised the tenant fee from 20% to 25% for statements reported from November 2026. A video GTIN returns `validRuleVideo` instead.

- **Periods are reported months.** They tell you which release, fees and owner a line reported in that month uses. Share rules follow the sale month and live in the wallet ledger: read them with `GET /v1/distribution/ledger/wallets?trackId=…`.
- **`hintIsrc`** mirrors a statement line that carries both a GTIN and an ISRC. When several releases share the GTIN, ReleaseAPI prefers the one that contains that ISRC, exactly as statement processing does.
- **Field names differ from commits.** A resolved rule says `customerId` where a commit says `ownerCustomerId`, and `items` where a commit says `trackMappings`. It has no `trackCount`, so count the `items` without `isSecondary` instead.

### Map an extra GTIN

For a barcode ReleaseAPI has never seen (an old GTIN from before a catalog move, a promotional bundle), a client can map it to an existing release. The mapping copies the release’s owner and tracks and uses the fees you send.

`POST /v1/distribution/ledger/releases`

```bash
curl "$BASE/distribution/ledger/releases" \
  -H "X-API-KEY: $RELEASEAPI_CLIENT_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "releaseId": "e7a1b3c5-8d2f-4e6a-9b0c-1f3e5d7a9c24",
    "gtin": "4198765432108",
    "clientFeePercentage": 0.15,
    "tenantFeePercentage": 0.2
  }'
```

- **Timing.** Like every commit, a mapping takes effect on the 1st of next month. Posting again for the same release and GTIN in the same month replaces the earlier one.
- **Priority.** For lines with a GTIN, a manual mapping has the lowest priority: an active release with that GTIN always wins.
- **Changes.** Change its GTIN and fees with `PUT /v1/distribution/ledger/releases/{id}` until it takes effect. After that, it’s fixed. Mappings are never deleted. To send a GTIN elsewhere later, add a newer mapping, which overrides it from its own effective date.
- **Videos.** The same calls live under `/v1/distribution/ledger/videos`, with an `isrc` in the body. Filter the video list with `videoId` and `gtin`.
- **Client keys only.** A tenant key gets `401` on the write calls.

| Error | When |
| --- | --- |
| `INVALID_GTIN` | The GTIN’s check digit is wrong. |
| `GTIN_BELONGS_TO_ANOTHER_RELEASE` — `GTIN_BELONGS_TO_ANOTHER_VIDEO` | The GTIN is already a release’s or a video’s own code. |
| `NO_MANUAL_MAPPING_FOR_RELEASE_GTIN` — `NO_MANUAL_MAPPING_FOR_VIDEO_GTIN` | The GTIN is the release’s (or video’s) own GTIN, so it needs no mapping. |
| `404 RELEASE_NOT_FOUND` | The release id is unknown. |
| `CANNOT_EDIT_THIS_MAPPING` | The mapping has already taken effect. |
| `ISRC_BELONGS_TO_ANOTHER_VIDEO` — `ISRC_BELONGS_TO_ANOTHER_RELEASE_TRACK` | You edited a video mapping whose ISRC is already used elsewhere. |

> **A mapping also re-registers the release’s ISRCs:** The mapping carries the release’s tracks and is stored like a taken-down copy of the release. From its effective date, lines that arrive with an ISRC and *no* GTIN use the mapping’s fees and GTIN, and an active release that shares one of those ISRCs takes those lines over. Send the same fees the release already has, and check shared ISRCs with [`resolve-isrc`](https://docs.releaseapi.com/ledger.html#resolve-endpoints) before you map.

A manual mapping only affects months from its effective date on.

## Next steps

- [Monthly statements](https://docs.releaseapi.com/statements.html): Read how each month of store money was split by the ledger.
- [How money flows](https://docs.releaseapi.com/royalties.html): Follow the full chain from gross revenue to the wallets, with a worked example.
- [Manage live releases](https://docs.releaseapi.com/catalog.html): Edit a live release to change its split.
