Skip to content

Commit

Permalink
Merge for v22.0.2 (#788)
Browse files Browse the repository at this point in the history
* Update DQC_0080_ListOfElements.xlsx

- update for v21 approved and v20 removals

* Updated rule 166 to handle ECD taxonomy properly

* Updated V22 to address issue in rule 166

* Update version.xule v22.0.2

* Recompiled v22.0.2

---------

Co-authored-by: Campbell
  • Loading branch information
davidtauriello committed Dec 1, 2023
1 parent fcad5ea commit 19825e5
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 87 deletions.
36 changes: 18 additions & 18 deletions docs/ESEF/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ The specification of the current ESEF DQR rules can be found below:

| Number | Short name | Rule version |
| ----- | ----- | ----- |
| [DQC_IFRS_0008](docs/DQC_IFRS_0008/DQC_0008.md) | Reversed calculation | 21 |
| [DQC_IFRS_0041](docs/DQC_IFRS_0041/DQC_0041.md) | Axis with a default member that differs from the IFRS Taxonomy | 21 |
| [DQC_IFRS_0080](docs/DQC_IFRS_0080/DQC_0080.md) | IFRS Non-Negative Items | 21 |
| [DQC_IFRS_0092](docs/DQC_IFRS_0092/DQC_0092.md) | IFRS Non-Positive Items | 21 |
| [DQC_IFRS_0093](docs/DQC_IFRS_0093/DQC_0093.md) | Durational Aggregation | 21 |
| [DQC_IFRS_0101](docs/DQC_IFRS_0101/DQC_0101.md) | Misapplication of Concepts between Investing, Financing and Operating Activities | 21 |
| [DQC_IFRS_0102](docs/DQC_IFRS_0102/DQC_0102.md) | Accounting Relationships| 21 |
| [DQC_IFRS_0103](docs/DQC_IFRS_0103/DQC_0103.md) | Invalid Value for Percentage Items | 21 |
| [DQC_IFRS_0104](docs/DQC_IFRS_0104/DQC_0104.md) | Axis with Inappropriate Members | 21 |
| [DQC_IFRS_0105](docs/DQC_IFRS_0105/DQC_0105.md) | FS with No Associated Calculation | 21 |
| [DQC_IFRS_0115](docs/DQC_IFRS_0115/DQC_0115.md) | Fact Value Consistency Over Time | 21 |
| [DQC_IFRS_0118](docs/DQC_IFRS_0118/DQC_0118.md) | Financial Statement Tables Calculation Check of Required Context | 21 |
| [DQC_IFRS_0126](docs/DQC_IFRS_0126/DQC_0126.md) | FS Calculation Check with Non Dimensional Data | 21 |
| [DQC_IFRS_0127](docs/DQC_IFRS_0127/DQC_0127.md) | Incorrect Dimensional Item Used on Financial Statements | 21 |
| [DQC_IFRS_0128](docs/DQC_IFRS_0128/DQC_0128.md) | Dimensional Values Larger than the Default | 21 |
| [DQC_IFRS_0129](docs/DQC_IFRS_0129/DQC_0129.md) | Dimensional Equivalents | 21 |
| [DQC_IFRS_0130](docs/DQC_IFRS_0130/DQC_0130.md) | Earnings Per Share Calculation | 21 |
| [DQC_IFRS_0138](docs/DQC_IFRS_0138/DQC_0138.md) | Missing Abstract from Financial Statements | 21 |
| [DQC_IFRS_0008](docs/DQC_IFRS_0008/DQC_0008.md) | Reversed calculation | 22 |
| [DQC_IFRS_0041](docs/DQC_IFRS_0041/DQC_0041.md) | Axis with a default member that differs from the IFRS Taxonomy | 22 |
| [DQC_IFRS_0080](docs/DQC_IFRS_0080/DQC_0080.md) | IFRS Non-Negative Items | 22 |
| [DQC_IFRS_0092](docs/DQC_IFRS_0092/DQC_0092.md) | IFRS Non-Positive Items | 22 |
| [DQC_IFRS_0093](docs/DQC_IFRS_0093/DQC_0093.md) | Durational Aggregation | 22 |
| [DQC_IFRS_0101](docs/DQC_IFRS_0101/DQC_0101.md) | Misapplication of Concepts between Investing, Financing and Operating Activities | 22 |
| [DQC_IFRS_0102](docs/DQC_IFRS_0102/DQC_0102.md) | Accounting Relationships| 22 |
| [DQC_IFRS_0103](docs/DQC_IFRS_0103/DQC_0103.md) | Invalid Value for Percentage Items | 22 |
| [DQC_IFRS_0104](docs/DQC_IFRS_0104/DQC_0104.md) | Axis with Inappropriate Members | 22 |
| [DQC_IFRS_0105](docs/DQC_IFRS_0105/DQC_0105.md) | FS with No Associated Calculation | 22 |
| [DQC_IFRS_0115](docs/DQC_IFRS_0115/DQC_0115.md) | Fact Value Consistency Over Time | 22 |
| [DQC_IFRS_0118](docs/DQC_IFRS_0118/DQC_0118.md) | Financial Statement Tables Calculation Check of Required Context | 22 |
| [DQC_IFRS_0126](docs/DQC_IFRS_0126/DQC_0126.md) | FS Calculation Check with Non Dimensional Data | 22 |
| [DQC_IFRS_0127](docs/DQC_IFRS_0127/DQC_0127.md) | Incorrect Dimensional Item Used on Financial Statements | 22 |
| [DQC_IFRS_0128](docs/DQC_IFRS_0128/DQC_0128.md) | Dimensional Values Larger than the Default | 22 |
| [DQC_IFRS_0129](docs/DQC_IFRS_0129/DQC_0129.md) | Dimensional Equivalents | 22 |
| [DQC_IFRS_0130](docs/DQC_IFRS_0130/DQC_0130.md) | Earnings Per Share Calculation | 22 |
| [DQC_IFRS_0138](docs/DQC_IFRS_0138/DQC_0138.md) | Missing Abstract from Financial Statements | 22 |

## Documentation definitions

Expand Down
Binary file modified dqc_us_rules/dqc-esef-2020-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-esef-2021-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-esef-2022-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2020-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2021-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2022-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-ifrs-2023-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2020-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2021-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2022-V22-ruleset.zip
Binary file not shown.
Binary file modified dqc_us_rules/dqc-us-2023-V22-ruleset.zip
Binary file not shown.
23 changes: 1 addition & 22 deletions dqc_us_rules/source/esef/esef-2020/version.xule
23 changes: 1 addition & 22 deletions dqc_us_rules/source/esef/esef-2021/version.xule
23 changes: 1 addition & 22 deletions dqc_us_rules/source/esef/esef-2022/version.xule
2 changes: 1 addition & 1 deletion dqc_us_rules/source/lib/version.xule
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DQC Rules

/** Define the rule version **/

constant $ruleVersion = '22.0.1'
constant $ruleVersion = '22.0.2'

/** Define Additional Attribute types that can be associated with a rule **/

Expand Down
2 changes: 1 addition & 1 deletion dqc_us_rules/source/us/2023/DQC_0089.xule
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exists({@concept in $invalidRangeAxisElements @srt:RangeAxis = * }#invalidElemen

message

"The element {$invalidElement.concept.name} with a value of {$invalidElement} has been reported in the filing using the range axis. This element cannot be used with the range axis. To record the range of remaining lease terms use the US GAAP element called LesseeOperatingLeaseRemainingLeaseTerm for operating leases and the US GAAP element called LesseeFinanceLeaseRemainingLeaseTerm for finance leases.
"The element {$invalidElement.concept.name} with a value of {$invalidElement} has been reported in the filing using the RangeAxis. This element cannot be used with the RangeAxis. To record the range of remaining lease terms use the US GAAP element called LesseeOperatingLeaseRemainingLeaseTerm for operating leases and the US GAAP element called LesseeFinanceLeaseRemainingLeaseTerm for finance leases.

Period :{$invalidElement.period}
Dimensions : {$invalidElement.dimensions.join(', ','=')}
Expand Down
2 changes: 1 addition & 1 deletion dqc_us_rules/source/us/2023/DQC_0166.xule
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $factsNotIncubes = list({covered @ where $fact.dimensions.length > 0 and $fact.c
for $fact2 in $factsNotIncubes
$IncludesTypedDim = $fact2.dimensions.keys.name intersect set(RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis)
$IncludesECDDimension = $fact2.dimensions.keys.name.namespace-uri intersect set('http://xbrl.sec.gov/ecd/2023');
$IncludesTypedDim.length == 0 and $IncludesECDDimension == 0
$IncludesTypedDim.length == 0 and $IncludesECDDimension.length == 0
message
"A value of {$fact2} was reported for the concept {$fact2.concept.name}. This value has dimensions of {$fact2.dimensions.join(', ','=')} but this fact is not included in a dimensional table ( hypercube). All dimensional facts should be included in a hypercube.

Expand Down

0 comments on commit 19825e5

Please sign in to comment.