GovernmentFilingController
| Base path | /api/government-filings |
| Module | PH Statutory |
| Endpoints | 4 |
| OpenAPI tag | Government Filings |
| Source | backend/src/main/java/com/motorph/payroll/controller/GovernmentFilingController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/government-filings | hr.employees.view or payroll.manage | list() |
POST | /api/government-filings | payroll.manage | create() |
GET | /api/government-filings/{id}/receipt | hr.employees.view or payroll.manage | downloadReceipt() |
DELETE | /api/government-filings/{id} | payroll.manage | delete() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: GovernmentFilingService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| GovernmentFiling | government_filing | Yes |
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/.