-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Payslip returns same EarningsRateID for all LeaveEarningsLines (AU Payroll) #575
Comments
PETOSS-669 |
Thanks for raising an issue, a ticket has been created to track your request |
This is not an issue with the SDK, it is a limitation of the API itself. At the moment the leave type id is not surfaced in the payslips. All you see is the earnings rate id and this relates to the ordinary earnings rate for the employee as the leave amount is based on the ordinary earnings rate of pay. |
Yeah, so basically there is no way of determining the leave type id reliabily. You could compare these values to the leave applications, but this would be ambigous if a leave application spanned over multiple pays. What is the process of requesting this being fixed in the API itself? |
You could raise a feature request on Uservoice here http://xero.uservoice.com/forums/250567-xero-payroll-api |
SDK you're using (please complete the following information):
Describe the bug
API returns the same
EarningsRateID
(Id
in the SDK) for allLeaveEarningsLines
. This is not an issue with the SDK as the API Explorer returns these same Id's also. This means that it is impossible to determine the leave type from a PaySlip.Example output from API explorer:
To Reproduce
Create a payslip with mulitple leave earnings lines items or different leave types and call the API. They will all have the same EarningsRateId
Expected behavior
EarningsRateId's that correlate to the leave type
The text was updated successfully, but these errors were encountered: