Skip to main content

WithholdingTaxBracketController

The withholding tax rate tables.

Base path/api/withholding-tax-brackets
ModulePH Statutory
Endpoints8
OpenAPI tagWithholding Tax Brackets
Sourcebackend/src/main/java/com/motorph/payroll/controller/WithholdingTaxBracketController.java

Endpoints​

MethodPathRequiresHandler
GET/api/withholding-tax-bracketspayroll.withholdingtax.rates.managelist()
GET/api/withholding-tax-brackets/{id}payroll.withholdingtax.rates.managegetById()
POST/api/withholding-tax-bracketsAny authenticated usercreate()
PUT/api/withholding-tax-brackets/{id}Any authenticated userupdate()
DELETE/api/withholding-tax-brackets/{id}Any authenticated userdelete()
GET/api/withholding-tax-brackets/effective-datespayroll.withholdingtax.rates.managelistEffectiveDates()
POST/api/withholding-tax-brackets/cohorts/duplicateAny authenticated userduplicateCohort()
PUT/api/withholding-tax-brackets/cohortsAny authenticated userreplaceCohort()
note

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

Call chain​

Dependencies​

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

Tables reached​

EntityTableTenant-scoped
WithholdingTaxBracketwithholding_tax_brackets—

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