Merge pull request #620 from vishwasbabu/develop
api updates for accounting changes to loans and savings
This commit is contained in:
+39
-10
@@ -8509,7 +8509,7 @@ GET https://DomainName/api/v1/loanproducts/{productId}
|
|||||||
<tr class=alt>
|
<tr class=alt>
|
||||||
<td>fundSourceAccountId, loanPortfolioAccountId, interestOnLoanAccountId,
|
<td>fundSourceAccountId, loanPortfolioAccountId, interestOnLoanAccountId,
|
||||||
incomeFromFeeAccountId, incomeFromPenaltyAccountId,
|
incomeFromFeeAccountId, incomeFromPenaltyAccountId,
|
||||||
writeOffAccountId, transfersInSuspenseAccountId</td>
|
writeOffAccountId, transfersInSuspenseAccountId, overpaymentLiabilityAccountId</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="matrixHeadingBG">
|
<tr class="matrixHeadingBG">
|
||||||
<td><div class="mifosXHeading2">Additional Mandatory Fields for Accrual(3) based accounting</div></td>
|
<td><div class="mifosXHeading2">Additional Mandatory Fields for Accrual(3) based accounting</div></td>
|
||||||
@@ -8518,7 +8518,7 @@ GET https://DomainName/api/v1/loanproducts/{productId}
|
|||||||
<td>fundSourceAccountId, loanPortfolioAccountId, interestOnLoanAccountId,
|
<td>fundSourceAccountId, loanPortfolioAccountId, interestOnLoanAccountId,
|
||||||
incomeFromFeeAccountId, incomeFromPenaltyAccountId,
|
incomeFromFeeAccountId, incomeFromPenaltyAccountId,
|
||||||
writeOffAccountId, receivableInterestAccountId, receivableFeeAccountId,
|
writeOffAccountId, receivableInterestAccountId, receivableFeeAccountId,
|
||||||
receivablePenaltyAccountId, transfersInSuspenseAccountId</td>
|
receivablePenaltyAccountId, transfersInSuspenseAccountId, overpaymentLiabilityAccountId</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@@ -8584,6 +8584,7 @@ Request Body:
|
|||||||
"incomeFromPenaltyAccountId":"35",
|
"incomeFromPenaltyAccountId":"35",
|
||||||
"writeOffAccountId":"41",
|
"writeOffAccountId":"41",
|
||||||
"transfersInSuspenseAccountId":"4",
|
"transfersInSuspenseAccountId":"4",
|
||||||
|
"overpaymentLiabilityAccountId":"2",
|
||||||
"paymentChannelToFundSourceMappings": [
|
"paymentChannelToFundSourceMappings": [
|
||||||
{
|
{
|
||||||
"paymentTypeId": "11",
|
"paymentTypeId": "11",
|
||||||
@@ -8643,6 +8644,7 @@ Request Body:
|
|||||||
"interestOnLoanAccountId":"34",
|
"interestOnLoanAccountId":"34",
|
||||||
"incomeFromFeeAccountId":"37",
|
"incomeFromFeeAccountId":"37",
|
||||||
"incomeFromPenaltyAccountId":"35",
|
"incomeFromPenaltyAccountId":"35",
|
||||||
|
"overpaymentLiabilityAccountId":"2",
|
||||||
"writeOffAccountId":"41"
|
"writeOffAccountId":"41"
|
||||||
}
|
}
|
||||||
</code>
|
</code>
|
||||||
@@ -12364,13 +12366,13 @@ Content-Type: application/json
|
|||||||
<table class=matrixHeading>
|
<table class=matrixHeading>
|
||||||
<tr class="matrixHeadingBG"><td><div class="mifosXHeading2">Mandatory Fields for Cash based accounting (accountingRule = 2)</div></td></tr>
|
<tr class="matrixHeadingBG"><td><div class="mifosXHeading2">Mandatory Fields for Cash based accounting (accountingRule = 2)</div></td></tr>
|
||||||
<tr class=alt>
|
<tr class=alt>
|
||||||
<td>savingsReferenceAccountId,savingsControlAccountId, interestOnSavingsAccountId, incomeFromFeeAccountId, transfersInSuspenseAccountId</td>
|
<td>savingsReferenceAccountId, savingsControlAccountId, interestOnSavingsAccountId, incomeFromFeeAccountId, transfersInSuspenseAccountId, incomeFromPenaltyAccountId</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<br/>
|
<br/>
|
||||||
<table class=matrixHeading>
|
<table class=matrixHeading>
|
||||||
<tr class="matrixHeadingBG"><td><div class="mifosXHeading2">Optional Fields</div></td></tr>
|
<tr class="matrixHeadingBG"><td><div class="mifosXHeading2">Optional Fields</div></td></tr>
|
||||||
<tr class=alt><td>minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeAmount, withdrawalFeeType,withdrawalFeeForTransfers, annualFeeAmount, annualFeeOnMonthDay, monthDayFormat, paymentChannelToFundSourceMappings, charges</tr>
|
<tr class=alt><td>minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeAmount, withdrawalFeeType,withdrawalFeeForTransfers, annualFeeAmount, annualFeeOnMonthDay, monthDayFormat, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings, charges</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="method-example">
|
<div class="method-example">
|
||||||
@@ -12429,6 +12431,19 @@ Request Body:
|
|||||||
"savingsControlAccountId": "15",
|
"savingsControlAccountId": "15",
|
||||||
"interestOnSavingsAccountId": "18",
|
"interestOnSavingsAccountId": "18",
|
||||||
"incomeFromFeeAccountId": "4",
|
"incomeFromFeeAccountId": "4",
|
||||||
|
"incomeFromPenaltyAccountId": "4",
|
||||||
|
"feeToIncomeAccountMappings":[
|
||||||
|
{
|
||||||
|
"chargeId":"6",
|
||||||
|
"incomeAccountId":"16"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"penaltyToIncomeAccountMappings":[
|
||||||
|
{
|
||||||
|
"chargeId":"4",
|
||||||
|
"incomeAccountId":"15"
|
||||||
|
}
|
||||||
|
],
|
||||||
"paymentChannelToFundSourceMappings": [
|
"paymentChannelToFundSourceMappings": [
|
||||||
{
|
{
|
||||||
"paymentTypeId": "14",
|
"paymentTypeId": "14",
|
||||||
@@ -12516,12 +12531,26 @@ Request Body:
|
|||||||
"code": "accountingRuleType.cash",
|
"code": "accountingRuleType.cash",
|
||||||
"value": "CASH BASED"
|
"value": "CASH BASED"
|
||||||
},
|
},
|
||||||
"accountingMappings": {
|
"accountingMappings":{
|
||||||
"savingsReferenceAccountId": 16,
|
"savingsReferenceAccountId":1,
|
||||||
"incomeFromFeeAccountId": 4,
|
"incomeFromFeeAccountId":5,
|
||||||
"interestOnSavingsAccountId": 18,
|
"interestOnSavingsAccountId":4,
|
||||||
"savingsControlAccountId": 15
|
"savingsControlAccountId":2,
|
||||||
},
|
"transfersInSuspenseAccountId":3,
|
||||||
|
"incomeFromPenaltyAccountId":15
|
||||||
|
},
|
||||||
|
"feeToIncomeAccountMappings":[
|
||||||
|
{
|
||||||
|
"chargeId":6,
|
||||||
|
"incomeAccountId":16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"penaltyToIncomeAccountMappings":[
|
||||||
|
{
|
||||||
|
"chargeId":4,
|
||||||
|
"incomeAccountId":15
|
||||||
|
}
|
||||||
|
],
|
||||||
"paymentChannelToFundSourceMappings": [
|
"paymentChannelToFundSourceMappings": [
|
||||||
{
|
{
|
||||||
"paymentTypeId": 14,
|
"paymentTypeId": 14,
|
||||||
|
|||||||
Reference in New Issue
Block a user