Object Index / Definition

You are viewing an old version of the API
CreateOrderRequestTax

Deprecated

Deprecated: Please use the OrderLineItemTax type in the order field of CreateOrderRequest instead.

Properties

Name Description
catalog_object_id
string

Only used for catalog taxes. The catalog object ID of an existing CatalogTax.

Do not provide a value for this field if you provide values in other fields for an ad hoc tax.

Max Length 192
name
string

Only used for ad hoc taxes. The tax's name.

Do not provide a value for this field if you set catalog_object_id.

Max Length 255
type
string

Only used for ad hoc taxes. Indicates the calculation method used to apply the line item tax.

Default: ADDITIVE; See OrderLineItemTaxType for possible values. See OrderLineItemTaxType for possible values

percentage
string

Only used for ad hoc taxes. The percentage of the tax, as a string representation of a decimal number.

A value of 7.25 corresponds to a percentage of 7.25%. This value range between 0.0 up to 100.0

Max Length 10

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?