Compliance
This page covers the shared Compliance menu. The register records where a rule comes from, which version applies, and who reviewed and approved it.
Sources
Compliance → Sources
Record the authoritative source before creating a rule:
- authority (for example, DOLE, CSC, BIR, GSIS, or an internal policy owner),
- title,
- issuance number,
- official URL,
- publication and effective dates,
- notes.
Use the official URL and issuance number so a future reviewer can trace the rule. Internal company policies can also be registered as sources when they are formally approved.

Rules
Compliance → Rules
Use Register Rule to create a rule:
- Select the source.
- Enter a unique code (for example
OT_PREMIUMorNIGHT_DIFF). - Enter the name.
- Choose the sector and, where relevant, the organization type and classification.
- Set the effective-from and optional effective-until dates.
- Enter the version (default
1.0.0). - Enter the configuration as JSON.
The configuration is inert data. It must be a non-empty JSON object. Keys named php, eval, or script
are rejected; the system never executes user-supplied code.
Example configuration:
{
"rate": 1.25,
"basis": "daily_rate"
}
Rule versions
Compliance → Rule Versions
Each rule starts with a draft version. The lifecycle is:
draft → reviewed → approved
- Use Review Version and choose Submit for review. This records the reviewer and moves the rule
to
in_review. - Review the configuration and the source.
- Use Review Version again and choose Approve. This records the approver and time, marks the version approved, and updates the rule's current version.
- Approved versions are immutable and cannot be deleted. Create a new version for a change.
Versions are tenant-scoped. One company cannot see another company's configurations.
How rules are resolved
Consumers resolve a rule by code, sector, and as-of date. Resolution:
- finds approved rules with a matching code,
- filters by effective dates,
- prefers a sector-specific rule over a sector-neutral rule,
- returns the approved configuration for the rule's current version.
If no approved rule is effective, or if multiple approved rules conflict, resolution raises a validation error. Compliance-sensitive code should stop and ask for expert review rather than falling back to a default.
Effective-date behaviour
Every calculation should resolve the rule as of the event date or pay period, not today's date. When a rule changes:
- create a new version with a new effective date,
- approve it,
- keep the old version for historical calculations.
Do not edit an approved version to change history. Re-run a historical transaction only after deciding which rule version should apply.
Reminders and analytics
hr:remindersreports compliance rules expiring within 90 days.- Reports → Workforce Analytics shows approved rule counts and rules expiring in the next 90 days.
Common problems
| Problem | What to check |
|---|---|
| A rule cannot be registered | The code must be unique and the source must exist. |
| The configuration is rejected | It must be valid JSON, non-empty, and must not contain executable keys. |
| A version cannot be approved | It must be submitted for review first. |
| An approved version cannot be edited | Approved versions are immutable; add a new version. |
| Resolution says no effective rule | Check status, effective dates, sector, and as-of date. |
| Resolution says rules conflict | More than one approved rule matches; ask for expert review and retire the obsolete rule. |