# LongStayInfo

Using this element, you can enable properties to consent to accept bookings for stays longer than 30 days and upto 90 days.
By default, properties can accept bookings for stays up to 30 days.

To enable properties to host stays longer than 30 days and up to a maximum of 90 days, use the `LongStayInfo` element:

- Set the `AcceptLongStay` attribute to `1`.
- Set the maximum stay duration using the `MaxLengthOfStay` attribute. Allowed values are: 45, 60, 75, 90 days.


Before enabling long stays, make sure that properties [follow any applicable local laws and regulations.](https://partner.booking.com/en-gb/help/legal-security/policies-local-laws/local-laws-and-regulations)

→ For properties located in Japan, make sure that properties show the disclaimer text as listed in the standard phrase: [LongStayDisclaimerJapan](/connectivity/docs/api-reference/standardphrase#longstaydisclaimerjapan)

## Fields

| Element | Description | Type | Required/Optional | Notes |
|  --- | --- | --- | --- | --- |
| [TPA_Extensions](/connectivity/docs/api-reference/tpa_extensions)/`LongStayInfo` | Long Stay container object. | object | optional | - |
| `LongStayInfo`/`@AcceptLongStay` | Whether the property accepts stay longer than 30 nights. Defaults to No. | boolean | required | Accepts:  - 0: False  - 1: true |
| `LongStayInfo`/`@MaxLengthOfStay` | The maximum length of stay that a guest can book. | int | optional | Accepts: `45, 60, 75, 90`.  Defaults to 90. |


## XML example


```xml
<HotelDescriptiveContent
  HotelCode="12345"
  HotelDescriptiveContentNotifType="Overlay"
  HotelName="Fake Hotel"
  ID="101010"
  LanguageCode="en">
    ...
  <TPA_Extensions>
    <LongStayInfo
      AcceptLongStay="1"
      MaxLengthOfStay="45"
    />
  </TPA_Extensions>
    ...
</HotelDescriptiveContent>
```

## Related endpoints

* [/ota/OTA_HotelDescriptiveContentNotif](/connectivity/docs/ota-hoteldescriptivecontentnotif)
* [/ota/OTA_HotelDescriptiveInfo](/connectivity/docs/ota-hoteldescriptiveinfo)