EwtPayee
Expanded withholding tax payee: a supplier, contractor, or professional the company withholds creditable income tax from (feeds BIR 0619-E, 1601-EQ, and 2307).
| Table | ewt_payees |
| Tenant-scoped | Yes — extends TenantOwned |
| Columns | 11 |
| Relationships | 0 |
| Source | backend/src/main/java/com/motorph/payroll/model/EwtPayee.java |
Columns
| Field | Type | Column | Null | Notes |
|---|---|---|---|---|
ewtPayeeId | Integer | ewt_payee_id | — | primary key, generated |
payeeName | String | payee_name | — | — |
tin | String | tin | Yes | — |
registeredAddress | String | registered_address | Yes | — |
zipCode | String | zip_code | Yes | — |
defaultAtcCode | String | default_atc_code | Yes | — |
defaultTaxRate | BigDecimal | default_tax_rate | Yes | — |
active | Boolean | active | — | — |
createdDate | LocalDateTime | created_date | Yes | — |
lastModifiedBy | String | last_modified_by | Yes | — |
lastModifiedDate | LocalDateTime | last_modified_date | Yes | — |
Plus tenant_id, inherited from TenantOwned. Hibernate stamps it on insert and adds where tenant_id = ? to every query, so it is never written or read by application code.
Referenced by
| Entity | Field | Kind |
|---|---|---|
| EwtTransaction | payee | @ManyToOne |
Neighbourhood
Repository
EwtPayeeRepository
Declared over EwtPayee with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/EwtPayeeRepository.java
| Method | Returns | Notes |
|---|---|---|
findAllByOrderByPayeeNameAsc() | List<EwtPayee> | derived |
Reached by
These controllers hold — directly or through a service they depend on — a repository over EwtPayee.
| Controller | Base path | Endpoints | Module |
|---|---|---|---|
| EwtController | /api | 8 | PH Statutory |
| EwtFormsController | /api/government-forms/ewt | 4 | PH Statutory |
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/.