# Facturx Precheck Fr

> Find structural errors and math mistakes in French Factur-X electronic invoices before official validation.

Facturx Precheck Fr is a free AI agent skill on Agensi by Ronan, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ronan](https://www.agensi.io/creators/ronan)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/facturx-precheck-fr
- Tags: api, factur-x, electronic-invoicing, francepythontechnical_details

## What it does

- Identifies the Factur-X profile level like BASIC or EN 16931
- Checks for missing mandatory fields like ID, date, and buyer info
- Verifies arithmetic consistency between line items and totals
- Flags potential issues with SIREN and VAT numbers
- Suggests specific code corrections for found errors

## Who it's for

- **Developers building billing software:** Catch structural errors in electronic invoices before they reach official platforms. Try: "Check this Factur-X XML for missing fields or math errors."
- **Technical founders in France:** Ensure your new invoicing tool follows the Factur-X standards required by French law. Try: "Verify if this invoice PDF/A-3 meets the EN 16931 profile requirements."

## About this skill

Moving to electronic invoicing in France can be tricky. Small errors in your XML files often lead to rejections by official platforms without clear reasons. This skill helps you spot those mistakes early in your development process. It looks at your invoice files to find missing required fields, wrong profile names, or math that does not add up between your line items and totals.

**How it works**
1. Provide your Factur-X XML file or a PDF/A-3 containing the invoice data.
2. Your AI agent runs a check to look for the profile type and mandatory fields.
3. The skill identifies errors in the structure or calculations.
4. You receive a clear explanation of what is wrong and how to fix your code.

**What you get:** A detailed report of technical errors and arithmetic mismatches in your electronic invoice file.

## Known limitations

It does not check full business rules or VAT codes. It is not a substitute for official DGFiP validation or tax advice.

## Technical details

Built for developers working with Factur-X and CII XML standards. It uses a Python script (scripts/check_facturx.py) to parse XML or PDF/A-3 files. For PDF extraction, it requires the pypdf library. The skill checks profiles (MINIMUM to EXTENDED) and performs arithmetic validation on totals. It does not perform full Schematron or XSD validation, which must be done separately via FNFE-MPE tools.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Facturx Precheck Fr skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What kind of problems does this skill help me solve? constellations

This skill checks your Factur-X XML or PDF files for missing required fields and math errors before you submit them to official French tax platforms. It helps developers find common structural mistakes that cause invoices to be rejected.

### What do I need to provide to make this work?

You only need to provide the electronic invoice file, either as a standalone XML file or a PDF/A-3 that has the invoice data inside it. The skill then runs its checks automatically.

### What exactly do I get back after the check is done?

The skill produces a detailed technical report that lists specific errors in your invoice structure or calculations. It also gives you advice on how to fix the code that generated the invoice.

### Are there any limits to what this check can catch? constellations

This skill does not check for every single tax rule or business requirement, and it does not verify the visual PDF itself. You should still use official validation tools and consult a tax expert for specific compliance questions.

### How do I tell my agent to start the check?

You can ask your agent to verify my Factur-X invoice or check why my electronic invoice is being rejected. You then simply upload your invoice file for analysis.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
