Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c478498
WIP - adding a new section for the sidebar
ivasiutkova Nov 17, 2025
cf8d72b
WIP Credit Model page
ivasiutkova Nov 17, 2025
a0d1531
url change to credit model overview
ivasiutkova Nov 17, 2025
5629ce0
sidebar change to avoid double prem products
ivasiutkova Nov 17, 2025
f32683f
fixing error
ivasiutkova Nov 17, 2025
ce414e9
sidebar fix
ivasiutkova Nov 18, 2025
7515bce
url fix
ivasiutkova Nov 18, 2025
b42c86f
added sidebar
ivasiutkova Nov 19, 2025
273866b
rewording
ivasiutkova Nov 20, 2025
4d1f1d1
added iframes
ivasiutkova Nov 20, 2025
f41efb6
wip the other sections
ivasiutkova Nov 20, 2025
053ead1
webhooks added
ivasiutkova Nov 20, 2025
033be9e
webhooks update
ivasiutkova Nov 20, 2025
2ca6d31
updated enable data types section
ivasiutkova Nov 20, 2025
0771141
added derived highlights
ivasiutkova Nov 26, 2025
3122e3a
feature components added
ivasiutkova Nov 26, 2025
40c0910
added dots
ivasiutkova Nov 26, 2025
ebf59da
Update docs/lending/premium-products/credit-model-overview.md
ivasiutkova Nov 26, 2025
5412ba3
Update docs/lending/premium-products/credit-model-overview.md
ivasiutkova Nov 26, 2025
efc6aa9
CM edits, added webhook changes, new integration component
pzaichkina Dec 2, 2025
621464a
fix Integrations list reference
pzaichkina Dec 2, 2025
e8baf52
Enhance credit model overview with report generation details
pzaichkina Dec 2, 2025
5df94df
added portal screenshot
pzaichkina Dec 2, 2025
4e15a83
added premium feature notice
pzaichkina Dec 3, 2025
b60c9a0
quick change to the message to remove beta plus added extra msg for A…
ivasiutkova Dec 3, 2025
7b2ef47
removed beta
ivasiutkova Dec 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 156 additions & 0 deletions docs/lending/premium-products/credit-model-overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
---
title: "Credit model overview"
displayed_sidebar: "lending"
description: "Access a detailed data-driven assessment of a business's financial health and creditworthiness"
---

import Products from "@components/Products";
import { IntegrationsList } from "@components/Integrations";
import { integrationsAccountingFilterCreditModel, bankingIntegrations } from "@components/Integrations/integrations";
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

Lending's premium **Credit model** feature provides an intuitive way to interpret, visualize, and analyze a borrower’s accounting and banking data. It offers a holistic view of financial performance to support credit decisions and other financial evaluations.

:::info Premium feature

Credit Model report is a premium feature of the Lending product. Contact your Account Manager if you wish to enable it.

:::

## Features

The Credit model contains a variety of features that enhance the underwriting process:

- **Dashboard:** an all-encompassing view of a borrower’s financial health

- **Credit score:** a customizable credit score that aligns the model to the metrics most important to your analysis

- **Accounting score:** an evaluation of the quality and completeness of a business’s bookkeeping

- **Financial summary:** financial statements that are automatically spread with calculated metrics and ratio

- **Bank summary:** bank transaction data that is converted into a cash-based profit and loss statement

- **Debt summary:** a breakdown of existing debt with historical and projected repayment terms

- **Customer summary:** terms, concentration, and punctuality of a borrower’s receivables

- **Repayment summary:** terms, concentration, and punctuality of a borrower’s payables

## Feature components

The Credit Model report can be based on accounting data sources, banking data sources, or both.

#### Supported integrations: accounting

