API reference
Loans
Salary advances and loans: an employee's own requests, a manager's requests for their team, and HR's queue, where a loan is approved through payroll (paid out on a payslip, repaid in monthly installments) or directly (paid and repaid outside payroll), settled when the employee pays it back, and sent to Qoyod accounting.
POSTLend to an employee directly
/hr_loanswriteIrreversible operationGETList loans' delivery to Qoyod accounting/hr_loans/accounting_syncreadGETList employees who still owe on a loan/hr_loans/employees_with_loansreadGETExport the loan queue to Excel or CSV/hr_loans/exportwriteGETList the columns a loans export can have/hr_loans/export/columnsreadGETList one employee's loans for settlement/hr_loans/for_employeereadGETList every employee's loans/hr_loans/requestsreadPOSTSettle several loans the employees paid back/hr_loans/settlewriteIrreversible operationGETCount and total loans by status/hr_loans/stat_cardsreadGETGet a loan with everything needed to decide it/hr_loans/{id}readPOSTRe-send a loan to Qoyod accounting/hr_loans/{id}/accounting_syncwritePATCHApprove a loan request/hr_loans/{id}/approvewriteIrreversible operationPATCHReject a loan request/hr_loans/{id}/rejectwritePATCHSettle a loan the employee paid back/hr_loans/{id}/settlewriteIrreversible operationGETList my loans/loansreadPOSTRequest a loan/loanswriteGETGet one of my loans/loans/{id}readPATCHChange my pending loan request/loans/{id}writePATCHWithdraw my pending loan request/loans/{id}/cancelwriteGETList loans I requested for my team/team_loansreadPOSTRequest a loan for a team member/team_loanswrite