# Setting Account Number Formats |

When you enter the account number initially in the chart of accounts screen what ever is entered is the default format. There is no validation for this screen. You can configure the ChartofAccountsResults rule to override this default format and use a specified format.

Element/Tag | Definition | Attribute | Element/Attribute Value and Description
<AccountNumberFormats> | Optional element; Lists the account number formats that are available to the CoA entries Defines the account number format using the Parts syntax. The actual codes are defined in the AsMap table |  |
<AccountNumberFormat> | Required / Repeatable element; Describes how to assemble an account number | NAME | Required attribute; ="String" Name to reference the AccountNumberFormat as.
<Parts> | Required element; List of parts that together forms the account number |  |
<Part> | Required / Repeatable element; Describes how to get each part of the account number; The text of this tag should be set to the name of the field from where the Part should take the value | TYPE | Required element value; String Any Category Fields Required attribute; ="COA / RESULT" Determines how the Part will be obtained COA - To retrieve value from the ChartOfAccounts screen's Transaction/Account Selection section. Account Number defined for Entry. RESULT - To retrieve value from the ChartOfAccounts screen's Results section