PaySlipLeaveEarnings
Queries the leave earnings line items for a payslip. Leave earnings refer to the pay associated with leave taken by the employee, such as annual leave or sick leave.
Columns
| Name | Type | Filterable | Description |
| Id [KEY] | String | A unique identifier for the earnings line item, combining the specific line item and the Xero identifier of the associated payslip. This allows for precise identification of the leave earnings line in the payroll system. | |
| PayslipID | String | The unique identifier for the payslip, as assigned by Xero. This links the leave earnings line item to a specific payslip and ensures accurate payroll record keeping for the employee. | |
| EmployeeID | String | The unique identifier of the employee associated with this leave earnings line. This allows for the leave earnings to be tracked and reported against the correct employee's payslip. | |
| LeaveEarningsLine_EarningsRateId | String | The unique identifier of the earnings rate applied to the leave earnings line item. This rate determines how much the employee will earn for their leave time, usually expressed as a rate per unit of time (such as per hour). | |
| LeaveEarningsLine_RatePerUnit | Decimal | The hourly wage or rate of pay for the employee in this leave earnings line item. This represents the amount the employee earns for each unit of leave taken (usually per hour). | |
| LeaveEarningsLine_NumberOfUnits | Double | The number of hours of leave being taken or accrued in this line item. This value reflects the total leave time associated with this particular payslip for the employee. | |
| TenantId | String | The unique identifier for the tenant (or organization) in Xero. This helps ensure that the leave earnings data is associated with the correct organization and enables accurate payroll reporting across multiple tenants or organizations. |