Skip to content
Operations Whitepaper

Whitepaper: Digitizing the Finance Department

How to digitise the finance department of a Spanish company: cloud accounting tools, electronic invoicing integration (Verifactu), RPA for reconciliations, outsourced CFO model, and technology selection for SMEs. 32-page guide.

10 min read

Digitalising the finance department is one of the transformation projects with the greatest potential return for medium and large companies. Yet in practice many organisations approach this process in a fragmented way: they implement an electronic invoicing tool because the law requires it, add a standalone reporting module, or automate one specific process — but without a coherent data architecture connecting all financial flows. The result is a partial digitalisation that never unlocks the true transformation potential available to a genuinely integrated finance function.

This whitepaper analyses the main opportunity areas, the regulatory framework that is acting as a catalyst for change, the tools available, the path towards a truly digital finance department, and the approach BMC recommends for companies with between 25 and 500 employees.

The Current State: A Common Diagnosis

Many mid-sized companies continue to operate with partially digitalised tools: spreadsheets for planning and reporting, manual bank reconciliation processes, and limited integration between the accounting ERP and treasury and invoicing tools. The result is excessive dependence on human factors, high error rates, and limited real-time visibility.

According to data from the Bank of Spain and INE, 68% of Spanish SMEs with between 10 and 249 employees still do not use integrated ERP systems. Manual invoice processing remains the norm in organisations billing up to €10 million per year, where the cost per processed invoice can exceed €15–20, compared to the €2–4 that automation through OCR and direct supplier integration can achieve.

The most common diagnosis we encounter in our clients combines five symptoms: (1) the monthly accounting close takes more than eight business days; (2) management does not have real-time treasury positions; (3) bank reconciliation is done manually or at best weekly; (4) reporting to management requires manual data extraction from the ERP and reworking in spreadsheets; and (5) payment or invoice approval processes depend on emails with no audit trail.

The Regulatory Catalyst: Mandatory B2B Electronic Invoicing

Law 18/2022 on company creation and growth (known as the “Crea y Crece Law”) established the obligation of electronic invoicing in business-to-business (B2B) transactions in Spain. The implementation calendar, developed through regulations, establishes phased deadlines: companies with annual billing above €8 million must be operational first, followed by all other companies and self-employed professionals in a second phase.

The required technical format is structured invoicing (Facturae or the European equivalent in FacturXML/UBL format) — not simply a PDF sent by email. This means companies will need to adapt their ERP or invoicing systems to generate and receive invoices in structured format, integrate with an accredited exchange platform, and archive invoices in electronic format for the legally required period of four years for commercial purposes (six for tax purposes).

Law 18/2022 also obliges platforms to provide acknowledgement of receipt, payment confirmation, and registration of payment deadlines — which turns electronic invoicing into a compliance monitoring system under Law 15/2010 on measures to combat late payment in commercial transactions. Companies that fail to meet payment deadlines (60 days for commercial transactions) will face sanctions and loss of access to public procurement.

Beyond mandatory compliance, the SII (Immediate Supply of Information) system already obliges companies with annual turnover above €6 million to transmit their invoice records to the AEAT within four business days of issue or receipt. This obligation has already acted as a natural accelerator of invoicing cycle automation for companies above that threshold — and provides a clear signal of the direction of travel for all companies.

Area 1: Accounting Automation

Automating the procure-to-pay cycle (from purchase order to payment) and the order-to-cash cycle (from order to collection) can reduce processing times by 70–80% and errors by 90%. Optical character recognition (OCR) and AI tools for invoice reading are already within reach of mid-sized companies, with implementation costs typically recovered within 12–18 months.

In the procure-to-pay cycle, automation covers everything from automatic validation of received invoices against the purchase order (three-way matching: order, delivery note, invoice) through to digital approval workflows and automatic payment order generation. The most advanced systems apply machine learning models to detect duplicates, fraudulent invoices, or price anomalies that conventional matching systems miss entirely.

In the order-to-cash cycle, automation includes automatic generation of sales invoices from orders or contracts, certified electronic dispatch, automatic collection tracking with maturity alerts, and proposed accounting entries for settlements. Integration with the banking system allows payment confirmation in real time and automatic proposal of customer account settlement.

For a company processing 200 invoices per month, moving from a cost per invoice of €15–20 to €3–5 generates annual savings of over €25,000. When combined with the reduction in error-driven rework and the elimination of manual follow-up on late payments, the business case for automation is almost always compelling within the first year of operation.

Area 2: Real-Time Treasury

Bank integration via open banking APIs — regulated by the PSD2 Directive and its Spanish transposition through Royal Decree-Law 19/2018 — enables real-time treasury position visualisation, automated reconciliation, and working capital optimisation. Cash pooling tools and predictive treasury models provide visibility on short and medium-term liquidity needs that was previously unavailable to most mid-sized companies.

PSD2 obliges banks to provide account access (AIS — Account Information Services) to authorised third parties via standardised APIs. This has democratised access to real-time banking information: treasury management tools that were previously only affordable for large corporations are now accessible to companies with 25 employees.

