Payouts
Tools for retrieving channel payout statements and owner payout templates from the Lavanda platform.
Available Tools
Section titled “Available Tools”| Tool | Description |
|---|---|
find_payout |
Retrieve a single channel payout by ID, including its lines and totals |
list_payouts |
List payouts with ID/workspace filtering and Relay pagination |
list_payout_templates |
List a workspace’s owner payout templates; super admins also get hidden deductions and Lavanda terms |
get_payout_template |
Retrieve a single owner payout template by ID within a workspace |
Overview
Section titled “Overview”A payout represents a bank payout statement ingested from an OTA channel (Booking.com, Airbnb, etc.), grouping the reservations and adjustments that make up one deposit. Each payout includes:
- Source channel, grouping reference, payout date, status, and currency
- The owning workspace
- Payout-level totals (gross amount, commission, payments service fee, net)
- Payout lines — reservation and adjustment lines, each with per-line money fields
Only ID-based filtering is supported on the list (payout ID and workspace ID, with
eq / neq / in / nin operators). Use find_payout for full per-line detail.
Payout templates
Section titled “Payout templates”A payout template holds the rules that split a booking’s revenue between the owner, the property manager and any third-party beneficiaries. Both template tools are read-only:
managementFeeand percentage deductionvalues are fractions (0.2= 20%); afixeddeduction’svalueis an amount in the template currency, charged perstayor pernight(itsbasis).lpmPermissionssays whether the property manager may view, also edit, or not see a deduction (Not Visible).baseAmountRuleis the amount the payout is calculated from;baseAmountRuleDescriptionspells it out:accomodation_fare(LVDAM’s spelling) is accommodation revenue only,post_platform_booking_valuesubtracts channel commission and payment charge, andgross_booking_valueadds the cleaning fee.Not Visibledeductions (e.g. Lavanda Home Guarantee) andlavandaTermsare returned only when the caller is a Lavanda super admin; everyone else gets what the PMS shows a property manager, withlavandaTerms: null.lavandaTerms.lavandaFeeRulesays what the Lavanda fee is taken from:lpm_fee(a share of the property manager’s management fee),gross_booking_value(a share of the booking’s total value) ormonthly(a fixed monthly charge, not taken per booking).lavandaFeeis a fraction whenlavandaFeeUnitispercentage, otherwise an amount in the template currency.platformFeeslists each channel’s fee fraction,nullwhere none is set.partnershipProgramis the back office “Partnership Program” tick box.- A beneficiary
shareis its fraction of the deduction (0.5= 50%); a deduction’s shares sum to1.
get_payout_template reads the workspace’s template list and returns the matching entry, so it needs the
template’s workspace ID as well as its own ID.