This file exists to give an overview of the Financial entities involved in recording Financial data in CiviCRM.
You should only interact with the Financial entities through the relevant apis -
generally Order & Payment apis.
You should only interact with the Financial entities through the relevant apis - generally Order & Payment apis.
It is a work in progress!
The original file for tracking these is https://wiki.civicrm.org/confluence/display/CRM/CiviAccounts+Data+Flow
The original file for tracking these is [on the old CiviCRM Wik](https://wiki.civicrm.org/confluence/display/CRM/CiviAccounts+Data+Flow).
##Financial accounts
##Financial Accounts
These are accounting financial accounts. They have fields intended to help map to an accounting package that
are not used functionally in CiviCRM but are available in various reports.
- accounting_code (free form text)
- account_type_code (free form text)
- financial_account_type_id (linked to the option group with thee name financial_account_type)
- contact id (not used in core but can be used in extensions - e.g. this is used in the [connectors](https://github.com/eileenmcnaughton/nz.co.fuzion.connectors) extension to link some accounts to one Xero account & others to a different one).
- is_header_account
In addition there are some functional fields that affect how tax is handled
tax_rate
is_deductible
is_tax
* accounting_code (free-form text)
* account_type_code (free-form text)
* financial_account_type_id (linked to the option group with the name financial_account_type)
* contact id (not used in core but can be used in extensions - e.g. this is used in the [connectors](https://github.com/eileenmcnaughton/nz.co.fuzion.connectors) extension to link some accounts to one Xero account & others to a different one).
* is_header_account
In addition there are some functional fields that affect how tax is handled: