Heimaleiga owner data

Datasets

Five relations, all scoped to your owner account(s). Every table carries updated_at — the moment the source record last changed — so scripts can pull deltas.

Money columns are in the listing's currency (currency). host_payout_usd is Guesty's USD conversion. Dates are calendar dates; timestamps are UTC.

listings

Your properties. This table is the membership authority: every other table derives its rows from it.

ColumnTypeMeaning
listing_idtextGuesty listing id (stable key)
nicknametextInternal nickname, e.g. SW 204 ST2
buildingtextBuilding prefix of the nickname (SW, BY, B2 …)
owner_accounttextWhich of your owner accounts holds it
membership_basistextowner_attachment (attached to your account in Guesty) or building_rollup (the building-level listing that takes whole-building bookings)
activeboolCurrently listed
listing_typetextMTL_CHILD (unit), SINGLE, or MTL (building rollup)
accommodatesintMax guests
bedroomsint
bathroomsnumeric
address_citytext
address_streettext
currencytextPricing currency
updated_attimestamptzLast change to the listing or its ownership

reservations

Full booking history, ALL statuses — filter on status. One row per reservation.

ColumnTypeMeaning
reservation_idtextGuesty reservation id (key)
confirmation_codetextBooking reference guests see
listing_id / listing_nicknametextThe unit
owner_accounttext
statustextconfirmed, canceled, inquiry, expired, closed, declined, reserved
check_in / check_outdate
nights_countint
guests_countint
guest_idtextOpaque, stable per guest — count repeat guests without identity
channeltextCanonical channel id: bookingCom, airbnb2, homeaway2, expedia, manual …
source_labeltextGuesty's display label — not stable, prefer channel
created_at / confirmed_at / canceled_attimestamptz
currencytext
fare_accommodationnumericAccommodation fare
fare_accommodation_adjustednumeric
fare_cleaningnumericCleaning fee
total_feesnumeric
total_taxesnumeric
sub_total_pricenumeric
host_payoutnumericWhat the platform pays out for the stay
host_payout_usdnumeric
commissionnumericHeimaleiga management commission
commission_inc_taxnumeric
net_incomenumericGuesty's net income figure
owner_revenuenumericGuesty's owner revenue figure
balance_duenumeric
total_paidnumeric
is_fully_paidbool
updated_attimestamptz
Known gap: owner_revenue and net_income come from a second Guesty pass and are NULL on about 5% of rows — most canceled bookings, and some stays that checked in between January and May 2024 (the source simply has no value). host_payout is always present.

reviews

Guest reviews, public content only.

ColumnTypeMeaning
review_idtextKey
listing_id / listing_nicknametext
owner_accounttext
channeltextReview platform id
review_datedate
created_attimestamptz
ratingnumericRaw platform score
overall_ratingnumeric
normalized_scorenumeric1–5, comparable across platforms
score_scaleintThe platform's scale (5 or 10)
headline / public_review / positive_comment / negative_commenttextReview text as published
reviewer_nametextPublic display name on the platform
has_replybool
reply_texttextHeimaleiga's public reply
reply_datetimestamptz
reservation_idtextJoins to reservations.reservation_id
updated_attimestamptz

stats

A drop-in for the legacy Snowflake feed (VW_YLMA_STATS): confirmed + canceled bookings with check-in on or after 2024-01-01. Prefer reservations for new work.

ColumnTypeMeaning
confirmation_codetextKey
idtextThe BUILDING PREFIX (legacy naming) — not a row id
check_in / check_outdate
nights_countint
listing_nicknametext
sourcetextDisplay label (legacy)
cleaning_fee / fare_cleaningnumericBoth present, same value (legacy shape)
guest_idtext
guest_countint
created_attimestamptz
created_year / created_month / check_in_year / check_in_monthtextZero-padded text, as the legacy feed had them
statustextconfirmed or canceled
fare_accommodation / owner_revenue / host_payout / total_feesnumeric
adrnumerichost_payout ÷ nights
accomodation_fare_adrnumericfare_accommodation ÷ nights (legacy spelling kept on purpose)
lead_timeintDays from booking to check-in
updated_attimestamptz

sync_status

Freshness of your copy. Read it when a number surprises you.

ColumnTypeMeaning
table_nametext
last_success_attimestamptzLast successful 15-minute copy
successful_runsbigint
staleboolNo successful copy in the last 60 minutes