Skip to content

Main content

Customs Discount Dutiable Base Flag Tool

Caller-selected valuation components only, without determining customs law or classification.

Loading tool…

Description

Subtract discount from invoiceValue only when discountAllowed, then add freight only when freightIncluded.

A tax or rebate calculation depends on a valuation base, fractional rate, sequencing, and explicit inclusions or exclusions. Those inputs must come from the applicable jurisdiction and transaction rules.

Subtract discount from invoiceValue only when discountAllowed, then add freight only when freightIncluded.

When to use this tool

Use Customs Discount Dutiable Base Flag when you need a supplied-rule tax-base or payment component.

How to use the tool and how it works

  1. Enter invoiceValue, discount, freight, discountAllowed, freightIncluded. 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 base. Use the output convention below.

Subtract discount from invoiceValue only when discountAllowed, then add freight only when freightIncluded.1

Input fieldMeaning and unitsAccepted input
invoiceValueInvoice ValueRequired. Finite number; minimum 0.
discountDiscountRequired. Finite number; minimum 0.
freightFreightRequired. Finite number; minimum 0.
discountAllowedDiscount AllowedRequired. Boolean.
freightIncludedFreight IncludedRequired. Boolean.
Output fieldInterpretationReturned shape
baseNumeric base or source quantity interpreted under the specific calculation above.Required. Finite number.
json
{
  "input": {
    "invoiceValue": 100,
    "discount": 10,
    "freight": 20,
    "discountAllowed": true,
    "freightIncluded": true
  },
  "output": {
    "base": 110
  }
}

Limitations and assumptions

  • Discount is bounded by invoice value; the flags express supplied assumptions rather than legally approved customs treatment.
  • 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

Verify current jurisdictional treatment and transaction facts with a qualified tax or customs professional.

References

  1. Calculation and input contract: international-business/customs-discount-dutiable-base-flag — tool.io

Similar or alternative tools