PH Statutory
", "/api/payslip-template-settings", "/api/bonuses", "/api/employee-deductions", "/api/deduction-types", "/api/de-minimis-benefit-types", "/api/reimbursement-requests", "/api/reimbursement-transactions", "/api/payroll-reports", // The payroll getting-started checklist; tour progress itself is shell-wide (platform-misc).
| Controllers | 10 |
| Endpoints | 75 |
| Tables | 18 |
| Screens | 11 |
| API reference | /api/ — group ph-statutory |
| OpenAPI spec | /openapi/ph-statutory.json |
URL prefixes
Endpoints belong to this module by URL, exactly as the OpenAPI group defines it in backend/src/main/java/com/motorph/payroll/config/OpenApiConfiguration.java.
/api/sss-contribution-rates/**/api/philhealth-contribution-rates/**/api/pagibig-contribution-rates/**/api/withholding-tax-brackets/**/api/government-forms/**/api/government-filings/**/api/tin-compliance/**/api/ewt-payees/**/api/ewt-transactions/**/api/withholding/**/api/fringe-benefits/**/api/statutory/**/api/compliance/**
Controllers
| Controller | Base path | Endpoints | GET | POST | PUT | PATCH | DELETE |
|---|---|---|---|---|---|---|---|
| EwtController | /api | 8 | 2 | 2 | 2 | — | 2 |
| GovernmentFilingController | /api/government-filings | 5 | 2 | 2 | — | — | 1 |
| GovernmentFormsController | /api/government-forms | 16 | 15 | — | 1 | — | — |
| PagibigContributionRateController | /api/pagibig-contribution-rates | 8 | 3 | 2 | 2 | — | 1 |
| PhilhealthContributionRateController | /api/philhealth-contribution-rates | 8 | 3 | 2 | 2 | — | 1 |
| SssContributionRateController | /api/sss-contribution-rates | 8 | 3 | 2 | 2 | — | 1 |
| TinComplianceController | /api/tin-compliance | 5 | 2 | 1 | 1 | — | 1 |
| WithholdingFormsController | /api/government-forms/withholding | 3 | 3 | — | — | — | — |
| WithholdingRegistryController | /api | 6 | 3 | 1 | 1 | — | 1 |
| WithholdingTaxBracketController | /api/withholding-tax-brackets | 8 | 3 | 2 | 2 | — | 1 |
Across the module: 39 GET, 14 POST, 13 PUT, 9 DELETE.
Tables
Everything this module's controllers can reach through a repository, including through a shared service — so this is the upper bound of what the module touches, not the set of tables it owns. A table appearing under two modules means two modules can read it.
| Entity | Table | Columns | Tenant-scoped |
|---|---|---|---|
| Bir2316Inputs | bir_2316_inputs | 17 | Yes |
| Bonus | bonus | 8 | Yes |
| CompanyProfile | company_profile | 22 | Yes |
| Employee | employee | 39 | Yes |
| EwtPayee | ewt_payees | 12 | Yes |
| EwtTransaction | ewt_transactions | 14 | Yes |
| FringeBenefit | fringe_benefit | 10 | Yes |
| GovernmentFiling | government_filing | 19 | Yes |
| PagibigContributionRate | pagibig_contribution_rates | 7 | — |
| Payroll | payroll | 14 | Yes |
| PayrollSettings | payroll_settings | 76 | Yes |
| Payslip | payslip | 60 | Yes |
| PayslipDeductionItem | payslip_deduction_items | 4 | Yes |
| PhilhealthContributionRate | philhealth_contribution_rates | 7 | — |
| SssContributionRate | sss_contribution_rates | 12 | — |
| Timesheet | timesheet | 8 | Yes |
| TinCompliance | tin_compliance | 3 | Yes |
| WithholdingTaxBracket | withholding_tax_brackets | 8 | — |
Screens
Frontend routes gated by a permission this module's endpoints also require — the link between a page and its API is the permission string, not the URL.
| Route | Component | Requires |
|---|---|---|
/employees | Employees | hr.employees.view |
/ewt-registry | EwtRegistry | payroll.ewt.manage |
/government-forms | GovernmentForms | hr.employees.manage or payroll.manage |
/holiday-calendar | HolidayCalendar | payroll.holidays.manage or payroll.manage |
/payroll-analytics | PayrollAnalytics | payroll.dashboard.view or payroll.manage or payroll.approve |
/payroll-reports | PayrollReports | payroll.dashboard.view or payroll.manage or payroll.approve or hr.employees.view or hr.dashboard.view |
/payroll-runs | PayrollRuns | payroll.dashboard.view or payroll.manage or payroll.approve |
/payroll-runs/:id | PayrollRunDetail | payroll.dashboard.view or payroll.manage or payroll.approve |
/payroll-runs/:id/compare | PayrollRunCompare | payroll.dashboard.view or payroll.manage or payroll.approve |
/payroll/payouts | PayoutBatches | payroll.manage or accounting.view |
/tin-compliance | TinCompliance | payroll.tin.compliance.manage |
This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.