1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Financial
</base>
5 <class>FinancialAccount
</class>
6 <name>civicrm_financial_account
</name>
9 <component>CiviContribute
</component>
12 <title>Financial Account ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
20 <autoincrement>true
</autoincrement>
24 <title>Financial Account Name
</title>
27 <required>true
</required>
28 <comment>Financial Account Name.
</comment>
32 <name>contact_id
</name>
33 <uniqueName>financial_account_contact_id
</uniqueName>
34 <title>Contact ID
</title>
35 <type>int unsigned
</type>
36 <comment>FK to Contact ID that is responsible for the funds in this account
</comment>
40 <name>contact_id
</name>
41 <table>civicrm_contact
</table>
44 <onDelete>SET NULL
</onDelete>
47 <name>financial_account_type_id
</name>
48 <type>int unsigned
</type>
49 <title>Financial Account Type
</title>
50 <required>true
</required>
53 <comment>pseudo FK into civicrm_option_value.
</comment>
55 <optionGroupName>financial_account_type
</optionGroupName>
62 <name>accounting_code
</name>
63 <title>Accounting Code
</title>
67 <comment>Optional value for mapping monies owed and received to accounting system codes.
</comment>
71 <name>account_type_code
</name>
72 <title>Account Type Code
</title>
76 <comment>Optional value for mapping account types to accounting system account categories (QuickBooks Account Type Codes for example).
</comment>
80 <name>description
</name>
82 <title>Financial Account Description
</title>
84 <comment>Financial Type Description.
</comment>
88 <name>parent_id
</name>
89 <type>int unsigned
</type>
90 <title>Financial Account Parent
</title>
91 <comment>Parent ID in account hierarchy
</comment>
95 <name>parent_id
</name>
96 <table>civicrm_financial_account
</table>
101 <name>is_header_account
</name>
103 <title>Header Financial Account?
</title>
105 <comment>Is this a header account which does not allow transactions to be posted against it directly, but only to its sub-accounts?
</comment>
109 <name>is_deductible
</name>
111 <title>Deductible Financial Account?
</title>
113 <comment>Is this account tax-deductible?
</comment>
119 <title>Tax Financial Account?
</title>
121 <comment>Is this account for taxes?
</comment>
125 <name>tax_rate
</name>
127 <title>Financial Account Tax Rate
</title>
128 <length>10,
8</length>
129 <comment>The percentage of the total_amount that is due for this tax.
</comment>
133 <name>is_reserved
</name>
135 <title>Reserved Financial Account?
</title>
136 <comment>Is this a predefined system object?
</comment>
140 <name>is_active
</name>
142 <title>Financial Account is Active
</title>
143 <comment>Is this property active?
</comment>
147 <name>is_default
</name>
149 <title>Default Financial Account
</title>
150 <comment>Is this account the default one (or default tax one) for its financial_account_type?
</comment>
155 <fieldName>name
</fieldName>
156 <unique>true
</unique>