WithholdingFormsController
BIR withholding-tax forms as JasperReports worksheets: 0619-E, 1601-EQ, 2307, 1604-E (expanded), 0619-F, 1601-FQ, 1604-F (final) and 1603-Q (fringe benefits).
| Base path | /api/government-forms/withholding |
| Module | PH Statutory |
| Endpoints | 3 |
| OpenAPI tag | Withholding Tax Forms |
| Source | backend/src/main/java/com/motorph/payroll/controller/WithholdingFormsController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/government-forms/withholding/{form}/summary | payroll.ewt.manage | summary() |
GET | /api/government-forms/withholding/{form}/pdf | payroll.ewt.manage | pdf() |
GET | /api/government-forms/withholding/2307/payees | payroll.ewt.manage | payees2307() |
Notes
GET /api/government-forms/withholding/2307/payees— Payees with expanded withholding in the quarter: one 2307 certificate each.
This controller carries one @PreAuthorize on the class, which Spring applies to every handler. 3 of its 3 endpoints inherit it rather than declaring their own.
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: WithholdingForms, WithholdingFormRenderer.
Tables reached
None through a Spring Data repository — this controller is stateless, or its work is delegated to a component that reaches storage another way.
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/.