Skip to main content

Function: computeManualPayoutBasis()

computeManualPayoutBasis(companyId, contractorId, period): Promise<ManualPayoutBasis | null>

Defined in: src/server/services/payroll.ts:419

Compute the ManualPayoutBasis for one contractor + period, through the same loader and engine as the pay run (ADR-0044: one assembly). Returns null when the contractor has no rate-bearing assignment overlapping the period — a manual payout can still be recorded against a zero basis, it just has nothing to corroborate the amount.

Parameters​

companyId​

string

contractorId​

string

period​

BiMonthlyPeriod

Returns​

Promise<ManualPayoutBasis | null>