18 lines
521 B
SQL
18 lines
521 B
SQL
with
|
|
int_xero__invoice_line_items as (
|
|
select * from {{ ref("int_xero__invoice_line_items") }}
|
|
)
|
|
|
|
select
|
|
id_invoice as id_invoice,
|
|
id_line_item as id_line_item,
|
|
id_item as id_item,
|
|
item_code as item_code,
|
|
quantity as quantity,
|
|
unit_amount as unit_amount,
|
|
line_amount as line_amount,
|
|
tax_amount as tax_amount,
|
|
tax_type as tax_type,
|
|
invoice_currency_iso_4217 as invoice_currency_iso_4217,
|
|
line_description as line_description
|
|
from int_xero__invoice_line_items li
|