| PKID | integer | plain | | | Account ID |
| fork | integer | plain | | forks.ID | Fork ID (`null` for base module) |
| ownergroup | integer | plain | | groups.ID | Owner group ID (`null`=PUBLIC) |
| creator | integer | plain | | users.ID | Creator user ID (defaults to authenticated user on creation) |
| assigneduser | integer | plain | | users.ID | Assigned user ID |
| creationdate | bigint | plain | | | Default: date_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation) |
| lastmodified | bigint | plain | | | Default: date_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification) |
| contact | integer | plain | | contacts.ID | Contact ID |
| visibility | smallint | plain | | | Default: 0Visibility (`0`=REGULAR, `1`=ARCHIVED, `2`=DELETED) |
| lastname | text | main | | | Default: ''Last name (surname or company name); is required if `firstname` is empty |
| firstname | text | main | | | Default: ''First name (given name); is required if `lastname` is empty |
| type | smallint | plain | | | Default: 0Account type (`0`=PROSPECT, `1`=CUSTOMER, `2`=SUPPLIER, `3`=CUSTOMERANDSUPPLIER, `4`=COMPETITOR, `5`=EMPLOYEE) |
| customernum | text | main | | | Default: ''Customer number; only for PROSPECT, CUSTOMERANDSUPPLIER, CUSTOMER or EMPLOYEE |
| suppliernum | text | main | | | Default: ''Supplier number; only for SUPPLIER or CUSTOMERANDSUPPLIER |
| taxid | text | extended | | | Default: ''Tax ID (e.g. VATIN or SSN) |
| currency | character varying(3) | extended | | | Currency code (ISO 4217) |
| locked | smallint | plain | | | Default: 0Deny booking of billing or procurement transactions |
| excludetax | smallint | plain | | | Default: 0Exclude from taxation |
| description | text | extended | | | Default: ''Detailed general description |