Updating Expenses


#1

I’m scoping out an integration that would add expense reimbursements onto an employee’s pay check at the end of the month.

I’ve seen that this is possible via the app, but I can’t find the method that would make this possible via the API. Would anyone be able to point me in the right direction?

All the best,

Matt


#2

Hi Matt,

Apologies, we were having some issues previously with our api documentation and hadn’t updated it with the expenses api methods.

If you check out https://www.mashape.com/webscale/keypay now you should see the updated Employee Expense Category and Pay Run Employee Expenses methods.

You can create new employee expense categories using the /api/v2/business/{BusinessId}/employeeexpensecategory methods.

You can create expenses for an employee within the pay run using the /v2/business/{BUSINESSID}/payrun/{PAYRUNID}/employeeexpenses methods.

If you have any questions, please let us know.

Regards
Phil