Skip to main content
Restricted Access: This endpoint is available only to authorized users. Contact support@prezio.com if you’re interested in accessing formula-based calculation capabilities.
The /formulas/ endpoint handles advanced formula-based tariff calculations that require specific computational logic, such as peak power pricing based on consumption profiles over extended periods.

Endpoint Overview

POST /formulas/

Key Features

Peak Power Calculations

Calculate prices based on top-n peak consumption periods over defined timeframes (e.g., monthly).

Profile-Based Pricing

Handle tariffs that require analysis of complete consumption profiles for accurate pricing.

Custom Formula Support

Execute complex pricing formulas tailored to specific tariff structures and regulatory requirements.

Use Cases

Formula-based calculations are essential for tariffs that require:
  • Peak demand analysis: Identifying and pricing based on the highest consumption periods
  • Rolling averages: Calculating prices from consumption patterns over time windows
  • Conditional pricing: Applying different rates based on historical usage patterns
  • Regulatory formulas: Implementing country-specific pricing calculations mandated by authorities

Getting Started

Contact us: This endpoint requires special authorization and configuration. Contact support@prezio.com for:
  • Access authorization and API credentials
  • Detailed formula documentation and implementation guidance
  • Custom formula configuration for your specific tariff requirements
  • Integration assistance and best practices
  • Live demo of formula-based calculation capabilities
Formula-based calculations are typically used in advanced pricing scenarios where standard calculation methods are insufficient. Our team will work with you to determine if this endpoint is necessary for your use case.