/* tslint:disable */ /* eslint-disable */ /** * loanproducts * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * The GL accounting rule, it maps a financial resource with a GL account for a specific product (i.e loan or saving). */ export interface GLAccountingRule { /** * The encoded key of the accounting rule, auto generated, unique. */ encodedKey?: string; /** * General Ledger Financial Resources used to setup the product accounting rules and determine the credit and debit accounts when logging journal entries */ financialResource: GLAccountingRuleFinancialResourceEnum; /** * The encoded key of the account that is mapped to the financialResource */ glAccountKey: string; /** * The key of the transaction rule that uses this rule */ transactionChannelKey?: string; } export const GLAccountingRuleFinancialResourceEnum = { PortfolioControl: 'PORTFOLIO_CONTROL', FundSource: 'FUND_SOURCE', WriteOffExpense: 'WRITE_OFF_EXPENSE', InterestIncome: 'INTEREST_INCOME', PaymentHolidayInterestIncome: 'PAYMENT_HOLIDAY_INTEREST_INCOME', TaxesPayable: 'TAXES_PAYABLE', FeeIncome: 'FEE_INCOME', PenaltyIncome: 'PENALTY_INCOME', NegativeInterestPayableReceivable: 'NEGATIVE_INTEREST_PAYABLE_RECEIVABLE', NegativeInterestPayable: 'NEGATIVE_INTEREST_PAYABLE', InterestReceivable: 'INTEREST_RECEIVABLE', PaymentHolidayInterestReceivable: 'PAYMENT_HOLIDAY_INTEREST_RECEIVABLE', FeeReceivable: 'FEE_RECEIVABLE', PenaltyReceivable: 'PENALTY_RECEIVABLE', TaxesReceivable: 'TAXES_RECEIVABLE', DeferredInterestsIncome: 'DEFERRED_INTERESTS_INCOME', DeferredFeeIncome: 'DEFERRED_FEE_INCOME', DeferredTaxes: 'DEFERRED_TAXES', DepositReference: 'DEPOSIT_REFERENCE', SavingsControl: 'SAVINGS_CONTROL', InterestExpense: 'INTEREST_EXPENSE', InterestPayable: 'INTEREST_PAYABLE', NegativeInterestIncome: 'NEGATIVE_INTEREST_INCOME', NegativeInterestReceivable: 'NEGATIVE_INTEREST_RECEIVABLE', OverdraftPortfolioControl: 'OVERDRAFT_PORTFOLIO_CONTROL', OverdraftInterestIncome: 'OVERDRAFT_INTEREST_INCOME', OverdraftWriteOffExpense: 'OVERDRAFT_WRITE_OFF_EXPENSE', OverdraftInterestReceivable: 'OVERDRAFT_INTEREST_RECEIVABLE', InterBranchTransfer: 'INTER_BRANCH_TRANSFER', InterestFromArrearsIncome: 'INTEREST_FROM_ARREARS_INCOME', InterestFromArrearsReceivable: 'INTEREST_FROM_ARREARS_RECEIVABLE', InterestFromArrearsWriteOffExpense: 'INTEREST_FROM_ARREARS_WRITE_OFF_EXPENSE', ProfitExpense: 'PROFIT_EXPENSE', ProfitPayable: 'PROFIT_PAYABLE', MudaribShare: 'MUDARIB_SHARE', DistributableProfit: 'DISTRIBUTABLE_PROFIT', InterestFromFeesIncome: 'INTEREST_FROM_FEES_INCOME', InterestFromFeesReceivable: 'INTEREST_FROM_FEES_RECEIVABLE', InterestFromFeesWriteOffExpense: 'INTEREST_FROM_FEES_WRITE_OFF_EXPENSE', CreditBalancePayable: 'CREDIT_BALANCE_PAYABLE', } as const; export type GLAccountingRuleFinancialResourceEnum = (typeof GLAccountingRuleFinancialResourceEnum)[keyof typeof GLAccountingRuleFinancialResourceEnum];