<iframe
src="https://docs.google.com/spreadsheets/d/e/2PACX-1vQv5tU64V66C6QkR2L3I-iuCIN02A7ROyyZL1D6gmglwrtAHU9VwJmxwWMHtslJV5aP_oeq2--6tHm1/pubhtml?gid=390125489&single=true&amp;widget=true&amp;headers=false"
className="googleSheets"
style={{ height: "450px", border: "0" }}
/>

#### Supported integrations: banking

<iframe
src="https://docs.google.com/spreadsheets/d/1VEE7uUH_Q4ZGReonOqfZVT6V4-C40rwsMNEp2K7hOhQ/pubhtml?gid=1760315404&amp;single=true&amp;widget=true&amp;headers=false"
className="googleSheets"
style={{ height: "250px", border: "0" }}
/>

## Feature enrichments

The Credit model report provides the following insights into the financial health of a company:

- **Key highlights:** a detailed outline of the company’s best performing and most material financial metrics

- **Key risks:** a detailed outline of the company’s worst performing and most material financial metrics

- **Proforma cash runway:** a prediction of a cash runway that considers historical burn, upcoming capital injections, and future debt payments

- **Knockout rules:** custom alerts for when certain financial metrics reach given thresholds

- **Accounting issues:** an explanation of any poor bookkeeping practices

- **Closed books indicator:** an estimation of the most recent accounting period officially closed by a business

- **Debt repayment schedule:** implied terms of a company’s credit cards and debt facilities, including payment, frequency, maturity, and balance

- **Accounts receivable aging:** an automated aging schedule from unpaid customer invoices

- **Accounts payable aging:** an automated aging schedule from unpaid supplier bills

- **Customer summary:** a full overview of customer repayment behavior, including percentage of on-time payments, breakdown of repayment terms, and customer concentration

- **Repayment summary:** a full overview of supplier repayment behavior, including percentage of on-time payments, breakdown of repayment terms, and supplier concentration

## Supported outputs

