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 <title>Financial Account Type
</title>
56 <required>true
</required>
59 <comment>pseudo FK into civicrm_option_value.
</comment>
61 <optionGroupName>financial_account_type
</optionGroupName>
68 <name>accounting_code
</name>
69 <title>Accounting Code
</title>
73 <comment>Optional value for mapping monies owed and received to accounting system codes.
</comment>
77 <name>account_type_code
</name>
78 <title>Account Type Code
</title>
82 <comment>Optional value for mapping account types to accounting system account categories (QuickBooks Account Type Codes for example).
</comment>
86 <name>description
</name>
88 <title>Financial Account Description
</title>
90 <comment>Financial Type Description.
</comment>
94 <name>parent_id
</name>
95 <type>int unsigned
</type>
96 <title>Financial Account Parent
</title>
97 <comment>Parent ID in account hierarchy
</comment>
101 <name>parent_id
</name>
102 <table>civicrm_financial_account
</table>
107 <name>is_header_account
</name>
109 <title>Header Financial Account?
</title>
111 <comment>Is this a header account which does not allow transactions to be posted against it directly, but only to its sub-accounts?
</comment>
115 <name>is_deductible
</name>
117 <title>Deductible Financial Account?
</title>
119 <comment>Is this account tax-deductible?
</comment>
125 <title>Tax Financial Account?
</title>
127 <comment>Is this account for taxes?
</comment>
131 <name>tax_rate
</name>
133 <title>Financial Account Tax Rate
</title>
134 <length>10,
8</length>
135 <comment>The percentage of the total_amount that is due for this tax.
</comment>
139 <name>is_reserved
</name>
141 <title>Reserved Financial Account?
</title>
142 <comment>Is this a predefined system object?
</comment>
146 <name>is_active
</name>
148 <title>Financial Account is Active
</title>
149 <comment>Is this property active?
</comment>
153 <name>is_default
</name>
155 <title>Default Financial Account
</title>
156 <comment>Is this account the default one (or default tax one) for its financial_account_type?
</comment>
161 <fieldName>name
</fieldName>
162 <unique>true
</unique>