data-dwh-dbt-project/seeds/stg_seed__accounting_aggregations.csv
Oriol Roqué Paniagua a208541e04 Merged PR 4224: Rework accounting aggregations for Financial Reporting
# Description

This PR reworks the Financial Aggregations based on Nathan's requirements, that can be found in an Excel attached to the board ticket.

Main changes:
- Accounting seed now contains 3 financial aggregations as requested by Finance
- These 3 aggregations are propagated up to reporting. This effectively breaks a WIP report - but it's WIP, not in prod, so it's not a big deal

# 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

- [X] Check if a full-refresh is required after this PR is merged. **Need to create the seed manually**

Related work items: #26618
2025-01-30 10:28:49 +00:00

4.4 KiB

1account_coderoot_aggregationkpis_aggregationfinancial_l1_aggregationfinancial_l2_aggregationfinancial_l3_aggregation
2200Other Invoiced RevenueUnknown1-Guest Screening and Protection10-Other Invoiced Revenue100-Other Invoiced Revenue
3201Damage Waiver FeesAccounting Guest Revenue2-Deposit Management21-Deposit Management Services210-Damage Waiver Fees
4202Deposit FeesAccounting Guest Revenue2-Deposit Management21-Deposit Management Services211-Deposit Fees
5203Verification FeesInvoiced Operator Revenue1-Guest Screening and Protection13-Verification Fees131-Verification Fees
6204Listing FeesInvoiced Operator Revenue1-Guest Screening and Protection12-Listing Fees121-Listing Fees
7206Booking FeesInvoiced Operator Revenue1-Guest Screening and Protection11-Booking Fees111-BookingFees
8207Listing FeesInvoiced Operator Revenue1-Guest Screening and Protection12-Listing Fees121-Listing Fees
9208Booking FeesInvoiced Operator Revenue1-Guest Screening and Protection11-Booking Fees111-BookingFees
10209Listing FeesInvoiced Operator Revenue1-Guest Screening and Protection12-Listing Fees121-Listing Fees
11210Booking FeesInvoiced Operator Revenue1-Guest Screening and Protection11-Booking Fees111-BookingFees
12211Listing FeesInvoiced Operator Revenue1-Guest Screening and Protection12-Listing Fees121-Listing Fees
13212Booking FeesInvoiced Operator Revenue1-Guest Screening and Protection11-Booking Fees111-BookingFees
14213Listing FeesInvoiced Operator Revenue1-Guest Screening and Protection12-Listing Fees121-Listing Fees
15214Booking FeesInvoiced Operator Revenue1-Guest Screening and Protection11-Booking Fees111-BookingFees
16215Listing FeesInvoiced Operator Revenue1-Guest Screening and Protection12-Listing Fees121-Listing Fees
17216Booking FeesInvoiced Operator Revenue1-Guest Screening and Protection11-Booking Fees111-BookingFees
18217Deposit FeesAccounting Guest Revenue2-Deposit Management21-Deposit Management Services211-Deposit Fees
19218Damage Waiver FeesAccounting Guest Revenue2-Deposit Management21-Deposit Management Services210-Damage Waiver Fees
20219Athena APIInvoiced API Revenue1-Guest Screening and Protection14-Athena API141-Athena API
21220E-Deposit APIInvoiced API Revenue1-Guest Screening and Protection15-E-Deposit API151-E-Deposit API
22221Guesty ResolutionsInvoiced API Revenue4-Mediation and Resolution41-Guesty Resolutions411-Guesty Resolutions
23222Check In CoverAccounting Guest Revenue3-Guest Products31-Check In Cover311-Check In Cover
24223Check In CoverAccounting Guest Revenue3-Guest Products31-Check In Cover311-Check In Cover
25227Basic ProtectionInvoiced Operator Revenue1-Guest Screening and Protection17-Protection Services171-Basic Protection
26228Waiver ProInvoiced Operator Revenue2-Deposit Management21-Deposit Management Services213-Waiver Pro
27229Id VerificationInvoiced Operator Revenue1-Guest Screening and Protection16-Screening Services163-Id Verification
28230Protection PlusInvoiced Operator Revenue1-Guest Screening and Protection17-Protection Services172-Protection Plus
29231Screening PlusInvoiced Operator Revenue1-Guest Screening and Protection16-Screening Services162-Screening Plus
30232Sex Offenders CheckInvoiced Operator Revenue1-Guest Screening and Protection16-Screening Services164-Sex Offenders Checks
31233Protection ProInvoiced Operator Revenue1-Guest Screening and Protection17-Protection Services173-Protection Pro
32234Basic ScreeningInvoiced Operator Revenue1-Guest Screening and Protection16-Screening Services161-Basic Screening
33235Resolution Process for Protection ServicesAccounting Resolutions1-Guest Screening and Protection17-Protection Services174-Resolution Process for Protection Services
34236Basic WaiverAccounting Guest Revenue2-Deposit Management21-Deposit Management Services211-Basic Waiver
35237Waiver PlusAccounting Guest Revenue2-Deposit Management21-Deposit Management Services212-Waiver Plus
36238Basic Damage DepositAccounting Guest Revenue2-Deposit Management21-Deposit Management Services214-Basic Damage Deposit
37239Resolution Process for Deposit Management ServicesAccounting Resolutions2-Deposit Management21-Deposit Management Services215-Resolution Process for Deposit Management Services
38301Damage Host-Waiver PaymentsDamage Host-Waiver Payments5-Damage Host-Waiver Payments51-Damage Host-Waiver Payments511-Damage Host-Waiver Payments