New API invoices

This commit is contained in:
Joaquin 2025-04-16 14:27:23 +02:00
parent 587661f818
commit 2c7e396c2c
11 changed files with 156 additions and 0 deletions

View file

@ -231,6 +231,8 @@ with
-- APIs REVENUE --
invoiced_revenue.xero_apis_net_fees_in_gbp,
invoiced_revenue.xero_e_deposit_net_fees_in_gbp,
invoiced_revenue.xero_check_in_hero_api_net_fees_in_gbp,
invoiced_revenue.xero_screen_and_protect_api_net_fees_in_gbp,
invoiced_revenue.xero_guesty_net_fees_in_gbp,
-- HOST RESOLUTIONS --
@ -483,6 +485,12 @@ select
-- APIs REVENUE --
{{ calculate_safe_relative_increment("xero_apis_net_fees_in_gbp") }},
{{ calculate_safe_relative_increment("xero_e_deposit_net_fees_in_gbp") }},
{{ calculate_safe_relative_increment("xero_check_in_hero_api_net_fees_in_gbp") }},
{{
calculate_safe_relative_increment(
"xero_screen_and_protect_api_net_fees_in_gbp"
)
}},
{{ calculate_safe_relative_increment("xero_guesty_net_fees_in_gbp") }},
-- HOST RESOLUTIONS --