with
    int_xero__bank_transaction_line_items as (
        select * from {{ ref("int_xero__bank_transaction_line_items") }}
    )
select
    btli.id_bank_transaction as id_bank_transaction,
    btli.id_line_item as id_line_item,
    btli.line_description as line_description,
    btli.id_account as id_account,
    btli.account_code as account_code,
    btli.account_name as account_name,
    btli.item_code as item_code,
    btli.quantity as quantity,
    btli.unit_amount as unit_amount,
    btli.line_amount_local_curr as line_amount_local_curr,
    btli.line_amount_in_gbp as line_amount_in_gbp,
    btli.line_amount_wo_taxes_local_curr as line_amount_wo_taxes_local_curr,
    btli.line_amount_wo_taxes_in_gbp as line_amount_wo_taxes_in_gbp,
    btli.tax_amount_local_curr as tax_amount_local_curr,
    btli.tax_amount_in_gbp as tax_amount_in_gbp,
    btli.tax_type as tax_type,
    btli.transaction_currency_iso_4217 as transaction_currency_iso_4217
from int_xero__bank_transaction_line_items btli
