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

    Interface OrderTaxInput

    An order tax. Define an ad hoc tax inline with name + percentage (for a rate the caller decides, with no CatalogTax object), or reference an existing CatalogTax by catalogObjectId.

    To charge only the taxes listed here, also set pricingOptions.autoApplyTaxes: false, so Square doesn't add the location's enabled taxes on top.

    interface OrderTaxInput {
        catalogObjectId?: string;
        name?: string;
        percentage?: string;
        scope?: OrderTaxScope;
        type?: OrderTaxType;
        uid?: string;
    }
    Index
    catalogObjectId?: string

    Reference an existing CatalogTax by id.

    name?: string
    percentage?: string

    Percentage as a string, e.g. "5" or "7.25". Required for an ad hoc tax.

    ORDER applies to the whole order (Square auto-applies it to every line); LINE_ITEM applies only to lines that list this tax's uid in their appliedTaxes.

    Default (Square's): ADDITIVE.

    uid?: string

    Client-side id. Reference it from a line item's appliedTaxes, and use it to find this tax's appliedMoney on the returned order.