Liabilities
List loan transactions
The List loan transactions endpoint returns all loan transactions identified from a company's accounting, banking, and commerce integrations.
This detail gives analysts a better idea of the loan obligations a company may have.
Make sure you have synced a company recently before calling the endpoint.
get/companies/{companyId}/reports/liabilities/loans/transactions
Response
OK
Example response
{
"reportInfo": {
"pageNumber": 1,
"pageSize": 1000,
"totalResults": 1,
"reportName": "AccountingLoanTransactions",
"companyName": "Supermarket store",
"generatedDate": "2022-10-23T00:00:00Z"
},
"reportItems": [
{
"loanRef": {
"id": "332",
"dataConnectionId": "ecd2d6be-5194-40a1-838f-5577a4881aaa",
"type": "chartOfAccount"
},
"itemRef": {
"id": "755488",
"dataConnectionId": "ecd2d6be-5194-40a1-838f-5577a4881aaa",
"type": "journalEntry"
},
"date": "2020-08-02",
"amount": -455,
"transactionType": "Repayment",
"lender": "Barclays Bank"
}
]
}