Skip to main content

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

Tableewt_payees
Tenant-scopedYes — extends TenantOwned
Columns11
Relationships0
Sourcebackend/src/main/java/com/motorph/payroll/model/EwtPayee.java

Columns​

FieldTypeColumnNullNotes
ewtPayeeIdIntegerewt_payee_id—primary key, generated
payeeNameStringpayee_name——
tinStringtinYes—
registeredAddressStringregistered_addressYes—
zipCodeStringzip_codeYes—
defaultAtcCodeStringdefault_atc_codeYes—
defaultTaxRateBigDecimaldefault_tax_rateYes—
activeBooleanactive——
createdDateLocalDateTimecreated_dateYes—
lastModifiedByStringlast_modified_byYes—
lastModifiedDateLocalDateTimelast_modified_dateYes—

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​

EntityFieldKind
EwtTransactionpayee@ManyToOne

Neighbourhood​

Repository​

EwtPayeeRepository​

Declared over EwtPayee with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/EwtPayeeRepository.java

MethodReturnsNotes
findAllByOrderByPayeeNameAsc()List<EwtPayee>derived

Reached by​

These controllers hold — directly or through a service they depend on — a repository over EwtPayee.

ControllerBase pathEndpointsModule
EwtController/api8PH Statutory
EwtFormsController/api/government-forms/ewt4PH Statutory

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