Prerequisites:

Important notice:

Only documents in pdf format can be selected. In addition, in some cases of “smart” PDF forms (protected forms, with form fields, etc.) the behavior is not as expected because when the document is uploaded, the completed information is lost and therefore the content is not the same and cannot be copied.

The problem has been detected with Adobe XFA forms, when these have certain protection policies enabled. It is difficult to predict which of these forms will work well and which will work poorly because we do not know in detail what precise protections are what cause LiveCycle to fail.

With documents similar to those we have found, specifically the same model 145 of the AEAT, what we have had to do is:

  • Option 1: Print the paper document and make a true copy of the paper document
  • Option 2 (recommended): Print the document as a PDF, using a PDF printer such as "PDF Complete" or "Primo PDF" and make a true copy of this document. This option preserves the text of the document, ie it does not convert the document into an image and can therefore be considered a more accurate copy of the document, although it is also slightly altered, given that the font used by the form values are pixelated.

Select the document

Once inside the component, the user only needs to click on the PDF button at the top left to be able to generate an authentic copy of an original document in electronic format.
A window then opens to select the document to be copied.

  Once the document has been uploaded, the application shows you a view of it, with the possibility of zooming in or out, but does not allow any editing of the document.

Copy generation

To generate the true copy, the user simply clicks on the icon:

If you want, you can also upload a different document or cancel the action.

In case the signature needs to be done using a certificate installed in the user's local certificate store, a pop-up will appear to choose the digital certificate:

If everything works correctly the service generates the authentic copy and the application allows:

  • Accept (which means that the copy will be saved to the application). Recommended option
  • Cancel process (implies that the copy will not be saved)
  • View the copy in PDF format in the browser
  • Display XML with metadata in the browser

Clicking the OK button returns you to the web application where the already saved copy is displayed: