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>financial_account_type_id
</name>
47 <type>int unsigned
</type>
48 <title>Financial Account Type
</title>
49 <required>true
</required>
52 <comment>pseudo FK into civicrm_option_value.
</comment>
54 <optionGroupName>financial_account_type
</optionGroupName>
61 <name>accounting_code
</name>
62 <title>Accounting Code
</title>
66 <comment>Optional value for mapping monies owed and received to accounting system codes.
</comment>
70 <name>account_type_code
</name>
71 <title>Account Type Code
</title>
75 <comment>Optional value for mapping account types to accounting system account categories (QuickBooks Account Type Codes for example).
</comment>
79 <name>description
</name>
81 <title>Financial Account Description
</title>
83 <comment>Financial Type Description.
</comment>
87 <name>parent_id
</name>
88 <type>int unsigned
</type>
89 <title>Financial Account Parent
</title>
90 <comment>Parent ID in account hierarchy
</comment>
94 <name>parent_id
</name>
95 <table>civicrm_financial_account
</table>
100 <name>is_header_account
</name>
102 <title>Header Financial Account?
</title>
104 <comment>Is this a header account which does not allow transactions to be posted against it directly, but only to its sub-accounts?
</comment>
108 <name>is_deductible
</name>
110 <title>Deductible Financial Account?
</title>
112 <comment>Is this account tax-deductible?
</comment>
118 <title>Tax Financial Account?
</title>
120 <comment>Is this account for taxes?
</comment>
124 <name>tax_rate
</name>
126 <title>Financial Account Tax Rate
</title>
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 <title>Reserved Financial Account?
</title>
135 <comment>Is this a predefined system object?
</comment>
139 <name>is_active
</name>
141 <title>Financial Account is Active
</title>
142 <comment>Is this property active?
</comment>
146 <name>is_default
</name>
148 <title>Default Financial Account
</title>
149 <comment>Is this account the default one (or default tax one) for its financial_account_type?
</comment>
154 <fieldName>name
</fieldName>
155 <unique>true
</unique>