<- Object

Object

All versions ->

OrderReturnTaxBeta

Represents a tax being returned that applies to one or more return line items in an order.

Fixed-amount, order-scoped taxes are distributed across all non-zero return line item totals. The amount distributed to each return line item is relative to that item’s contribution to the order subtotal.

Link to section

Properties

Link to section

uid

string

Unique ID that identifies the return tax only within this order.

Link to section

source_tax_uid

string

uid of the Tax from the Order which contains the original charge of this tax.

Link to section

catalog_object_id

string

Link to section

name

string

The tax's name.

Link to section

type

string

Indicates the calculation method used to apply the tax.

Link to section

percentage

string

The percentage of the tax, as a string representation of a decimal number. For example, a value of "7.25" corresponds to a percentage of 7.25%.

Link to section

applied_money

The amount of the money applied by the tax in an order.

Link to section

scope

string

Indicates the level at which the OrderReturnTax applies. For ORDER scoped taxes, Square generates references in applied_taxes on all OrderReturnLineItems. For LINE_ITEM scoped taxes, the tax will only apply to OrderReturnLineItems with references in their applied_discounts field.