---
# System prepended metadata

title: Split settlement -  MCB <> Setu

---

# Split settlement -  MCB <> Setu

Here is how the split settlement will be specified when Setu  fetches a bill from my classboard

```
{
    "status"  : 200,
    "success" : true,
    "data" : {
        "customer" : {
            "name" : "Ashok Kumar"
        },
        "billDetails" : {
            "billFetchStatus" : "AVAILABLE",
            "bills"           : [
                {
                    "billerBillID"    : "12123131322",
                    "generatedOn"     : "2019-08-01T08:28:12Z",
                    "recurrence"      : "ONE_TIME",
                    "amountExactness" : "EXACT",
                    "customerAccount" : {
                        "id" : "8208021440"
                    },
                    "aggregates" : {
                        "total" : {
                            "displayName" : "Total Outstanding",
                            "amount" : {
                                "value" : 200000
                            }
                        }
                    },
                    "settlement": {
                        "primaryAccount":{
                                  "id": "MBC_TUITION_FEE_ACCOUNT",
                                  "ifsc":"string"
                        }
                        "parts":[
                              "account":{
                                  "id": "MBC_TUITION_FEE_ACCOUNT",
                                  "ifsc":"string"
                              },
                              "split":{
                                  "value": 100000,
                                  "unit" : "INP",
                              },
                              "remarks": "tuition fee"
                          },
                          {
                              "account":{
                                  "id": "MBC_BUS_FEE_ACCOUNT",
                                  "ifsc":"string",
                              },
                              "split":{
                                  "value": 100000,
                                  "unit" : "INP",
                              },
                              "remarks": "transport fee"
                          }
                    ]
                    }
                ]
            
        }
    }
}
```

You need to add the `settlement` object in each bill and tell us how to split it. These account number and ifsc codes need to be whitelisted on our end for that school.


This will appear the settlement reports like so when Setu has finished settlement



```
{
    "status"  : 200,
    "success" : true,
    "data"    : {
        "records": [
            {
                "bill": {
                    "platformBillID" : "297093502162961677",
                    "billerBillID"   : "EVTQS6SMHK",
                    "billerMCC"      : "Loans",
                    "total"          : {
                        "amount": {
                            "value"        : 1012100,
                            "currencyCode" : "INR"
                        }
                    },
                    "platformBillStatus" : "SETTLEMENT_SUCCESSFUL",
              
                },
                "payment": {
                    "mode"                     : "UPI",
                    "date"                     : "2020-02-10 08:43:19.368791",
                    "uniquePaymentRefID"       : "62560156",
                    "platformTransactionRefID" : "fcd90b5e-4b92-4774-a88f-80c1fc8971a2",
                    "network"                  : "Collect | BBPS | NA",
                    "bbpsBOU"                  : "NA | ICICI | KOTAK",
                    "paymentApp?"              : "PhonePe | GooglePay | NA",
                    "billerBillReceiptID"      : "VXJEZUMR7W",
                    "amount"                   : {
                        "value"        : 1012100,
                        "currencyCode" : "INR"
                    }
                },
                "settlement": [
                  {
                      "isPrimary" : false,
                      "date"      : "2020-01-12T12:12:00Z",
                      "utr"       : "897126126212",
                      "account"   : {
                        "id"   : "4301021021019",
                        "ifsc" : "ICIC00121"
                      },
                      "amount": {
                          "value"        : 112100,
                          "currencyCode" : "INR"
                      }
                  },
                  {
                      "isPrimary" : true,
                      "date"      : "2020-01-12T12:12:00Z",
                      "utr"       : "897126126223",
                      "accountID" : "1212121122",
                      "amount"    : {
                          "value"        : 897640,
                          "currencyCode" : "INR"
                      }
                  }
                ],
                "billProcessingCharge": {
                    "total": {
                        "amount": {
                            "value"        : 360,
                            "currencyCode" : "INR"
                        }
                    },
                    "charge": {
                        "computation": {
                            "method" : "FLATFEE | PERCENTAGE",
                            "value"  : 0
                        },
                        "flatFee": {
                            "amount" : {
                                "value"        : 2000,
                                "currencyCode" : "INR"
                            }
                        },
                        "amount": {
                          "value"        : 2000,
                          "currencyCode" : "INR"
                        }
                    },
                    "gst": {
                        "computation": {
                            "method" : "FLATFEE | PERCENTAGE",
                            "value"  : 18
                        },
                        "amount" : {
                            "value"        : 2000,
                            "currencyCode" : "INR"
                        }
                    }
                }
            }
        ],
        "metadata": {
            "generatedAt"  : "2020-02-10T11:13:37.939Z",
            "totalRecords" : 7,
            "type"         : "BillerReport",
            "filter"       : {
                "txnStartDate"  : "2020-02-06T18:25:00Z",
                "txnEndDate"    : "2020-02-11T18:25:00Z",
                "settlementUtr" : "KKBK12930456"
            }
        }
    }
}
```


In the `settlement` object above we will tell you how we have split and settled when we do bulk settlement.

