If you receive an electronic invoice rejection email with rejection codes HV01, HV02 or HF04, validate the invoice file in the e.FACT mailbox validator :

  1. Validate the invoice by selecting "validate signature"
  2. Depending on the validation result, see the table below for how to fix the error.

error problem solution
invalid:untrustedKey-Invalid signing certificate The certificate is invalid. Check the validity of the certificate used to sign the invoice. Make sure the certificate is valid and issued by a recognized certificate authority.
invalid:untrustedKey-X509IssuerName in signing certificate attribute from signature is not well formed The X509IssuerName field is incorrectly encoded or uses non-standard prefixes. Examples:
  • Bad coding: <ds:X509IssuerName>CN=AC Representaci�n,OU=CERES,O=FNMT-RCM,C=ES</ds:X509IssuerName>
  • Out of standard: <ds:X509IssuerName>OrganizationID=VATES-A66*****, CN=UANATACA CA1 2016, OU=TSP-UANATACA, O=UANATACA SA, L=Barcelona (see current address at www.uanataca .com/address), C=ES</ds:X509IssuerName>

Contact the support of the tool through which you created the invoice.

They shall verify that the prefixes and structure of the X509IssuerName field conform to X.509 encoding standards.

XPathEvaluationError-Malformed request: the request has no signature to validate No signature found to validate

Contact the support of the tool through which you created the invoice.

They must ensure that the corresponding signature scheme (simple or advanced) complies with the XMLDSig and XAdES standard. Review the structure of the signature and its presence in the XML document.

SignaturePolicyNotFound-Signature Policy null and SignPolicyImplied found but not supported The SignaturePolicyIdentifier field is incorrect or blank.
  • <etsi:SignaturePolicyIdentifier>
  • <etsi:SignaturePolicyImplied/>
  • </etsi:SignaturePolicyIdentifier>

Contact the support of the tool through which you created the invoice.

They will need to check that the tool correctly specifies the signature policy in the SignaturePolicyIdentifier field instead of leaving it blank.

SignaturePolicyNotFound-Given commitment cannot be found on the
requested signature policy

Added <xades:CommitmentTypeId> field

and this field should not be embedded

Contact the support of the tool through which you created the invoice.
InternalServerError-Cannot recover the given signature policy and it's associated commitment. Issue: The SignaturePolicyIdentifier field is wrong or blank.
  • < etsi:SignaturePolicyIdentifier>
  • <etsi:SignaturePolicyImplied/>
  • </etsi:SignaturePolicyIdentifier>

Contact the support of the tool through which you created the invoice.

They must correctly specify the signature policy in the SignaturePolicyIdentifier field instead of leaving it blank.

invalid:incorrectSignature-Signature pdu is not valid A required attribute, SigningCertificate , is missing from advanced signatures.

Contact the support of the tool through which you created the invoice.

They shall include the SigningCertificate attribute in advanced signatures as per FACTURAe requirements.

Unknown: certificate:

PathValidationFails-Certification path could not be validated. Read timed out

A timeout error occurred. Retry validation. If the error persists, contact the support of the tool through which you created the invoice so they can review the certification chain and ensure that all intermediate certificates are accessible.