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
- Enter renewalCharge, creditAmount. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| renewalCharge | Renewal Charge | Required. Finite number; minimum 0. |
| creditAmount | Credit Amount | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| amountDue | Amount Due | Required. Finite number. |
| excessCredit | Excess Credit | Required. Finite number. |
{
"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
Similar or alternative tools
- Return Restocking Fee Base
Subtract excludedValue from returnedGoodsValue for feeBase.
- Simple Cash Breakeven Unit Margin
Divide fixed cost by the positive unit margin for breakEvenUnits.