data-dwh-dbt-project/models/reporting
Joaquin Ossa 4b94d5f70b Merged PR 3896: S&P invoice model
# Description

New Invoice model for S&P
Quite a dense model, it needs to consider some different situations for the different Protection types, verification status and if the user has the `is_protected` flag active for it's bookings.
I leave the documentation for support to better clarify all the possible scenarios and a screenshot of how it is currently looking the model's result.
There are a couple of rename changes on other models, nothing big.
If there are any inquiries let me know.
https://www.notion.so/knowyourguest-superhog/Invoice-Screen-Protect-1610446ff9c980f88de6d6293b4fab03?pvs=4

![image.png](https://guardhog.visualstudio.com/4148d95f-4b6d-4205-bcff-e9c8e0d2ca65/_apis/git/repositories/54ac356f-aad7-46d2-b62c-e8c5b3bb8ebf/pullRequests/3896/attachments/image.png)

# 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: #25360
2025-02-14 08:18:42 +00:00
..
athena change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
check_in_hero cih monthly fee to reporting 2025-01-21 12:37:50 +01:00
core Addressed comments 2025-02-14 08:35:51 +01:00
edeposit change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
general Merged PR 4326: Remove cancelled Bookings. Adds index in mtd_aggregated_metrics 2025-02-10 13:14:31 +00:00
kpis change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
screen_and_protect commit wip 2025-02-13 15:31:22 +01:00
xero Merged PR 4236: Propagate contact name for reporting purposes only 2025-01-31 09:53:54 +00:00
exposures.yml Merged PR 4371: fixed exposures 2025-02-12 14:49:46 +00:00