FatturaPA to Factur-X
Learn how to convert your Italian electronic invoices (FatturaPA) into the Factur-X hybrid format — a powerful standard that combines a human-readable PDF with embedded machine-readable XML data, fully accepted across European B2B and cross-border trade workflows.
What Is Factur-X?
Factur-X is a Franco-German hybrid e-invoicing standard developed jointly by the French FNFE-MPE and the German AWV/FeRD forums. It embeds structured XML invoice data directly inside a PDF/A-3 file, making the document both visually readable by humans and electronically processable by machines — without needing two separate files.
Core characteristics of Factur-X:
- PDF/A-3 container with embedded XML attachment
- Fully compliant with the European EN 16931 semantic model
- Supports multiple conformance profiles: MINIMUM, BASIC WL, BASIC, EN 16931, EXTENDED
- Widely accepted in France, Germany, and across EU cross-border trade
- Enables automated invoice processing without losing the visual document
- Compatible with archiving regulations that require PDF/A format
Factur-X XML Structure Example
The XML embedded inside a Factur-X document follows the UN/CEFACT Cross Industry Invoice (CII) syntax. Here is a simplified example of the core data structure:
<?xml version="1.0" encoding="UTF-8"?>
<rsm:CrossIndustryInvoice
xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
<rsm:ExchangedDocumentContext>
<ram:GuidelineSpecifiedDocumentContextParameter>
<ram:ID>urn:factur-x.eu:1p0:en16931</ram:ID>
</ram:GuidelineSpecifiedDocumentContextParameter>
</rsm:ExchangedDocumentContext>
<rsm:ExchangedDocument>
<ram:ID>2024-IT-0001</ram:ID>
<ram:TypeCode>380</ram:TypeCode>
<ram:IssueDateTime>
<udt:DateTimeString format="102">20240115</udt:DateTimeString>
</ram:IssueDateTime>
</rsm:ExchangedDocument>
<rsm:SupplyChainTradeTransaction>
<ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument>
<ram:LineID>1</ram:LineID>
</ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct>
<ram:Name>Software Consulting Service</ram:Name>
</ram:SpecifiedTradeProduct>
<ram:SpecifiedLineTradeAgreement>
<ram:NetPriceProductTradePrice>
<ram:ChargeAmount>500.00</ram:ChargeAmount>
</ram:NetPriceProductTradePrice>
</ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery>
<ram:BilledQuantity unitCode="HUR">10</ram:BilledQuantity>
</ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement>
<ram:ApplicableTradeTax>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>22</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
</ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem>
</rsm:SupplyChainTradeTransaction>
</rsm:CrossIndustryInvoice>Why Convert FatturaPA to Factur-X?
FatturaPA is the mandatory Italian e-invoicing standard, but it is not directly accepted in cross-border European trade. Converting FatturaPA to Factur-X bridges this gap and opens your invoicing process to a much wider international audience.
- Cross-border acceptance: Send invoices to French, German, and EU buyers in a format they can process automatically
- Dual-use document: One file works for both manual review and automated accounting systems
- EN 16931 compliance: Align with the European invoicing semantic standard for public procurement and B2B trade
- Reduced processing friction: Buyers can import invoice data directly into their ERP without manual entry
- Archiving readiness: PDF/A-3 format meets long-term document storage requirements
- Future-proofing: The hybrid model is increasingly required for EU VAT in the Digital Age (ViDA) compliance
Conversion Process: FatturaPA to Factur-X
The conversion maps Italian-specific FatturaPA XML fields to the European CII data model used by Factur-X. Here is the step-by-step process:
Step 1: Upload Your FatturaPA File
Upload your FatturaPA XML file to the converter. The system reads all structured data including supplier and customer identifiers, invoice lines, VAT breakdowns, and payment information from the Italian fiscal XML schema.
Step 2: Field Mapping and Data Translation
The converter performs intelligent field-by-field mapping from the Italian FatturaPA schema to the UN/CEFACT CII data model. Key mappings include:
- CedentePrestatore (Italian supplier) → SellerTradeParty in CII
- CessionarioCommittente (Italian buyer) → BuyerTradeParty in CII
- DatiGeneraliDocumento (invoice header) → ExchangedDocument in CII
- DettaglioLinee (line items) → IncludedSupplyChainTradeLineItem in CII
- DatiRiepilogo (VAT summary) → ApplicableTradeTax in CII
- AliquotaIVA (Italian VAT rate) → RateApplicablePercent in CII
Step 3: Conformance Profile Selection
Factur-X supports multiple conformance levels. The converter selects the appropriate profile based on the richness of data available in your FatturaPA document:
- MINIMUM: Only essential invoice identification and totals
- BASIC WL: Adds line-level information without line details
- BASIC: Complete invoice with line items and tax breakdown
- EN 16931: Full European standard compliance with all mandatory fields
- EXTENDED: Adds optional fields for complex trade scenarios
Step 4: PDF/A-3 Document Generation
Once the CII XML is ready, the converter generates a professionally formatted PDF/A-3 document that visually represents the invoice. The generated XML is then embedded as an attachment inside the PDF file according to the Factur-X specification, creating a single self-contained hybrid invoice document.
Step 5: Validation and Quality Check
Before delivering the output, the system runs automated validation to ensure:
- The embedded XML passes EN 16931 schema validation
- All mandatory fields for the selected conformance profile are present
- VAT amounts and totals are mathematically consistent
- The PDF/A-3 structure is correctly formed with proper attachments
- Business rules defined in the European standard are satisfied
Step 6: Download Your Factur-X File
Receive a complete Factur-X PDF document ready for sending to European buyers, submission to procurement portals, or archiving in compliant document management systems.
Key Differences: FatturaPA vs Factur-X
Understanding what changes during conversion helps you prepare your source data correctly:
1. Format and Structure
FatturaPA is a pure XML file using Italian-specific element names defined by the Agenzia delle Entrate. Factur-X is a PDF/A-3 file with an embedded XML attachment that follows the international UN/CEFACT CII syntax — a globally recognized data structure used across multiple e-invoicing standards.
2. Identifier Systems
FatturaPA uses Italian-specific identifiers such as the Partita IVA (VAT number), Codice Fiscale, and the Codice Destinatario SDI routing code. Factur-X uses international identifiers such as ISO 6523 scheme codes, LEI numbers, and global VAT registration numbers, which are compatible with European tax systems beyond Italy.
3. Tax Classification
Italian VAT nature codes (N1 through N7) used in FatturaPA must be translated to EN 16931 VAT category codes (S for standard, Z for zero-rated, E for exempt, AE for reverse charge, etc.) during the conversion. This mapping ensures the tax meaning is correctly preserved in the target format.
4. Payment and Banking Data
FatturaPA's DatiPagamento section containing Italian payment method codes (MP01 through MP23) and IBAN details is converted to the Factur-X SpecifiedTradeSettlementPaymentMeans section using internationally recognized payment means codes that are understood by European ERP and accounting systems.
Common Conversion Considerations
Be aware of these points when converting FatturaPA documents to Factur-X:
1. Italian-Only Fields
Some FatturaPA fields exist only in the Italian fiscal system and have no direct equivalent in the EN 16931 semantic model. These include the Codice Destinatario, the RiferimentoNumeroLinea for document-level references, and certain Italian-specific payment codes. The converter places these values in Factur-X note fields or extended reference elements to preserve the data without breaking standard compliance.
2. VAT Nature Code Translation
Each Italian VAT exemption or special regime code must be correctly translated. For example, FatturaPA nature code N6 (reverse charge) maps to EN 16931 VAT category AE, while N4 (exempt) maps to category E. Incorrect mapping can cause validation failures or compliance issues in the recipient country's tax system.
3. Currency and Amount Precision
FatturaPA amounts use Italian decimal formatting with up to 8 decimal places in some fields. Factur-X follows strict precision rules defined in EN 16931. The converter normalizes all amounts to the required decimal precision and ensures line-level amounts sum correctly to document totals within the tolerance allowed by the standard.
Best Practices for FatturaPA to Factur-X Conversion
Follow these guidelines to get reliable, high-quality Factur-X output:
1. Validate Your Source File First
- Ensure the FatturaPA file is well-formed and schema-valid before uploading
- Check that all mandatory Italian fields are present and correctly formatted
- Verify VAT numbers and fiscal codes are in the correct format
- Confirm that line totals and tax summaries are mathematically consistent
2. Choose the Right Conformance Profile
- Use EN 16931 profile for invoices sent to European public administrations
- Use BASIC profile for standard B2B cross-border trade with full line detail
- Use EXTENDED profile when your trading partner requires additional fields
- Confirm the required profile with your trading partner before conversion
3. Preserve Original Documents
- Always keep the original FatturaPA XML for Italian tax authority purposes
- The Factur-X document is for cross-border use, not for SDI submission
- Store both versions in your document management system with clear labels
- Maintain an audit trail linking the original Italian invoice to the Factur-X export
Benefits of Converting FatturaPA to Factur-X
The FatturaPA to Factur-X conversion delivers concrete business advantages for Italian companies operating internationally:
For Italian Exporters
- Send invoices accepted automatically by French and German ERP systems
- Participate in EU public procurement processes that require EN 16931 compliance
- Reduce manual data entry errors at the buyer's accounts payable department
- Build stronger business relationships with European partners through standardized invoicing
For Accounting and Finance Teams
- Automate cross-border invoice processing without custom integrations
- Eliminate manual re-keying of invoice data into ERP or accounting software
- Improve cash flow through faster invoice acceptance and payment cycles
- Simplify VAT reconciliation across multiple EU jurisdictions