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

@ -177,6 +177,8 @@ select
-- 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 --

View file

@ -670,6 +670,28 @@
"display_exclusion": "INVOICING",
"include_in_account_reporting": false,
},
{
"order_by": 247,
"metric": "Invoiced Check In Hero API Revenue",
"value": "xero_check_in_hero_api_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_check_in_hero_api_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_check_in_hero_api_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
"display_exclusion": "INVOICING",
"include_in_account_reporting": false,
},
{
"order_by": 248,
"metric": "Invoiced Screen & Protect API Revenue",
"value": "xero_screen_and_protect_api_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_screen_and_protect_api_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_screen_and_protect_api_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
"display_exclusion": "INVOICING",
"include_in_account_reporting": false,
},
{
"order_by": 250,
"metric": "Guest Revenue",

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 --