Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Daily Rates

The example below shows daily rates when the same rate applies to both dates (2024-03-12 and 2024-03-13) and no extra fees and/or charges applies.

Daily Rates
Code Block
languagexml
<RoomStay>
  <RoomRates>
    <RoomRate RoomTypeCode="ROOM1" RatePlanCode="RATE1" NumberOfUnits="1">
      <Rates>
        <Rate UnitMultiplier="2" RateTimeUnit="Day" EffectiveDate="2024-03-12" ExpireDate="2024-03-14">
          <Base AmountBeforeTax="495.00" AmountAfterTax="550.00" CurrencyCode="AUD"/>
          <Total AmountBeforeTax="495.00" AmountAfterTax="550.00" CurrencyCode="AUD"/>
        </Rate>
      </Rates>
    </RoomRate>
  </RoomRates>
  <TimeSpan Start="2024-03-12" End="2024-03-14"/>
  <Total AmountBeforeTax="990.00" AmountAfterTax="1100.00" CurrencyCode="AUD">
    <Taxes>
      <Tax Amount="110.00" CurrencyCode="AUD"/>
    </Taxes>
  </Total>
</RoomStay>
Code Block
languagexml
<RoomStay>
  <RoomRates>
    <RoomRate NumberOfUnits="1" RatePlanCode="BAR" RoomTypeCode="DLXR">
      <Rates>
        <Rate ExpireDate="2023-12-31" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2023-12-30">
          <Base AmountAfterTax="39.20" CurrencyCode="USD"/>
        </Rate>
        <Rate ExpireDate="2024-01-01" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2023-12-31">
          <Base AmountAfterTax="39.20" CurrencyCode="USD"/>
        </Rate>
        <Rate ExpireDate="2024-01-02" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2024-01-01">
          <Base AmountAfterTax="39.20" CurrencyCode="USD"/>
        </Rate>
      </Rates>
    </RoomRate>
  </RoomRates>
  <TimeSpan End="2024-01-02" Start="2023-12-30"/>
  <Total AmountAfterTax="117.60" CurrencyCode="USD"/>
</RoomStay>

The example below shows daily rates when the same rate applies to both dates (2024-03-12 and 2024-03-13) and there are additional charges.

Daily Rates Base and Total Amounts
Code Block
languagexml
<RoomStay>
  <RoomRates>
    <RoomRate RoomTypeCode="ROOM1" RatePlanCode="RATE1" NumberOfUnits="1">
      <Rates>
        <Rate UnitMultiplier="2" RateTimeUnit="Day" EffectiveDate="2024-03-12" ExpireDate="2024-03-14">
          <Base AmountBeforeTax="495.50" AmountAfterTax="550.00" CurrencyCode="AUD"/>
          <Total AmountBeforeTax="566.50" AmountAfterTax="630.00" CurrencyCode="AUD"/>
        </Rate>
      </Rates>
    </RoomRate>
  </RoomRates>
  <TimeSpan Start="2024-03-12" End="2024-03-14"/>
  <Total AmountBeforeTax="1133.00" AmountAfterTax="1260.00" CurrencyCode="AUD">
    <Taxes>
      <Tax Amount="127.00" CurrencyCode="AUD"/>
    </Taxes>
  </Total>
</RoomStay>

The example below shows daily rates when the rate amount differs for the booked dates.

Daily Rates - Multiple rate amounts
Code Block
languagexml
<RoomStay>
  <RoomRates>
    <RoomRate RoomTypeCode="ROOM1" RatePlanCode="RATE1" NumberOfUnits="1">
      <Rates>
        <Rate UnitMultiplier="1" RateTimeUnit="Day" EffectiveDate="2024-03-12" ExpireDate="2024-03-13">
          <Base AmountBeforeTax="252.00" AmountAfterTax="280.00" CurrencyCode="AUD"/>
        </Rate>
        <Rate UnitMultiplier="1" RateTimeUnit="Day" EffectiveDate="2024-03-13" ExpireDate="2024-03-14">
          <Base AmountBeforeTax="279.00" AmountAfterTax="310.00" CurrencyCode="AUD"/>
        </Rate>
      </Rates>
    </RoomRate>
  </RoomRates>
  <TimeSpan Start="2024-03-12" End="2024-03-14"/>  
  <Total AmountBeforeTax="531.00" AmountAfterTax="590.00" CurrencyCode="AUD">
    <Taxes>
      <Tax Amount="59.00" CurrencyCode="AUD"/>
    </Taxes>
  </Total>
</RoomStay>