Facture-X to FatturaPA
Learn how to transform your French electronic invoices (Facture-X) into Italian electronic invoice format (FatturaPA) for business transactions in Italy.
Understanding Facture-X Format
Facture-X is a Franco-German hybrid electronic invoice standard that combines a human-readable PDF with embedded structured XML data. It's based on the European standard EN 16931 and is one of the mandatory formats for electronic invoicing in France.
Key characteristics of Facture-X:
- Hybrid format: PDF for human reading + XML for machine processing
- Based on UN/CEFACT CII (Cross Industry Invoice) syntax
- Compliant with European standard EN 16931
- Multiple profiles: MINIMUM, BASIC WL, BASIC, EN16931, EXTENDED
- Contains visual representation identical to traditional paper invoices
- Mandatory for B2B transactions in France since 2024
Facture-X Structure Example
Facture-X uses the UN/CEFACT Cross Industry Invoice (CII) syntax. Below is an example of how a supplier is defined in Facture-X:
<ram:SellerTradeParty>
<ram:Name>French Company SAS</ram:Name>
<ram:SpecifiedLegalOrganization>
<ram:ID schemeID="0002">12345678900012</ram:ID>
</ram:SpecifiedLegalOrganization>
<ram:PostalTradeAddress>
<ram:PostcodeCode>75001</ram:PostcodeCode>
<ram:LineOne>1 rue de Rivoli</ram:LineOne>
<ram:CityName>Paris</ram:CityName>
<ram:CountryID>FR</ram:CountryID>
</ram:PostalTradeAddress>
<ram:SpecifiedTaxRegistration>
<ram:ID schemeID="VA">FR12123456789</ram:ID>
</ram:SpecifiedTaxRegistration>
</ram:SellerTradeParty>Understanding FatturaPA Format
FatturaPA (Fattura Elettronica) is the official Italian electronic invoice format mandated by the Agenzia delle Entrate. It's a pure XML format that contains all invoice data in a structured, machine-readable format designed for automatic processing by the Italian tax system (SDI).
Key characteristics of FatturaPA:
- Pure XML format with no visual representation
- Specific Italian tax fields and VAT codes
- Mandatory for all B2B and B2G transactions in Italy
- Requires digital signature for transmission
- Processed through the Sistema di Interscambio (SDI)
- Contains specific Italian fiscal requirements
FatturaPA Structure Example
FatturaPA uses a specific XML schema (SdiFatturaPA). The same supplier information must be mapped to the CedentePrestatore block:
<CedentePrestatore>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>FR</IdPaese>
<IdCodice>12123456789</IdCodice>
</IdFiscaleIVA>
<Anagrafica>
<Denominazione>French Company SAS</Denominazione>
</Anagrafica>
</DatiAnagrafici>
<Sede>
<Indirizzo>1 rue de Rivoli</Indirizzo>
<CAP>75001</CAP>
<Comune>Paris</Comune>
<Nazione>FR</Nazione>
</Sede>
</CedentePrestatore>Why Convert Facture-X to FatturaPA?
Converting between these formats is essential for:
- Italian market: Selling to Italian customers who require FatturaPA format
- Compliance requirements: Meeting Italian e-invoicing regulations
- Customer preference: Providing invoices in the preferred Italian format
- System integration: Working with Italian business systems
- Multi-country operations: Companies with Italian market presence
Conversion Process
Converting your Facture-X to FatturaPA involves these key steps:
Step 1: Upload Your Invoice
Simply upload your Facture-X PDF file. The system automatically reads both the visual invoice and the embedded electronic data.
Step 2: Extract CII Data
First, extract the embedded CII XML from Facture-X PDF:
- System reads the PDF file structure
- Locates and extracts the embedded XML attachment
- Validates the CII data structure
- Prepares data for conversion to FatturaPA format
Step 3: Transform to FatturaPA
Convert the extracted CII data to Italian FatturaPA standard:
- Maps CII elements to FatturaPA standard elements
- Converts French tax categories to Italian tax codes
- Transforms French address formats to Italian standards
- Adjusts date and number formats for Italian use
- Preserves all invoice data and calculations
Step 4: Italian Compliance
The converted FatturaPA file meets Italian requirements:
- Follows Italian Ministry of Economy specifications
- Supports Italian VAT system and fiscal codes
- Includes proper currency and country codes
- Validates against FatturaPA schema requirements
- Compatible with Italian e-invoicing systems
Step 5: Quality Validation
Before generating the final file, the system performs thorough checks:
- Validates XML structure against FatturaPA schema
- Ensures all required fields are present
- Checks business rules and calculations
- Verifies Italian formatting compliance
- Tests compatibility with receiving systems
Step 6: Download Ready-to-Use File
You receive a properly formatted FatturaPA file ready for Italian business transactions and system integration.
Common Conversion Issues
Be aware of these challenges when converting Facture-X to FatturaPA:
1. Hybrid Format Complexity
Facture-X's hybrid nature presents unique challenges:
- PDF extraction may not capture all embedded data
- Visual elements are lost in conversion to pure XML
- File size may be larger due to PDF component
- Processing time increases due to dual format handling
- Quality of embedded XML affects conversion accuracy
2. Tax System Differences
French and Italian tax systems have different requirements:
| Aspect | Facture-X (France) | FatturaPA (Italy) |
|---|---|---|
| VAT Rates | Standard French rates (20%, 10%, 5.5%, 2.1%) | Italian rates (22%, 10%, 5%, 4%, 0%) |
| Tax Codes | French tax categories | Italian Natura codes (N1-N6) |
| Currency | EUR mandatory | EUR mandatory |
| Decimal Places | 2 decimal places | 2 decimal places |
3. Field Mapping Challenges
Converting between different XML structures requires careful mapping:
| Field | Facture-X (CII) | FatturaPA |
|---|---|---|
| Invoice Number | ExchangedDocumentContext/ID | Numero |
| Invoice Date | ExchangedDocumentContext/IssueDateTime | Data |
| Customer VAT | BuyerTradeParty/GlobalID | IdFiscaleIVA |
| Supplier VAT | SellerTradeParty/GlobalID | IdFiscaleIVA |
| Line Items | SupplyLineTradeTransaction | DatiBeniServizi |
| Payment Terms | PaymentTerms | DatiPagamento |
Best Practices for Conversion
Follow these guidelines for successful conversion:
1. File Preparation
- Validate Facture-X file before conversion
- Check embedded XML quality and completeness
- Ensure all required fields are present
- Verify tax calculations and French tax codes
2. Testing
- Test with sample invoices from your business
- Validate against FatturaPA schema requirements
- Check compatibility with target Italian systems
- Verify Italian formatting compliance
3. Documentation
- Keep conversion logs for audit purposes
- Document any special handling requirements
- Maintain mapping tables for consistency
- Store validation rules and exceptions
Benefits of FatturaPA Conversion
Converting to FatturaPA format offers several advantages:
For Italian Market
- Compliance with Italian e-invoicing regulations
- Enhanced customer acceptance and satisfaction
- Improved business relationships with Italian partners
- Access to Italian government e-invoicing platforms
- Support for mandatory B2B transactions in Italy
For System Integration
- Standardized Italian format for system integration
- Better compatibility with Italian trading partners
- Reduced integration costs and complexity
- Improved data exchange capabilities
- Support for multi-country operations involving Italy