TaxRatePut

iRetail PRO store node 1.0.0-m1

← Вся документация · Источник: контракты, openapi/store-v1.yaml на коммите 8000474.

Справочники на английском — на языке контрактов, из которых они созданы.

← iRetail PRO store node 1.0.0-m1

LocalizedText map of string

Text by language code; the organization's default language must be present.

TaxRatePut object

The fields beyond rate and name default to a code with no jurisdiction that taxes every category, always.

rate_ppm обязательный integer
name обязательный LocalizedText
jurisdiction "state" | "county" | "city" | "district" | null The taxing jurisdiction (spec/TAX.md); null for a code that is not a US jurisdiction.
categories array of TaxCategory | null The categories the code taxes; null for every category.
exempt_categories array of TaxCategory
holidays array of TaxHoliday

TaxCategory "general" | "grocery" | "prepared_food" | "candy" | "soft_drink" | "dietary_supplement" | "clothing" | "otc_drug" | "rx_drug" | "medical_equipment" | "alcohol" | "tobacco" | "nontaxable"

An item's tax category (spec/TAX.md, "Item categories").

general · grocery · prepared_food · candy · soft_drink · dietary_supplement · clothing · otc_drug · rx_drug · medical_equipment · alcohol · tobacco · nontaxable

TaxHoliday object

A window when the code does not tax some categories (spec/TAX.md, "Tax holidays").

from обязательный string (date)
to обязательный string (date)
categories обязательный array of TaxCategory
max_unit_price_minor обязательный integer (int64) | null