@bates-solutions/squareup API Reference - v3.2.0
    Preparing search index...

    Interface OrderPricingOptions

    Pricing options for an order. Controls automatic application of discounts (pricing rules) and taxes.

    interface OrderPricingOptions {
        autoApplyDiscounts?: boolean;
        autoApplyTaxes?: boolean;
    }
    Index
    autoApplyDiscounts?: boolean

    Apply catalog pricing rules (incl. customer-group-gated wholesale rules) automatically at calculation time.

    ⚠️ Not for subscription order templates. Square rejects a subscription template that sets this (The order template amount must not have auto_apply_discounts set to true). For a template, carry prices explicitly via each line's basePriceMoney, or reference discounts explicitly via the order's discounts — either keeps the amount well-defined without auto-application.

    autoApplyTaxes?: boolean

    Apply all enabled taxes at the location automatically.