Skip to main content

GovernmentFilingController

Base path/api/government-filings
ModulePH Statutory
Endpoints5
OpenAPI tagGovernment Filings
Sourcebackend/src/main/java/com/motorph/payroll/controller/GovernmentFilingController.java

Endpoints​

MethodPathRequiresHandler
GET/api/government-filingshr.employees.view or payroll.managelist()
POST/api/government-filingspayroll.managecreate()
POST/api/government-filings/{id}/voidpayroll.managevoidFiling()
GET/api/government-filings/{id}/receipthr.employees.view or payroll.managedownloadReceipt()
DELETE/api/government-filings/{id}payroll.managedelete()

Notes​

  • POST /api/government-filings/{id}/void — Voids a filing: its settlement entry is undone; the record and receipt are kept.

Call chain​

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: GovernmentFilingService.

Tables reached​

EntityTableTenant-scoped
GovernmentFilinggovernment_filingYes

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