# Pennylane integration: FEC import through the API

> Take over bookkeeping kept in Pennylane: FEC export requested through the API, then entries imported as drafts, cancellable, by the FEC import engine.

Adresse : https://www.irpea.com/en/integrations/pennylane
Mis à jour : 2026-11-24
Site : IRPEA ERP (https://www.irpea.com)

The Pennylane connector asks the Pennylane API for the FEC export of the chosen period, then imports its entries into the IRPEA company file with the same engine as the manual FEC import.

## What is imported

Data flows from Pennylane to IRPEA, and what is taken over is the bookkeeping of the period, as the accounting entries file produced by Pennylane.

The connector starts the export, keeps its identifier, polls its status until it is ready for at most 20 seconds per run, then downloads the file, 60 MB at most.

The entries then go through the blocking checks of the FEC import, the closing guard and the creation of missing accounts, and land as drafts with a cancellable import record.

- The same file, recognised by its SHA-256 fingerprint, is never imported twice.
- An export still being prepared is resumed on the next run, without a second request to Pennylane.

## Authentication and security

Access relies on a version 2 Pennylane API token with the read scope exports:fec, sealed at rest and never sent back to the browser.

The connection test shows the company and the granted scopes, and the import requires write access to the Finance module.

## Frequency

This operation is never handed to the cron, because a bookkeeping takeover is not something to start in the background: you run it with “Synchronise” then “Import the FEC”.

## Good to know

The period entered must fall within an open financial year of the ERP, and the import is cancelled from Accounting, FEC import.

## Setup

1. **Generate the token** : In Pennylane, go to Settings, Connectivity then Developers, and generate a version 2 API token with the read scope exports:fec.
2. **Connect and test** : Paste the token, choose a period inside an open ERP financial year, then click “Connect and test”, the company and granted scopes are displayed.
3. **Import the FEC** : Click “Synchronise” then “Import the FEC”, Pennylane prepares the export in a few seconds to a few minutes, then the entries arrive as drafts, cancellable from Accounting, FEC import.

## Frequently asked questions

### Do I need this connector to leave Pennylane?

No, a FEC file exported by hand can also be imported through data migration, the connector only saves you downloading and uploading the file.

## See also

- [Qonto connector for IRPEA ERP](https://www.irpea.com/en/integrations/qonto)
- [Shopify connector for IRPEA ERP](https://www.irpea.com/en/integrations/shopify)
- [HubSpot connector for IRPEA ERP](https://www.irpea.com/en/integrations/hubspot)

Page checked on 2026-11-24.
