[
https://issues.apache.org/jira/browse/FINERACT-2362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy reassigned FINERACT-2362:
------------------------------------
Assignee: (was: Kapil Panchal)
> Collection Sheet - [Refactor] - Save Collection Sheet - Individual Collection
> Sheet
> -----------------------------------------------------------------------------------
>
> Key: FINERACT-2362
> URL: https://issues.apache.org/jira/browse/FINERACT-2362
> Project: Apache Fineract
> Issue Type: Sub-task
> Reporter: Kapil Panchal
> Priority: Major
>
> h1. Individual Collection Sheet - Generate Collection Sheet
> There are errors in the existing *request object* which responds with an
> exception.
> This is the *request object* from the (Individual Collection Sheet):
> {code:java}
> {
> "dateFormat": "dd MMMM yyyy",
> "locale": "en",
> "actualDisbursementDate": "01 September 2025",
> "transactionDate": "01 October 2025",
> "bulkDisbursementTransactions": [
> {
> "loanId": 4326,
> "transactionAmount": 100000.00,
> "paymentTypeId": 1,
> "externalId":"{{$randomUUID}}",
> "accountNumber": "ACC5555",
> "checkNumber": "CHK5555",
> "routingCode": "RTG5555",
> "receiptNumber": "RCPT5555",
> "bankNumber": "BANK5555",
> "note":"Loan For Client Id - 4276 Disbursed",
> "dateFormat":"dd MMMM yyyy",
> "locale":"en" }
> ], "bulkRepaymentTransactions": [
> {
> "loanId": 4325,
> "transactionAmount": 1000.00,
> "paymentTypeId": 2,
> "externalId":"{{$randomUUID}}",
> "note":"Note1",
> "accountNumber": "ACC123456789",
> "checkNumber": "CHK987654321",
> "routingCode": "RTG001",
> "receiptNumber": "RCPT1001",
> "bankNumber": "BANK001"
> }, {
> "loanId": 4325,
> "transactionAmount": 843.00,
> "paymentTypeId": 2,
> "note":"Note2",
> "externalId":"{{$randomUUID}}",
> "accountNumber": "ACC123456789",
> "checkNumber": "CHK123",
> "routingCode": "RTG001",
> "receiptNumber": "RCPT1002",
> "bankNumber": "BANK001"
> } ], "bulkSavingsDueTransactions": [
> {
> "savingsId": 2515,
> "transactionAmount": 102500.00,
> "depositAccountType": 100,
> "paymentTypeId": 1,
> "note":"Note3",
> "externalId":"{{$randomUUID}}",
> "accountNumber": "ACC0127",
> "checkNumber": "CHK0127",
> "routingCode": "RTG0127",
> "receiptNumber": "RCPT0127",
> "bankNumber": "BANK0127"
> }
> ]
> }{code}
>
> This is the *response object* from the Save Collection Sheet
> (org.apache.fineract.portfolio.collectionsheet.api)
> {code:java}
> {
> "changes": {
> "loanTransactions": [
> 26020,
> 26021
> ],
> "dateFormat": "dd MMMM yyyy",
> "SavingsTransactions": [
> 2013400
> ],
> "locale": "en",
> "actualDisbursementDate": "01 September 2025",
> "status": {
> "id": 300,
> "code": "loanStatusType.active",
> "value": "Active",
> "pendingApproval": false,
> "waitingForDisbursal": false,
> "active": true,
> "closedObligationsMet": false,
> "closedWrittenOff": false,
> "closedRescheduled": false,
> "closed": false,
> "overpaid": false
> }
> }
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)