Square.Connect.Model.OrderReturnTax

October 23, 2019 · View on GitHub

Description

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. Note: This model is in beta.

Properties

NameTypeDescriptionNotes
UidstringUnique ID that identifies the return tax only within this order.[optional]
SourceTaxUidstring`uid` of the Tax from the Order which contains the original charge of this tax.[optional]
CatalogObjectIdstringThe catalog object id referencing `CatalogTax`.[optional]
NamestringThe tax's name.[optional]
TypestringIndicates the calculation method used to apply the tax. See OrderLineItemTaxType for possible values[optional]
PercentagestringThe 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%.[optional]
AppliedMoneyMoneyThe amount of the money applied by the tax in an order.[optional]
ScopestringIndicates the level at which the `OrderReturnTax` applies. For `ORDER` scoped taxes, Square generates references in `applied_taxes` on all `OrderReturnLineItem`s. For `LINE_ITEM` scoped taxes, the tax will only apply to `OrderReturnLineItem`s with references in their `applied_discounts` field. See OrderLineItemTaxScope for possible values[optional]

[Back to Model list] [Back to API list] [Back to README]