data-dwh-dbt-project/models/intermediate
Oriol Roqué Paniagua b16cb172b6 Merged PR 2349: Retrieve account for xero invoices, credit notes and sales denom mart
Discussing with Jamie on how I can retrieve the information from Xero for E-deposit and Guesty, he told me that these go to a dedicated account. Since these are invoiced, they do not go to the bank transactions.
Specifically:
- 220 - E-Deposit Fees
- 219 - Guesty Fees
- 221 - Guesty Administration fee

After debugging the data (and getting confirmation from Jamie that indeed we were having invoices on e-deposit), I see that this info is available in the original json from staging. This PR aims just to retrieve these 3 fields:
- id_account
- account_code
- account_name

This will be used later on to retrieve the rest of API KPIs

Related work items: #18719
2024-07-18 15:47:14 +00:00
..
core Merged PR 2301: KPIs Billable Bookings 1st version 2024-07-15 10:59:37 +00:00
cross Merged PR 2317: Exposing first_day_month for business kpis 2024-07-16 09:14:38 +00:00
xero Merged PR 2349: Retrieve account for xero invoices, credit notes and sales denom mart 2024-07-18 15:47:14 +00:00