Skip to main content

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).

Controllers10
Endpoints75
Tables18
Screens11
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​

ControllerBase pathEndpointsGETPOSTPUTPATCHDELETE
EwtController/api8222—2
GovernmentFilingController/api/government-filings522——1
GovernmentFormsController/api/government-forms1615—1——
PagibigContributionRateController/api/pagibig-contribution-rates8322—1
PhilhealthContributionRateController/api/philhealth-contribution-rates8322—1
SssContributionRateController/api/sss-contribution-rates8322—1
TinComplianceController/api/tin-compliance5211—1
WithholdingFormsController/api/government-forms/withholding33————
WithholdingRegistryController/api6311—1
WithholdingTaxBracketController/api/withholding-tax-brackets8322—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.

EntityTableColumnsTenant-scoped
Bir2316Inputsbir_2316_inputs17Yes
Bonusbonus8Yes
CompanyProfilecompany_profile22Yes
Employeeemployee39Yes
EwtPayeeewt_payees12Yes
EwtTransactionewt_transactions14Yes
FringeBenefitfringe_benefit10Yes
GovernmentFilinggovernment_filing19Yes
PagibigContributionRatepagibig_contribution_rates7—
Payrollpayroll14Yes
PayrollSettingspayroll_settings76Yes
Payslippayslip60Yes
PayslipDeductionItempayslip_deduction_items4Yes
PhilhealthContributionRatephilhealth_contribution_rates7—
SssContributionRatesss_contribution_rates12—
Timesheettimesheet8Yes
TinCompliancetin_compliance3Yes
WithholdingTaxBracketwithholding_tax_brackets8—

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.

RouteComponentRequires
/employeesEmployeeshr.employees.view
/ewt-registryEwtRegistrypayroll.ewt.manage
/government-formsGovernmentFormshr.employees.manage or payroll.manage
/holiday-calendarHolidayCalendarpayroll.holidays.manage or payroll.manage
/payroll-analyticsPayrollAnalyticspayroll.dashboard.view or payroll.manage or payroll.approve
/payroll-reportsPayrollReportspayroll.dashboard.view or payroll.manage or payroll.approve or hr.employees.view or hr.dashboard.view
/payroll-runsPayrollRunspayroll.dashboard.view or payroll.manage or payroll.approve
/payroll-runs/:idPayrollRunDetailpayroll.dashboard.view or payroll.manage or payroll.approve
/payroll-runs/:id/comparePayrollRunComparepayroll.dashboard.view or payroll.manage or payroll.approve
/payroll/payoutsPayoutBatchespayroll.manage or accounting.view
/tin-complianceTinCompliancepayroll.tin.compliance.manage

Generated page

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/.