TransportechAI Docs
FinanceLoans

Field Reference

Complete reference of all fields in the Loans module.

This page provides a full reference of every field used across the Loans module, including loan records, repayment schedules, loan types, and status values.

Loan Record Fields

These fields appear when viewing or creating a loan entry.

FieldTypeDescriptionExample
IDTextUnique identifier for the loan recordloan_abc123
BorrowerTextThe name of the employee or driver who received the loanAhmed Hassan
Borrower TypeEnumWhether the borrower is an Employee or a DriverDriver
Loan TypeTextThe category of loan assigned to this recordSalary Advance
AmountNumberThe total loan amount in AED5,000.00
Interest RateNumberThe annual interest rate as a percentage0
TenureNumberThe repayment period in months6
Monthly InstallmentNumberThe amount deducted each month in AED833.33
Total RepayableNumberThe total amount to be repaid including any interest5,000.00
Outstanding BalanceNumberThe remaining amount still owed by the borrower3,333.34
StatusEnumThe current status of the loanACTIVE
Start DateDateThe date when repayment begins2025-02-01
Disbursement DateDateThe date when funds were released to the borrower2025-01-20
NotesTextOptional comments about the loan purpose or context"Salary advance for January"
Created AtDateThe date when the loan application was submitted2025-01-15
Approved ByTextThe name of the user who approved the loan (shown only if approved)Admin User
Rejection ReasonTextThe reason provided when a loan is rejected (shown only if rejected)"Exceeds limit"

Loan Status Values

Each loan has one of the following statuses at any given time.

StatusDisplay LabelDescription
PENDINGPendingThe loan application has been submitted and is awaiting review by an authorized approver.
APPROVEDApprovedThe loan has been approved. Funds have not yet been disbursed to the borrower.
REJECTEDRejectedThe loan application has been denied. A rejection reason is provided by the approver.
DISBURSEDDisbursedFunds have been released to the borrower. Repayment has not yet started.
ACTIVEActiveThe loan is being actively repaid. At least one installment payment has been recorded.
COMPLETEDPaidAll installments have been paid in full. The loan is fully settled.
DEFAULTEDDefaultedThe borrower has failed to make required payments. The loan is in default.
CANCELLEDCancelledThe loan was cancelled before funds were disbursed.

For details on how statuses transition, see Approval Workflow.

Repayment Schedule Fields

These fields appear in the repayment schedule table for each installment of a loan.

FieldTypeDescriptionExample
Installment #NumberThe sequential number of the installment3
Due DateDateThe date when this installment payment is due2025-04-01
AmountNumberThe total installment amount in AED833.33
PrincipalNumberThe portion of the payment applied to the loan balance833.33
InterestNumberThe portion of the payment covering interest charges0.00
StatusEnumThe payment status of this installment -- Paid, Pending, or OverduePending
Payment DateDateThe actual date when the payment was made (shown only for paid installments)2025-04-01
Remaining BalanceNumberThe outstanding loan balance after this installment is paid2,500.01

Installment Status Values

StatusDescription
PaidThe installment has been paid. The payment date and amount are recorded.
PendingThe installment is not yet due. It is scheduled for a future date.
OverdueThe due date has passed and the payment has not been received.

Loan Type Fields

These fields are used when configuring loan types.

FieldTypeDescriptionExample
NameTextThe display name of the loan typeSalary Advance
Max AmountNumberThe maximum amount (AED) that can be loaned under this type10,000.00
Max TenureNumberThe maximum repayment period in months12
Default Interest RateNumberThe default annual interest rate (%) pre-filled when creating a loan0
DescriptionTextAn explanation of the loan type's purpose and policies"Short-term advance on upcoming salary"
StatusEnumWhether the loan type is Active (available for new loans) or Inactive (hidden from creation form)Active

List View Columns

The main Loan List table displays the following columns.

ColumnSource FieldDescription
BorrowerBorrowerThe name of the employee or driver
Loan TypeLoan TypeThe category of loan
Amount (AED)AmountThe total loan amount, formatted in AED
Monthly InstallmentMonthly InstallmentThe per-month repayment amount
Outstanding BalanceOutstanding BalanceThe remaining amount to be repaid
StatusStatusA color-coded badge showing the current loan status
Start DateStart DateWhen repayment begins

Notes

All monetary values in the Loans module are displayed in AED (United Arab Emirates Dirham). Amounts are stored with two decimal places of precision.

The "Approved By" field is only visible after a loan has been approved. The "Rejection Reason" field is only visible after a loan has been rejected. These fields do not appear on newly created (Pending) loans.

The COMPLETED status is displayed as "Paid" throughout the user interface to clearly communicate that the loan has been fully repaid.