The advanced treasury model has three layers: the position layer (what we have today in each account and currency), the forecast layer (what collections and payments are confirmed for the next 30, 60 and 90 days), and the optimisation layer (how to minimise the financial cost of working capital and maximise returns on treasury surpluses). Most mid-sized companies operate only at the first layer; digitalisation allows them to access the subsequent two without increasing the finance team headcount.

For companies with multi-currency operations or with deferred collections and payments, the integration between the treasury system and the accounting ERP is the critical point: the gap between the accounting position and the actual bank position is the most frequent source of liquidity surprises.

Area 3: Reporting and Analytics

Real-time dashboards and business intelligence tools allow the CFO and management to make decisions based on up-to-date data. Automating the monthly close and generating management reports significantly reduces the finance team’s workload while improving the quality and consistency of information.

Automated financial reporting has three dimensions: regulatory reporting (annual accounts, tax returns, reports to supervisory bodies); internal management reporting (P&L by division, cost centre or project; balance sheet; cash flow statement); and analytical reporting (profitability analysis by client, product or channel; budget variance analysis; operational efficiency indicators).

Automating the monthly close is the most impactful target for mid-sized finance teams. A close that currently takes 8–10 business days can be reduced to 2–3 days by automating: bank reconciliation, accrual of recurring expenses, calculation of standard provisions, consolidation of data from multiple entities, and report generation in predefined formats. This reduction frees the finance team’s capacity for analysis rather than data processing — shifting the function from administrative to genuinely strategic.

Area 4: Internal Controls and Digital Audit Trail

Digitalising financial processes is not just a matter of efficiency — it is also a lever for internal control. Digital workflows generate automatic traceability: every invoice, every approval, every payment is recorded with its timestamp, the authorising user, and the supporting documentation. This level of traceability is precisely what auditors and regulatory bodies require.

The Invoicing Regulations (Royal Decree 1619/2012) require that invoice registers and the underlying documents be kept for four years for commercial purposes and six years for tax purposes, and be accessible in the event of an inspection. Document management systems integrated with the accounting ERP allow this obligation to be met automatically, eliminating the risk of documentation loss inherent in physical filing systems.

For companies subject to mandatory statutory audit — those that exceed two of the three thresholds in Article 263 of the Spanish Companies Act: total assets above €2.85 million, net turnover above €5.7 million, or more than 50 employees — the quality of the accounting information system is a determining factor in the time and cost of the external audit. A well-structured digital finance function can reduce audit preparation time by 30–40%.

Implementation Roadmap: Four Phases

Phase 1 — Diagnosis and architecture (weeks 1–4). Audit of current processes and tools; identification of existing systems (ERP, banking, invoicing, payroll) and their integrations; definition of the target data model; selection of the technology stack appropriate to the company’s scale and budget.

Phase 2 — Invoice cycle automation (weeks 5–12). Implementation of the B2B electronic invoicing solution (compliance with Law 18/2022); configuration of the OCR engine for received invoices; definition of digital approval workflows; team training. Expected outcome: 60–70% reduction in invoice processing time within the first month of normalised operation.

Phase 3 — Banking integration and treasury (weeks 13–20). Connection of bank accounts via PSD2 APIs; configuration of automatic reconciliation; implementation of the treasury dashboard; definition of the cash flow forecast model. Expected outcome: real-time treasury position visible at any time; daily automated bank close.

Phase 4 — Reporting and advanced analytics (weeks 21–32). Design and implementation of management dashboards; automation of the monthly close; integration with BI tools; management training on using the new reports. Expected outcome: monthly close in 3 business days; management reporting available on day 4 of each month.

Kit Digital: Available Funding for SMEs

The Kit Digital programme — funded by NextGenerationEU resources under Spain’s Recovery, Transformation and Resilience Plan — includes the “Process Management” category with grants of up to €6,000 for SMEs with 10–49 employees and up to €3,000 for smaller segments, specifically for digitalising accounting and financial processes. Eligible solutions must be certified as digital enablers in the official Red.es catalogue.

Applications for these grants follow convocatory deadlines that must be monitored, but they represent a significant reduction in the implementation cost of financial digitalisation tools for eligible SMEs. For companies already planning a digitalisation project, evaluating Kit Digital eligibility before committing to a technology vendor is a straightforward way to reduce the net investment required.

Conclusions and BMC Recommendations

Finance department digitalisation is not a technology project — it is a management model transformation project that uses technology as its lever. Companies that approach it correctly obtain not only operational efficiency (cost reduction and faster processing times), but also a qualitative improvement in management’s analytical capacity and decision-making speed.

The regulatory imperative of B2B electronic invoicing creates a window of opportunity: companies that must adapt their systems to comply with Law 18/2022 are at the ideal moment to undertake a comprehensive transformation of the finance department, rather than doing only the minimum compliance and missing the broader modernisation opportunity.

At BMC we offer an outsourced CFO service with full digital integration: from the initial diagnosis through to the operational management of the digitalised finance department, with a team of professionals that combines financial expertise and technological capability. See our outsourced CFO services.

Want to learn more?

Let us discuss how to apply these ideas to your business.

Call Contact