Get hotel tax rules
getHotelTaxSchemaRetrieve a hotel's normalized tax and fee schema to see whether charges are included, percentage-based, or fixed, and how fixed amounts scale per adult or night.
Instructions
Overview
Returns the tax schema of a hotel as normalized static data, independent of the supply provider the rules were learned from. Each entry describes one tax or fee: whether it is already included in the room rate, whether it is a percentage of the rate or a fixed amount, and how fixed amounts scale (per adult and/or per night).
When to Use
Price transparency - Show guests which taxes and fees apply at a property
Amount-due-at-property estimates - Excluded taxes are typically collected at the hotel
Tax auditing - Compare supplier-declared taxes against the reference schema
Notes
Fixed amounts are expressed in USD
Percentage rates apply to the room rate (e.g. 13.5 means 13.5%)
The schema is learned by an offline pipeline; hotels without learned data return 404
When the direct (hotel-declared) source is enabled, taxes declared by the hotel in MAQAMI Cloud take precedence over learned rules and each entry carries
source,chargeType,appliedPer,appliedOn,payAtPropertyand validity dates
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotelId | Yes | Unique identifier of the hotel, in 'lp' format or numeric. |