Monday, July 19, 2010

, , ,

Databases in Accounting: DBMS, Structure, Controls and Examples

A database in accounting is an organised collection of data that can support multiple accounting and business applications. Instead of keeping separate, disconnected files for customers, suppliers, inventory, payroll and the general ledger, a database allows authorised users and systems to work from controlled, related data.

This guide explains database structure, database management systems, accounting uses, internal controls, security, ERP integration and practical examples.

What Is a Database?

A database stores data in a structured form so that it can be entered, updated, searched and reported efficiently. A database management system, or DBMS, is the software used to create, manage and control that database.

A spreadsheet can store data, but it is not automatically a well-designed database. A database is normally better suited to large volumes, multiple users, controlled relationships, transaction processing and reliable audit trails.

Basic Database Terms

Term Meaning Accounting example
Table A set of related records Customers, invoices or payments
Record One complete item in a table One customer or one invoice
Field One attribute within a record Invoice date or customer name
Primary key A unique identifier Invoice ID or customer ID
Foreign key A field linking one table to another Customer ID stored in the invoice table
Query A request to retrieve or analyse data List invoices overdue by more than 60 days

Relational Database Example

Consider a simple receivables database with three tables:

  • Customers: customer ID, name, address, credit limit and payment terms;
  • Invoices: invoice ID, customer ID, invoice date, due date and amount; and
  • Receipts: receipt ID, customer ID, date, amount and bank reference.

The customer ID links the tables. The customer’s name and address do not need to be repeated on every invoice record. This reduces duplication and makes controlled updates easier.

What Does a DBMS Do?

A DBMS commonly provides:

  • data entry, validation and editing;
  • storage and retrieval;
  • relationships between tables;
  • query and reporting tools;
  • user access controls;
  • concurrent multi-user processing;
  • backup and recovery features;
  • transaction logs and audit trails; and
  • rules that protect data integrity.

Accounting software may hide the database from ordinary users, but invoices, journal entries and reports are usually being created from structured records stored underneath the user interface.

How Databases Are Used in Accounting

Transaction processing

Sales, purchases, receipts, payments and payroll transactions can be entered once and used to update several records. A sales invoice may update revenue, trade receivables, the customer account, inventory and tax records.

General ledger integration

Subsidiary systems can send summarised or detailed entries to the general ledger. Integration reduces re-keying, but it also makes interface controls important. A failed or duplicated interface can affect several accounts.

Management reporting

Databases allow managers to analyse revenue by product, receivables by age, spending by supplier, labour cost by department and inventory by location. Reports can be refreshed from current data instead of manually rebuilding them.

Audit and compliance

Audit trails can record who created, approved or changed a transaction and when the change occurred. Properly designed logs support investigation, monitoring and accountability.

Planning and analytics

Accounting data can be combined with operational data for forecasting, budgeting, fraud detection, profitability analysis and performance management.

Databases and ERP Systems

An enterprise resource planning system integrates functions such as finance, sales, purchasing, inventory, production and human resources. Many ERP systems use a shared database or a tightly integrated data architecture.

The major advantage is that departments work with consistent information. For example, a sales transaction can affect customer credit, inventory availability, revenue, cost of sales and cash forecasting without separate manual updates.

The risk is that inaccurate master data or an incorrect configuration can spread errors across the organisation. Integration increases the need for disciplined governance and testing.

Database Design and Normalisation

Good database design aims to store each important fact in the correct place and avoid unnecessary duplication. Normalisation is a structured approach to separating data into related tables.

For example, storing a customer’s address separately on every invoice creates inconsistent copies when the customer moves. A better design stores the current address in the customer table and uses the customer ID to link records. Where the historic invoice address must be preserved, the system can deliberately store an approved snapshot for that purpose.

Data Integrity Controls

  • Validation rules: required fields, valid dates, acceptable ranges and correct formats;
  • Referential integrity: preventing an invoice from referring to a customer that does not exist;
  • Unique identifiers: avoiding duplicate invoice numbers or customer codes;
  • Authorisation workflows: requiring approval for sensitive transactions;
  • Reconciliations: comparing subsystem totals with the general ledger;
  • Exception reports: identifying unusual or incomplete records; and
  • change logs: recording master-file and transaction amendments.

Database Security

Accounting databases contain commercially sensitive and personal information. Security should be based on the principle that users receive only the access needed for their role.

Important measures include:

  • unique user accounts and strong authentication;
  • role-based access;
  • segregation of duties;
  • encryption where appropriate;
  • regular patching and vulnerability management;
  • monitoring of privileged users;
  • secure backups;
  • tested disaster-recovery procedures; and
  • prompt removal of access when staff leave or change roles.

Security is not only an IT responsibility. Finance staff must review access rights, challenge unusual transactions and understand how data move between systems.

Backups and Recovery

A backup is useful only if it can be restored. Organisations should define:

  • how frequently data are backed up;
  • how long backups are retained;
  • where copies are stored;
  • who can access them;
  • how restoration is tested; and
  • the acceptable recovery time and data-loss period.

Cloud systems may provide resilience, but the organisation still needs to understand the provider’s responsibilities, export options and recovery arrangements.

Advantages of Databases in Accounting

  • one controlled source of data;
  • faster processing and reporting;
  • less duplication and re-keying;
  • stronger consistency between departments;
  • better search and analysis;
  • real-time or near-real-time information;
  • scalable storage; and
  • improved audit trails.

Risks and Limitations

  • poor-quality input produces poor-quality reports;
  • unauthorised access may expose large volumes of data;
  • system failure can disrupt many business processes;
  • complex configurations may be misunderstood;
  • interfaces may omit or duplicate transactions;
  • vendor dependence can make migration difficult; and
  • automated reports may be trusted without sufficient review.

Database vs Spreadsheet

Database Spreadsheet
Designed for structured records and relationships Designed mainly for calculation and flexible analysis
Supports controlled multi-user transactions Multi-user control may be more limited
Strong keys and integrity rules Rows and formulas can be changed more freely
Better for high-volume operational data Useful for models, schedules and ad hoc analysis

Frequently Asked Questions

What is a DBMS in accounting?

It is the software that stores, organises, secures and retrieves accounting-related data. The accounting application may use the DBMS without users interacting with it directly.

What is the purpose of a primary key?

A primary key uniquely identifies a record, such as one customer or one invoice. It helps prevent ambiguity and supports reliable links between tables.

Why are databases important for internal control?

They can enforce validation, access rights, approval workflows and audit trails. However, controls must be designed and monitored properly; the database does not create good governance by itself.

Is cloud accounting based on databases?

Yes. Cloud accounting applications store and process data in databases operated on remote infrastructure, subject to the service provider’s architecture and controls.

Related Accounting Guides

Conclusion

Databases support modern accounting by connecting transactions, master data, controls and reporting. The value of a database comes not only from technology but from good design, accurate data, strong access control, reliable backups and informed review by finance and business users.

Authoritative references: ACCA — Information systems, ACCA — Developments in IT and performance management, and ACCA — The data revolution.

Advertisement