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

# POST /api/v1/savings-calculator/test

`POST /api/v1/savings-calculator/test`

## Request

- Base URL: `https://api.partner.cubee.cz`
- URL: `https://api.partner.cubee.cz/api/v1/savings-calculator/test`
- 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

## 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/test/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)
