Skip to content

Main content

Subscription Renewal Credit Tool

Apply a recorded credit to one renewal charge and preserve any excess balance.

Loading tool…

Description

Subtract creditAmount from renewalCharge with a zero floor for amountDue and return the reverse excess with a zero floor as excessCredit.

Fixed and percentage discounts act differently and may produce different prices when their order changes. Threshold pricing also depends on whether a new rate applies to all units.

Subtract creditAmount from renewalCharge with a zero floor for amountDue and return the reverse excess with a zero floor as excessCredit.

When to use this tool

Use Subscription Renewal Credit when you need a transparent promotional price or eligibility term.

How to use the tool and how it works

  1. Enter renewalCharge, creditAmount. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read amountDue, excessCredit. Use the output convention below.

Subtract creditAmount from renewalCharge with a zero floor for amountDue and return the reverse excess with a zero floor as excessCredit.1

Input fieldMeaning and unitsAccepted input
renewalChargeRenewal ChargeRequired. Finite number; minimum 0.
creditAmountCredit AmountRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
amountDueAmount DueRequired. Finite number.
excessCreditExcess CreditRequired. Finite number.
json
{
  "input": {
    "renewalCharge": 100,
    "creditAmount": 25
  },
  "output": {
    "amountDue": 75,
    "excessCredit": 0
  }
}

Limitations and assumptions

  • This uses supplied amounts on one currency basis without contract interpretation, taxes, credit expiry, or monetary rounding.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Check actual offer terms, item eligibility, taxes, and monetary rounding before applying a computed price.

References

  1. Calculation and input contract: marketing/subscription-renewal-credit — tool.io

Similar or alternative tools