Skip to main content

EwtController

Base path/api
ModulePH Statutory
Endpoints8
OpenAPI tagExpanded Withholding Tax
Sourcebackend/src/main/java/com/motorph/payroll/controller/EwtController.java

Endpoints​

MethodPathRequiresHandler
GET/api/ewt-payeespayroll.ewt.managelistPayees()
POST/api/ewt-payeespayroll.ewt.managecreatePayee()
PUT/api/ewt-payees/{id}payroll.ewt.manageupdatePayee()
DELETE/api/ewt-payees/{id}payroll.ewt.managedeletePayee()
GET/api/ewt-transactionspayroll.ewt.managelistTransactions()
POST/api/ewt-transactionspayroll.ewt.managecreateTransaction()
PUT/api/ewt-transactions/{id}payroll.ewt.manageupdateTransaction()
DELETE/api/ewt-transactions/{id}payroll.ewt.managedeleteTransaction()
note

This controller carries one @PreAuthorize on the class, which Spring applies to every handler. 8 of its 8 endpoints inherit it rather than declaring their own.

Call chain​

Dependencies​

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

Tables reached​

EntityTableTenant-scoped
EwtPayeeewt_payeesYes
EwtTransactionewt_transactionsYes

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