PayoutBatchController
Payroll payout batches.
| Base path | /api/payroll |
| Module | Payroll |
| Endpoints | 7 |
| OpenAPI tag | Payroll Payouts |
| Source | backend/src/main/java/com/motorph/payroll/controller/PayoutBatchController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/payroll/payout-batches | payroll.manage and accounting.view | list() |
GET | /api/payroll/payout-batches/counts | payroll.manage and accounting.view | counts() |
GET | /api/payroll/payout-batches/{id} | payroll.manage and accounting.view | get() |
POST | /api/payroll/payout-batches/preview | payroll.manage | preview() |
POST | /api/payroll/payout-batches | payroll.manage | create() |
POST | /api/payroll/payout-batches/{id}/void | payroll.manage | voidBatch() |
GET | /api/payroll/{payrollId:\\d+}/payout-batches | payroll.manage and accounting.view | forRun() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: PayoutBatchService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| Payroll | payroll | Yes |
| PayrollPayoutBatch | payroll_payout_batch | Yes |
| PayrollPayoutBatchLine | payroll_payout_batch_line | Yes |
| Payslip | payslip | Yes |
| PayslipHistory | payslip_history | 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/.