In this article, we will look into downloading the Payslip XML after the payroll has been processed.
If we haven’t customized the Payslip template, then we need to look at the seeded folder – /shared/Human Capital Management/Payroll/Payment Distribution/US
If there is a customization for the payslip, then we need to refer to the custom folder path: /shared/Custom/Human Capital Management/Payroll/Payment Distribution/US
Click on More > History for the USOnlinePayslip report
Remove the username and click on search.

The payslip runs will show up there and we can click on one of the Report Job Name and download the xml file.

If there are multiple employees processed, then we would get a consolidated XML file and multiple payslip pdf over here.
If you are looking for customizing the Payslip template, check out this article for adding additional attributes to the payslip using information elements.