You can generate and retrieve the data read and enriched by this feature in an Excel format using an API call or in the [Codat Portal](https://app.codat.io).

#### Get report via API

Use the [Generate report](/lending-api#/operations/generate-report) endpoint to asynchronously generate the report. Set the `reportType` parameter to `creditModel`. Initiating the report will trigger a new data sync.

Next, call the [Download credit model Excel](/lending-api#/operations/download-credit-model-excel) endpoint to retrieve the resulting report.

You can also view individual Credit Model metrics using the [Get financial summary insights](/lending-api#/operations/get-financial-summary) endpoint.

The Credit Model feature must be enabled before you can generate the _Credit Model_ report and its metrics via API. Speak to your Account Manager to enable it.

#### Get report via Portal

In the [Codat Portal](https://app.codat.io), navigate to **Companies** and select the company you want to analyze. In the side menu, click **Lending > Reports**.

In the list of reports, find _Credit Model_ and click **Generate report**. Once the report is ready to download, it will appear underneath the report name. Click **Download** to save the report to your machine.

The Credit Model feature must be enabled before you can access the _Credit Model_ report in the Portal. Speak to your Account Manager to enable it.

![A snippet of the Codat Portal company detail screen with the Lending > Reports path visible and Credit Model report displayed](/img/lending/lending-credit-model-portal.png)

## Get started

Once you have the Lending solution enabled, contact your Account Manager or our support team to enable the Credit Model report. As a premium feature, it will be billed in addition to your use of the Lending solution.

Next, configure your instance to work with the Credit Model feature.

#### Configure data sources

Follow the respective guides to set up and enable accounting integrations that will serve as a data source for the feature:

##### Accounting data sources

<IntegrationsList filter={integrationsAccountingFilterCreditModel} />

##### Banking data sources

<IntegrationsList integrations={bankingIntegrations} />

#### Enable data types

See how to [enable data types](/core-concepts/data-type-settings#override-the-default-sync-settings) and ensure the following data types have been switched on:

| **Accounting** | **Banking** |
|---------------------------------|---------------------------------------------|
| Company `company` | Banking transactions `banking-transactions` |
| Profit and loss `profitAndLoss` | Banking accounts `banking-accounts` |
| Balance sheet `balanceSheet` | |
| Bills `bills` | |
| Bill payments `billPayments` | |
| Suppliers `suppliers` | |
| Customers `customers` | |
| Invoices `invoices` | |
| Payments `payments` | |
| Credit notes `creditNotes` | |

#### Configure webhooks

We recommend you [subscribe to the following webhooks](/using-the-api/webhooks/create-consumer) if you are using an API solution:

- [`reports.creditModel.generate.successful`](/lending-api#/webhooks/reports.creditModel.generate.successful/post)

Thia webhook will notify you once the report successfully generates.

- [`reports.creditModel.generate.unsuccessful`](/lending-api#/webhooks/reports.creditModel.generate.unsuccessful/post)

Thia webhook will notify you if the report generation fails.
2 changes: 2 additions & 0 deletions docs/using-the-api/webhooks/event-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ See our migration guide to [switch to new event types](/using-the-api/webhooks/m
| Expenses | [`expenses.sync.unsuccessful`](/sync-for-expenses-api#/webhooks/expenses.sync.unsuccessful/post) | Called when an expense sync fails to complete successfully, resulting in at least one error or warning. |
| Lending | [`report.categorizedBankStatement.generate.successful`](/lending-api#/webhooks/report.categorizedBankStatement.generate.successful/post) | Called when a [categorized bank statement](/lending/features/bank-statements-overview) is successfully generated for a company. |
| Lending | [`AccountCategoriesUpdated`](/lending-api#/webhooks/Account-categories-updated/post) | Called when Codat AI had [categorized accounts](/lending/features/financial-statements-overview) for a company. |
| Lending | [`reports.creditModel.generate.successful`](/lending-api#/webhooks/reports.creditModel.generate.successful/post) | Called when the [Credit Model report](/lending/premium-products/credit-model-overview) is successfully generated for a company. |
| Lending | [`reports.creditModel.generate.unsuccessful`](/lending-api#/webhooks/reports.creditModel.generate.unsuccessful/post) | Called when the [Credit Model report](/lending/premium-products/credit-model-overview) fails to generate for a company. |
| Spend Insights | [`reports.spendAnalysis.generate.successful`](/spend-insights-api#/webhooks/reports.spendAnalysis.generate.successful/post) | Called when a spend analysis report is successfully generated. |
| Spend Insights | [`reports.spendAnalysis.generate.unsuccessful`](/spend-insights-api#/webhooks/reports.spendAnalysis.generate.unsuccessful/post) | Called when a spend analysis report has failed to be generated for a company. |

Expand Down
9 changes: 9 additions & 0 deletions sidebars/lending.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ module.exports = [
"lending/features/accounts-payable-overview",
"lending/features/company-info-overview",
"lending/features/excel-download-overview",
{
type: "link",
href: "/lending/premium-products/credit-model-overview",
label: "Credit model",
customProps: {
hr: true,
section: "Premium features",
},
},
{
type: "category",
label: "Loan writeback",
Expand Down
17 changes: 17 additions & 0 deletions src/components/Integrations/integrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,23 @@ export const integrationsAccountingFilterLending = [
"Zoho Books",
];

export const integrationsAccountingFilterCreditModel = [
"Dynamics 365 Business Central",
"Exact Online",
"FreshBooks",
"MYOB Business",
"Oracle NetSuite",
"QuickBooks Desktop",
"QuickBooks Online",
"Sage 50",
"Sage 200 Standard",
"Sage Accounting",
"Sage Intacct",
"Wave",
"Xero",
"Zoho Books",
];

export const bankfeedsIntegrations = [
{
name: "QuickBooks Online bank feeds",
Expand Down
3 changes: 3 additions & 0 deletions static/img/lending/lending-credit-model-portal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading