For Agents
Generate enhanced financial reports and lending metrics — enhanced P&L, balance sheet, cash flow, MRR, customer retention, and data integrity scores — from a customer's linked accounting and commerce data.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Assess API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Assess API API.
Generate enhanced profit and loss, balance sheet, and cash flow reports tailored for credit decisioning
Compute commerce metrics including revenue, orders, refunds, customer lifetime value, and retention
Calculate monthly recurring revenue (MRR) from subscription data in linked commerce platforms
Score data integrity for accounting and banking inputs so lenders can trust the underlying numbers
GET STARTED
Use for: I want to generate an enhanced profit and loss for a loan applicant, Get the MRR and customer retention metrics for a SaaS borrower, Retrieve the data integrity summary for a company's accounting connection, Calculate customer lifetime value from a company's commerce data
Not supported: Does not handle ledger writes, raw bank feed connectivity, or general accounting CRUD — use for lending and credit decisioning metrics derived from already-linked accounting and commerce data only.
Codat's Assess API turns raw accounting and commerce data into ready-made financial metrics and reports purpose-built for lending, underwriting, and risk decisioning. It produces enhanced profit and loss, balance sheet, and cash flow reports along with commerce metrics such as revenue, refunds, customer retention, and lifetime value derived from a borrower's linked accounting and commerce platforms. The API also returns data integrity scores so credit teams know how trustworthy the underlying figures are. It is used by SMB lenders, capital providers, and embedded finance platforms.
Pull enhanced invoice data with audit trails for accounts receivable financing decisions
Retrieve loan liability schedules and transaction history from linked accounting ledgers
Export full Assess datasets as Excel workbooks for offline credit analyst workflows
Patterns agents use Assess API API for, with concrete tasks.
★ SMB Lending Underwriting
Lenders use the Assess API to replace document-driven underwriting with structured, normalised financial metrics pulled from a borrower's accounting platform. The /companies/{companyId}/reports/enhancedProfitAndLoss/accounts and /reports/enhancedCashFlow/transactions endpoints surface the line-level history that credit models consume, while the data integrity endpoints flag missing or low-confidence figures before the model runs. This compresses underwriting from days to minutes.
Fetch the enhanced cash flow transactions and data integrity summary for company {companyId} for the last 12 months and flag any months where data integrity is below 80%.
E-Commerce and SaaS Capital Providers
Revenue-based finance providers and SaaS capital lenders use the commerce metrics endpoints to evaluate borrower revenue quality. The /assess/commerceMetrics/revenue, /commerceMetrics/customerRetention, /commerceMetrics/lifetimeValue, and /assess/subscriptions/mrr endpoints expose the cohort-level metrics that drive advance-rate decisions, pulled directly from Shopify, Stripe, or other linked commerce sources without a finance team having to build per-platform parsers.
Retrieve MRR, customer retention, and lifetime value metrics for company {companyId} connection {connectionId} for the trailing 24 months.
Credit Analyst Excel Workflow
Credit analysts who still work in Excel use the /data/companies/{companyId}/assess/excel and /assess/excel/download endpoints to pull a complete pre-built Assess workbook covering accounting metrics, commerce metrics, and data integrity in one file. This removes the per-applicant copy-paste step from financial spreading and lets analysts focus on judgement rather than data assembly.
Generate and download the Assess Excel workbook for company {companyId} and save it locally for the credit analyst to review.
AI Agent Credit Memo Drafting
AI agents drafting credit memos use the Assess API through Jentic to assemble the financial section automatically. The agent searches Jentic for 'enhanced profit and loss', loads the schema, and pulls the report along with data integrity scores so the memo can flag low-confidence inputs. Jentic's credential isolation keeps the Codat API key out of the agent's context and the unified search makes it unnecessary for the agent to navigate the 22 Assess paths manually.
Search Jentic for 'enhanced profit and loss', load the operation, then fetch the report for company {companyId} and summarise the top three drivers of revenue change month-over-month.
22 endpoints — codat's assess api turns raw accounting and commerce data into ready-made financial metrics and reports purpose-built for lending, underwriting, and risk decisioning.
METHOD
PATH
DESCRIPTION
/companies/{companyId}/reports/enhancedProfitAndLoss/accounts
Enhanced profit and loss report by account
/companies/{companyId}/reports/enhancedBalanceSheet/accounts
Enhanced balance sheet report by account
/companies/{companyId}/reports/enhancedCashFlow/transactions
Enhanced cash flow at transaction level
/data/companies/{companyId}/connections/{connectionId}/assess/commerceMetrics/revenue
Commerce revenue metrics from a linked connection
/data/companies/{companyId}/connections/{connectionId}/assess/subscriptions/mrr
Monthly recurring revenue from subscription data
/data/companies/{companyId}/assess/dataTypes/{dataType}/dataIntegrity/summaries
Data integrity summary for a given data type
/data/companies/{companyId}/assess/excel/download
Download the full Assess Excel workbook
/companies/{companyId}/reports/enhancedProfitAndLoss/accounts
Enhanced profit and loss report by account
/companies/{companyId}/reports/enhancedBalanceSheet/accounts
Enhanced balance sheet report by account
/companies/{companyId}/reports/enhancedCashFlow/transactions
Enhanced cash flow at transaction level
/data/companies/{companyId}/connections/{connectionId}/assess/commerceMetrics/revenue
Commerce revenue metrics from a linked connection
/data/companies/{companyId}/connections/{connectionId}/assess/subscriptions/mrr
Monthly recurring revenue from subscription data
Three things that make agents converge on Jentic-routed access.
Credential isolation
Codat API keys are stored encrypted in the Jentic vault. Agents receive a scoped execution token — the 'Basic' Authorization header is built inside Jentic and never enters the agent runtime.
Intent-based discovery
Agents search Jentic by intent (e.g. 'enhanced profit and loss for a borrower') and Jentic returns the matching Assess operation with its input schema, eliminating the need for the agent to browse the 22 specialised lending endpoints.
Time to first call
Direct Codat Assess integration: 1-2 weeks for auth, connection lifecycle, and metric interpretation. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Codat Accounting API
Provides the underlying normalised accounting data that Assess transforms into lending metrics
Use Accounting when the agent needs raw invoices, bills, or journal entries; use Assess when the agent needs ready-made underwriting metrics.
Codat Banking API
Direct bank transaction data used alongside Assess to build a complete credit picture
Use Banking when the agent needs bank-level transactions; use Assess when the agent needs derived KPIs across accounting and commerce sources.
Codat Commerce API
Provides raw commerce platform data that feeds Assess commerce metrics like MRR and retention
Use Commerce when the agent needs raw orders or transactions; use Assess when the agent needs cohort metrics derived from them.
Specific to using Assess API API through Jentic.
What authentication does the Codat Assess API use?
The API uses an API key passed in the Authorization header as 'Basic <base64-encoded-key>'. The single security scheme is named auth_header in the spec. Through Jentic, the Codat API key is stored encrypted in the vault and the Authorization header is constructed inside the Jentic execution layer rather than the agent.
Can I get monthly recurring revenue with the Codat Assess API?
Yes. Use GET /data/companies/{companyId}/connections/{connectionId}/assess/subscriptions/mrr to retrieve MRR derived from subscription data in the linked commerce platform. Pair it with /assess/subscriptions/process to trigger the underlying calculation if it has not been run yet.
What are the rate limits for the Codat Assess API?
Codat does not publish a fixed rate limit in the OpenAPI spec; limits are governed at the company and connection level and depend on the underlying platform. Codat returns HTTP 429 with a Retry-After header when limits are hit, and recommends exponential backoff for retries.
How do I pull an enhanced cash flow report through Jentic?
Search Jentic for 'enhanced cash flow codat', load the GET /companies/{companyId}/reports/enhancedCashFlow/transactions operation, and execute it with the company ID. Install with pip install jentic and use the standard async search, load, and execute flow.
How does the Codat Assess API check data quality?
The /data/companies/{companyId}/assess/dataTypes/{dataType}/dataIntegrity/status, /summaries, and /details endpoints score how complete and consistent the underlying accounting or banking data is. Lenders use these scores to decide whether to trust automated metrics or request additional documentation.
Can I export Assess data to Excel for credit analysts?
Yes. Call GET /data/companies/{companyId}/assess/excel to generate the workbook and GET /data/companies/{companyId}/assess/excel/download to retrieve it. The workbook contains accounting metrics, commerce metrics, and data integrity sheets in the format Codat ships to lender customers.
/data/companies/{companyId}/assess/dataTypes/{dataType}/dataIntegrity/summaries
Data integrity summary for a given data type
/data/companies/{companyId}/assess/excel/download
Download the full Assess Excel workbook