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

@ -158,6 +158,16 @@ select
then xero_e_deposit_net_fees_in_gbp
else null
end as xero_e_deposit_net_fees_in_gbp,
case
when {{ is_date_before_20th_of_previous_month("date") }}
then xero_check_in_hero_api_net_fees_in_gbp
else null
end as xero_check_in_hero_api_net_fees_in_gbp,
case
when {{ is_date_before_20th_of_previous_month("date") }}
then xero_screen_and_protect_api_net_fees_in_gbp
else null
end as xero_screen_and_protect_api_net_fees_in_gbp,
case
when {{ is_date_before_20th_of_previous_month("date") }}
then xero_waiver_paid_back_to_host_in_gbp