Case study: systems integration and financial automation

This case study documents a systems integration and financial automation project carried out at a Portuguese B2B distribution SME, with 120 employees, annual revenue of 28 million euros and operations in Portugal, Spain and France. The company used 6 different systems that did not communicate with each other, resulting in duplicated data, frequent errors and operational delays that directly affected profitability.

The company and the problem

The company operated with a model typical of many growing SMEs: as it grew, it acquired software for different needs without an integration plan. The result was a fragmented ecosystem where the team acted as "human middleware", copying data between systems several times a day.

The concrete problems:

The systems ecosystem

SystemFunctionRelevant data
Primavera ERPAccounting, stock, purchasingItems, stock, accounting entries
HubSpot CRMSales management, leads, opportunitiesCustomers, opportunities, sales history
InvoiceXpressCertified invoicingInvoices, credit notes, receipts
In-house WMSWarehouse managementLocations, picking, shipments
B2B e-commerce platformCustomers' online ordersOrders, cart, catalogue
ExcelReporting, reconciliation, ad-hoc analysisManually consolidated data

None of these systems communicated directly with the others. The team of 4 people in the finance and administrative area spent more than 50 percent of their time transferring data between systems.

Solution architecture

The solution designed was based on three principles:

  1. Central data hub: instead of integrating each system with all the others (which would create 15 point-to-point integrations), a central hub was built to receive and distribute data. Each system has a single integration with the hub (see integration architecture).
  2. Single source of truth: for each type of data, the master system was defined. Customers: CRM. Items and stock: ERP. Invoices: invoicing system. Changes made in the master propagate automatically to the other systems.
  3. Events as triggers: every relevant action (new order, delivery confirmed, payment received) generates an event that automatically triggers the following processes.

Automations implemented

Order-to-invoice flow:

  1. The customer places an order on the B2B platform, or the salesperson logs it in the CRM.
  2. The order enters the ERP and the WMS automatically.
  3. The WMS generates the picking list and, after shipment, confirms delivery.
  4. Delivery confirmation automatically generates the invoice in InvoiceXpress and sends it to the customer.
  5. The invoice is automatically recorded in Primavera's accounting.

Automatic bank reconciliation:

Automatic collections:

Results and metrics

After 4 months of operation with the systems integrated:

The total project investment was 95,000 euros (including middleware licensing, development and training), with an estimated annual return of 180,000 euros. Payback of 6 months.

Recommendations for similar projects

  1. Do a complete inventory: before starting, list all the systems, all the data flows and all the manual transcription points. Most companies discover more systems than they thought they had.
  2. Define the master for each piece of data: the question "what is the source of truth for this data?" must be answered before any integration.
  3. Start with the flow that has the greatest financial impact: in this case, the order-to-invoice flow. The impact on cash flow justified the entire investment.
  4. Plan for exceptions: 80 percent of cases follow the normal flow. The 20 percent of exceptions consume 80 percent of the design time. Do not ignore them.
  5. Monitor continuously: after go-live, monitor automatic matching rates, errors and exceptions. Adjust rules based on real data (see how to prepare your company).