Customise Payslip template

Hi. I want to customise the payslip template to conform to the rules of our country. How do I do that

You would need a custom theme. You could probably use it only for payslips, so that theme should be set as the default for payslips under Form Defaults. See these Guides:
https://guides.manager.io/10368
https://guides.manager.io/14059