1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Financial
</base>
5 <class>FinancialAccount
</class>
6 <name>civicrm_financial_account
</name>
11 <title>Financial Account ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
19 <autoincrement>true
</autoincrement>
23 <title>Financial Account Name
</title>
26 <required>true
</required>
27 <comment>Financial Account Name.
</comment>
31 <name>contact_id
</name>
32 <uniqueName>financial_account_contact_id
</uniqueName>
33 <title>Contact ID
</title>
34 <type>int unsigned
</type>
35 <comment>FK to Contact ID that is responsible for the funds in this account
</comment>
39 <name>contact_id
</name>
40 <table>civicrm_contact
</table>
43 <onDelete>SET NULL
</onDelete>
46 <name>account_type_id
</name>
47 <type>int unsigned
</type>
48 <required>true
</required>
53 <name>financial_account_type_id
</name>
54 <type>int unsigned
</type>
55 <required>true
</required>
58 <comment>pseudo FK into civicrm_option_value.
</comment>
60 <optionGroupName>financial_account_type
</optionGroupName>
67 <name>accounting_code
</name>
68 <title>Accounting Code
</title>
72 <comment>Optional value for mapping monies owed and received to accounting system codes.
</comment>
76 <name>account_type_code
</name>
77 <title>Account Type Code
</title>
81 <comment>Optional value for mapping account types to accounting system account categories (QuickBooks Account Type Codes for example).
</comment>
85 <name>description
</name>
88 <comment>Financial Type Description.
</comment>
92 <name>parent_id
</name>
93 <type>int unsigned
</type>
94 <comment>Parent ID in account hierarchy
</comment>
98 <name>parent_id
</name>
99 <table>civicrm_financial_account
</table>
104 <name>is_header_account
</name>
107 <comment>Is this a header account which does not allow transactions to be posted against it directly, but only to its sub-accounts?
</comment>
111 <name>is_deductible
</name>
114 <comment>Is this account tax-deductible?
</comment>
121 <comment>Is this account for taxes?
</comment>
125 <name>tax_rate
</name>
127 <length>10,
8</length>
128 <comment>The percentage of the total_amount that is due for this tax.
</comment>
132 <name>is_reserved
</name>
134 <comment>Is this a predefined system object?
</comment>
138 <name>is_active
</name>
140 <comment>Is this property active?
</comment>
144 <name>is_default
</name>
146 <comment>Is this account the default one (or default tax one) for its financial_account_type?
</comment>
151 <fieldName>name
</fieldName>
152 <unique>true
</unique>