extensionTaxonomyWrongFilesStructure - Each linkbase type MUST be provided in a separate linkbase file: cal linkbase has no calculationLink element extensionTaxonomyWrongFilesStructure - Each linkbase type MUST be provided in a separate linkbase file: cal linkbase has no calculationLink element

extensionTaxonomyWrongFilesStructure - Each linkbase type MUST be provided in a separate linkbase file: cal linkbase has no calculationLink element

Introduction

Use this article when the validation report contains the error extensionTaxonomyWrongFilesStructure with a message similar to:

Each linkbase type MUST be provided in a separate linkbase file: cal linkbase has no calculationLink element.

This error indicates that the iXBRL engine could not generate calculation relationships for the report.

Summary

After following this article, you can determine whether the issue is caused by missing calculations in the source data or by an outdated data source that has not been synchronised.

Overview

The calculation linkbase contains the relationships between line items and their totals or subtotals.

When no valid calculations can be found, the iXBRL engine cannot generate the calculation linkbase correctly, resulting in this validation error.

In most cases, this is caused by one of two situations:

  • The source data does not contain any calculations.
  • The latest version of the data source has not been synchronised in Tangelo.

Investigate the source data

  1. Open the source file used for the financial statements.
  2. Review the primary financial statement tables.
  3. Verify that totals and subtotals are calculated using formulas.
  4. Confirm that the calculations are included within the imported table range or named range.

If calculations are missing, add the required formulas to the source file.

Examples include:

  • Total assets
  • Total liabilities
  • Total equity
  • Statement subtotals
  • Cash flow subtotals

After updating the source file, upload the updated version to the data source.

Verify data source synchronisation

If the calculations exist in the source file, verify that Tangelo is using the latest version.

  1. Open the document.
  2. Check whether new data is available for the data source.
  3. Synchronise the data source if required.
  4. Wait until the synchronisation is completed.
  5. Verify that the updated calculations are visible in the document tables.

More information can be found in this article: Synchronise new data from a data source

Generate a new iXBRL package

After updating or synchronising the data source:

  1. Generate a new iXBRL package.
  2. Review the validation report.
  3. Confirm that the error no longer appears.

Expected Result

The iXBRL engine successfully generates the calculation linkbase and the validation error is resolved.

Remarks

  • Calculation relationships can only be generated when totals and subtotals are available in the source data.
  • Ensure that all relevant line items and calculations are included within the same imported table or named range.
  • If a source file has been updated recently, always verify that the latest version has been synchronised before investigating further.
  • Missing calculations in the source data are the most common cause of this validation message.