- Home
- Skills
- APIs & Backend
- Facturx Precheck Fr
Facturx Precheck Fr
by Ronan
Find structural errors and math mistakes in French Factur-X electronic invoices before official validation.
Free
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 asking: “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 asking: “Verify if this invoice PDF/A-3 meets the EN 16931 profile requirements.”
Facturx Precheck Fr
Example session with this skill installed
Check this factur-x.xml file to see why it might be rejected. It is supposed to be for the EN 16931 profile.
- Read your context and instructions
- Compiled the facturx precheck fr
I will check your Factur-X file for structural errors and calculation issues.
Here is the report based on the technical check:
1. Profile Identification
The file identifies as EN 16931. This is a standard profile for the French electronic invoicing reform.
2. Missing Required Fields
- Buyer VAT Number: The tag for the buyer's VAT identification is missing. For this profile, this field is mandatory.
- Invoice Type Code: The document type code is not specified in the header.
3. Arithmetic Consistency
- Mismatch found: The sum of the line items (100.00) plus the calculated tax (20.00) does not match the stated Grand Total (125.00). There is a discrepancy of 5.00.
4. Fixes for your Generator
- Ensure the
BuyerCITradePartysection includes theSpecifiedTaxRegistrationtag. - Update your total calculation logic to ensure the
TaxTotalAmountandGrandTotalAmountare derived correctly from the line sums.
Next Steps
Once you fix these code issues, you should run this through the official FNFE-MPE schematrons and then perform a test upload on your client's authorized platform. Would you like me to look at the specific code block that generates the totals?
Connects securely to your tools. The creator never sees your data.
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
- Provide your Factur-X XML file or a PDF/A-3 containing the invoice data.
- Your AI agent runs a check to look for the profile type and mandatory fields.
- The skill identifies errors in the structure or calculations.
- 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.
It does not check full business rules or VAT codes. It is not a substitute for official DGFiP validation or tax advice.
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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 2 days ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.