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>
23 <autoincrement>true
</autoincrement>
27 <title>Financial Account Name
</title>
30 <required>true
</required>
31 <comment>Financial Account Name.
</comment>
35 <name>contact_id
</name>
36 <uniqueName>financial_account_contact_id
</uniqueName>
37 <title>Contact ID
</title>
38 <type>int unsigned
</type>
39 <comment>FK to Contact ID that is responsible for the funds in this account
</comment>
41 <label>Contact
</label>
46 <name>contact_id
</name>
47 <table>civicrm_contact
</table>
50 <onDelete>SET NULL
</onDelete>
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>Parent ID
</title>
97 <comment>Parent ID in account hierarchy
</comment>
104 <name>parent_id
</name>
105 <table>civicrm_financial_account
</table>
110 <name>is_header_account
</name>
112 <title>Header Financial Account?
</title>
114 <comment>Is this a header account which does not allow transactions to be posted against it directly, but only to its sub-accounts?
</comment>
118 <name>is_deductible
</name>
120 <title>Deductible Financial Account?
</title>
122 <comment>Is this account tax-deductible?
</comment>
128 <title>Tax Financial Account?
</title>
130 <comment>Is this account for taxes?
</comment>
134 <name>tax_rate
</name>
136 <title>Financial Account Tax Rate
</title>
137 <length>10,
8</length>
138 <comment>The percentage of the total_amount that is due for this tax.
</comment>
142 <name>is_reserved
</name>
144 <title>Reserved Financial Account?
</title>
145 <comment>Is this a predefined system object?
</comment>
149 <name>is_active
</name>
151 <title>Financial Account is Active
</title>
152 <comment>Is this property active?
</comment>
156 <name>is_default
</name>
158 <title>Default Financial Account
</title>
159 <comment>Is this account the default one (or default tax one) for its financial_account_type?
</comment>
164 <fieldName>name
</fieldName>
165 <unique>true
</unique>