with
    int_xero__sales_monthly_trends as (
        select * from {{ ref("int_xero__sales_monthly_trends") }}
    )
select
    document_issued_month_utc as document_issued_month_utc,
    fiscal_year as fiscal_year,
    previous_fiscal_year as previous_fiscal_year,
    document_status as document_status,
    document_type as document_type,
    id_deal as id_deal,
    accounting_financial_l1_aggregation as accounting_financial_l1_aggregation,
    accounting_financial_l2_aggregation as accounting_financial_l2_aggregation,
    accounting_financial_l3_aggregation as accounting_financial_l3_aggregation,
    amount_wo_taxes_in_gbp as amount_wo_taxes_in_gbp,
    previous_month_amount_wo_taxes_in_gbp as previous_month_amount_wo_taxes_in_gbp,
    previous_year_amount_wo_taxes_in_gbp as previous_year_amount_wo_taxes_in_gbp,
    ytd_amount_wo_taxes_in_gbp as ytd_amount_wo_taxes_in_gbp,
    previous_year_ytd_amount_wo_taxes_in_gbp as previous_year_ytd_amount_wo_taxes_in_gbp
from int_xero__sales_monthly_trends
