Adding model xero__net_fees_by_deal documentation in schema.yaml. Added Waiver Fees in xero__net_fees documentation.

This commit is contained in:
uri 2024-05-30 09:15:53 +02:00
parent de4ab5b6e5
commit bf0010ceeb

View file

@ -1139,7 +1139,49 @@ models:
data_type: text
description: |
A fee category, one of out of booking_fees, listing_fees,
verification_fees.
verification_fees, waiver fees.
- name: fees_invoiced_in_gbp
data_type: numeric
description: The total sum of invoiced fees.
- name: fees_credited_in_gbp
data_type: numeric
description: The total sum of credited fees.
- name: net_fees_in_gbp
data_type: numeric
description: |
Net fees are calculated by subtracting credited fees from invoiced
fees. It might be the case that net fees are negative in some month,
if it happens to be that we have given back to customers more than we
have invoiced them.
- name: xero__net_fees_by_deal
description: |
A summary aggregation table showing the total raw and net fees by month
and year, dedicated for deal attribution.
Information comes from both Invoices and Credit notes.
Only documents in statuses ('PAID', 'AUTHORISED') are kept.
Net fees get computed by subtracting credited amounts from invoiced
amounts.
columns:
- name: issued_year
data_type: numeric
description: The issuing year of the aggregated documents.
- name: issued_month
data_type: numeric
description: The issuing month of the aggregated documents.
- name: fee_deal
data_type: text
description: |
A fee category per deal, at the moment only considering guesty fees.
- name: fees_invoiced_in_gbp
data_type: numeric