Docs Library

Quickstart

Import revenue data without losing calculation control

Revenue rows are the source facts Allocora evaluates. Import them carefully so every calculation can be traced back to the original source.

Best For Finance or operations users preparing source revenue for a calculation run.

Prepare CSV or integration revenue for mapped, auditable payout calculations.

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

On This Page

Before You Begin

  • Prepare one file for the next distinct statement period and confirm its inclusive start and end dates.
  • Confirm the file includes dates, amounts, currency, product context, and source identifiers.
  • Use a test workspace first if the import format is new.

Expected Result

Imported revenue rows that can be mapped, reviewed, and evaluated by payout rules without editing historical source data in place.

Steps

Follow this path

  1. 01

    Open Revenue Sources. For a first import, choose Add Revenue Source, select CSV Upload, and save the source; Allocora opens the import window. For a later statement, choose the existing file-based source.

  2. 02

    In the import window, enter the inclusive statement period dates and upload the file. For an existing source, choose Import next statement period first.

  3. 03

    Review the detected template version, column mapping, row summary, currency, and source identifiers before confirming.

  4. 04

    Open Import History to verify the retained period, SHA-256 fingerprint, row outcome, retry lineage, and finalization audit evidence.

  5. 05

    Resolve unmatched products and Import Suspense issues, then run readiness checks before creating a calculation run.

Details

What to know

Keep recurring statements on one source

A CSV/XLS/XLSX source keeps multiple retained import batches. Each accepted batch has its own statement period, file fingerprint, template and mapping snapshot, row provenance, status, and audit evidence.

  • Allocora accepts a distinct non-overlapping later period on the same source.
  • The exact same file is blocked for that source even if its filename changes.
  • A pending, processing, or not-yet-finalized batch must finish before the next batch starts.
  • A failed atomic import commits no financial rows and can be retried from its stored artifact with linked retry history.
  • Older completed imports without a period must be classified once in Import History before another batch can be admitted.

Good import hygiene

Treat source revenue as append-only evidence. Corrections should arrive as refunds, adjustments, or new import rows instead of editing historical rows in place.

  • Keep raw external IDs stable; Allocora also records the batch, source row number, and versioned row fingerprint for provenance.
  • Separate test data from production data.
  • Check that each row has the right currency: rows in other currencies are converted during calculation and need an exchange rate for their rate date.
  • Map external product identifiers before running allocation rules.
  • For royalties on the retail price, map Units and, when the rule takes the price from the file, Retail Price Without Tax. Link returns to their sale with Original Revenue ID or Original External ID. The Retail-price book sales export template maps these columns.

What happens after import

Allocora does not pay anyone after import. It prepares governed revenue rows that can be evaluated by rules in a calculation run.

  • Unmapped rows should be resolved or intentionally ignored.
  • Refunds and adjustments should be reviewed for sign and source context.
  • Calculation readiness checks help avoid incomplete runs.

Apply this in a workspace

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