Welcome to Zuora Product Documentation

Explore our rich library of product information

Calculation logic and examples for Calculated Charges

This article explains the logic that calculates invoice amounts for calculated charges, including the effect of minimum and maximum fee thresholds.

This calculation process identifies eligible invoice items based on configured conditions, sums their amounts, calculates a percentage-based value, and then applies any defined minimum and maximum limits.

Example 1: Percentage above minimum, no maximum

  • Total contributing amount in the period: 13,500

  • Percentage: 25%

  • Minimum amount: 100

  • Maximum amount: not set

Calculation:
  • Percentage-based amount = 13,500 × 25% = 3,375

  • 3,375 > 100 (minimum), so invoice amount = 3,375

Calculated Charge example1

Example 2: Percentage below minimum

  • Total contributing amount in the period: 100

  • Percentage: 25%

  • Minimum amount: 100

  • Maximum amount: not set

Calculation:
  • Percentage-based amount = 100 × 25% = 25

  • 25 < 100 (minimum), so invoice amount = 100

Even if contributing charges total 50 or 100, the calculated invoice item still shows 100 when a minimum of 100 is configured.
Calculated Charge example2

Example 3: Percentage above maximum (cap applied)

  • Total contributing amount in the period: 13,500

  • Percentage: 25%

  • Minimum amount: 100

  • Maximum amount: 3,000

Calculation:
  • Percentage-based amount = 13,500 × 25% = 3,375

  • 3,375 > 3,000 (maximum), so invoice amount = 3,000

The maximum acts as a cap; the amount does not exceed 3,000 even if spend grows further.
Calculated Charge example3