惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
博客园_首页
雷峰网
雷峰网
V
V2EX
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - Franky
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
T
Tailwind CSS Blog
小众软件
小众软件
博客园 - 叶小钗
美团技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
MyScale Blog
MyScale Blog
Blog — PlanetScale
Blog — PlanetScale
大猫的无限游戏
大猫的无限游戏
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Building a B2B Electronic Invoicing API for French PDP Co...
SIKOUTRIS · 2026-04-27 · via DEV Community

SIKOUTRIS

The French e-Invoicing Mandate: A Developer Perspective

France is implementing one of the most ambitious B2B e-invoicing mandates in Europe. By September 2026, all businesses registered for VAT in France will be required to both receive electronic invoices and progressively transmit them through certified platforms known as PDPs (Plateformes de Dématérialisation Partenaires).

Architecture Overview

The French e-invoicing ecosystem has three key components:

1. PPF (Portail Public de Facturation) — the government-operated central hub managed by the DGFIP. All invoice flows pass through or are registered here.

2. PDPs (Plateformes de Dématérialisation Partenaires) — private certified operators that handle invoice transmission, validation and archiving. Companies can choose to use PDPs for full lifecycle management.

3. ODs (Opérateurs de Dématérialisation) — intermediaries that convert invoice data but route through either a PDP or the PPF.

Key Technical Requirements

Invoices must comply with one of three accepted structured formats:

  • Factur-X (hybrid PDF/XML, cross-border compatible)
  • UBL 2.1 (XML, widely used in European public procurement)
  • CII (UN/CEFACT Cross Industry Invoice, XML)

The mandatory data fields extend beyond standard invoice elements to include SIREN numbers, VAT identification, payment terms, and specific buyer routing codes.

Notification and Status Events

A critical difference from traditional invoicing: the e-invoicing platform must emit lifecycle status events (deposited, received, rejected, paid) that are registered with the PPF. Implementing an event listener and status update mechanism is therefore as important as the invoice generation itself.

# Example: listening to PDP webhook events
@app.route("/pdp-webhook", methods=["POST"])
def handle_invoice_status():
    event = request.json
    invoice_id = event["invoiceId"]
    status = event["lifecycleStatus"]  # DEPOSITED, RECEIVED, REJECTED, PAID
    update_invoice_status(invoice_id, status)
    return jsonify({"received": True}), 200

Enter fullscreen mode Exit fullscreen mode

Testing Environment

The PPF provides a dedicated testing sandbox. Developers should validate:

  1. Schema conformance for all three accepted formats
  2. SIREN/SIRET validation against INSEE data
  3. Status event round-trips in the sandbox
  4. Archiving compliance (10-year retention required by French tax law)

Resources

For non-technical stakeholders and SMEs navigating the mandate, mafacturation-electronique.fr provides clear guides on platform selection, implementation timelines and frequently asked questions in French.

The September 2026 deadline is firm — organizations that have not yet begun their integration work should prioritize this now.