Skip to Content
ModulesERP AdapterCSV ERP Adapter

CSV ERP Adapter

The CSV ERP Adapter is a specific implementation of the ERP Adapter designed to integrate with CSV files, allowing Reeve to retrieve financial data from CSV files and process it within the Reeve platform. This enables user to start using reeve easier than directly having the need to implement a specific ERP Adapter. Nearly every ERP system can export data to CSV files, making this adapter a versatile solution for integrating financial data into Reeve.

This adapter implements the flow described in ERP Adapter and listens to the events ScheduledIngestionEvent and TransactionbatchCreatedEvent to initiate data retrieval and processing.

The accepted CSV schema can be found here: CSV Schema

Adapter configuration

The adapter can be configured through the following environment variables:

  • LOB_CSV_ENABLED: A boolean value indicating whether the CSV ERP Adapter is enabled. Set this to true to activate the adapter.
  • LOB_CSV_DELIMITER: The delimiter used in the CSV files. The default value is ,.

Example Request

The request processing starts in the Accounting Core Module via /api/extract. To send a file within an HTTP Request the content Type must be set to multipart/form-data and the file must be included in the request body. An example request to the /api/extract endpoint with a CSV file can look like this:

{ "organisationId": "75f95560c1d883ee7628993da5adf725a5d97a13929fd4f477be0faf5020ca94", "extractorType": "CSV", "dateFrom": "2013-01-02", "dateTo": "2024-05-01", "file": "string" }
Last updated on