data-dwh-dbt-project/seeds/stg_seed__accounting_aggregations.csv
Oriol Roqué Paniagua d12a7233c9 Merged PR 4104: Refactor Invoiced Revenue from Account Code + New Revenue Streams
# Description

Changes:
* Major changes on int_kpis__metric_daily_invoiced_revenue. Now data is retrieved from the account codes, following the previous analysis. This actually reads from a work done on Accounting Codes, with the default aggregations set as a seed. I've also included here new revenue streams for new dash, and the split of guesty fees between resolutions and real API fees. However, New Dash services are still not visible as final metrics. I'll do this separately.
* Propagation of changes in intermediate models. This will affect currently displayed metrics, but not show any new metric.

Since this is quite dense, let's discuss.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [X] I have checked for DRY opportunities with other models and docs.
- [X] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #26531
2025-01-20 14:18:05 +00:00

2.6 KiB

1account_coderoot_aggregationkpis_aggregationfinancial_aggregation
2200Other Invoiced RevenueUnknownGuest Screening and Protection
3201Damage Waiver FeesAccounting Guest RevenueDeposit Management
4202Deposit FeesAccounting Guest RevenueDeposit Management
5203Verification FeesInvoiced Operator RevenueGuest Screening and Protection
6204Listing FeesInvoiced Operator RevenueGuest Screening and Protection
7206Booking FeesInvoiced Operator RevenueGuest Screening and Protection
8207Listing FeesInvoiced Operator RevenueGuest Screening and Protection
9208Booking FeesInvoiced Operator RevenueGuest Screening and Protection
10209Listing FeesInvoiced Operator RevenueGuest Screening and Protection
11210Booking FeesInvoiced Operator RevenueGuest Screening and Protection
12211Listing FeesInvoiced Operator RevenueGuest Screening and Protection
13212Booking FeesInvoiced Operator RevenueGuest Screening and Protection
14213Listing FeesInvoiced Operator RevenueGuest Screening and Protection
15214Booking FeesInvoiced Operator RevenueGuest Screening and Protection
16215Listing FeesInvoiced Operator RevenueGuest Screening and Protection
17216Booking FeesInvoiced Operator RevenueGuest Screening and Protection
18219Athena APIInvoiced API RevenueGuest Screening and Protection
19220E-Deposit APIInvoiced API RevenueGuest Screening and Protection
20221Guesty ResolutionsInvoiced API RevenueMediation and Resolution
21222Check In CoverAccounting Guest RevenueGuest Products
22227Basic ProtectionInvoiced Operator RevenueGuest Screening and Protection
23228Waiver ProInvoiced Operator RevenueDeposit Management
24229Id VerificationInvoiced Operator RevenueGuest Screening and Protection
25230Protection PlusInvoiced Operator RevenueGuest Screening and Protection
26231Screening PlusInvoiced Operator RevenueGuest Screening and Protection
27232Sex Offenders CheckInvoiced Operator RevenueGuest Screening and Protection
28233Protection ProInvoiced Operator RevenueGuest Screening and Protection
29234Basic ScreeningInvoiced Operator RevenueGuest Screening and Protection
30235Resolution Process for Protection ServicesAccounting ResolutionsGuest Screening and Protection
31236Basic WaiverAccounting Guest RevenueDeposit Management
32237Waiver PlusAccounting Guest RevenueDeposit Management
33238Basic Damage DepositAccounting Guest RevenueDeposit Management
34239Resolution Process for Deposit Management ServicesAccounting ResolutionsDeposit Management
35301Damage Host-Waiver PaymentsDamage Host-Waiver PaymentsDamage Host-Waiver Payments