Skip to main content

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
ModulePH Statutory
Endpoints3
OpenAPI tagWithholding Tax Forms
Sourcebackend/src/main/java/com/motorph/payroll/controller/WithholdingFormsController.java

Endpoints​

MethodPathRequiresHandler
GET/api/government-forms/withholding/{form}/summarypayroll.ewt.managesummary()
GET/api/government-forms/withholding/{form}/pdfpayroll.ewt.managepdf()
GET/api/government-forms/withholding/2307/payeespayroll.ewt.managepayees2307()

Notes​

  • GET /api/government-forms/withholding/2307/payees — Payees with expanded withholding in the quarter: one 2307 certificate each.
note

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.


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