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

@ -45,6 +45,12 @@
) as xero_waiver_paid_back_to_host_in_gbp,
sum(xero_e_deposit_net_fees_in_gbp) as xero_e_deposit_net_fees_in_gbp,
sum(xero_athena_net_fees_in_gbp) as xero_athena_net_fees_in_gbp,
sum(
xero_check_in_hero_api_net_fees_in_gbp
) as xero_check_in_hero_api_net_fees_in_gbp,
sum(
xero_screen_and_protect_api_net_fees_in_gbp
) as xero_screen_and_protect_api_net_fees_in_gbp,
sum(xero_guesty_net_fees_in_gbp) as xero_guesty_net_fees_in_gbp,
sum(xero_apis_net_fees_in_gbp) as xero_apis_net_fees_in_gbp,
sum(

View file

@ -45,6 +45,12 @@
) as xero_waiver_paid_back_to_host_in_gbp,
sum(xero_e_deposit_net_fees_in_gbp) as xero_e_deposit_net_fees_in_gbp,
sum(xero_athena_net_fees_in_gbp) as xero_athena_net_fees_in_gbp,
sum(
xero_check_in_hero_api_net_fees_in_gbp
) as xero_check_in_hero_api_net_fees_in_gbp,
sum(
xero_screen_and_protect_api_net_fees_in_gbp
) as xero_screen_and_protect_api_net_fees_in_gbp,
sum(xero_guesty_net_fees_in_gbp) as xero_guesty_net_fees_in_gbp,
sum(xero_apis_net_fees_in_gbp) as xero_apis_net_fees_in_gbp,
sum(

View file

@ -174,6 +174,20 @@ select
else 0
end
) as xero_athena_net_fees_in_gbp,
sum(
case
when ixsdm.accounting_root_aggregation = 'Check in Hero API'
then ixsdm.line_amount_wo_taxes_in_gbp
else 0
end
) as xero_check_in_hero_api_net_fees_in_gbp,
sum(
case
when ixsdm.accounting_root_aggregation = 'Screen and Protect API'
then ixsdm.line_amount_wo_taxes_in_gbp
else 0
end
) as xero_screen_and_protect_api_net_fees_in_gbp,
sum(
case
when ixsdm.accounting_root_aggregation = 'Guesty Resolutions'

View file

@ -50,6 +50,12 @@ select
) as xero_waiver_paid_back_to_host_in_gbp,
sum(ir.xero_e_deposit_net_fees_in_gbp) as xero_e_deposit_net_fees_in_gbp,
sum(ir.xero_athena_net_fees_in_gbp) as xero_athena_net_fees_in_gbp,
sum(
ir.xero_check_in_hero_api_net_fees_in_gbp
) as xero_check_in_hero_api_net_fees_in_gbp,
sum(
ir.xero_screen_and_protect_api_net_fees_in_gbp
) as xero_screen_and_protect_api_net_fees_in_gbp,
sum(ir.xero_guesty_net_fees_in_gbp) as xero_guesty_net_fees_in_gbp,
sum(ir.xero_apis_net_fees_in_gbp) as xero_apis_net_fees_in_gbp,
sum(

View file

@ -50,6 +50,12 @@ select
) as xero_waiver_paid_back_to_host_in_gbp,
sum(ir.xero_e_deposit_net_fees_in_gbp) as xero_e_deposit_net_fees_in_gbp,
sum(ir.xero_athena_net_fees_in_gbp) as xero_athena_net_fees_in_gbp,
sum(
ir.xero_check_in_hero_api_net_fees_in_gbp
) as xero_check_in_hero_api_net_fees_in_gbp,
sum(
ir.xero_screen_and_protect_api_net_fees_in_gbp
) as xero_screen_and_protect_api_net_fees_in_gbp,
sum(ir.xero_guesty_net_fees_in_gbp) as xero_guesty_net_fees_in_gbp,
sum(ir.xero_apis_net_fees_in_gbp) as xero_apis_net_fees_in_gbp,
sum(

View file

@ -4442,6 +4442,20 @@ models:
in a given date and per specified dimension. This is an
API service.
- name: xero_check_in_hero_api_net_fees_in_gbp
data_type: decimal
description: |
Sum of daily Check-In Hero API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_screen_and_protect_api_net_fees_in_gbp
data_type: decimal
description: |
Sum of daily Screen & Protect API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_athena_net_fees_in_gbp
data_type: decimal
description: |
@ -4651,6 +4665,20 @@ models:
in a given month and per specified dimension. This is an
API service.
- name: xero_check_in_hero_api_net_fees_in_gbp
data_type: decimal
description: |
Sum of accummulated Check-In Hero API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_screen_and_protect_api_net_fees_in_gbp
data_type: decimal
description: |
Sum of accummulated Screen & Protect API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_athena_net_fees_in_gbp
data_type: decimal
description: |
@ -4854,6 +4882,20 @@ models:
in a given month up to the given date and per specified dimension.
This is an API service.
- name: xero_check_in_hero_api_net_fees_in_gbp
data_type: decimal
description: |
Sum of accummulated Check-In Hero API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_screen_and_protect_api_net_fees_in_gbp
data_type: decimal
description: |
Sum of accummulated Screen & Protect API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_athena_net_fees_in_gbp
data_type: decimal
description: |
@ -4931,6 +4973,8 @@ models:
- xero_verification_net_fees_in_gbp
- xero_operator_net_fees_in_gbp
- xero_e_deposit_net_fees_in_gbp
- xero_check_in_hero_api_net_fees_in_gbp
- xero_screen_and_protect_api_net_fees_in_gbp
- xero_athena_net_fees_in_gbp
- xero_guesty_resolutions_net_fees_in_gbp
- xero_guesty_net_fees_in_gbp
@ -5041,6 +5085,20 @@ models:
for a given date, dimension and value.
This is an API service.
- name: xero_check_in_hero_api_net_fees_in_gbp
data_type: decimal
description: |
The monthly Check-In Hero API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_screen_and_protect_api_net_fees_in_gbp
data_type: decimal
description: |
The monthly Screen & Protect API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_athena_net_fees_in_gbp
data_type: decimal
description: |
@ -5116,6 +5174,8 @@ models:
- xero_verification_net_fees_in_gbp
- xero_operator_net_fees_in_gbp
- xero_e_deposit_net_fees_in_gbp
- xero_check_in_hero_api_net_fees_in_gbp
- xero_screen_and_protect_api_net_fees_in_gbp
- xero_athena_net_fees_in_gbp
- xero_guesty_resolutions_net_fees_in_gbp
- xero_guesty_net_fees_in_gbp
@ -5227,6 +5287,20 @@ models:
for a given date, dimension and value.
This is an API service.
- name: xero_check_in_hero_api_net_fees_in_gbp
data_type: decimal
description: |
The month-to-date Check-In Hero API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_screen_and_protect_api_net_fees_in_gbp
data_type: decimal
description: |
The month-to-date Screen & Protect API Net Fees, in GBP, without taxes
in a given date and per specified dimension. This is an
API service.
- name: xero_athena_net_fees_in_gbp
data_type: decimal
description: |