Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient
(shareable link + the PDF attached), and returns the link. The link points at
GET /api/v1/studies/{id}/pdf, which redirects to a short-lived SAS on each visit — the PDF is
never a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Headers
X-Cubee-External-User
string
Optional id of the caller's own end-user this study belongs to. Tag studies
with it to list them back later via GET /api/v1/studies. Opaque to Cubee — never send a name or e-mail.
X-Cubee-Cin
string
Cube IT only. Company identification number (IČO) of the company embedding the calculator, which
brands the study (logo + contact) as that partner's instead of generic Cubee. Marks the call as an
embed: any other token sending it gets 403, and a CIN matching no partner falls back to generic
Cubee branding.
Body
application/json
The study inputs plus the recipient's e-mail address.
The savings-study PDF request, delivered as an e-mail with the PDF attached.
totalKWp
number<float>
required
Total installed PV power - kWp.
Constraints:
The system currently supports only a single PV array, so this represents the total capacity.
If you need to create custom production profiles, use the CustomProductionConsumptionData property instead.
battery
object
required
Configuration of the battery system used in the simulation.
Show child attributes
distribution
object
required
Settings related to the electricity distributor and regulated fees.
Show child attributes
electricityBuyingSettings
FixBuyingSettings · object
required
Configuration for electricity purchasing strategy (either fixed or spot-based).
FixBuyingSettings
SpotBuyingSettings
Show child attributes
recipient
object
required
The customer the study is for — delivery address and CRM contact details.
Show child attributes
periodType
string | null
Type of time period to evaluate — a specific year like "2024", "2025", or the rolling range "12M"
(last 12 completed months). Accepted values come from GET /api/v1/reference/periods.
Optional: leave it null and set from + to instead to evaluate an explicit date range.
When both from and to are provided this field is ignored. Exactly one of
{ periodType } or { from + to } must be supplied.
from
string<date> | null
Optional explicit start of the evaluation period (date only, inclusive), e.g. "2025-01-01". Must be set
together with to. When both are set, periodType is ignored — this lets you pin the exact
window a study was computed over (e.g. a "last 12 months" run) so it can be reproduced later. The range
must fall within the available data window (see the 400 response for the allowed bounds).
to
string<date> | null
Optional explicit end of the evaluation period (date only, inclusive), e.g. "2025-12-31". Must be set
together with from. The whole day is included. A full calendar year (from = Jan 1, to = Dec 31)
yields the same result as the matching periodType year.
yearlyConsumptionKWh
number<float>
Estimated total annual electricity consumption of the household in kilowatt-hours (kWh).
electricitySellingSettings
FixSellingSettings · object
Configuration for electricity selling strategy (if can't sell, set null).
FixSellingSettings
SpotSellingSettings
Show child attributes
customProductionConsumptionData
object[] | null
Optional custom production and consumption data for more accurate modeling.
This is not required; if not provided, the model will use default estimations based on
TotalKWp and YearlyConsumptionKWh.
Model requires 1 hour granularity data for the entire period specified in PeriodType.
Show child attributes
study
object
Customer details shown on the study cover.
Show child attributes
Response
OK
Result of creating a study: the stored PDF's link plus whether the e-mail actually went out.
id
string<uuid>
The calculation id (also the blob name).
Example:
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
url
string | null
Absolute URL of the public broker endpoint that redirects to a short-lived SAS.
true if the e-mail was sent; false if e-mail is disabled or sending failed (PDF is still stored and reachable via Url).
Example:
true
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cubee dokumentace","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/cubee/_K1pnXkKeN0h36y4/logo/cubee-logo-light.svg?fit=max\u0026auto=format\u0026n=_K1pnXkKeN0h36y4\u0026q=85\u0026s=2f25a1c5b84a22d061493953cb95dc00","dark":"https://mintcdn.com/cubee/_K1pnXkKeN0h36y4/logo/cubee-logo-dark.svg?fit=max\u0026auto=format\u0026n=_K1pnXkKeN0h36y4\u0026q=85\u0026s=b556279b92f6e0b2ff7f625f0380940f"},"favicon":"https://mintcdn.com/cubee/byh7l6eIZz6Lpud-/favicon.svg?fit=max\u0026auto=format\u0026n=byh7l6eIZz6Lpud-\u0026q=85\u0026s=88a22f6213b21d28cb2fa1028b1e90d8","api":{"examples":{"languages":["curl","csharp","javascript","python"],"prefill":true}},"navbar":{},"footer":{"socials":{"facebook":"https://www.facebook.com/profile.php?id=61559187165459","linkedin":"https://www.linkedin.com/showcase/cubee-energetick-managment"},"links":[{"header":"Kompatibilní zařízení","items":[{"label":"Střídače","href":"https://cubee.cz/kompatibilita/stridace"},{"label":"Wallboxy","href":"https://cubee.cz/kompatibilita/wallboxy"},{"label":"Zásuvky a stykače","href":"https://cubee.cz/kompatibilita/dalsi-zarizeni"}]},{"header":"Další služby","items":[{"label":"Instalace Cubee","href":"https://cubee.cz/instalace"},{"label":"Kalkulačka úspor","href":"https://cubee.cz/kalkulacka"}]},{"header":"Kontakt","items":[{"label":"podpora@cubee.cz","href":"mailto:podpora@cubee.cz"}]}]},"integrations":{"ga4":{"measurementId":"G-L6TY45JJG0"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Cubee Web","icon":"book-open-cover","href":"https://cubee.cz"},{"anchor":"Blog","icon":"newspaper","href":"https://cubee.cz/blog"},{"anchor":"Kalkulace úspor","icon":"calculator","href":"https://cubee.cz/kalkulacka"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cubee","hasAudioNarration":false,"actualSubdomain":"cubee","customDomains":["podpora.cubee.cz"],"gitSource":{"type":"github","owner":"cubeitgit","repo":"cubee-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5c7aac7a2465f2886933a","clientVersion":"0.0.4277","searchFilterCounts":[{"language":"default","tag":"Podpora k zařízením Cubee","count":174},{"language":"default","tag":"Návody na zapojení","count":51},{"language":"default","tag":"Zapojení střídačů","count":48},{"language":"default","tag":"Zařízení třetích stran","count":35},{"language":"default","tag":"Aplikace Cubee","count":31},{"language":"default","tag":"Manuály","count":26},{"language":"default","tag":"Chytrá optimalizace","count":24},{"language":"default","tag":"Partner","count":24},{"language":"default","tag":"Endpoints","count":19},{"language":"default","tag":"Nastavení cen","count":14}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"deflection":{"enabled":true,"email":"podpora@cubee.cz","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".mockup-image{width:100%;display:flex;justify-content:center;background:#E1F4E1;border-radius:24px}.dark .mockup-image{background:#02190D}.mockup-image img{max-height:460px;margin:0}[data-component-part=\"tabs-list\"]{display:flex!important;align-items:flex-end;gap:0.4rem;padding:0!important;padding-top:0.5rem!important;background:transparent!important;border:none!important;border-bottom:1.5px solid #C8DCD4!important;border-radius:0;margin-bottom:1.5rem;overflow:visible!important}[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]{position:relative;border-radius:0!important;padding:0.45rem 1.1rem!important;font-weight:600!important;color:#569B77!important;background-color:transparent!important;border:none!important;box-shadow:none!important;transition:color 0.2s ease, background 0.2s ease;white-space:nowrap}[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]:hover{color:#3a7a5a!important;background-color:transparent!important}[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][aria-selected=\"true\"],[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-state=\"active\"],[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:#2d6a4a!important;background-color:#EDF5F0!important;border-left:1.5px solid #C8DCD4!important;border-right:1.5px solid #C8DCD4!important;border-top:1.5px solid #C8DCD4!important;border-bottom:1.5px solid transparent!important;border-radius:8px 8px 0 0!important;box-shadow:none!important;margin-bottom:-1.5px;padding-bottom:calc(0.45rem + 1.5px)!important}.dark [data-component-part=\"tabs-list\"]{border-bottom-color:#3a6450!important}.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][aria-selected=\"true\"],.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-state=\"active\"],.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:#a8dbb8!important;background-color:#1e3028!important;border-left-color:#3a6450!important;border-right-color:#3a6450!important;border-top-color:#3a6450!important}"}]}
{"page":{"pagePath":"api-reference/studies/create-a-savings-study","slug":"/api-reference/studies/create-a-savings-study","pageMetadata":{"title":"Create a savings study","description":"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient\n(shareable link + the PDF attached), and returns the link. The link points at\n`GET /api/v1/studies/{id}/pdf`, which redirects to a short-lived SAS on each visit — the PDF is\nnever a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/studies","href":"/api-reference/studies/create-a-savings-study","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient\\n(shareable link + the PDF attached), and returns the link. The link points at\\n\", _jsx(_components.code, {\n children: \"GET /api/v1/studies/{id}/pdf\"\n }), \", which redirects to a short-lived SAS on each visit — the PDF is\\nnever a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a savings study","description":"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient\n(shareable link + the PDF attached), and returns the link. The link points at\n`GET /api/v1/studies/{id}/pdf`, which redirects to a short-lived SAS on each visit — the PDF is\nnever a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/studies","href":"/api-reference/studies/create-a-savings-study","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cubee/4c874de165da4b0a/script.js"],"openApiReferenceData":{"operation":{"tags":["Studies"],"summary":"Create a savings study","description":"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient\n(shareable link + the PDF attached), and returns the link. The link points at\n`GET /api/v1/studies/{id}/pdf`, which redirects to a short-lived SAS on each visit — the PDF is\nnever a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).","operationId":"Create Study","parameters":["743ac1c9-9819-44be-bda3-7e83396f2365","68c6bcd8-5966-4bee-a3ec-5d2dfe796f1d"],"requestBody":"ea0e242e-e18a-4fb7-801a-5800b6947a18","responses":{"200":"415c0342-c100-4423-ad18-a834d6a9c456","400":"281aff25-8b6d-422f-b2e3-cf223897b208","401":"50480cbc-093a-483c-a416-eb1e8b54a6f2","403":"62914e29-9dd1-40fa-b56e-f4fcf9a0d2c8","500":"4d062265-7423-4d3c-bef1-ec0a1ec814da"},"security":["7b7124d4-9a84-4df1-8bb0-3da5c3625145"],"method":"post","type":"path","servers":["c27d83aa-87d8-4e01-ac6b-be8d3bbfd069"],"path":"/api/v1/studies","baseUrlOptions":["https://api.partner.cubee.cz"],"title":"Create a savings study","codeSamples":[],"requestExampleLanguages":["bash","csharp","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.totalKWp":10,"body.battery.batterySizeKwh":10,"body.battery.reservedBatteryCapacityPercentage":15,"body.distribution.distributor":"CEZ","body.distribution.distributionRate":"D57d","body.distribution.distributorFeeHighPerMWh":2000,"body.distribution.renewableEnergyFeePerMWh":0,"body.distribution.systemServicesFeePerMWh":212,"body.distribution.circuitBreakerMonthlyFee":236,"body.distribution.lowTariffCommand.oneOf.0":"A1B4DP6","body.distribution.lowTariffRegion.oneOf.0":"STRED","body.distribution.distributorFeeLowPerMWh":721,"body.electricityBuyingSettings.oneOf.1.feeType":"PerMWh","body.electricityBuyingSettings.oneOf.1.fee":250,"body.electricityBuyingSettings.oneOf.1.spotPriceMinZero":true,"body.electricityBuyingSettings.oneOf.1.buyingType":"SPOT","body.electricityBuyingSettings.oneOf.1.monthlyFeeCzk":100,"body.electricityBuyingSettings.oneOf.1.vat.oneOf.0":21,"body.recipient.email":"zakaznik@example.cz","body.recipient.name.oneOf.0":"Jan Novák","body.recipient.phone.oneOf.0":"+420601123456","body.recipient.ownsPv.oneOf.0":true,"body.recipient.wantsContact":true,"body.periodType.oneOf.0":"12M","body.yearlyConsumptionKWh":10000,"body.electricitySellingSettings.oneOf.1.feeType":"PerMWh","body.electricitySellingSettings.oneOf.1.fee":250,"body.electricitySellingSettings.oneOf.1.spotPriceMinZero":false,"body.electricitySellingSettings.oneOf.1.sellingType":"SPOT","body.electricitySellingSettings.oneOf.1.monthlyFeeCzk":100,"body.study.label.oneOf.0":"Novákovi — rodinný dům 10 kWp","body.study.address.oneOf.0":"Slunečná 4, Olomouc","body.study.extendedStudy.oneOf.0":true},{"body.totalKWp":7,"body.battery.batterySizeKwh":10,"body.battery.reservedBatteryCapacityPercentage":15,"body.distribution.distributor":"CEZ","body.distribution.distributionRate":"D02d","body.distribution.distributorFeeHighPerMWh":2000,"body.distribution.renewableEnergyFeePerMWh":0,"body.distribution.systemServicesFeePerMWh":212,"body.distribution.circuitBreakerMonthlyFee":236,"body.distribution.distributorFeeLowPerMWh":0,"body.electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMWh":3500,"body.electricityBuyingSettings.oneOf.0.buyingType":"FIX","body.electricityBuyingSettings.oneOf.0.monthlyFeeCzk":100,"body.electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMwhInLowTariff":3500,"body.electricityBuyingSettings.oneOf.0.vat.oneOf.0":21,"body.recipient.email":"zakaznik@example.cz","body.recipient.ownsPv.oneOf.0":false,"body.recipient.wantsContact":true,"body.periodType.oneOf.0":"2025","body.yearlyConsumptionKWh":4000,"body.electricitySellingSettings.oneOf.0.fixedSellPriceCzkPerMWh":500,"body.electricitySellingSettings.oneOf.0.sellingType":"FIX","body.electricitySellingSettings.oneOf.0.monthlyFeeCzk":0,"body.study.label.oneOf.0":"Dvořáková — novostavba, zájem o FVE","body.study.address.oneOf.0":"Polní 12, Kolín"}]},"dependencies":{"parameters":{"743ac1c9-9819-44be-bda3-7e83396f2365":{"name":"X-Cubee-External-User","in":"header","description":"Optional id of the caller's own end-user this study belongs to. Tag studies\n with it to list them back later via `GET /api/v1/studies`. Opaque to Cubee — never send a name or e-mail.","schema":{"type":"string","description":"Optional id of the caller's own end-user this study belongs to. Tag studies\n with it to list them back later via `GET /api/v1/studies`. Opaque to Cubee — never send a name or e-mail.","uniqueKey":"","typeLabel":"string"}},"68c6bcd8-5966-4bee-a3ec-5d2dfe796f1d":{"name":"X-Cubee-Cin","in":"header","description":"Cube IT only. Company identification number (IČO) of the company embedding the calculator, which\nbrands the study (logo + contact) as that partner's instead of generic Cubee. Marks the call as an\nembed: any other token sending it gets 403, and a CIN matching no partner falls back to generic\nCubee branding.","schema":{"type":"string","description":"Cube IT only. Company identification number (IČO) of the company embedding the calculator, which\nbrands the study (logo + contact) as that partner's instead of generic Cubee. Marks the call as an\nembed: any other token sending it gets 403, and a CIN matching no partner falls back to generic\nCubee branding.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"description":"The study inputs plus the recipient's e-mail address.","content":{"application/json":{"schema":{"required":["battery","distribution","electricityBuyingSettings","recipient","totalKWp"],"type":"object","properties":{"totalKWp":{"type":"number","description":"Total installed PV power - kWp.\n \nConstraints:\nThe system currently supports only a single PV array, so this represents the total capacity.\n \nIf you need to create custom production profiles, use the CustomProductionConsumptionData property instead.","format":"float","isRequired":true,"uniqueKey":"totalKWp","typeLabel":"number\u003cfloat>"},"battery":{"required":["batterySizeKwh","reservedBatteryCapacityPercentage"],"type":"object","properties":{"batterySizeKwh":{"type":"number","description":"Battery storage capacity in kilowatt-hours (kWh).","format":"float","isRequired":true,"uniqueKey":"battery.batterySizeKwh","typeLabel":"number\u003cfloat>"},"reservedBatteryCapacityPercentage":{"maximum":100,"minimum":0,"type":"integer","description":"Percentage of battery capacity reserved and not used for optimization (0–100) %.","format":"int32","isRequired":true,"uniqueKey":"battery.reservedBatteryCapacityPercentage","typeLabel":"integer\u003cint32>"},"maximumBatteryChargingPowerWatt":{"oneOf":[{"type":"integer","description":"Maximum power at which the battery can charge, in watts (W).","format":"int32","uniqueKey":"battery.maximumBatteryChargingPowerWatt.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Maximum power at which the battery can charge, in watts (W).","format":"int32","uniqueKey":"battery.maximumBatteryChargingPowerWatt.oneOf.1","typeLabel":"null"}],"uniqueKey":"battery.maximumBatteryChargingPowerWatt","typeLabel":"integer\u003cint32> | null"},"maximumBatteryDischargingPowerWatt":{"oneOf":[{"type":"integer","description":"Maximum power at which the battery can discharge, in watts (W).","format":"int32","uniqueKey":"battery.maximumBatteryDischargingPowerWatt.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Maximum power at which the battery can discharge, in watts (W).","format":"int32","uniqueKey":"battery.maximumBatteryDischargingPowerWatt.oneOf.1","typeLabel":"null"}],"uniqueKey":"battery.maximumBatteryDischargingPowerWatt","typeLabel":"integer\u003cint32> | null"}},"additionalProperties":false,"description":"Configuration of the battery system used in the simulation.","isRequired":true,"uniqueKey":"battery","typeLabel":"object"},"distribution":{"required":["circuitBreakerMonthlyFee","distributionRate","distributor","distributorFeeHighPerMWh","renewableEnergyFeePerMWh","systemServicesFeePerMWh"],"type":"object","properties":{"distributor":{"maxLength":100,"minLength":1,"type":"string","description":"Key identifying the electricity distributor (e.g., CEZ, PRE, EGD).\nValid keys come from `GET /api/v1/reference/distributors`.","isRequired":true,"uniqueKey":"distribution.distributor","typeLabel":"string"},"distributionRate":{"maxLength":50,"minLength":1,"type":"string","description":"Distribution rate (sazba), e.g. \"D02d\", \"D57d\". The calculator resolves it to the correct TDD\nload-profile class. A raw \"TDDx\" value is also accepted for backward compatibility.\nValid rates come from `GET /api/v1/reference/distribution-rates`.","isRequired":true,"uniqueKey":"distribution.distributionRate","typeLabel":"string"},"distributorFeeHighPerMWh":{"type":"number","description":"Fee for distribution during high-tariff periods, in CZK per MWh.\nPrefill from `GET /api/v1/reference/fees` (field `distributorFeeHighPerMWh`).","format":"double","isRequired":true,"uniqueKey":"distribution.distributorFeeHighPerMWh","typeLabel":"number\u003cdouble>"},"renewableEnergyFeePerMWh":{"type":"number","description":"Renewable energy fee applied per MWh, in CZK.\nPrefill from `GET /api/v1/reference/fees` (field `renewableEnergyFeePerMWh`).","format":"double","isRequired":true,"uniqueKey":"distribution.renewableEnergyFeePerMWh","typeLabel":"number\u003cdouble>"},"systemServicesFeePerMWh":{"type":"number","description":"System services fee applied per MWh, in CZK.\nPrefill from `GET /api/v1/reference/fees` (field `systemServicesFeePerMWh`).","format":"double","isRequired":true,"uniqueKey":"distribution.systemServicesFeePerMWh","typeLabel":"number\u003cdouble>"},"circuitBreakerMonthlyFee":{"type":"number","description":"Monthly fee for circuit breaker capacity, in CZK.\nPrefill from `GET /api/v1/reference/circuit-breakers` (field `monthlyFeeCzk` for the chosen breaker size).","format":"double","isRequired":true,"uniqueKey":"distribution.circuitBreakerMonthlyFee","typeLabel":"number\u003cdouble>"},"lowTariffCommand":{"oneOf":[{"maxLength":100,"type":"string","description":"Distributor-defined code used to trigger low-tariff periods.\nOptional — leave null/empty for single-tariff rates (e.g. D01d, D02d, D61d) that have no HDO command.\nValid commands come from `GET /api/v1/reference/distributors/{distributor}/commands`.","uniqueKey":"distribution.lowTariffCommand.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"Distributor-defined code used to trigger low-tariff periods.\nOptional — leave null/empty for single-tariff rates (e.g. D01d, D02d, D61d) that have no HDO command.\nValid commands come from `GET /api/v1/reference/distributors/{distributor}/commands`.","uniqueKey":"distribution.lowTariffCommand.oneOf.1","typeLabel":"null"}],"uniqueKey":"distribution.lowTariffCommand","typeLabel":"string | null"},"lowTariffRegion":{"oneOf":[{"maxLength":100,"type":"string","description":"Optional distributor region key for the low-tariff command (e.g. ČEZ regions).\nNeeded to resolve the correct HDO schedule when the same command exists in multiple regions.\nValid region keys come from `GET /api/v1/reference/distributors/{distributor}/regions`.","uniqueKey":"distribution.lowTariffRegion.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"Optional distributor region key for the low-tariff command (e.g. ČEZ regions).\nNeeded to resolve the correct HDO schedule when the same command exists in multiple regions.\nValid region keys come from `GET /api/v1/reference/distributors/{distributor}/regions`.","uniqueKey":"distribution.lowTariffRegion.oneOf.1","typeLabel":"null"}],"uniqueKey":"distribution.lowTariffRegion","typeLabel":"string | null"},"distributorFeeLowPerMWh":{"type":"number","description":"Fee for distribution during low-tariff periods, in CZK per MWh.\nPrefill from `GET /api/v1/reference/fees` (field `distributorFeeLowPerMWh`).","format":"double","uniqueKey":"distribution.distributorFeeLowPerMWh","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Settings related to the electricity distributor and regulated fees.","isRequired":true,"uniqueKey":"distribution","typeLabel":"object"},"electricityBuyingSettings":{"oneOf":[{"type":"object","title":"FixBuyingSettings","description":"Configuration for electricity purchasing strategy (either fixed or spot-based).","required":["buyingType","monthlyFeeCzk","fixedBuyPriceCzkPerMWh"],"properties":{"fixedBuyPriceCzkPerMWh":{"type":"number","description":"Fixed electricity price in CZK/MWh during high-tariff periods.","format":"double","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMWh","typeLabel":"number\u003cdouble>"},"buyingType":{"minLength":1,"required":["FIX","SPOT"],"type":"string","description":"Type of buying strategy — either \"FIX\" or \"SPOT\".","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.0.buyingType","typeLabel":"string"},"monthlyFeeCzk":{"type":"number","description":"Monthly fixed fee paid to the electricity supplier, in CZK.","format":"double","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.0.monthlyFeeCzk","typeLabel":"number\u003cdouble>"},"fixedBuyPriceCzkPerMwhInLowTariff":{"type":"number","description":"Fixed electricity price in CZK/MWh during low-tariff periods.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMwhInLowTariff","typeLabel":"number\u003cdouble>"},"vat":{"oneOf":[{"type":"number","description":"Value-added tax (VAT) percentage applied to electricity prices. Defaults to 21%.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.0.vat.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Value-added tax (VAT) percentage applied to electricity prices. Defaults to 21%.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.0.vat.oneOf.1","typeLabel":"null"}],"uniqueKey":"electricityBuyingSettings.oneOf.0.vat","typeLabel":"number\u003cdouble> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.0","typeLabel":"FixBuyingSettings · object"},{"type":"object","title":"SpotBuyingSettings","description":"Configuration for electricity purchasing strategy (either fixed or spot-based).","required":["buyingType","monthlyFeeCzk","fee","feeType","spotPriceMinZero"],"properties":{"feeType":{"minLength":1,"required":["Percentage","PerMWh"],"type":"string","description":"Type of fee applied: \"PerMWh\" (fixed amount per energy unit) or \"Percentage\".","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.feeType","typeLabel":"string"},"fee":{"type":"number","description":"Fee amount in CZK or percentage per MWh depending on FeeType.\nFor PerMWh, it's amount in CZK/MWh.\nFor Percentage, it's percentage of the power price of the electricity spot market (0.1 = 10% of power price)","format":"double","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.fee","typeLabel":"number\u003cdouble>"},"spotPriceMinZero":{"type":"boolean","description":"Indicates whether the electricity supplier sets the minimum spot price to 0 CZK if the market price drops below zero.","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.spotPriceMinZero","typeLabel":"boolean"},"buyingType":{"minLength":1,"required":["FIX","SPOT"],"type":"string","description":"Type of buying strategy — either \"FIX\" or \"SPOT\".","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.buyingType","typeLabel":"string"},"monthlyFeeCzk":{"type":"number","description":"Monthly fixed fee paid to the electricity supplier, in CZK.","format":"double","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.monthlyFeeCzk","typeLabel":"number\u003cdouble>"},"vat":{"oneOf":[{"type":"number","description":"Value-added tax (VAT) percentage applied to electricity prices. Defaults to 21%.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.1.vat.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Value-added tax (VAT) percentage applied to electricity prices. Defaults to 21%.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.1.vat.oneOf.1","typeLabel":"null"}],"uniqueKey":"electricityBuyingSettings.oneOf.1.vat","typeLabel":"number\u003cdouble> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1","typeLabel":"SpotBuyingSettings · object"}],"isRequired":true,"uniqueKey":"electricityBuyingSettings","typeLabel":"FixBuyingSettings · object | SpotBuyingSettings · object"},"recipient":{"required":["email"],"type":"object","properties":{"email":{"maxLength":254,"minLength":1,"type":"string","description":"Recipient e-mail address.","format":"email","isRequired":true,"uniqueKey":"recipient.email","typeLabel":"string\u003cemail>"},"name":{"oneOf":[{"maxLength":200,"type":"string","description":"The recipient's full name (optional). Used to name the customer in Cubee's CRM; when absent the\ne-mail address stands in. Not printed on the study — the cover uses `study.label`.","uniqueKey":"recipient.name.oneOf.0","typeLabel":"string"},{"maxLength":200,"type":"null","description":"The recipient's full name (optional). Used to name the customer in Cubee's CRM; when absent the\ne-mail address stands in. Not printed on the study — the cover uses `study.label`.","uniqueKey":"recipient.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"recipient.name","typeLabel":"string | null"},"phone":{"oneOf":[{"maxLength":30,"type":"string","description":"The recipient's phone number (optional). CRM contact detail only; never printed on the study.","uniqueKey":"recipient.phone.oneOf.0","typeLabel":"string"},{"maxLength":30,"type":"null","description":"The recipient's phone number (optional). CRM contact detail only; never printed on the study.","uniqueKey":"recipient.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"recipient.phone","typeLabel":"string | null"},"ownsPv":{"oneOf":[{"type":"boolean","description":"Whether the customer already owns the PV plant. `true` (the default when absent): the study\ncompares Cubee against the customer's ordinary PV. `false`: the partner is offering PV +\nCubee to a prospect with no panels — the study compares the whole offer against having no panels\nand omits payback.","uniqueKey":"recipient.ownsPv.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the customer already owns the PV plant. `true` (the default when absent): the study\ncompares Cubee against the customer's ordinary PV. `false`: the partner is offering PV +\nCubee to a prospect with no panels — the study compares the whole offer against having no panels\nand omits payback.","uniqueKey":"recipient.ownsPv.oneOf.1","typeLabel":"null"}],"uniqueKey":"recipient.ownsPv","typeLabel":"boolean | null"},"wantsContact":{"type":"boolean","description":"Whether the customer agreed to a follow-up contact (the wizard's optional consent step).\nDefaults to `true`; send `false` when the person declined — no CRM record is created\nthen. Only studies from Cubee's own web/embed flow ever create Cubee CRM records; a partner's\nAPI studies never do, so for partners this field is informative.","uniqueKey":"recipient.wantsContact","typeLabel":"boolean"}},"additionalProperties":false,"description":"The customer the study is for — delivery address and CRM contact details.","isRequired":true,"uniqueKey":"recipient","typeLabel":"object"},"periodType":{"oneOf":[{"required":["12M","2024","2025"],"type":"string","description":"Type of time period to evaluate — a specific year like \"2024\", \"2025\", or the rolling range \"12M\"\n(last 12 completed months). Accepted values come from `GET /api/v1/reference/periods`.\n \nOptional: leave it null and set `from` + `to` instead to evaluate an explicit date range.\nWhen both `from` and `to` are provided this field is ignored. Exactly one of\n{ periodType } or { from + to } must be supplied.","uniqueKey":"periodType.oneOf.0","typeLabel":"string"},{"required":["12M","2024","2025"],"type":"null","description":"Type of time period to evaluate — a specific year like \"2024\", \"2025\", or the rolling range \"12M\"\n(last 12 completed months). Accepted values come from `GET /api/v1/reference/periods`.\n \nOptional: leave it null and set `from` + `to` instead to evaluate an explicit date range.\nWhen both `from` and `to` are provided this field is ignored. Exactly one of\n{ periodType } or { from + to } must be supplied.","uniqueKey":"periodType.oneOf.1","typeLabel":"null"}],"uniqueKey":"periodType","typeLabel":"string | null"},"from":{"oneOf":[{"type":"string","description":"Optional explicit start of the evaluation period (date only, inclusive), e.g. \"2025-01-01\". Must be set\ntogether with `to`. When both are set, `periodType` is ignored — this lets you pin the exact\nwindow a study was computed over (e.g. a \"last 12 months\" run) so it can be reproduced later. The range\nmust fall within the available data window (see the 400 response for the allowed bounds).","format":"date","uniqueKey":"from.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","description":"Optional explicit start of the evaluation period (date only, inclusive), e.g. \"2025-01-01\". Must be set\ntogether with `to`. When both are set, `periodType` is ignored — this lets you pin the exact\nwindow a study was computed over (e.g. a \"last 12 months\" run) so it can be reproduced later. The range\nmust fall within the available data window (see the 400 response for the allowed bounds).","format":"date","uniqueKey":"from.oneOf.1","typeLabel":"null"}],"uniqueKey":"from","typeLabel":"string\u003cdate> | null"},"to":{"oneOf":[{"type":"string","description":"Optional explicit end of the evaluation period (date only, inclusive), e.g. \"2025-12-31\". Must be set\ntogether with `from`. The whole day is included. A full calendar year (from = Jan 1, to = Dec 31)\nyields the same result as the matching `periodType` year.","format":"date","uniqueKey":"to.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","description":"Optional explicit end of the evaluation period (date only, inclusive), e.g. \"2025-12-31\". Must be set\ntogether with `from`. The whole day is included. A full calendar year (from = Jan 1, to = Dec 31)\nyields the same result as the matching `periodType` year.","format":"date","uniqueKey":"to.oneOf.1","typeLabel":"null"}],"uniqueKey":"to","typeLabel":"string\u003cdate> | null"},"yearlyConsumptionKWh":{"type":"number","description":"Estimated total annual electricity consumption of the household in kilowatt-hours (kWh).","format":"float","uniqueKey":"yearlyConsumptionKWh","typeLabel":"number\u003cfloat>"},"electricitySellingSettings":{"oneOf":[{"type":"object","title":"FixSellingSettings","description":"Configuration for electricity selling strategy (if can't sell, set null).","required":["monthlyFeeCzk","sellingType","fixedSellPriceCzkPerMWh"],"properties":{"fixedSellPriceCzkPerMWh":{"type":"number","description":"Fixed electricity selling price in CZK/MWh.","format":"double","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.0.fixedSellPriceCzkPerMWh","typeLabel":"number\u003cdouble>"},"sellingType":{"minLength":1,"required":["FIX","SPOT"],"type":"string","description":"Type of selling strategy — either \"FIX\" or \"SPOT\".","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.0.sellingType","typeLabel":"string"},"monthlyFeeCzk":{"type":"number","description":"Monthly fixed fee paid to the aggregator/seller, in CZK.","format":"double","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.0.monthlyFeeCzk","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"electricitySellingSettings.oneOf.0","typeLabel":"FixSellingSettings · object"},{"type":"object","title":"SpotSellingSettings","description":"Configuration for electricity selling strategy (if can't sell, set null).","required":["monthlyFeeCzk","sellingType","fee","feeType","spotPriceMinZero"],"properties":{"feeType":{"minLength":1,"required":["Percentage","PerMWh"],"type":"string","description":"Type of fee applied: \"PerMWh\" (fixed amount per energy unit) or \"Percentage\".","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.feeType","typeLabel":"string"},"fee":{"type":"number","description":"Fee amount in CZK or percentage per MWh depending on FeeType.\nFor PerMWh, it's amount in CZK/MWh.\nFor Percentage, it's percentage of the power price of the electricity spot market (0.1 = 10% of power price)","format":"double","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.fee","typeLabel":"number\u003cdouble>"},"spotPriceMinZero":{"type":"boolean","description":"Indicates whether the electricity supplier sets the minimum spot price to 0 CZK if the market price drops below zero.","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.spotPriceMinZero","typeLabel":"boolean"},"sellingType":{"minLength":1,"required":["FIX","SPOT"],"type":"string","description":"Type of selling strategy — either \"FIX\" or \"SPOT\".","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.sellingType","typeLabel":"string"},"monthlyFeeCzk":{"type":"number","description":"Monthly fixed fee paid to the aggregator/seller, in CZK.","format":"double","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.monthlyFeeCzk","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"electricitySellingSettings.oneOf.1","typeLabel":"SpotSellingSettings · object"},{"type":"null","uniqueKey":"electricitySellingSettings.oneOf.2","typeLabel":"null"}],"uniqueKey":"electricitySellingSettings","typeLabel":"FixSellingSettings · object | SpotSellingSettings · object | null"},"customProductionConsumptionData":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"time":{"type":"string","description":"Timestamp of the data point in ISO 8601 format.","format":"date-time","uniqueKey":"customProductionConsumptionData.oneOf.0.items.[INDEX].time","typeLabel":"string\u003cdate-time>"},"productionWh":{"type":"integer","description":"Production of energy from the PV system in watt-hours (Wh).","format":"int32","uniqueKey":"customProductionConsumptionData.oneOf.0.items.[INDEX].productionWh","typeLabel":"integer\u003cint32>"},"consumptionWh":{"type":"integer","description":"Consumption of energy by the household in watt-hours (Wh).","format":"int32","uniqueKey":"customProductionConsumptionData.oneOf.0.items.[INDEX].consumptionWh","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"uniqueKey":"customProductionConsumptionData.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Optional custom production and consumption data for more accurate modeling.\n \nThis is not required; if not provided, the model will use default estimations based on\nTotalKWp and YearlyConsumptionKWh.\n \nModel requires 1 hour granularity data for the entire period specified in PeriodType.","uniqueKey":"customProductionConsumptionData.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"time":{"type":"string","description":"Timestamp of the data point in ISO 8601 format.","format":"date-time"},"productionWh":{"type":"integer","description":"Production of energy from the PV system in watt-hours (Wh).","format":"int32"},"consumptionWh":{"type":"integer","description":"Consumption of energy by the household in watt-hours (Wh).","format":"int32"}},"additionalProperties":false},"description":"Optional custom production and consumption data for more accurate modeling.\n \nThis is not required; if not provided, the model will use default estimations based on\nTotalKWp and YearlyConsumptionKWh.\n \nModel requires 1 hour granularity data for the entire period specified in PeriodType.","uniqueKey":"customProductionConsumptionData.oneOf.1","typeLabel":"null"}],"uniqueKey":"customProductionConsumptionData","typeLabel":"object[] | null"},"study":{"type":"object","properties":{"label":{"oneOf":[{"maxLength":120,"type":"string","description":"Free-form label naming the study, printed on the cover (optional). Max 120 characters —\n enough for two cover lines; longer labels stop being a label.","uniqueKey":"study.label.oneOf.0","typeLabel":"string"},{"maxLength":120,"type":"null","description":"Free-form label naming the study, printed on the cover (optional). Max 120 characters —\n enough for two cover lines; longer labels stop being a label.","uniqueKey":"study.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"study.label","typeLabel":"string | null"},"address":{"oneOf":[{"maxLength":200,"type":"string","description":"Site address printed on the cover (optional). Max 200 characters.","uniqueKey":"study.address.oneOf.0","typeLabel":"string"},{"maxLength":200,"type":"null","description":"Site address printed on the cover (optional). Max 200 characters.","uniqueKey":"study.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"study.address","typeLabel":"string | null"},"extendedStudy":{"oneOf":[{"type":"boolean","description":"Whether to generate the EXTENDED study or a shortened one. `true` (default): the complete\ndocument. `false`: a shorter version that omits reference/methodology pages (currently the\n\"Metodologie a omezení\" page). The headline figures and the with-fees totals are identical either way.","uniqueKey":"study.extendedStudy.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether to generate the EXTENDED study or a shortened one. `true` (default): the complete\ndocument. `false`: a shorter version that omits reference/methodology pages (currently the\n\"Metodologie a omezení\" page). The headline figures and the with-fees totals are identical either way.","uniqueKey":"study.extendedStudy.oneOf.1","typeLabel":"null"}],"uniqueKey":"study.extendedStudy","typeLabel":"boolean | null"}},"additionalProperties":false,"description":"Customer details shown on the study cover.","uniqueKey":"study","typeLabel":"object"}},"additionalProperties":false,"description":"The savings-study PDF request, delivered as an e-mail with the PDF attached.","uniqueKey":"","typeLabel":"object"},"examples":{"existing-owner":{"title":"existing-owner","summary":"Existing FVE owner, e-mailed to the customer","value":{"study":{"label":"Novákovi — rodinný dům 10 kWp","address":"Slunečná 4, Olomouc","extendedStudy":true},"periodType":"12M","yearlyConsumptionKWh":10000,"totalKWp":10,"battery":{"batterySizeKwh":10,"reservedBatteryCapacityPercentage":15},"distribution":{"distributor":"CEZ","distributionRate":"D57d","lowTariffCommand":"A1B4DP6","lowTariffRegion":"STRED","distributorFeeHighPerMWh":2000,"distributorFeeLowPerMWh":721,"renewableEnergyFeePerMWh":0,"systemServicesFeePerMWh":212,"circuitBreakerMonthlyFee":236},"electricityBuyingSettings":{"feeType":"PerMWh","fee":250,"spotPriceMinZero":true,"buyingType":"SPOT","monthlyFeeCzk":100,"vat":21},"electricitySellingSettings":{"feeType":"PerMWh","fee":250,"spotPriceMinZero":false,"sellingType":"SPOT","monthlyFeeCzk":100},"recipient":{"email":"zakaznik@example.cz","name":"Jan Novák","phone":"+420601123456","ownsPv":true,"wantsContact":true}}},"prospect":{"title":"prospect","summary":"Prospect without panels (FVE + Cubee offer)","value":{"study":{"label":"Dvořáková — novostavba, zájem o FVE","address":"Polní 12, Kolín"},"periodType":"2025","yearlyConsumptionKWh":4000,"totalKWp":7,"battery":{"batterySizeKwh":10,"reservedBatteryCapacityPercentage":15},"distribution":{"distributor":"CEZ","distributionRate":"D02d","distributorFeeHighPerMWh":2000,"distributorFeeLowPerMWh":0,"renewableEnergyFeePerMWh":0,"systemServicesFeePerMWh":212,"circuitBreakerMonthlyFee":236},"electricityBuyingSettings":{"fixedBuyPriceCzkPerMWh":3500,"fixedBuyPriceCzkPerMwhInLowTariff":3500,"buyingType":"FIX","monthlyFeeCzk":100,"vat":21},"electricitySellingSettings":{"fixedSellPriceCzkPerMWh":500,"sellingType":"FIX","monthlyFeeCzk":0},"recipient":{"email":"zakaznik@example.cz","ownsPv":false,"wantsContact":true}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"415c0342-c100-4423-ad18-a834d6a9c456":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The calculation id (also the blob name).","format":"uuid","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"url":{"oneOf":[{"type":"string","description":"Absolute URL of the public broker endpoint that redirects to a short-lived SAS.","example":"https://api.partner.cubee.cz/api/v1/studies/3fa85f64-5717-4562-b3fc-2c963f66afa6/pdf","uniqueKey":"url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Absolute URL of the public broker endpoint that redirects to a short-lived SAS.","example":"https://api.partner.cubee.cz/api/v1/studies/3fa85f64-5717-4562-b3fc-2c963f66afa6/pdf","uniqueKey":"url.oneOf.1","typeLabel":"null"}],"uniqueKey":"url","typeLabel":"string | null"},"emailSent":{"type":"boolean","description":"`true` if the e-mail was sent; `false` if e-mail is disabled or sending failed (PDF is still stored and reachable via Url).","example":true,"uniqueKey":"emailSent","typeLabel":"boolean"}},"additionalProperties":false,"description":"Result of creating a study: the stored PDF's link plus whether the e-mail actually went out.","uniqueKey":"","typeLabel":"object"},"example":{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","url":"https://api.partner.cubee.cz/api/v1/studies/3fa85f64-5717-4562-b3fc-2c963f66afa6/pdf","emailSent":true},"examples":{"Example":{"title":"Example","value":{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","url":"https://api.partner.cubee.cz/api/v1/studies/3fa85f64-5717-4562-b3fc-2c963f66afa6/pdf","emailSent":true}}},"exampleType":"examples"}},"exampleType":"examples"},"281aff25-8b6d-422f-b2e3-cf223897b208":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.0.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.1.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.instance","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.errors","typeLabel":"object | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"50480cbc-093a-483c-a416-eb1e8b54a6f2":{"description":"Unauthorized","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.0.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.1.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.instance","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.errors","typeLabel":"object | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"62914e29-9dd1-40fa-b56e-f4fcf9a0d2c8":{"description":"Forbidden","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.0.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.1.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.instance","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.errors","typeLabel":"object | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4d062265-7423-4d3c-bef1-ec0a1ec814da":{"description":"Internal Server Error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"7b7124d4-9a84-4df1-8bb0-3da5c3625145":{"bearerAuth":{"type":"http","description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c27d83aa-87d8-4e01-ac6b-be8d3bbfd069":{"url":"https://api.partner.cubee.cz","description":"Partnerý API server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/swagger-partner.json"},"subdomain":"cubee","siteName":"Cubee dokumentace","title":"Create a savings study - Cubee dokumentace","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T11:04:38.357Z","originalFileLocation":"api-reference/studies/create-a-savings-study.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient (shareable link + the PDF attached), and returns the link. The link points at GET /api/v1/studies/{id}/pdf, which redirects to a short-lived SAS on each visit — the PDF is never a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cubee dokumentace\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a savings study - Cubee dokumentace\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient (shareable link + the PDF attached), and returns the link. The link points at GET /api/v1/studies/{id}/pdf, which redirects to a short-lived SAS on each visit — the PDF is never a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cubee dokumentace\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cubee.mintlify.site/_mintlify/api/og/v2?division=Studies\u0026amp;title=Create+a+savings+study\u0026amp;description=Generates+the+customer-facing+savings-study+PDF%2C+stores+it+privately%2C+e-mails+it+to+the+recipient%0A%28shareable+link+%2B+the+PDF+attached%29%2C+and+returns+the+link.+The\u0026amp;theme=7ad2798ce12c188bbeadb3a5\u0026amp;signature=ec5ea9c5c4694a278bcf4c24c9626da2cd820ebe7cd8abb3042eb18dd89d0930\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a savings study - Cubee dokumentace\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient (shareable link + the PDF attached), and returns the link. The link points at GET /api/v1/studies/{id}/pdf, which redirects to a short-lived SAS on each visit — the PDF is never a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cubee.mintlify.site/_mintlify/api/og/v2?division=Studies\u0026amp;title=Create+a+savings+study\u0026amp;description=Generates+the+customer-facing+savings-study+PDF%2C+stores+it+privately%2C+e-mails+it+to+the+recipient%0A%28shareable+link+%2B+the+PDF+attached%29%2C+and+returns+the+link.+The\u0026amp;theme=7ad2798ce12c188bbeadb3a5\u0026amp;signature=ec5ea9c5c4694a278bcf4c24c9626da2cd820ebe7cd8abb3042eb18dd89d0930\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cubee dokumentace\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/studies/create-a-savings-study.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://podpora.cubee.cz/#organization\",\"name\":\"Cubee dokumentace\",\"url\":\"https://podpora.cubee.cz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cubee/_K1pnXkKeN0h36y4/logo/cubee-logo-light.svg?fit=max\u0026auto=format\u0026n=_K1pnXkKeN0h36y4\u0026q=85\u0026s=2f25a1c5b84a22d061493953cb95dc00\"}},{\"@type\":\"WebSite\",\"@id\":\"https://podpora.cubee.cz#website\",\"name\":\"Cubee dokumentace\",\"url\":\"https://podpora.cubee.cz\",\"publisher\":{\"@id\":\"https://podpora.cubee.cz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study#webpage\",\"url\":\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study\",\"name\":\"Create a savings study\",\"description\":\"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient (shareable link + the PDF attached), and returns the link. The link points at GET /api/v1/studies/{id}/pdf, which redirects to a short-lived SAS on each visit — the PDF is never a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).\",\"dateModified\":\"2026-11-09T11:04:38.357Z\",\"isPartOf\":{\"@id\":\"https://podpora.cubee.cz#website\"},\"breadcrumb\":{\"@id\":\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://podpora.cubee.cz/api-reference/aggregated-data/aggregated-electricity-prices\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Studies\",\"item\":\"https://podpora.cubee.cz/api-reference/studies/list-studies\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a savings study\",\"item\":\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study#apireference\",\"headline\":\"Create a savings study\",\"name\":\"Create a savings study\",\"description\":\"Generates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient (shareable link + the PDF attached), and returns the link. The link points at GET /api/v1/studies/{id}/pdf, which redirects to a short-lived SAS on each visit — the PDF is never a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).\",\"url\":\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study\",\"mainEntityOfPage\":{\"@id\":\"https://podpora.cubee.cz/api-reference/studies/create-a-savings-study#webpage\"},\"dateModified\":\"2026-11-09T11:04:38.357Z\",\"publisher\":{\"@id\":\"https://podpora.cubee.cz/#organization\"},\"isPartOf\":{\"@id\":\"https://podpora.cubee.cz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cubee dokumentace\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cubee dokumentace\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/studies/create-a-savings-study.md","siteName":"Cubee dokumentace","nav":{"global":{"anchors":[{"anchor":"Cubee Web","icon":"book-open-cover","href":"https://cubee.cz"},{"anchor":"Blog","icon":"newspaper","href":"https://cubee.cz/blog"},{"anchor":"Kalkulace úspor","icon":"calculator","href":"https://cubee.cz/kalkulacka"}]},"tabs":[{"tab":"Podpora k zařízením Cubee","pages":[{"title":"Podpora k zařízením Cubee","href":"/introduction"}]},{"tab":"Partner","groups":[{"group":"Začínáme","pages":[{"title":"Začínáme","icon":"brake-warning","href":"/partner/introduction"}]},{"group":"Kalkulačka","pages":[{"title":"Kalkulačka na váš web","icon":"brake-warning","href":"/partner/calculator"},{"title":"Jak kalkulátor funguje","icon":"calculator","href":"/partner/calculator-description"},{"title":"Číselníky pro kalkulačku","icon":"list","href":"/partner/calculator-reference-data"},{"title":"Uložené studie zákazníka","icon":"folder-open","href":"/partner/saved-calculations"}]},{"group":"Endpoints","pages":[{"group":"Aggregated Data","pages":[{"title":"Aggregated electricity prices","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json get /api/v1/aggregated-data/aggregated-prices","href":"/api-reference/aggregated-data/aggregated-electricity-prices"}]},{"group":"Authentication","pages":[{"title":"Refresh JWT access token","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/auth","href":"/api-reference/authentication/refresh-jwt-access-token"}]},{"group":"Calculator","pages":[{"title":"Savings calculator","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v2/savings-calculator","href":"/api-reference/calculator/savings-calculator"}]},{"group":"CalculatorControllerV1","pages":[]},{"group":"InvoiceExtraction","pages":[{"title":"Extract invoice data","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/invoice-extraction","href":"/api-reference/invoiceextraction/extract-invoice-data"},{"title":"Check if a PDF is an invoice","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/invoice-extraction/validate","href":"/api-reference/invoiceextraction/check-if-a-pdf-is-an-invoice"}]},{"group":"Public","pages":[]},{"group":"Reference data","pages":[{"title":"Get distributors","deprecated":null,"version":null,"sidebarTitle":"Distributors","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distributors","href":"/api-reference/calculator/get-distributors"},{"title":"Get distribution rates","deprecated":null,"version":null,"sidebarTitle":"Distribution rates","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distribution-rates","href":"/api-reference/calculator/get-distribution-rates"},{"title":"Get HDO regions","deprecated":null,"version":null,"sidebarTitle":"HDO regions","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distributors/{distributor}/regions","href":"/api-reference/calculator/get-hdo-regions"},{"title":"Get HDO commands","deprecated":null,"version":null,"sidebarTitle":"HDO commands","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distributors/{distributor}/commands","href":"/api-reference/calculator/get-hdo-commands"},{"title":"Get HDO command schedule","deprecated":null,"version":null,"sidebarTitle":"HDO command schedule","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distributors/{distributor}/commands/{command}/periods","href":"/api-reference/calculator/get-hdo-command-schedule"},{"title":"Get fee baseline","deprecated":null,"version":null,"sidebarTitle":"Fee baseline","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/fees","href":"/api-reference/calculator/get-fee-baseline"},{"title":"Get circuit breakers","deprecated":null,"version":null,"sidebarTitle":"Circuit breakers","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/circuit-breakers","href":"/api-reference/calculator/get-circuit-breakers"},{"title":"Get consumption profile","deprecated":null,"version":null,"sidebarTitle":"Consumption profile","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/consumption-profile","href":"/api-reference/calculator/get-consumption-profile"},{"title":"Get periods","deprecated":null,"version":null,"sidebarTitle":"Periods","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/periods","href":"/api-reference/calculator/get-periods"}]},{"group":"Studies","pages":[{"title":"List the partner's studies","description":"Returns the studies the calling API key's partner generated, newest first. Without parameters\nthis is the partner's whole history; narrow it with `externalUserId` (the id the study was\ntagged with via the `X-Cubee-External-User` header — how an integrating site shows one\nend-user their own history) and/or a `from`/`to` date range (inclusive, on the\ngeneration date). Results are always scoped to the calling partner, so a caller only ever sees\nstudies it created. Each item links to `GET /api/v1/studies/{id}/pdf` and carries the study's\nlabel, recipient, origin and end-user tag so a partner-wide list is tellable apart. Redacted\nstudies are included with `redactedAt` set — their personal fields are erased and\n`url` is null (the stored PDF is deleted on redaction).","deprecated":null,"version":null,"sidebarTitle":"List studies","openapi":"/api-reference/swagger-partner.json get /api/v1/studies","href":"/api-reference/studies/list-studies"},{"title":"Create a savings study","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/studies","href":"/api-reference/studies/create-a-savings-study"},{"title":"Get a study","description":"One study in full: the summary fields plus the stored request (`input`) and computed study\n(`result`) exactly as audited — note the documents can be large when the request embedded\ncustom hourly data. Partner-scoped like the list. Redacted studies return with `redactedAt`\nset, the personal values scrubbed out of both documents, and no link. The PDF itself is at\n`GET /api/v1/studies/{id}/pdf`.","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json get /api/v1/studies/{id}","href":"/api-reference/studies/get-a-study"},{"title":"Open a study PDF","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json get /api/v1/studies/{id}/pdf","href":"/api-reference/studies/open-a-study-pdf"},{"title":"Redact a study (GDPR)","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/studies/{id}/redact","href":"/api-reference/studies/redact-a-study-gdpr"}]}]}]},{"tab":"Přehled změn","pages":[{"title":"Přehled změn","href":"/changelog/mobile-app"}]}]},"basePath":"","title":"Create a savings study - Cubee dokumentace","deploymentId":"dpl_BzgRxZmUbhHRoPLkBx1DiVRSyQhV","buildId":"dpl_BzgRxZmUbhHRoPLkBx1DiVRSyQhV","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CtBVvVHw.js","snippetPresets-9Wdj1iJX.js","utils-C7pdn048.js","style-to-object-BY3JEAdk.js","utils-DXrrd362.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-mhMleBMB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BAjduu_G.js","_Uint8Array-nYbT9fMe.js","isObject-FP1Yky1u.js","ApiExamples-B_rQ3sQn.js","usePlaygroundInputsStore-1axgsDkN.js","shallow-BzGYy3WT.js","isEqual-YKdP-BC9.js","CodeSnippets-Bnk9aSsZ.js","CodeSnippet-CpmxV9bB.js","getApiPlaygroundDisplay-bJKEwju4.js","Page-B3Xw2AdP.js","DynamicMarkdown-hgwwGkem.js","SectionHeading-D_cNZKTp.js","icon-Bt9132nT.js","MethodPill-bMPQiifO.js","getPastedJson-B4rstRhU.js","Check2Icon-D82b8qKN.js","axios-CsQoIw0U.js","Markdown-0sfW67Ea.js","AssistantPageLink-B0docfb1.js","dist-DAabPqRJ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}