Docs Library

Guide

Calculate royalties with repeatable payout logic

Royalty payout calculations need traceable source revenue, versioned rules, understandable statements, and evidence for later disputes.

Use Allocora as a rules-driven royalty calculation layer for close periods and statements.

To try sample data, create a free workspace and choose the SaaS Affiliate sample during setup.

On This Page

Details

What to know

Royalty workflow model

Use products or catalog items as the revenue dimension, payees as the recipients, and rules as the royalty terms.

  • Import source revenue for the royalty period.
  • Map revenue rows to products and payees.
  • Use effective dates for contract or rate changes.
  • Create calculation runs that preserve the rule context used for that period.

Royalties on the retail price, with returns

Book and music contracts often pay a percentage of the retail price per unit sold. Import units and, if the file carries it, the retail price with each sale; set the rule’s Royalty base to retail price; and keep the actual receipts as the revenue amount.

  • Choose where the price comes from on the rule: the revenue file, or the dated prices in the product’s Retail prices section. A sale without a price in that source stops the calculation.
  • A product price applies from its start date, by the UTC date of the sale. A calculation keeps the prices it was reviewed with.
  • Royalties on one sale cannot exceed its receipts. If all payees together would receive more, the calculation stops and names the sale and each amount.
  • Link a return to its sale with Original Revenue ID or Original External ID in the revenue file, and give the returned units. Allocora reverses the royalty with the price and rate of the sale, even after the rule or price has changed.
  • The sale must already be in a locked calculation. If a return falls in the same period as its sale, the calculation stops: calculate and lock a period that ends before the return date, then calculate the dates that include the return.
  • Partial returns add up to the original royalty. The return of the last unit reverses whatever remains, so rounding never reverses more than was paid. Returned units cannot exceed the units sold.
  • Payees on the same sale whose rules pay on receipts are reversed in proportion to the refunded amount.
  • While a locked return depends on a sale’s calculation, that calculation cannot be unlocked, re-run, or adjusted.
  • On product statements, a line under each retail price royalty shows the units sold or returned, the retail price before tax, and the rate, so the payee can follow the amount.

What to show reviewers

Reviewers need more than the final royalty amount. They need source totals, rule logic, adjustments, and statement output.

  • Payee totals by period.
  • Line-level allocation evidence.
  • Refund and adjustment context.
  • Statement files and structured exports.

Reference Tables

Fields and checks

Worked royalty example

Use this example to test whether a royalty period has enough evidence for review.

Input Example value Calculation note
Catalog revenue USD 8,500.00 Imported revenue rows mapped to the royalty-bearing product.
Royalty rate 12% Stored as a rule scoped to the catalog item or contract metadata.
Adjustment USD -125.00 Correction row included in the same review period.
Base formula (8,500.00 - 125.00) x 0.12 Produces USD 1,005.00 as the calculated obligation.

Retail price royalty with a price change and returns

An author earns 10% of the retail price before tax. The product price is EUR 20.000 until 31 October and EUR 25.000 from 1 November. In November the rate changes to 15%.

Event Inputs Royalty
Sale on 31 October 10 units, EUR 80.000 received EUR 20.000 = 10 × 20.000 × 10%
Sale on 1 November 10 units, EUR 80.000 received, new 15% rate EUR 37.500 = 10 × 25.000 × 15%
Return of 2 units of the October sale Linked to the October sale, which is locked EUR -4.000 = 2 × 20.000 × 10%, the October price and rate
Return of the other 8 October units Linked to the same sale EUR -16.000; the October royalty is now fully reversed

Illustrative workbook and Allocora workflows

Compare these examples with how your team traces source rows and royalty terms.

Example workbook Allocora Review task
Catalog sales pasted into a monthly sheet. Revenue events are imported with source identifiers. A reviewer can trace each royalty amount back to the source row.
Contract rates typed into formulas. Royalty rates are versioned rules with effective dates. Rate changes are preserved for historical periods.
Manual statement templates. Statements are generated after run review. Payee-facing explanations stay tied to calculation output.
Reviewers retrieve the workbook and supporting records. Audit history records changes alongside runs and statements. Retain the evidence needed to investigate later questions.

Examples

Sample CSV rows and formula

These rows show royalty source data with a catalog identifier and adjustment.

Sample royalty CSV rows

external_revenue_id,transaction_date,amount,currency,revenue_type,external_product_id,metadata_contract_id
sale_2044,2026-05-05,8500.00,USD,sale,catalog_album_01,contract_alpha
adj_2044,2026-05-20,-125.00,USD,adjustment,catalog_album_01,contract_alpha

Simple royalty formula

royalty_basis = 8500.00 - 125.00
royalty_due = royalty_basis * 0.12
royalty_due = 1005.00

Apply this in a workspace

Create a free workspace, explore sample data, and import your own revenue when you are ready.