Prerequisites
- SAP S/4HANA or ECC 6.0 EHP8+ with Adobe Document Services (ADS) configured
- ADS embedded deployment or standalone ADS server with PDF/A-3 capability
- SAP Note 2276033 for ZUGFeRD 2.x support and CII embedding
- SAP Note 2530397 for PDF/A-3b conformance level and sRGB ICC profile
- Smart Forms or Adobe Forms template for invoice output (not SAPscript)
Step-by-Step Setup
Configure Adobe Document Services for PDF/A-3 output
Transaction SPAD → Device Types → PDF (output device) → ADS Settings. Enable "PDF/A-3b" conformance level. Critical: activate "Embed ICC Color Profile" and select sRGB IEC61966-2.1. Without the ICC profile, PDF/A validation fails with "Missing OutputIntent" error. Test via /ADS/FPCONNECT.
Create ZUGFeRD output form in Adobe LiveCycle Designer
Open Adobe LiveCycle Designer. Create new form with PDF/A-3b preset. In File → Form Properties → PDF → enable "Create tagged PDF" and "PDF/A-3b" compliance. Add placeholder for XML attachment: Object → Attach Files Area. The CII XML will be embedded here at runtime.
Configure CII XML generation and embedding via SPRO
SPRO → Financial Accounting → Accounts Receivable → Electronic Invoicing → ZUGFeRD Settings. Select profile: MINIMUM (archiving only), BASIC (most B2B), EN16931 (EU compliance), EXTENDED (XRechnung compatible). For B2B in Germany, BASIC or EN16931 is typical. EXTENDED required if recipient needs XRechnung compatibility.
Set up output determination to use ZUGFeRD form
Transaction NACE → V3 (Billing) → Output Types. For output type ZUG (or your custom type): set transmission medium to "1" (Print) with device "PDF". Link to your Adobe Form template. Create condition records for customer/billing type combinations that should receive ZUGFeRD.
Test PDF/A-3 compliance with embedded XML extraction
Generate test invoice (VF01). Open resulting PDF in Adobe Acrobat Pro → View → Navigation Panels → Attachments. You should see "factur-x.xml". Extract and open to verify CII structure. Use Acrobat Preflight → "PDF/A-3b compliance" to verify PDF conforms. Upload both PDF and extracted XML to Invoice Navigator for validation.
Common SAP Errors
Why this happens in SAP
SAP Adobe Document Services renders PDF with visual rounding, but the embedded XML uses full precision. When price × quantity has many decimal places, the visual PDF may show a different amount than the XML calculates.
How to fix it
Configure ADS to use identical precision for PDF and XML generation. In output template, set decimal handling to match across both outputs.
Why this happens in SAP
When using ZUGFeRD with XRechnung profile for B2G, the Leitweg-ID must be included. SAP users often select XRechnung profile but forget to populate the buyer reference field.
How to fix it
If using ZUGFeRD XRechnung profile, always populate Leitweg-ID in customer master. For B2B ZUGFeRD, use COMFORT or EXTENDED profile instead.
Why this happens in SAP
ZUGFeRD requires PDF/A-3 with embedded XML. SAP Adobe Document Services may generate non-conformant PDF/A-3 if ICC color profiles are missing or fonts are not embedded.
How to fix it
Configure ADS with proper PDF/A-3 settings: embed all fonts, include sRGB ICC profile, set conformance level to PDF/A-3b minimum.
Pre-Export Checklist for SAP
Before exporting ZUGFeRD from SAP, verify these items:
- 1Verify ADS is configured for PDF/A-3 output with embedded fonts
- 2Confirm ZUGFeRD profile matches recipient requirements
- 3Check that line amounts match visual PDF display
- 4For XRechnung profile: ensure Leitweg-ID is populated
- 5Test XML extraction with a ZUGFeRD-compatible reader
- 6Validate PDF/A-3 conformance with Adobe Preflight or similar tool
Testing Your Setup
Generate a test ZUGFeRD invoice and verify the embedded XML is correctly attached. Use a tool like Adobe Acrobat Pro or PDF-XChange to inspect attachments.
💡 The ZUGFeRD forum (www.ferd-net.de) provides official test files for each profile level. Use these to verify your system generates compatible output.
Validate Your Output
Upload your ZUGFeRD PDF to Invoice Navigator. The validator extracts and validates the embedded XML against your selected profile (Basic, Comfort, Extended, or XRechnung).
Validate ZUGFeRDFAQ
What is the difference between ZUGFeRD profiles?
Is ZUGFeRD the same as Factur-X?
Related Guides
Ready to Test Your SAP Export?
Upload your ZUGFeRD invoice and get instant compliance feedback with SAP-specific recommendations.
Validate ZUGFeRD Invoice