Purpose of the Mapping Step

The Mapping Data step defines how the columns of a Royalty Statement file are translated into the Reprtoir standard data model.

This step is mandatory and decisive. It determines which data will be imported, how it will be interpreted, and how it will later be matched, calculated, and reported.

Once mapping is confirmed, the mapped data becomes the immutable input for royalty calculations. Any mistake at this stage will propagate through the entire Royalty Accounting workflow.


When Mapping Occurs

Mapping occurs immediately after a Royalty Statement file is successfully uploaded to a Royalty Statement Income.

If the system detects that a previously validated template and mapping configuration already exists for this Statement Template, mapping may be applied automatically.

If automatic mapping is not possible or incomplete, manual intervention is required.

For some Statement Templates with a fixed format, the Mapping Data step is skipped: when the column headers of the file are valid, the mapping is confirmed automatically and processing continues to the next step.


What the System Displays

During the Mapping Data step, Reprtoir displays two synchronized tables that reflect how the statement will be processed.

The first table, displayed at the top, is the “Statement preview”. It shows the first rows of the source file exactly as received from the Statement Provider, without any transformation or interpretation.

The second table, displayed below, is the “Data mapping” (“Map your statement columns to Royalty Accounting columns”). It shows how each column from the source file is mapped to Reprtoir fields and how the data will be interpreted once imported.

This side by side view allows you to validate column alignment, data formats, and identifier usage before confirming the mapping. Any mismatch detected at this stage will directly impact matching accuracy and downstream royalty calculations.


Mapping Objectives

The objective of this step is to:

  • Map all mandatory fields required for processing
  • Map as many relevant optional fields as possible
  • Ensure dates, numbers, and financial amounts are interpreted correctly
  • Ensure identifiers required for matching are correctly assigned

Unmapped mandatory fields will block progression to the next step.


Mapping Rules and Constraints

Mandatory vs Optional Fields

Each Reprtoir field has a predefined status:

  • Mandatory fields must be mapped for the import to proceed
  • Optional fields can be left unmapped, but doing so may reduce matching accuracy or reporting detail

Mandatory fields depend on the selected Statement Template and its scope.


Date Formats

When mapping date columns, you must explicitly select the correct date format used in the statement file.

Incorrect date formats will lead to invalid or shifted dates and may cause processing errors or incorrect period allocation.


Numeric Formats

You must specify how numeric values are formatted in the source file, in particular the decimal separator used.

Supported decimal separators include:

  • Comma, used in most European formats
  • Dot, used in most US and international formats

If numeric formats are not configured correctly, amounts may be misinterpreted during import, leading to incorrect values being processed.


Gross and Net Amounts

Gross and Net amounts must not be inverted.

In standard industry practice, Gross amounts are greater than or equal to Net amounts. If this is not the case, the mapping should be reviewed carefully.


Column Statuses

Each column in the mapping table has a status indicating its readiness:

  • Ready for import: the column is correctly mapped and valid
  • Must be mapped: the column is mandatory and not yet mapped
  • Not mapped: the column is optional and currently unmapped

Only columns marked as Ready for import are included in the final import.


Royalty Matching Prerequisites

Royalty statements rarely contain reliable descriptive metadata such as titles or artist names.

Matching is primarily based on technical identifiers present in the statement file, such as ISRC, UPC, ISWC, or provider specific identifiers.

For matching to succeed:

  • The identifiers used by the Statement Template must exist on the corresponding items in your catalog
  • Identifiers must be stored in the correct Reprtoir fields according to asset type

If a statement line cannot be matched using identifiers, it will remain unmatched and generate a Data Error in the next step.


Automatic Mapping Behavior

When possible, Reprtoir attempts to apply existing mapping rules automatically.

Automatic mapping is based on:

  • The mapping used for the most recent Income of your account with the same Statement Template (Incomes created before the last update of the template are not used)
  • Otherwise, the default mapping of the selected Statement Template, matched on the column names of your file

Automatic mapping should always be reviewed before confirmation. It is not a guarantee of correctness.

Click the “Reset default mapping” button to replace the current mapping with the default mapping of the Statement Template.


Confirming the Mapping

To confirm the mapping

  1. Review all mapped columns and their statuses
  2. Ensure all mandatory columns are marked as Ready for import
  3. Verify date and numeric format settings
  4. Click the orange “Confirm mapping” button below the mapping table

Once confirmed, the mapping is locked and the system proceeds to the next step.


Restarting the Mapping Process

If the mapping is incorrect:

  • Click the “Restart process” button
  • The Income will return to the upload step
  • The uploaded file is removed and must be uploaded again

Restarting the process discards the current mapping configuration for this Income only.

After the mapping has been confirmed, a “Restart mapping” button is available at the Handling Amount Errors, Handling Data Errors and Summary steps. It keeps the uploaded file, removes the imported data and the Operations of this Income, and returns to the Mapping Data step.

🚧

Warning

“Restart mapping” is not available for Statement Templates with a fixed format, and is refused once Operations of your Rights-Holders for this Income are no longer in draft.


Irreversibility of Imported Data

The data imported at the Mapping Data step is the final source used to:

  • Generate Operations
  • Calculate Royalties
  • Produce Statements
  • Feed Analytics and Reporting

Once mapping is confirmed and data is imported, these values cannot be edited directly. To change them, use “Restart mapping” (see above), or delete and re ingest the Income.


Common Mapping Errors

Typical issues encountered at this stage include:

  • Selecting the wrong Statement Template
  • Mapping an identifier to the wrong asset type
  • Inverting Gross and Net columns
  • Using incorrect date or numeric formats
  • Leaving mandatory fields unmapped

Most downstream processing issues originate from incorrect mapping decisions.

Some mapping mistakes stop processing with a blocking error at the Handling Amount Errors step:

MessageLikely cause
Message starting with “Wrong sale date” or “Wrong reporting date”, followed by the incorrect year foundWrong date format selected: a year is before 1970 or in the future.
“We were unable to parse your statement numeric columns, probably a wrong decimal separator was chosen.”Wrong decimal separator selected.
Message ending with “wrong decimal separator chosen. Value: …”Wrong decimal separator selected for the column mentioned.

Click the “Restart mapping” button, correct the format, then confirm the mapping again.


Relationship with Other Steps

Mapping Data sits between:

  • File Upload, which validates file structure and integrity
  • Handling Amount Errors and Handling Data Errors, which address inconsistencies and missing information

Accurate mapping significantly reduces the number of errors encountered in later steps.




Related Articles

Did this page help you?