# LoanAccount

Represents a loan account. A loan account defines the amount that your organization lends to a client. The terms and conditions of a loan account are defined by a loan product. In a loan account, Mambu stores all the information related to disbursements, repayments, interest rates, and withdrawals.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountArrearsSettings** | [**AccountArrearsSettings**](AccountArrearsSettings.md) |  | [optional] [default to undefined]
**accountHolderKey** | **string** | The encoded key of the account holder. | [default to undefined]
**accountHolderType** | **string** | Indicated the account holder type. | [default to undefined]
**accountState** | **string** | All the generic account states applicable to loans. | [optional] [default to undefined]
**accountSubState** | **string** | All the generic account sub states applicable to loans. | [optional] [default to undefined]
**accruedInterest** | **number** | The amount of interest that has been accrued in the loan account. | [optional] [default to undefined]
**accruedPenalty** | **number** | The accrued penalty, represents the amount of penalty that has been accrued in the loan account. | [optional] [default to undefined]
**activationTransactionKey** | **string** | The encoded key of the transaction that activated the loan account. | [optional] [default to undefined]
**adjustTotalDueForInstallmentsWithDifferentInterval** | **boolean** | Adjust the total due for repayment when the repayment period is different than the repayment frequency | [optional] [readonly] [default to undefined]
**allowAdvanceRepayment** | **boolean** | True if advance repayment is allowed; false otherwise. | [optional] [readonly] [default to undefined]
**allowOffset** | **boolean** | DEPRECATED - Will always be false. | [optional] [default to undefined]
**approvedDate** | **string** | The date the loan account was approved. | [optional] [default to undefined]
**arrearsTolerancePeriod** | **number** | The arrears tolerance (period or day of month) depending on the product settings. | [optional] [default to undefined]
**assets** | [**Array&lt;Asset&gt;**](Asset.md) | The list of assets associated with the current loan account. | [optional] [default to undefined]
**assignedBranchKey** | **string** | The key of the branch this loan account is assigned to. The branch is set to unassigned if no branch field is set. | [optional] [default to undefined]
**assignedCentreKey** | **string** | The key of the centre this account is assigned to. | [optional] [default to undefined]
**assignedUserKey** | **string** | The key of the user this loan account is assigned to. | [optional] [default to undefined]
**balances** | [**Balances**](Balances.md) |  | [optional] [default to undefined]
**closedDate** | **string** | The date the loan was closed. | [optional] [default to undefined]
**creationDate** | **string** | The date the loan account was created. | [optional] [default to undefined]
**creditArrangementKey** | **string** | The key to the line of credit where this account is registered to. | [optional] [default to undefined]
**creditBalanceSettings** | [**RevolvingAccountCreditBalanceSettings**](RevolvingAccountCreditBalanceSettings.md) |  | [optional] [default to undefined]
**currency** | [**Currency**](Currency.md) |  | [optional] [default to undefined]
**daysInArrears** | **number** | The number of days the loan account is in arrears. | [optional] [readonly] [default to undefined]
**daysLate** | **number** | The number of days a repayment for the loan account is late. | [optional] [readonly] [default to undefined]
**disbursementDetails** | [**DisbursementDetails**](DisbursementDetails.md) |  | [optional] [default to undefined]
**encodedKey** | **string** | The encoded key of the loan account, it is auto generated, and must be unique. | [optional] [readonly] [default to undefined]
**feesSettings** | [**FeesAccountSettings**](FeesAccountSettings.md) |  | [optional] [default to undefined]
**fundingSources** | [**Array&lt;InvestorFund&gt;**](InvestorFund.md) | The list of funds associated with the loan account. | [optional] [default to undefined]
**futurePaymentsAcceptance** | **string** | Shows whether the repayment transactions with entry date set in the future are allowed or not for this loan account. | [optional] [default to undefined]
**guarantors** | [**Array&lt;Guarantor&gt;**](Guarantor.md) | The list of guarantees associated with the loan account. | [optional] [default to undefined]
**id** | **string** | The ID of the loan account, it can be generated and customized, and must be unique. | [optional] [default to undefined]
**interestAccruedInBillingCycle** | **number** | The interest that is accrued in the current billing cycle. | [optional] [readonly] [default to undefined]
**interestCommission** | **number** | The value of the interest booked by the organization from the accounts funded by investors. Null if the funds are not enabled. | [optional] [default to undefined]
**interestFromArrearsAccrued** | **number** | The amount of interest from arrears that has been accrued in the loan account. | [optional] [readonly] [default to undefined]
**interestSettings** | [**InterestSettings**](InterestSettings.md) |  | [optional] [default to undefined]
**lastAccountAppraisalDate** | **string** | The date the loan account has last been evaluated for interest, principal, fees, and penalties calculations expressed in the organization time format and time zone. | [optional] [default to undefined]
**lastInterestAppliedDate** | **string** | The date of the last time the loan account had interest applied (stored to interest balance), expressed in the organization time format and time zone. | [optional] [default to undefined]
**lastInterestReviewDate** | **string** | The date the interest was reviewed last time, stored in the organization time format and time zone. | [optional] [default to undefined]
**lastLockedDate** | **string** | The date when the loan account was set for the last time in the &#x60;LOCKED&#x60; state expressed in the organization time format and time zone. If null, the account is not locked anymore. | [optional] [default to undefined]
**lastModifiedDate** | **string** | The last date the loan was updated. | [optional] [default to undefined]
**lastSetToArrearsDate** | **string** | The date when the loan account was set to last standing or null; if never set, it is expressed in your organization time format and time zone. | [optional] [default to undefined]
**lastTaxRateReviewDate** | **string** | The date the tax rate on the loan account was last checked, expressed in the organization time format and time zone. | [optional] [default to undefined]
**latePaymentsRecalculationMethod** | **string** | The late payment recalculation method. Is used by loan accounts to have the schedule recalculated when late payments are posted on accounts.. | [optional] [default to undefined]
**loanAmount** | **number** | The loan amount. | [default to undefined]
**loanName** | **string** | The name of the loan account. | [optional] [default to undefined]
**lockedAccountTotalDueType** | **string** | Type of total due amount for a locked account. | [optional] [default to undefined]
**lockedOperations** | **Array&lt;string&gt;** | A list with operations which are locked when the account is in the AccountState.LOCKED substate. | [optional] [default to undefined]
**migrationEventKey** | **string** | The migration event encoded key associated with this loan account. If this account was imported, track which \&#39;migration event\&#39; they came from. | [optional] [default to undefined]
**modifyInterestForFirstInstallment** | **boolean** | Adjust the interest for the first repayment when the first repayment period is different than the repayment frequency | [optional] [readonly] [default to undefined]
**notes** | **string** | The notes about this loan account. | [optional] [default to undefined]
**originalAccountKey** | **string** | The key of the original rescheduled or refinanced loan account. | [optional] [default to undefined]
**paymentHolidaysAccruedInterest** | **number** | The amount of interest that has been accrued during payment holidays in the loan account. | [optional] [default to undefined]
**paymentMethod** | **string** | The payment allocation method used by the loans defining how the payments get performed. | [optional] [default to undefined]
**penaltySettings** | [**PenaltySettings**](PenaltySettings.md) |  | [optional] [default to undefined]
**plannedInstallmentFees** | [**Array&lt;PlannedInstallmentFee&gt;**](PlannedInstallmentFee.md) | The list with manual fees planned on the installments of the loan account. | [optional] [default to undefined]
**prepaymentSettings** | [**PrepaymentSettings**](PrepaymentSettings.md) |  | [optional] [default to undefined]
**principalPaymentSettings** | [**PrincipalPaymentAccountSettings**](PrincipalPaymentAccountSettings.md) |  | [optional] [default to undefined]
**productTypeKey** | **string** | The key for the type of loan product that this loan account is based on. | [default to undefined]
**redrawSettings** | [**LoanAccountRedrawSettings**](LoanAccountRedrawSettings.md) |  | [optional] [default to undefined]
**rescheduledAccountKey** | **string** | The key pointing to where this loan account was rescheduled or refinanced to. This value is only not null if rescheduled. | [optional] [default to undefined]
**scheduleSettings** | [**ScheduleSettings**](ScheduleSettings.md) |  | [default to undefined]
**settlementAccountKey** | **string** | The encoded key of the settlement account. | [optional] [default to undefined]
**taxRate** | **number** | The tax rate. | [optional] [default to undefined]
**terminationDate** | **string** | The date this loan account was terminated. | [optional] [default to undefined]
**tranches** | [**Array&lt;LoanTranche&gt;**](LoanTranche.md) | The list of disbursement tranches available for the loan account. | [optional] [default to undefined]
**useInterestAccruedAsTotalDueWhenIntervalIsDifferent** | **boolean** | Use interest accrued as total due for repayment when the repayment period is different than the repayment frequency | [optional] [readonly] [default to undefined]

