---
title: "Create Lending Report"
method: POST
path: "/reports/lending"
tags: ["reports"]
---

# Create Lending Report

`POST /reports/lending`

## Request

- Base URL: `https://api.copper.co/platform`
- URL: `https://api.copper.co/platform/reports/lending`
- Auth: none declared
- TypeScript: <https://skmtc.dev/copper-co/apis/copper-platform-api/docs/reports/lending/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- CreateLendingReport
  - `fromDate` string: Optional date when provided the report will only contain lending information from this date onward (inclusive)
  - `loanSide` 'lend' | 'borrow'
  - `organizationId` string, required: Unique ID of the organisation
  - `reportType` 'outstanding-loans-report' | 'loan-activity-report' | 'loan-fees-report', required
  - `toDate` string: Optional date when provided the report will only contain lending information up to this date (inclusive)

## Response `200`

OK

- Report

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `409`: Conflict

---

[API](https://skmtc.dev/copper-co/apis/copper-platform-api.md) - [All operations](https://skmtc.dev/copper-co/apis/copper-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/copper-co/apis/copper-platform-api/revisions/44296120fc7d?raw)
