formatting

This commit is contained in:
Pablo Martin 2024-02-26 18:03:59 +01:00
parent afcd0a2fc9
commit 202686f86c

View file

@ -10,60 +10,79 @@ models:
- name: id
data_type: character varying
description: "{{ doc('generic_id_desc') }}"
- name: fee
data_type: numeric
description: "Fees paid for this transaction. Represented as a positive integer when assessed."
- name: net
data_type: numeric
description: "Net impact to a Stripe balance. A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by amount - fee"
- name: type
data_type: character varying
description: "Transaction type: adjustment, advance, advance_funding, anticipation_repayment, application_fee, application_fee_refund, charge, climate_order_purchase, climate_order_refund, connect_collection_transfer, contribution, issuing_authorization_hold, issuing_authorization_release, issuing_dispute, issuing_transaction, obligation_outbound, obligation_reversal_inbound, payment, payment_failure_refund, payment_network_reserve_hold, payment_network_reserve_release, payment_refund, payment_reversal, payment_unreconciled, payout, payout_cancel, payout_failure, refund, refund_failure, reserve_transaction, reserved_funds, stripe_fee, stripe_fx_fee, tax_fee, topup, topup_reversal, transfer, transfer_cancel, transfer_failure, or transfer_refund. Learn more about balance transaction types and what they represent. To classify transactions for accounting purposes, consider reporting_category instead."
- name: amount
data_type: numeric
description: "Gross amount of this transaction. A positive value represents funds charged to another party, and a negative value represents funds sent to another party."
- name: object
data_type: character varying
description: "Silly column. The value is always `balance_transaction`."
- name: source
data_type: character varying
description: "This transaction relates to the Stripe object indicated here. Can be different object types (charge, refund, payment, etc)."
- name: status
data_type: character varying
description: "The transactions net funds status in the Stripe balance, which are either available or pending."
- name: created_at_utc
data_type: timestamp with time zone
description: "The timestamp at which the object was created."
- name: created_date_utc
data_type: date
description: "The date when the object was created."
- name: currency
data_type: character varying
description: "{{ doc('currency_desc') }}"
- name: description
data_type: character varying
description: "An arbitrary string attached to the object. Often useful for displaying to users."
- name: fee_details
data_type: jsonb
description: "Detailed breakdown of fees (in cents) paid for this transaction."
- name: available_at_utc
data_type: timestamp with time zone
description: "The timestamp at which the transactions net funds become available in the Stripe balance."
- name: available_date_utc
data_type: date
description: "The date when the object was available."
- name: exchange_rate
data_type: numeric
description: "If applicable, this transaction uses an exchange rate. If money converts from currency A to currency B, then the amount in currency A, multipled by the exchange_rate, equals the amount in currency B. For example, if you charge a customer 10.00 EUR, the PaymentIntents amount is 1000 and currency is eur. If this converts to 12.34 USD in your Stripe account, the BalanceTransactions amount is 1234, its currency is usd, and the exchange_rate is 1.234."
- name: sourced_transfers
data_type: jsonb
description: "{{ doc('field_docs_na_desc') }}"
- name: reporting_category
data_type: character varying
description: "Read more at https://stripe.com/docs/reports/reporting-categories."
- name: dwh_extracted_at_utc
data_type: timestamp with time zone
description: "{{ doc('dwh_extracted_at_utc_desc')}}"
- name: dwh_extracted_date_utc
data_type: date
description: "{{ doc('dwh_extracted_date_utc_desc')}}"