Add a tourist or city tax rule with its source
post/lodging/taxes
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Sdk
bookings.tax.create- Cli
bookings tax create
Request bodyapplication/json, required
- propertyIdstring (uuid)required
- namestringrequiredAt most 120 characters.
- basisstringrequiredOne of: per_person_night, percent_of_room.
- amountMinorintegerAt least 0. At most 9007199254740991.
- percentnumberAt least 0. At most 100.
- maxNightsintegerAt least 1. At most 365.
- maxMinorPerPersonintegerAt least 0. At most 9007199254740991.
- childrenExemptbooleanDefault: true.
- validFromstringPattern: ^\d{4}-\d{2}-\d{2}$.
- validTostringPattern: ^\d{4}-\d{2}-\d{2}$.
- sourceUrlstring (uri)requiredAt most 500 characters.
- verifiedOnstringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring