AI and accounting: opportunities and risks
Artificial Intelligence is redefining accounting work in Switzerland. From automatic invoice reading (OCR) to intelligent bank reconciliation, SMEs and fiduciary firms adopting AI tools report processing time reductions of up to 70% and a reduction in manual errors exceeding 80%.
However, accounting data is not just numbers: it contains client and supplier names, bank details, salary information and commercial transaction details. For all intents and purposes, this is personal data protected by the new Federal Act on Data Protection (nFADP), which came into force on 1 September 2023.
Integrating AI into accounting without a proper privacy risk assessment can expose the company to fines of up to CHF 250,000, reputational damage and loss of client trust. This guide provides a concrete path to adopting AI in a compliant manner, with obligations, risks and best practices specific to the Swiss accounting context.
AI applications in accounting
Artificial Intelligence is being integrated into every phase of the accounting cycle. Here are the five main applications transforming the sector:
OCR and data extraction
Deep learning-based OCR engines automatically extract amount, date, supplier, invoice number, VAT rate and IBAN from paper invoices, PDFs and images. Accuracy reaches 95–99% on structured documents, reducing manual data entry to near zero.
Automatic categorisation
Classification algorithms analyse invoice content and automatically assign the correct ledger account, cost centre and VAT category. The model learns from user corrections and improves progressively, adapting to the company's specific chart of accounts.
Intelligent bank reconciliation
AI matches bank transactions imported via API (Open Banking) to recorded invoices, identifying partial payments, groupings and discrepancies. Operations that used to take hours are completed in minutes with a matching rate above 90%.
Anomaly and fraud detection
Machine learning models analyse historical transaction patterns to identify duplicate invoices, anomalous amounts, suspicious suppliers and significant deviations from trends. An automated first-level audit that reduces the risk of errors and fraud.
Predictive reporting and analytics
AI automatically generates financial reports, cash flow projections and budget variance analyses. Accounting data is transformed into strategic insights, enabling informed real-time decisions rather than retrospective ones.
The nFADP at a glance
The new Federal Act on Data Protection (nFADP), in force since 1 September 2023, and the related Ordinance (DPO) have significantly strengthened the rights of natural persons and the obligations of companies. Here are the key principles relevant to accounting:
Purpose limitation (Art. 6 para. 3 nFADP)
Personal data may only be collected and processed for determined and recognisable purposes. In accounting, this means client data collected for invoicing cannot be used for commercial profiling without an additional legal basis.
Data minimisation (Art. 6 para. 2 nFADP)
Only data strictly necessary for the declared purpose may be processed. An AI accounting system must not store or process superfluous information — for example, OCR should not archive the full document image if the structured data has already been extracted.
Transparency and information (Art. 19 nFADP)
Data subjects must be informed about the collection and processing of their data. If an AI system automatically analyses supplier invoices, those suppliers must know their data is being processed by an algorithm and for what purpose.
Data security (Art. 8 nFADP, Art. 1–6 DPO)
The data controller must ensure data security through appropriate technical and organisational measures: encryption, access controls, logging, backups and periodic testing. The DPO specifies the criteria for assessing the adequacy of these measures.
Processor liability (Art. 9 nFADP)
When processing is delegated to third parties (e.g. AI cloud providers), the controller remains liable. They must verify that the processor ensures data security and enter into a compliant data processing agreement (DPA).
Register of processing activities (Art. 12 nFADP)
Companies with more than 250 employees (or processing sensitive data on a large scale) must maintain a register of processing activities. For AI accounting, the register must document which data is processed, by which systems, and under which legal basis.
Obligations for accounting data processing
Processing accounting data with AI tools entails specific obligations that go beyond simple bookkeeping. Here are the essential points:
- Carry out a Data Protection Impact Assessment (DPIA) before implementing an AI system that processes personal data on a large scale — a DPIA is mandatory when processing presents high risks to the personality of data subjects (Art. 22 nFADP)
- Appoint a data protection advisor (DPO) or at least an internal contact competent in privacy matters — recommended for fiduciary firms and SMEs managing accounting data on behalf of third parties
- Enter into a Data Processing Agreement (DPA) with every AI/cloud service provider accessing accounting data — the contract must specify purposes, duration, security measures and server locations
- Guarantee the right of access, rectification and erasure of personal data contained in accounting documents — while respecting the 10-year retention obligations under the CO for accounting records
- Notify the FDPIC (Federal Data Protection and Information Commissioner) of data security breaches as quickly as possible, and in any case within the statutory deadlines, when the breach poses a high risk to data subjects
AI-specific privacy risks
Using artificial intelligence in accounting introduces specific privacy risks that do not exist with traditional systems:
Unintentional profiling
An AI system analysing a supplier's invoices over time can build a detailed profile of their business activities, volumes and payment habits. This implicit profiling is subject to specific nFADP rules (Art. 5 let. f) and may require the explicit consent of the data subject.
Automated decisions
If the AI automatically classifies an invoice as suspicious or blocks a payment without human intervention, this constitutes an automated individual decision (Art. 21 nFADP). The data subject has the right to be informed and to request a human review.
Cross-border data transfers
Many AI cloud services process data on servers outside Switzerland. Transferring personal data to countries without an adequate level of protection (FDPIC list) requires additional contractual guarantees — standard contractual clauses, BCRs or explicit consent.
Algorithmic opacity (black box)
The deep learning models used for OCR and categorisation operate as 'black boxes': it is difficult to explain why data was classified in a certain way. The nFADP requires transparency — the company must be able to explain the logic behind automated processing.
Excessive data retention
AI systems tend to retain large amounts of data for model training and improvement. This may violate the minimisation principle if data is kept beyond what is necessary or used for purposes other than the original accounting purpose.
Warning: nFADP sanctions can reach up to CHF 250,000 for the responsible natural persons (executives, DPOs). Unlike the European GDPR, the Swiss nFADP provides for individual criminal sanctions, not just administrative fines against the company.
Best practices for compliant AI
Adopting AI in accounting in compliance with the nFADP is not only possible but advisable. Here are the six fundamental best practices:
Privacy by Design
Integrate data protection from the design stage of the AI accounting system. Configure OCR to extract only the necessary fields, implement pseudonymisation where possible and enable end-to-end encryption for data in transit and at rest.
Swiss-based servers
Choose AI providers that host and process data on servers located in Switzerland. If cross-border transfer is unavoidable, check the FDPIC's list of adequate countries and prepare compliant standard contractual clauses (SCCs).
Human oversight (Human-in-the-Loop)
Always keep a human operator in the decision loop. AI suggests categorisation and reconciliation, but an accountant or fiduciary validates the proposals. This satisfies automated decision requirements and reduces errors.
Logging and audit trail
Record every AI operation: which data was processed, what output was produced, who validated the result. A complete audit trail is essential for nFADP compliance, accounting audits and demonstrating processing accountability.
Retention policies
Define clear rules on data retention: 10 years for accounting documents (CO), but AI training data and processing metadata should have a separate, shorter retention period, consistent with the minimisation principle.
Staff training
Train employees on nFADP obligations applied to AI accounting: how to handle data access requests, how to report a breach, when to request a human review of an automated decision.
Compliance checklist
Use this checklist to verify that your AI integration in accounting complies with the Swiss nFADP:
- I have carried out (or assessed the need for) a DPIA for the AI accounting system processing personal data
- I have entered into a DPA (data processing agreement) with the AI/cloud software provider, specifying server location, security measures and processing purposes
- Accounting data is processed on servers in Switzerland, or I have put adequate safeguards in place for cross-border transfers (SCCs, BCRs, consent)
- The company privacy notice is updated and mentions the use of AI tools for processing accounting data
- Human oversight (Human-in-the-Loop) is provided for automated AI decisions concerning natural persons
- The AI system records a complete audit trail of all data processing operations (compliant logging)
- I have defined separate retention policies for accounting data (10 years CO) and AI training/metadata (minimisation)
- Staff using the AI system are trained on nFADP obligations and procedures for handling access requests and breach notifications
Practical tips
- Start with a pilot project on a single process (e.g. supplier invoice OCR) before extending AI to all accounting — it is easier to ensure compliance on a reduced scope
- Request a data protection factsheet from your AI provider documenting where data is processed, which sub-processors are used and which certifications are held (ISO 27001, SOC 2)
- Configure OCR to extract only the necessary accounting fields (amount, date, supplier, VAT) and avoid archiving the full document image if it contains non-pertinent personal data
- Enable encryption at rest (AES-256) and in transit (TLS 1.3) for all accounting data processed by AI — this is a minimum technical measure required by the DPO
- Schedule a biannual AI compliance review: verify that retention policies are respected, logs are complete and the DPA with the provider is still current
- If your fiduciary firm manages mandates on behalf of clients, ensure the engagement letter explicitly mentions the use of AI tools and obtain the necessary consent
- Use AccountEX to automate accounting with AI and OCR in compliance with the nFADP: data is processed on Swiss infrastructure, with a complete audit trail and human oversight built into the workflow
Simplify your Swiss accounting
AccountEX handles VAT, QR-invoices and bookings with AI. Start for free.
Start Free