CII to FatturaPA
Learn how to transform your Cross Industry Invoice format (CII) into Italian electronic invoice format (FatturaPA) for business transactions in Italy.
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. Below is an example of how a supplier is defined in CII format:
<ram:SellerTradeParty>
<ram:Name>European Company GmbH</ram:Name>
<ram:SpecifiedLegalOrganization>
<ram:ID schemeID="0002">12345678900012</ram:ID>
</ram:SpecifiedLegalOrganization>
<ram:PostalTradeAddress>
<ram:PostcodeCode>10115</ram:PostcodeCode>
<ram:LineOne>Friedrichstraße 123</ram:LineOne>
<ram:CityName>Berlin</ram:CityName>
<ram:CountryID>DE</ram:CountryID>
</ram:PostalTradeAddress>
<ram:SpecifiedTaxRegistration>
<ram:ID schemeID="VA">DE123456789</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 in FatturaPA format:
<CedentePrestatore>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>DE</IdPaese>
<IdCodice>123456789</IdCodice>
</IdFiscaleIVA>
<Anagrafica>
<Denominazione>European Company GmbH</Denominazione>
</Anagrafica>
</DatiAnagrafici>
<Sede>
<Indirizzo>Friedrichstraße 123</Indirizzo>
<CAP>10115</CAP>
<Comune>Berlin</Comune>
<Nazione>DE</Nazione>
</Sede>
</CedentePrestatore>Why Convert CII 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
- Business expansion: Expanding operations to Italy
- System integration: Working with Italian business systems
- European trade: Supporting cross-border transactions with Italy
Conversion Process
Converting your CII to FatturaPA involves these key steps:
Step 1: Upload Your Invoice
Simply upload your CII XML file. The system automatically reads all the structured European invoice data.
Step 2: Format Transformation
Our converter transforms European CII to Italian format:
- Maps CII element names to FatturaPA standard elements
- Converts European tax categories to Italian tax codes
- Standardizes address formats for Italian use
- Adjusts date and number formats for Italian requirements
- Preserves all invoice data and calculations
Step 3: 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 4: 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 5: 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 CII to FatturaPA:
1. Tax System Differences
European and Italian tax systems have different requirements:
| European Category | Description | Italian Equivalent |
|---|---|---|
| S | Standard rate | N1 (IVA ordinaria) |
| Z | Zero rated | N2 (Non soggetta IVA) |
| E | Exempt | N3 (Esente) |
| AE | Reverse charge | N4 (Inversione contabile) |
2. Address Format Conversion
European addresses need to be converted to Italian format:
- Province codes become part of address structure
- European postal codes integrate with Italian systems
- Country codes remain standard (IT)
- Street types follow Italian addressing standards
- Special characters are preserved according to Italian standards
3. Field Mapping Challenges
Converting between different XML structures requires careful mapping:
| Field | 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. Preparation
- Validate CII file before conversion
- Check all European 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 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