French DGFiP FEC Tax-Audit & LME Validator avatar

French DGFiP FEC Tax-Audit & LME Validator

Pricing

from $250.00 / 1,000 fec files validated

Go to Apify Store
French DGFiP FEC Tax-Audit & LME Validator

French DGFiP FEC Tax-Audit & LME Validator

Validate French DGFiP FEC accounting files (LPF Art. A.47 A-1) & audit B2B LME payment terms (Art. L.441-10) by AGOS. Checks 18/21/22-col layouts, SIREN naming, dates, entry balance, PCG VAT/cash/suspense & DGCCRF exposure with rulesetVersion provenance.

Pricing

from $250.00 / 1,000 fec files validated

Rating

0.0

(0)

Developer

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

19 hours ago

Last modified

Features

Limited permissions

Share

Validate French accounting exports (Fichier des Écritures Comptables — FEC) against DGFiP LPF Art. L.47 A / Art. A.47 A-1 and CGI Art. 1729 D before a tax audit, and simultaneously run a Code de commerce Art. L.441-10 LME payment-terms audit — in a single deterministic Pay-Per-Event Apify Actor built by AGOS.

Designed for French experts-comptables, ERP integrators (Sage, Cegid, Pennylane, Odoo, SAP), corporate tax teams, and AI agents (Apify MCP-ready).


What This Actor Checks

1. DGFiP FEC Tax-Audit Pre-Check (LPF Art. A.47 A-1)

  • Statutory Column Framing: Validates both 18-column general accrual (Debit/Credit or Montant/Sens) and 21/22-column BIC/BNC cash-basis layouts, pipe (|) or tab delimiters, UTF-8/BOM handling, and column order.
  • DGFiP Naming Convention: Checks <SIREN>FEC<YYYYMMDD>.txt structure and 9-digit SIREN Luhn checksum.
  • Date & Chronology Integrity: Validates strict YYYYMMDD dates, leap-year calendar correctness, optional fiscalYearStart/fiscalYearEnd boundaries, ValidDate presence, and sequential EcritureNum continuity.
  • Double-Entry & Lettering Balance: Verifies per-entry (EcritureNum) debit/credit equilibrium, global trial balance, and balanced lettered (EcritureLet) groups.
  • PCG Forensic Heuristics: Computes a Plan Comptable Général (PCG) trial balance by CompteNum plus VAT (4456 / 4457), negative cash (53x credit days), and un-cleared suspense account (471) risk signals.
  • Statutory Exposure Estimate: Estimates CGI Art. 1729 D non-compliant FEC penalty exposure (€5,000 minimum or 10% of reassessment).

2. LME B2B Payment-Terms Audit (Code de commerce Art. L.441-10)

  • Analyzes supplier (401) and customer (411) settlement delays against French statutory caps (60 days net / 45 days end-of-month).
  • Computes statutory late-payment interest (ECB main refinancing rate + 10 percentage points or custom rate), mandatory €40 recovery indemnities, and DGCCRF administrative fine exposure.

3. Machine-Readable Provenance & regulatoryAssessment

Every Dataset item carries:

  • rulesetVersion: "dgfip-fec-a47-2026.1"
  • jurisdiction: "FR"
  • regulatoryAssessment: standardized assessment, coverageScope, uncheckedRequirements, missingInputs, and requiresManualReview fields.

Pay-Per-Event Pricing

Pay strictly per validated FEC file — zero monthly subscription, runs comfortably on 256 MB RAM, with batch support up to 20 FEC files per run.

Billing EventUnit Price (USD)Description
actor-start$0.01 / runFlat one-time fee charged once per Actor run
fec-file-validated$0.25 / fileCharged per validated French FEC file (primary event)

Malformed batch items missing fecContent are never charged.


Example Input (Single File)

{
"fileName": "552032534FEC20251231.txt",
"regime": "auto",
"includeTrialBalance": true,
"includeLmeAudit": true,
"fecContent": "JournalCode|JournalLib|EcritureNum|EcritureDate|CompteNum|CompteLib|CompAuxNum|CompAuxLib|PieceRef|PieceDate|EcritureLib|Debit|Credit|EcritureLet|DateLet|ValidDate|Montantdevise|Idevise\nVT|Journal des ventes|VT-001|20250115|411000|Clients|CL001|Client Alpha SAS|FA-2025-001|20250115|Facture FA-2025-001|1200,00|0,00|||20250120||\nVT|Journal des ventes|VT-001|20250115|706000|Prestations de services|||FA-2025-001|20250115|Facture FA-2025-001|0,00|1000,00|||20250120||\nVT|Journal des ventes|VT-001|20250115|445710|TVA collectee|||FA-2025-001|20250115|Facture FA-2025-001|0,00|200,00|||20250120||\n"
}

Example Input (Batch Mode — Up to 20 FEC Files)

{
"includeTrialBalance": true,
"includeLmeAudit": true,
"continueOnError": true,
"files": [
{
"id": "fy-2024",
"fileName": "552032534FEC20241231.txt",
"fecContent": "JournalCode|JournalLib|..."
},
{
"id": "fy-2025",
"fileName": "552032534FEC20251231.txt",
"fecContent": "JournalCode|JournalLib|..."
}
]
}

Example Output Record

{
"itemIndex": 0,
"itemId": "552032534FEC20251231.txt",
"fileName": "552032534FEC20251231.txt",
"charged": true,
"ok": true,
"engine": "fr_fec",
"rulesetVersion": "dgfip-fec-a47-2026.1",
"jurisdiction": "FR",
"compliant": true,
"score": 100,
"riskLevel": "low",
"errorCount": 0,
"warningCount": 0,
"lmeCompliant": true,
"assessment": "passed_implemented_checks",
"requiresManualReview": false,
"regulatoryAssessment": {
"assessment": "passed_implemented_checks",
"coverageScope": "offline_deterministic_rules",
"rulesetVersion": "dgfip-fec-a47-2026.1"
},
"result": { "...": "Full FEC findings, trialBalance, lmeAudit & statutory exposure" }
}

Every run also writes a SUMMARY record to the default Key-Value Store containing compliance tallies, risk-level breakdown, and exact Pay-Per-Event charges.


Privacy & Scope

Privacy & Data Retention: When run on the Apify platform, Actor inputs (Key-Value Store) and outputs (Dataset) are stored in Apify run storage subject to Apify's platform retention policies. For stateless, zero-payload-retention processing directly at the edge, call the AGOS Direct API / Remote MCP server at https://api.agos.tools.

  • Deterministic pre-audit: Complements (does not replace) official DGFiP Test Compta Demat and substantive voucher review.

Built and maintained by AGOS (Applied General Operations & Systems).