Add a payroll API call for querying leave types
Currently calls to the LeaveApplications methods in the Payroll API require you to know the internal ID of the leave type you're interested in. Because of this, it would be good to be able to get a listing of the types of leave currently configured, and get details of a specific leave type.
2
votes
Adrian Overbury
shared this idea
As Alex commented, this is possible via the Pay Items endpoint: http://developer.xero.com/documentation/payroll-api/payitems/#LeaveTypes
-
Alex Ghiculescu commented
http://developer.xero.com/documentation/payroll-api/payitems/#LeaveTypes
This should get you what you are looking for.