Liabilities
Get loan summaries
The Get loan summaries endpoint returns a summary by integration type of all loans identified from a company's accounting, banking, and commerce integrations.
The endpoint returns a list of a company's loan summaries for each valid data connection.
Make sure you have synced a company recently before calling the endpoint.
get/companies/{companyId}/reports/liabilities/loans
Response
OK
Example response
{
"reportInfo": {
"reportName": "LoanSummaryReport",
"companyName": "The Coffee shop",
"generatedDate": "2022-10-23T00:00:00Z"
},
"reportItems": [
{
"recordRef": {
"id": "string",
"dataConnectionId": "DE34E8E3-089F-4DF4-89E9-F7C43618FCAAA",
"integrationType": "Accounting",
"recordRefType": "accounts"
},
"description": "string",
"startDate": "2021-01-01",
"totalInvestments": 100000,
"totalRepayments": 83481.72,
"balance": 42513.18,
"lender": "Barclays Bank"
}
]
}