---
title: "POST /api/v1/savings-calculator"
method: POST
path: "/api/v1/savings-calculator"
tags: ["CalculatorControllerV1"]
---

# POST /api/v1/savings-calculator

`POST /api/v1/savings-calculator`

## Request

- Base URL: `https://api.partner.cubee.cz`
- URL: `https://api.partner.cubee.cz/api/v1/savings-calculator`
- Auth: none required

## Request body

- SavingsCalculatorModel
  - `periodType` string, nullable
  - `from` string, date, nullable
  - `to` string, date, nullable
  - `tddType` string, nullable
  - `batterySizeKwh` number, float
  - `totalKWp` number, float
  - `yearlyConsumption` number, float
  - `reservedBatteryCapacity` integer
  - `vat` number, double, nullable
  - `distributor` string, nullable
  - `lowTariffCommand` string, nullable
  - `lowTariffRegion` string, nullable
  - `electricityBuyType` string, nullable
  - `electricityBuyPrice` number, double, nullable
  - `buyFeeAmount` number, double, nullable
  - `buyFeeAmountSmart` number, double, nullable
  - `buySpotPriceMinZero` boolean
  - `canSell` boolean
  - `electricitySellType` string, nullable
  - `electricitySellPrice` number, double, nullable
  - `sellerFeeTypeKey` string, nullable
  - `sellerFeeAmount` number, double, nullable
  - `sellerFeeAmountSmart` number, double, nullable
  - `sellSpotPriceMinZero` boolean
  - `distributorFeeHigh` number, double, nullable
  - `distributorFeeLow` number, double, nullable
  - `renewableEnergyFee` number, double, nullable
  - `systemServicesFee` number, double, nullable
  - `maximumBatteryChargingPowerWatt` integer, nullable
  - `maximumBatteryDischargingPowerWatt` integer, nullable
  - `monthlyBuyFeeCzk` number, double, nullable
  - `monthlySellFeeCzk` number, double, nullable
  - `circuitBreakerMonthlyFee` number, double, nullable
  - `electricityBuyPriceInLowTariff` number, double, nullable
  - `buyerFeeTypeKey` string, nullable
  - `customProductionConsumptionData` CustomProductionConsumptionDataModel[], nullable
    - `time` string, date-time: Timestamp of the data point in ISO 8601 format.
    - `productionWh` integer: Production of energy from the PV system in watt-hours (Wh).
    - `consumptionWh` integer: Consumption of energy by the household in watt-hours (Wh).

## Response `200`

OK

- SavingsCalculatorResultV1Model
  - `productionBasicPV` number, double: The amount of energy produced by the basic PV system.
  - `productionSmartPV` number, double: The amount of energy produced by the smart PV system equipped with Cubee.
  - `consumptionWithoutPV` number, double: The amount of energy consumed without PV system.
  - `consumptionBasicPV` number, double: The amount of energy consumed by the basic PV system.
  - `consumptionSmartPV` number, double: The amount of energy consumed by the smart PV system equipped with Cubee.
  - `priceWithoutPV` number, double: Total price for all bought and sold energy if the system was not equipped with PV system. Usually this type of system doesn't sell energy to the grid.
  - `priceWithBasicPV` number, double: Total price for all bought and sold energy if the system was equipped with basic PV system.
  - `buyPriceWithoutPV` number, double: Sum price for all bought energy from the grid by system not equipped with PV system.
  - `buyPriceWithBasicPV` number, double: Sum price for all bought energy from the grid by system equipped with basic PV system.
  - `sellPriceWithBasicPV` number, double: Sum price for all sold energy to the grid by system equipped with basic PV system.
  - `buyAmountWithoutPV` number, double: Amount of Watt-hours bought from the grid by system not equipped with PV system.
  - `buyAmountWithBasicPV` number, double: Amount of Watt-hours bought from the grid by system equipped with basic PV system.
  - `sellAmountWithBasicPV` number, double: Amount of Watt-hours sold to the grid by system equipped with basic PV system.
  - `priceWithSmartPV` number, double: Total price for all bought and sold energy if the system was equipped with PV system and Cubee.
  - `buyPriceWithSmartPV` number, double: Sum price for all bought energy from the grid by system equipped with Cubee.
  - `sellPriceWithSmartPV` number, double: Sum price for all sold energy to the grid by system equipped with Cubee.
  - `buyAmountWithSmartPV` number, double: Amount of Watt-hours bought from the grid by system equipped with Cubee.
  - `sellAmountWithSmartPV` number, double: Amount of Watt-hours sold to the grid by system equipped with Cubee.
  - `negativePriceLimitedSellPriceWithSmartPV` number, double: Sum price for all energy that would have been sold to negative price if not limited to the grid by system equipped with Cubee.
  - `negativePriceLimitedSellAmountWithSmartPV` number, double: Amount of Watt-hours that were not sold to the grid by system equipped with Cubee due to negative price.
  - `smartPVSavings` number, double: The amount of money saved by Cubee optimalization against the basic PV system.
  - `months` SavingsCalculatorMonthlyResultV1Model[], nullable
    - `month` string, date
    - `productionBasicPV` number, double
    - `productionSmartPV` number, double
    - `consumptionWithoutPV` number, double
    - `consumptionBasicPV` number, double
    - `consumptionSmartPV` number, double
    - `priceWithoutPV` number, double
    - `buyPriceWithoutPV` number, double
    - `buyAmountWithoutPV` number, double
    - `priceWithBasicPV` number, double
    - `buyPriceWithBasicPV` number, double
    - `sellPriceWithBasicPV` number, double
    - `buyAmountWithBasicPV` number, double
    - `sellAmountWithBasicPV` number, double
    - `priceWithSmartPV` number, double
    - `buyPriceWithSmartPV` number, double
    - `sellPriceWithSmartPV` number, double
    - `buyAmountWithSmartPV` number, double
    - `sellAmountWithSmartPV` number, double
    - `negativePriceLimitedSellPriceWithSmartPV` number, double
    - `negativePriceLimitedSellAmountWithSmartPV` number, double
    - `smartPVSavings` number, double
  - `days` SavingsCalculatorDailyResultV1Model[], nullable
    - `day` string, date
    - `productionBasicPV` number, double
    - `productionSmartPV` number, double
    - `consumptionWithoutPV` number, double
    - `consumptionBasicPV` number, double
    - `consumptionSmartPV` number, double
    - `priceWithoutPV` number, double
    - `buyPriceWithoutPV` number, double
    - `buyAmountWithoutPV` number, double
    - `priceWithBasicPV` number, double
    - `buyPriceWithBasicPV` number, double
    - `sellPriceWithBasicPV` number, double
    - `buyAmountWithBasicPV` number, double
    - `sellAmountWithBasicPV` number, double
    - `priceWithSmartPV` number, double
    - `buyPriceWithSmartPV` number, double
    - `sellPriceWithSmartPV` number, double
    - `buyAmountWithSmartPV` number, double
    - `sellAmountWithSmartPV` number, double
    - `negativePriceLimitedSellPriceWithSmartPV` number, double
    - `negativePriceLimitedSellAmountWithSmartPV` number, double
    - `smartPVSavings` number, double

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

## Changes

- **2026-11-03** `50555858fb42`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cubee/apis/partner-api/changes/api/v1/savings-calculator/post.md)

---

[API](https://skmtc.dev/cubee/apis/partner-api.md) - [All operations](https://skmtc.dev/cubee/apis/partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cubee/apis/partner-api/revisions/50555858fb42?raw)
