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.
The procedure
Setup
Generate the token : In Pennylane, go to Settings, Connectivity then Developers, and generate a version 2 API token with the read scope exports:fec.
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.
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.