FatturaPA to CII
Learn how to transform your Italian electronic invoices (FatturaPA) into Cross Industry Invoice format for European e-invoicing compliance.
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). Below is an example of how a supplier is defined in FatturaPA:
<CedentePrestatore>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>IT</IdPaese>
<IdCodice>12345678901</IdCodice>
</IdFiscaleIVA>
<Anagrafica>
<Denominazione>Italian Company SRL</Denominazione>
</Anagrafica>
</DatiAnagrafici>
<Sede>
<Indirizzo>Via Roma 123</Indirizzo>
<CAP>00100</CAP>
<Comune>Roma</Comune>
<Nazione>IT</Nazione>
</Sede>
</CedentePrestatore>Understanding CII Format
CII (Cross Industry Invoice) is a European standard for electronic invoicing that provides a common syntax for invoice data exchange. It's designed to be interoperable across different countries and systems while maintaining compliance with EN 16931.
Key characteristics of CII:
- European standard EN 16931 compliant
- Pure XML format without visual presentation
- Designed for cross-border European transactions
- Supports complex business rules and validations
- Widely adopted in European e-invoicing
- Compatible with various national extensions
CII Structure Example
CII uses the UN/CEFACT syntax. The same supplier information in CII format:
<ram:SellerTradeParty>
<ram:Name>Italian Company SRL</ram:Name>
<ram:SpecifiedLegalOrganization>
<ram:ID schemeID="0002">12345678901</ram:ID>
</ram:SpecifiedLegalOrganization>
<ram:PostalTradeAddress>
<ram:PostcodeCode>00100</ram:PostcodeCode>
<ram:LineOne>Via Roma 123</ram:LineOne>
<ram:CityName>Roma</ram:CityName>
<ram:CountryID>IT</ram:CountryID>
</ram:PostalTradeAddress>
<ram:SpecifiedTaxRegistration>
<ram:ID schemeID="VA">IT12345678901</ram:ID>
</ram:SpecifiedTaxRegistration>
</ram:SellerTradeParty>Why Convert FatturaPA to CII?
Converting between these formats is essential for:
- European compliance: Meeting EN 16931 standards for cross-border trade
- System integration: Working with European-wide e-invoicing systems
- Business expansion: Expanding to other European markets
- Standardization: Using interoperable European formats
- Future-proofing: Preparing for evolving e-invoicing requirements
Conversion Process
Converting your FatturaPA to CII involves these key steps:
Step 1: Upload Your Invoice
Simply upload your FatturaPA XML file. The system automatically reads all the structured Italian invoice data.
Step 2: Format Transformation
Our converter transforms Italian format to European CII standard:
- Maps Italian field names to CII standard elements
- Converts Italian tax codes to European categories
- Standardizes address formats for European use
- Adjusts date and number formats for international use
- Preserves all invoice data and calculations
Step 3: European Compliance
The converted CII file meets European requirements:
- Follows EN 16931 standard specifications
- Supports European VAT and tax handling
- Includes proper currency and country codes
- Validates against CII schema requirements
- Compatible with European e-invoicing networks
Step 4: Quality Validation
Before generating the final file, the system performs thorough checks:
- Validates XML structure against CII schema
- Ensures all required fields are present
- Checks business rules and calculations
- Verifies European formatting compliance
- Tests compatibility with receiving systems
Step 5: Download Ready-to-Use File
You receive a properly formatted CII file ready for European business transactions and system integration.
Common Conversion Issues
Be aware of these challenges when converting FatturaPA to CII:
1. Tax System Differences
Italian and European tax systems have different requirements:
| Italian Tax Code | Description | European Equivalent |
|---|---|---|
| N1 | Standard VAT (IVA ordinaria) | Standard rate (S) |
| N2 | Zero VAT (Non soggetta IVA) | Zero rated (Z) |
| N3 | Exempt (Esente) | Exempt (E) |
| N4 | Reverse charge (Inversione contabile) | Reverse charge (AE) |
2. Address Format Conversion
Italian addresses need to be converted to European format:
- Province codes become part of address structure
- Italian postal codes integrate with European systems
- Country codes remain standard (IT)
- Street types follow European addressing standards
- Special characters are preserved according to EU standards
3. Field Mapping Challenges
Converting between different XML structures requires careful mapping:
| Field | FatturaPA | CII |
|---|---|---|
| Invoice Number | Numero | ExchangedDocumentContext/ID |
| Invoice Date | Data | ExchangedDocumentContext/IssueDateTime |
| Customer VAT | IdFiscaleIVA | BuyerTradeParty/GlobalID |
| Supplier VAT | IdFiscaleIVA | SellerTradeParty/GlobalID |
| Line Items | DatiBeniServizi | SupplyLineTradeTransaction |
| Payment Terms | DatiPagamento | PaymentTerms |
Best Practices for Conversion
Follow these guidelines for successful conversion:
1. Preparation
- Validate FatturaPA file before conversion
- Check all Italian tax codes and VAT numbers
- Ensure address formats are correct
- Verify payment terms and bank details
2. Testing
- Test with sample invoices from your business
- Validate against CII schema requirements
- Check compatibility with target European systems
- Verify European 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 CII Conversion
Converting to CII format offers several advantages:
For European Business
- Compliance with EN 16931 standards
- Interoperability with European systems
- Support for cross-border transactions
- Enhanced automation capabilities
- Future-proof format for evolving requirements
For System Integration
- Standardized European format for integration
- Better compatibility with European partners
- Reduced integration costs and complexity
- Improved data exchange capabilities
- Support for multi-country operations