Working with Safe Harbor Rules
Groovy Validation Rule
- Safe Harbors Overview form is attached with Groovy rule which validates data against transitional Safe harbor tests rates and amounts data upon form load (see, Working with Pillar Two Safe Harbors)
- Validations run only when Entity currency is EUR or Reporting currency is selected as EUR
- TRCS_CbCRRevenue is validated against threshold amount entered for TRCS_DeminimisTestTotalRevenue
- TRCS_CbCRProfitBeforeTax is validated against threshold amount entered for TRCS_DeminimisTestTotalPBIT
- When an Entity passes any of the test then the cell color is filled with Green color
Consolidate Safe Harbors (Standalone Rule)
- This rule is applicable only when CbCR feature is enabled.
- Standalone rule to run Safe harbor automation rules (Under Actions →
Business Rules, launch Consolidate Safe Harbors)
- Standalone rule is also attached to the Pillar Two Safe Harbors form.