# Analysis

> Analyse financial statements, a document or an investment portfolio: Analyse an Uploaded Document, Analyse Client Financials, Analyse an Investment…

Analyse financial statements, a document or an investment portfolio.

## Operations

POST [Analyse an Uploaded Document](https://heyarchie.com/en-gb/developers/api-reference/analysis/analyse-an-uploaded-document/)

Reads a document you have already uploaded and returns an analysis of it: a summary, the key figures, a classification or a risk assessment. You must supply file_id, the UUID of the uploaded file, and can choose the analysis_type. The response holds the analysis text, any extracted data and a confidence score.

POST [Analyse Client Financials](https://heyarchie.com/en-gb/developers/api-reference/analysis/analyse-client-financials/)

Analyses a client's financials for an accountant, covering variance, trend, ratio, cashflow, profitability or working capital. You must supply client_id, and can narrow the work with a period and a comparison period. It returns a written analysis with metrics, trends, findings, citations and a confidence score.

POST [Analyse an Investment Portfolio](https://heyarchie.com/en-gb/developers/api-reference/analysis/analyse-an-investment-portfolio/)

Analyses an investment portfolio, including opening and closing reconciliation, FX and fair-value movements and capital gains and losses. You must supply topic, a plain-language description of what to analyse, and can set the jurisdiction (UK, AU, US or CA among others), period and entity. It returns an analysis, a summary, findings and a confidence score.

POST [Propose CCH-Axcess-style Tax-Line Mappings](https://heyarchie.com/en-gb/developers/api-reference/analysis/propose-cch-axcess-style-tax-line-mappings/)

Proposes a US tax-line mapping for each row of a prepared trial balance, so the return can be built from your own tax-group catalogue. You must supply tb_rows and tax_group_catalog, and can set the entity_type and a confidence threshold. It returns one mapping per account with its confidence and reasoning, counts and the unmapped account numbers.

Endpoints

[POST /api/v1/skills/documents.analyse/invoke](https://heyarchie.com/en-gb/developers/api-reference/analysis/analyse-an-uploaded-document/)[POST /api/v1/skills/financials.analyse/invoke](https://heyarchie.com/en-gb/developers/api-reference/analysis/analyse-client-financials/)[POST /api/v1/skills/portfolios.analyse/invoke](https://heyarchie.com/en-gb/developers/api-reference/analysis/analyse-an-investment-portfolio/)[POST /api/v1/skills/propose.qbo.tax.group.mapping/invoke](https://heyarchie.com/en-gb/developers/api-reference/analysis/propose-cch-axcess-style-tax-line-mappings/)
