Employee payslips
The employee sees their own payslips from this employer and opens each one as a document from Payroo. No amounts reach your page: the list shows dates and periods, the figures are in the document.

| Session | employee; self:payslips |
| Component id | self-payslips |
| React export | SelfPayslips |
| Guide | Payslips and documents, section Employee view |
Mount it
<SelfPayslips onOpen={(p) => track('payslip', p.id)} />
<PayrooFrame component="self-payslips" />
Your server mints an employee session for the signed-in employee (sessionType: 'employee' and employeeId).
Props
| Prop | Meaning |
|---|---|
onOpen(payslip) |
a payslip was opened |
Events
| Event | When |
|---|---|
document.opened |
a payslip was opened |
Errors it can show
| Code | Meaning | Next action |
|---|---|---|
not_found |
the payslip is not this employee's, or not published yet | check the id; wait for publish |