Open benedict-odonovan opened 1 year ago
PETOSS-308
Thanks for raising an issue, a ticket has been created to track your request
Just noticed the OpenAPI documentation is incorrect in their example of the PaySlips API too, showing the same GUID for the rate and line ID.
Let me know if I need to open an issue there instead.
https://github.com/XeroAPI/Xero-OpenAPI/blob/master/xero-payroll-uk.yaml
SDK you're using (please complete the following information):
Describe the bug When viewing the EarningsLines Property of a UK Payslip the EarningsLineID is incorrect and is set to be the EarningsRateID instead.
e.g.
To Reproduce Steps to reproduce the behavior:
xeroApi.PayrollApi.GetPaySlipsAsync(xeroApi.AccessToken, xeroApi.XeroTenantId, payRunID, page: 1)
Expected behavior The EarningsLineID should be unique and specific to the earnings line.