Booking Engine Plus inclusive and exclusive cart display

Overview

To create a booking engine display logic that handles both inclusive and exclusive taxes for accommodations and add-ons, we must ensure that the display and cart calculations are clear and accurate. This article explains the step-by-step setup logic for each scenario.

🚩 The following content is only valid for the Cloudbeds Booking Engine Plus version.

Calculations per tax/fee configuration

Tax is exclusive

Display:

  • The price shown on the accommodation or add-on card is without taxes.

Cart calculation:

  • Add the price of the accommodation or add-on to the cart.
  • Calculate the exclusive tax or fee and add it as a separate line item in the cart.
    • Example:
      • Room Rate: $100
      • Exclusive Tax: 10%

Steps:

  • Cart Price: $100
  • Tax Calculation: $100 * 10% = $10
  • Cart Display:
    • Room Rate: $100
    • Tax: $10

Tax is inclusive

Display:

  • The price shown on the accommodation or add-on card includes the taxes.

Cart calculation:

  • Break down the inclusive tax from the total price and display the base price and tax as separate line items in the cart.
  • Example:
    • Total Room Rate (with tax): $100
    • Inclusive Tax: 10%

Steps:

  • Base Price Calculation: $100 / (1 + 0.10) = $90.91
  • Tax Calculation: $100 - $90.91 = $9.09
  • Cart Display:
    • Room Rate: $90.91
    • Tax: $9.09

Both inclusive and exclusive taxes

Display:

  • Show the total price of the accommodation or add-on card, which includes the inclusive tax.

Cart Calculation:

  • Separate the inclusive tax from the total price and add it to the tax line item.
  • Add the exclusive tax to the base price and display it in the tax line item.
  • Example:
    • Total Room Rate (with inclusive tax): $100
    • Inclusive Tax: 10%
    • Exclusive Tax: 14.5%

Steps:

  • Base Price Calculation: $100 / (1 + 0.10) = $90.91
  • Inclusive Tax Calculation: $100 - $90.91 = $9.09
  • Exclusive Tax Calculation: $90.91 * 14.5% = $13.18
  • Cart Display:
    • Room Rate: $90.91
    • Inclusive Tax: $9.09
    • Exclusive Tax: $13.18
  • You must add both inclusive and exclusive taxes/fees to the Booking Engine Reservation Source within Cloudbeds PMS to display them accordingly.
  • Learn more about how to configure your taxes/fees in the Reservation Sources Overview section of this article.

Summary of logic

Display logic
  • Exclusive Tax: Displays the price without taxes on the card
  • Inclusive Tax: Displays the price, including taxes, on the card
  • Both Taxes: Displays the price, including the inclusive tax, on the card
Cart logic
  • For Exclusive Tax:
    • Add the item price as a line item
    • Add the calculated exclusive tax as a separate line item
  • For Inclusive Tax:
    • Display the item price minus the inclusive tax
    • Add the inclusive tax as a separate line item
  • For both taxes:
    • Separate the inclusive tax from the total price
    • Calculate and add the exclusive tax on the base price
    • Display all components separately in the cart

Example breakdown

Exclusive tax

Scenario:

  • Room Rate: $100
  • Exclusive Tax: 10%

Cart display:

  • Room Rate: $100
  • Tax: $10

Calculations:

  • Exclusive Tax = $100 * 10% = $10
Inclusive tax

Scenario:

  • Total Room Rate: $100
  • Inclusive Tax: 10%

Cart display:

  • Room Rate: $90.91
  • Tax: $9.09

Calculations:

  • Base Price = $100 / 1.10 = $90.91
  • Inclusive Tax = $100 - $90.91 = $9.09
Both inclusive and exclusive taxes

Scenario:

  • Total Room Rate: $100
  • Inclusive Tax: 10%
  • Exclusive Tax: 14.5%

Cart display:

  • Room Rate: $90.91
  • Inclusive Tax: $9.09
  • Exclusive Tax: $13.18

Calculations:

  • Base Price = $100 / 1.10 = $90.91
  • Inclusive Tax = $100 - $90.91 = $9.09
  • Exclusive Tax = $90.91 * 14.5% = $13.18
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.