# Companies
- Catalog: `XAF`
- Retrieve: true
- Topic: `auditfile`
- Base XPath: `/xaf:auditfile`
- XPath: `/xaf:company`
The data in this table is partitioned per value of the COMPANY_NAME column.
## Table Columns
The columns of the table `Companies` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `AUDIT_FILE_VERSION` | `string(240)` | | ☐ | |
| `COMPANY_ADDRESS` | `string(240)` | | ☐ | |
| `COMPANY_CITY` | `string(240)` | | ☐ | |
| `COMPANY_ID` | `string(240)` | | ☐ | |
| `COMPANY_NAME` | `string(1000)` | | ☐ | |
| `COMPANY_POSTAL_CODE` | `string(240)` | | ☐ | |
| `COMPANY_TAX_REG_IDENT` | `string(240)` | | ☐ | |
| `COMPANYIDENT` | `string(240)` | | | |
| `COMPANYNAME` | `string(999)` | | | |
| `FILE_CURRENCY_CODE` | `string(240)` | | ☐ | |
| `FILE_DATE_CREATED` | `string(240)` | | ☐ | |
| `FISCAL_YEAR_END_DATE` | `datetime` | | ☐ | |
| `FISCAL_YEAR_NUMBER` | `string(240)` | | ☑ | |
| `FISCAL_YEAR_START_DATE` | `datetime` | | ☐ | |
| `INTERFACE_URL` | `string(4000)` | | ☑ | |
| `OPENINGBALANCE_LINESCOUNT` | `int64` | Opening Balance Lines Count | | |
| `OPENINGBALANCE_OPBALDATE` | `datetime` | Opening Balance Date | | |
| `OPENINGBALANCE_OPBALDESC` | `string(999)` | Opening Balance Description | | |
| `OPENINGBALANCE_TOTALCREDIT` | `decimal` | Opening Balance Total Credit | | |
| `OPENINGBALANCE_TOTALDEBIT` | `decimal` | Opening Balance Total Debit | | |
| `PRODUCT_ID` | `string(240)` | | ☐ | |
| `PRODUCT_VERSION` | `string(240)` | | ☐ | |
| `TAXREGIDENT` | `string(240)` | | | |
| `TAXREGISTRATIONCOUNTRY` | `string(240)` | | | |
| `TRANSACTIONS_LINESCOUNT` | `int64` | Transactions Lines Count | | |
| `TRANSACTIONS_TOTALCREDIT` | `decimal` | Transactions Total Credit | | |
| `TRANSACTIONS_TOTALDEBIT` | `decimal` | Transactions Total Debit | | |