---
title: "Get invoice analysis"
method: GET
path: "/invoice-analysis/{invoiceAnalysisId}"
tags: ["Invoices"]
---

# Get invoice analysis

`GET /invoice-analysis/{invoiceAnalysisId}`

## Request

- Base URL: `https://connect.clever.gy`
- URL: `https://connect.clever.gy/invoice-analysis/{invoiceAnalysisId}`
- Auth: API key in header `clevergy-api-key`

Get latest available invoice analysis

## Path parameters

- `invoiceAnalysisId` string, uuid, required

## Response `200`

latest invoice analysis

- InvoiceAnalysis
  - `dni` string
  - `name` string
  - `surname` string
  - `houseCity` string
  - `houseStreet` string
  - `houseNumber` string
  - `houseProvince` string
  - `postalCode` string
  - `cups` string
  - `marketer` string
  - `contractedPowerP1` number, float
  - `contractedPowerP2` number, float
  - `maxPowerDemandedP1` number, float
  - `maxPowerDemandedP2` number, float
  - `energyConsumptionP1` number, float
  - `energyConsumptionP2` number, float
  - `energyConsumptionP3` number, float
  - `totalEnergyConsumption` number, float
  - `totalCost` number, float
  - `startDate` string, date
  - `endDate` string, date
  - `renovationDate` string, date

## Other responses

- `401`: Unauthorized
- `default`: Unexpected error

---

[API](https://skmtc.dev/clevergy/apis/clevergy-connect-api.md) - [All operations](https://skmtc.dev/clevergy/apis/clevergy-connect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clevergy/apis/clevergy-connect-api/revisions/d333c5eecb5b?raw)
