SAP Knowledge Base Article - Preview

3039243 - Spain eDoc electronic submission failure - package eDocument: VAT Register Books for Spain


  1. In EDOC_COCKPIT - eDocument Cockpit, you observe an error similar to below: 
    SOAP error code: {}Server
    SOAP error text: Integration exception: class org.apache.cxf.interceptor.Fault: Could not generate the XML stream
    SOAP error text: caused by: com.ctc.wstx.exc.WstxIOException: PKIX path
    SOAP error text: building failed: unable to find valid
    SOAP error text: certification path to requested target.
    PKIX path unable to find valid certification path to requested target
  2. Issue happens with package eDocument VAT Register Books for Spain, which uses SAP Cloud Integration (CPI) as middleware.
  3. Issue happens with iflow Communicate to SII
  4. The messages in the iflow may look to be completed but the error in symptom 1 comes up in the log. 
  5. The error message in CPI can also be like Inbound processing in endpoint at /SpainSIICommunicate-88-p50 failed with message "PolicyException:These policy alternatives cannot be satisfied:



SAP Integration Suite
SAP Cloud Integration


Cloud Integration 4.0 ; SAP ERP all versions


eDocument, VAT, SunCertPathBuilderException: unable to find valid certification path to the requested, Spanish tax agency, eDoc, Communicate to SII, GlobalSign, Root certificate, CPI, Tax, SII notes, SII, sap edocument, edocument spain, espanõl, españa, edocument, edoc, edoc spain, solucion, solución, solution, solução, spanish, trámites, información, comercio, aduana, declaraciones, informaciones, declaración, xlm, xml, xml file, fatura, facture, factura, electrónica, eletrónica, facturas, facturación, emisión de documento, emisiónm documento, fecha, estructura, estándar, pdf, xsd, information, commerce, customs, declarations, information, statement, file, invoice, electronics, eletronics, reception, payment receipt complement, edocument, edocumento, e-document, legal change, tax authorities, basic enablement, edocuments, edocs, edocumentos, e-documents, sii, document compliance, spain, espanha, españa, spanien, spagna, PolicyException,SpainSIICommunicate , KBA , CA-GTF-CSC-EDO-ES , Document Compliance Spain , LOD-HCI-PI-OPS , Cloud Operations , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.