| Name |
Type |
Description |
Notes |
| id |
str |
Unique identifier within the request |
|
| name |
str |
Display name |
|
| category |
str |
Whether this is a tax or a fee |
|
| calculation_type |
str |
How the amount is calculated |
|
| value |
str |
Rate or amount value in minor units. For percentage types: the percentage in minor units (e.g., "1000" = 10.00%). For fixed types: the amount in minor currency units (e.g., "1500" = $15.00). |
|
| tax_treatment |
str |
How this tax/fee relates to the base amount |
|
| applied_to |
List[str] |
Application targets — where the tax/fee gets applied. A tax with `appliedTo=["rate","fee"]` is applied both to the base rate AND to each parent of type "fee". Defaults are derived from `category` + `parents` when omitted: a fee → `["rate"]`; a tax with no parent → `["rate"]`; a tax with a `fee` parent → `["fee"]`; a tax with a `tax` parent → `["tax"]`. |
[optional] |
| parents |
List[TaxFeeParentSchema] |
Compound parents (tax-on-fee, tax-on-tax). A tax may reference multiple parents. |
[optional] |
| parent_id |
str |
Deprecated — use `parents` instead. Single parent ID for tax-on-fee or tax-on-tax. Kept for backward compatibility; when set (and `parents` is omitted) it is mapped to a single-element `parents` list. |
[optional] |
| parent_kind |
str |
Deprecated — use `parents` instead. Kind of the legacy `parentId` parent. |
[optional] |
| room_type_ids |
List[str] |
Room type IDs this tax/fee applies to. Empty means all room types. |
[optional] |
| type_settings |
TypeSettingsSchema |
|
[optional] |
from cloudbeds_pms.models.tax_fee_config_schema import TaxFeeConfigSchema
# TODO update the JSON string below
json = "{}"
# create an instance of TaxFeeConfigSchema from a JSON string
tax_fee_config_schema_instance = TaxFeeConfigSchema.from_json(json)
# print the JSON string representation of the object
print(TaxFeeConfigSchema.to_json())
# convert the object into a dict
tax_fee_config_schema_dict = tax_fee_config_schema_instance.to_dict()
# create an instance of TaxFeeConfigSchema from a dict
tax_fee_config_schema_from_dict = TaxFeeConfigSchema.from_dict(tax_fee_config_schema_dict)
[Back to Model list] [Back to API list] [Back to README]