The employee-facing pay document generated from a PayrollRunDetail, carrying header totals plus year-to-date rollups and a masked bank account. The earning and deduction lines are NOT stored here — they are projected from PayrollRunComponentLine, so a payslip alone cannot answer component-level questions. PublishStatus gates visibility (employees are meant to see only Published slips), and a run whose slips are Published can no longer be recalculated; generation is idempotent, skipping any detail that already has a slip. YtdGross and YtdTax are summed only over the PayrollPeriods inside the fiscal year containing the run's period, falling back to an April–March year, so they are year-to-date and not lifetime-to-date. Keyed on ResourceId; the rendered PDF would be referenced by FileAssetId, but no first-party code renders or attaches one.
Fields
| Field | Label | Type | Required | What it does |
BranchId | Branch | Lookup → Branch | | |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created Date | DateAndTime | Yes | |
EmployeeId | Employee | Lookup → Employee | | |
FileAssetId | File Asset | Guid | | Reserved for the rendered payslip PDF stored as a file asset. |
GeneratedUtc | Generated Utc | Date | | When the slip was created by the generation step, in UTC. It is not the pay date and not a publication timestamp — publication is tracked only by PublishStatus, which carries no date of its own. |
GrossEarnings | Gross Earnings | Currency | | |
Id | Id | Guid | Yes | |
Label | Label | Text | | |
LopDays | Lop Days | Decimal | | |
MaskedBankAccount | Masked Bank Account | Text | | The employee's bank account reduced to the literal prefix XXXX plus its last four digits, snapshotted from the Resource when the slip was generated. It is a display artefact only — it is never used to pay anyone, and it does not follow later changes to the employee's bank details. |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Document Number | Text, unique | Yes | |
NetPay | Net Pay | Currency | | |
OwnerId | Owner | Lookup → UserAccount | Yes | |
PartnerAccountId | Partner Account | Lookup → Account | | |
PayableDays | Payable Days | Decimal | | The days the employee was actually paid for in the period, copied from the run detail. It is calendar days in the period minus approved unpaid leave, not attended days — weekly offs and holidays are not deducted. |
PayrollPeriodId | Payroll Period | Lookup → PayrollPeriod | | The pay cycle the slip covers, taken from the source detail and falling back to the run's period. Use it rather than the generation timestamp when grouping slips by month. |
PayrollRunDetailId | Payroll Run Detail | Lookup → PayrollRunDetail | | The per-employee run summary this slip was generated from, and the idempotency key for generation: a detail that already has a slip is skipped when payslips are generated again. It is also the route to the component lines the printed breakdown is projected from. |
PayrollRunId | Payroll Run | Lookup → PayrollRun | | |
PublishStatus | Publish Status | PickList | | Values: Draft, Published. |
RecordTypeId | Record Type | Guid, hidden | | |
ResourceId | Resource | Lookup → Resource | | |
TotalDeductions | Total Deductions | Currency | | |
UIProps | UI Props | Text | | |
UpdatedDateTime | Modified Date | DateAndTime | Yes | |
YtdGross | Ytd Gross | Currency | | |
YtdTax | Ytd Tax | Currency | | Salary tax withheld so far in the fiscal year containing this run's period, summed across that year's payroll details for the same employee and company. It is bounded to the fiscal year (falling back to an April–March year when the company has no fiscal calendar), so it resets each year and is not a lifetime figure. |
Actions
| Action | Label | Type | What it does |
BulkDelete | Delete | Delete | Delete the selected records. |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
Delete | Delete | Delete | Delete this Payslip. |
DeleteRecord | Delete | Delete | Delete |
Edit | Edit | Edit | Edit this Payslip. |
EditInLine | Edit | EditInline | Edit |
EditRecord | Edit | Edit | Edit |
Form16 | Form 16 | UIAction | Form 16 |
New | New | New | Create a Payslip. |
PrintPayslip | Print Payslip | Print | Print the payslip as a PDF document. |
TaxDeclaration | Tax Declaration | Print | Tax Declaration |
View | View | View | View this Payslip. |
Lookup filters
| Filter | Lookup field | Notes |
| BranchFilter | BranchId | BranchFilter |
| PartnerAccountFilter | PartnerAccountId | PartnerAccountFilter |