Skip to main content

Documentation Index

Fetch the complete documentation index at: https://help.kwentra.com/llms.txt

Use this file to discover all available pages before exploring further.

🧩 Context

When generating guest counts in XML (e.g., for channel or tour operator integrations), the system currently splits adults evenly across rooms, but all children are grouped together, even if multiple rooms are involved.

🎯 Business Value

  • Ensures consistency between adult and child distribution logic.
  • Helps connected systems (e.g., OTAs or middleware) interpret data correctly.
  • Prevents overbooking or mismapping when room-level occupancy is expected.

🤖 Before vs After

Previous Behavior:
  • 8 Rooms
  • 16 Adults → split: 2 per room
  • 8 Children → all listed separately, not mapped to rooms
xml
CopyEdit
<guest_count count="16" type="adult"/>
<guest_count count="1" type="child" age="11"/>
(repeated 8 times)
New Behavior:
  • Each child is now mapped to its corresponding room (just like adults).
  • XML output ensures 1 child per room, for better room-based data integrity.