add docs and tablesfor table
This commit is contained in:
parent
a22d85340d
commit
e8f9432507
1 changed files with 104 additions and 0 deletions
|
|
@ -983,3 +983,107 @@ models:
|
||||||
- name: dwh_extracted_at_utc
|
- name: dwh_extracted_at_utc
|
||||||
data_type: timestamp with time zone
|
data_type: timestamp with time zone
|
||||||
description: ""
|
description: ""
|
||||||
|
- name: xero__bank_transaction_line_items
|
||||||
|
description: |
|
||||||
|
Line item level data for our Bank Transactions.
|
||||||
|
|
||||||
|
You can read more here: https://developer.xero.com/documentation/api/accounting/banktransactions
|
||||||
|
|
||||||
|
columns:
|
||||||
|
- name: id_bank_transaction
|
||||||
|
data_type: character varying
|
||||||
|
description: Xero's unique identifier for the transaction.
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
|
||||||
|
- name: id_line_item
|
||||||
|
data_type: text
|
||||||
|
description: Xero's unique identifier for the line item.
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
- unique
|
||||||
|
|
||||||
|
- name: line_description
|
||||||
|
data_type: text
|
||||||
|
description: A text description of the line item.
|
||||||
|
|
||||||
|
- name: id_account
|
||||||
|
data_type: text
|
||||||
|
description: Xero's unique identifier for the related Account.
|
||||||
|
|
||||||
|
- name: account_code
|
||||||
|
data_type: text
|
||||||
|
description: Accounting code for the related account.
|
||||||
|
|
||||||
|
- name: account_name
|
||||||
|
data_type: character varying
|
||||||
|
description: Name for the related account.
|
||||||
|
|
||||||
|
- name: item_code
|
||||||
|
data_type: text
|
||||||
|
description: Item code if an item has been specified.
|
||||||
|
|
||||||
|
- name: quantity
|
||||||
|
data_type: numeric
|
||||||
|
description: How much of the item is transfered in this transaction.
|
||||||
|
|
||||||
|
- name: unit_amount
|
||||||
|
data_type: numeric
|
||||||
|
description: The quantity-to-money conversion rate for this item.
|
||||||
|
|
||||||
|
- name: line_amount_local_curr
|
||||||
|
data_type: numeric
|
||||||
|
description: |
|
||||||
|
The total value transfered in this line, in the transaction currency.
|
||||||
|
|
||||||
|
- name: line_amount_in_gbp
|
||||||
|
data_type: numeric
|
||||||
|
description: |
|
||||||
|
The total value transfered in this line, presented in GBP.
|
||||||
|
|
||||||
|
- name: line_amount_wo_taxes_local_curr
|
||||||
|
data_type: numeric
|
||||||
|
description: |
|
||||||
|
The total value transfered in this line, minus taxes, in the
|
||||||
|
transaction currency.
|
||||||
|
|
||||||
|
In some cases, this will be the same value as the line amount. This
|
||||||
|
depends on whether there is any tax in the invoice, and whether the
|
||||||
|
invoice amounts are tax inclusive or tax exclusive. You can find this
|
||||||
|
out in the details of the transaction this line item belongs to.
|
||||||
|
|
||||||
|
- name: line_amount_wo_taxes_in_gbp
|
||||||
|
data_type: numeric
|
||||||
|
description: |
|
||||||
|
TThe total value transfered in this line, minus taxes, presented in
|
||||||
|
GBP.
|
||||||
|
|
||||||
|
In some cases, this will be the same value as the line amount. This
|
||||||
|
depends on whether there is any tax in the invoice, and whether the
|
||||||
|
invoice amounts are tax inclusive or tax exclusive. You can find this
|
||||||
|
out in the details of the transaction this line item belongs to.
|
||||||
|
|
||||||
|
- name: tax_amount_local_curr
|
||||||
|
data_type: numeric
|
||||||
|
description: |
|
||||||
|
The total value of taxes for this line, in the transaction currency.
|
||||||
|
|
||||||
|
- name: tax_amount_in_gbp
|
||||||
|
data_type: numeric
|
||||||
|
description: |
|
||||||
|
The total value of taxes for this line, presented in GBP.
|
||||||
|
|
||||||
|
- name: tax_type
|
||||||
|
data_type: text
|
||||||
|
description: ""
|
||||||
|
|
||||||
|
- name: transaction_currency_iso_4217
|
||||||
|
data_type: character varying
|
||||||
|
description: |
|
||||||
|
The currency in which this line item amounts are defined.
|
||||||
|
|
||||||
|
Line items don't really have a currency definition of its own, this
|
||||||
|
field is populated for your convenience when working with this data.
|
||||||
|
The transaction currency is defined at the Bank Transaction level, and
|
||||||
|
the values you see in this field should always be the same as the
|
||||||
|
currency of the Bank Transaction this line item belongs to.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue