Docs
FinanceFines

Converting to Loan

What it means to convert an approved fine to a loan, the rules the server checks, and where the app offers it.

An approved fine that is too large to deduct in one payroll cycle can be turned into a loan: the fine is closed as Converted and a loan with a monthly deduction takes its place. This page describes what the server does and where you can start it.

Where to start it

  • Fines List > View opens the Fine Details panel. For an approved fine that is not paid or converted yet, a Convert to Loan button at the bottom of the panel opens the conversion form.
  • Employee Compensation > Fines tab also has a Convert to Loan entry in the right-click menu of a fine and in the bulk-action list.

The Convert to Loan button in the fine details panel

The conversion form

Convert Fine to Loan shows the fine amount and asks for the loan terms:

FieldRequiredNotes
Number of InstallmentsYes1, 2, 3, 6 or 12 months (3 by default)
Interest Rate (%)YesAnnual percentage, 0 to 100; enter 0 for an interest-free conversion
First Deduction DateYesThe first monthly deduction; it cannot be in the past
ReasonNoFree text; defaults to Fine converted to loan: <fine type>

The panel previews the total to repay and the monthly deduction before you confirm with Convert.

What the server checks

RuleMessage when it is broken
The fine must be ApprovedFine must be APPROVED to convert. Current status: ...
The fine must not be paidCannot convert a fine that has already been paid
The fine must not be converted alreadyThis fine has already been converted to a loan
The fine must not be in a payroll deduction batchCannot convert the fine to a loan: this fine is part of the ... payroll deduction batch, with what to do (defer it in a pending batch, reopen an approved one)

You need the edit permission of Fines Management (fines-management).

The loan terms

POST /fine/:id/convert-to-loan takes:

FieldRequiredRule
tenure_monthsYes1 to 60
interest_rateYes0 to 100, annual percentage (0 = interest free)
first_deduction_dateYesDate of the first monthly deduction
loan_type_idNoA loan type to file the loan under
reasonNoFree text. When empty the loan's reason is Fine converted to loan: <fine type> - <description>
notesNoFree text kept on the loan

The loan amount is the fine amount. Interest is flat: fine amount x interest rate / 100 is the interest for one year, and it is prorated to the tenure (x tenure / 12). The monthly deduction is the total to repay divided by the tenure, and the loan ends in the month that is tenure - 1 months after the first deduction.

After the conversion

  • The fine's status becomes Converted, with the date, the person who converted it and a link to the loan.
  • The new loan is created with the status Pending: it needs the usual approval in Loan (Approve makes it Active) before the monthly deduction starts. It is a flat-interest loan.

A converted fine cannot be edited, approved again or paid in the Fines List.