## Example

```typescript
import { LoanAccount } from './api';

const instance: LoanAccount = {
    accountArrearsSettings,
    accountHolderKey,
    accountHolderType,
    accountState,
    accountSubState,
    accruedInterest,
    accruedPenalty,
    activationTransactionKey,
    adjustTotalDueForInstallmentsWithDifferentInterval,
    allowAdvanceRepayment,
    allowOffset,
    approvedDate,
    arrearsTolerancePeriod,
    assets,
    assignedBranchKey,
    assignedCentreKey,
    assignedUserKey,
    balances,
    closedDate,
    creationDate,
    creditArrangementKey,
    creditBalanceSettings,
    currency,
    daysInArrears,
    daysLate,
    disbursementDetails,
    encodedKey,
    feesSettings,
    fundingSources,
    futurePaymentsAcceptance,
    guarantors,
    id,
    interestAccruedInBillingCycle,
    interestCommission,
    interestFromArrearsAccrued,
    interestSettings,
    lastAccountAppraisalDate,
    lastInterestAppliedDate,
    lastInterestReviewDate,
    lastLockedDate,
    lastModifiedDate,
    lastSetToArrearsDate,
    lastTaxRateReviewDate,
    latePaymentsRecalculationMethod,
    loanAmount,
    loanName,
    lockedAccountTotalDueType,
    lockedOperations,
    migrationEventKey,
    modifyInterestForFirstInstallment,
    notes,
    originalAccountKey,
    paymentHolidaysAccruedInterest,
    paymentMethod,
    penaltySettings,
    plannedInstallmentFees,
    prepaymentSettings,
    principalPaymentSettings,
    productTypeKey,
    redrawSettings,
    rescheduledAccountKey,
    scheduleSettings,
    settlementAccountKey,
    taxRate,
    terminationDate,
    tranches,
    useInterestAccruedAsTotalDueWhenIntervalIsDifferent,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
