Mayson Monorepo Documentation
    Preparing search index...

    Tax rates can be applied to invoices, subscriptions and Checkout Sessions to collect tax.

    Related guide: Tax rates

    interface TaxRate {
        id: string;
        object: "tax_rate";
        active: boolean;
        country: string;
        created: number;
        description: string;
        display_name: string;
        effective_percentage: number;
        flat_amount: Stripe.TaxRate.FlatAmount;
        inclusive: boolean;
        jurisdiction: string;
        jurisdiction_level: Stripe.TaxRate.JurisdictionLevel;
        livemode: boolean;
        metadata: Metadata;
        percentage: number;
        rate_type: Stripe.TaxRate.RateType;
        state: string;
        tax_type: Stripe.TaxRate.TaxType;
    }
    Index

    Properties

    id: string

    Unique identifier for the object.

    object: "tax_rate"

    String representing the object's type. Objects of the same type share the same value.

    active: boolean

    Defaults to true. When set to false, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.

    country: string

    Two-letter country code (ISO 3166-1 alpha-2).

    created: number

    Time at which the object was created. Measured in seconds since the Unix epoch.

    description: string

    An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.

    display_name: string

    The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.

    effective_percentage: number

    Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product's taxability and whether the user is registered to collect taxes in the corresponding jurisdiction.

    The amount of the tax rate when the rate_type is flat_amount. Tax rates with rate_type percentage can vary based on the transaction, resulting in this field being null. This field exposes the amount and currency of the flat tax rate.

    inclusive: boolean

    This specifies if the tax rate is inclusive or exclusive.

    jurisdiction: string

    The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer's invoice.

    jurisdiction_level: Stripe.TaxRate.JurisdictionLevel

    The level of the jurisdiction that imposes this tax rate. Will be null for manually defined tax rates.

    livemode: boolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

    metadata: Metadata

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

    percentage: number

    Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.

    Indicates the type of tax rate applied to the taxable amount. This value can be null when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.

    state: string

    ISO 3166-2 subdivision code, without country prefix. For example, "NY" for New York, United States.

    The high-level tax type, such as vat or sales_tax.