Authorizations
Token-based authentication with required prefix "Token"
Body
Main request serializer for the advanced calculate endpoint
Single tariff ID with tar_ prefix (e.g., tar_123)
Start of the calculation period (e.g., '2025-01-01T00:00:00Z')
End of the calculation period (e.g., '2025-01-31T23:59:59Z'). Maximum 1 month from period_start.
Full address (required unless latitude/longitude are provided)
Latitude coordinate (must be used together with longitude). Cannot be used with address.
Longitude coordinate (must be used together with latitude). Cannot be used with address.
ID of a saved Location object. If provided, country/address/coordinates are not required.
Country code of the requested location. Required when using address or coordinates. Not required when using location_id (location's country will be used).
AT
- Austria (AT)DK
- Denmark (DK)FI
- Finland (FI)DE
- Germany (DE)GB
- Great Britain (GB)NO
- Norway (NO)RO
- Romania (RO)ES
- Spain (ES)SE
- Sweden (SE)
AT
, DK
, FI
, DE
, GB
, NO
, RO
, ES
, SE
Array of component types to include in calculation. Valid types: KWH, FIXED, CAPACITY, DEMAND, REACTIVE, EXCESS, TAX. If empty or not provided, all component types will be included.
Array of specific component IDs to include in calculation, with com_ prefix (e.g., ['com_123', 'com_456']). Only components belonging to the specified tariff are allowed. If empty or not provided, all components (filtered by component_types if specified) will be included.
Array of component-level inputs
How VAT should be handled in the response.
excluded
- VAT Excluded (default)included
- VAT included in each component
excluded
, included
Whether to prorate FIXED component costs based on the requested period duration. If false (default), charges whole periods that fall within the requested timeframe. If true, calculates proportional cost based on actual period duration.