Procedure documentationCreating and Submitting an eDocument

 

When using the eDocument solution for Spain, you can set up your system to create eDocuments automatically when the corresponding source documents have been created in the source application.

If, for any reason, the eDocument was not created automatically, you can still create it manually in theCreate and Submit eDocument report (EDOC_COCKPIT transaction). Once the eDocument is created and displayed in the output screen, you submit it to the governmental entities. For Spain, there are two procedures:

  • Automatic submitting of eDocuments

    When using this procedure, you submit your eDocuments to the governmental entities and the system sends the XML file to the appropriate Web service for processing. The eDocuments status is automatically displayed in the Create and Submit eDocument report.

    This procedure is used if the customer has a Web service as a destination for eDocuments. See the section Maintaining Customers’ Web Service Address in Implementation Considerations for eDocument in SAP ERP - Spain for information on how to maintain this field. In case this field in not maintained, you use the manual procedure for submitting your eDocuments to the governmental entities.

  • Manual submitting of eDocuments

    When using this procedure, you download your eDcouments to your local system and upload them manually to the governmental entities's web services. You maintain manually the statuses of the eDocument in the system.

Procedure

Automatic Procedure

  1. In the Create and Submit eDocument report, search for the eDocument and click Submit.

    The system sends the eDocument in XML format to the governmental entity. The process status of the eDocument is REGP.

  2. Select the eDocument and click Tax Authorities to update the process status of the eDocument:

    • eDocument has the process status paid (PAID): this is the final process status and no more actions are allowed for this eDocument.

    • eDocument has the process status rejected (REJE): you can void the eDocument. For more information, see Cancelling or Voiding eDocuments

Manual Procedure

  1. In the Create and Submit eDocument report, search for the eDocument and click Export File to download the eDocument to your file system. The status of the eDocument is DOWN.

    The status of the eDocument only changes to DOWN if you have exported the file from the output screen. By exporting the file from the History screen (Start of the navigation path History Next navigation step Export File End of the navigation path, the process status of the eDocument does not change to DOWN and you cannot proceed with the manual procedure.

  2. You upload manually the eDocument to the Web service of the governmental entity.

  3. Select the eDocument and click on Tax Authority. The system displays a pop up where you manually maintain the registration number and the date informed by the government entity. Save your entries.

    The system assigns the status REGP to the eDocument.

  4. Select the eDocument and click on Tax Authority. The system displays a pop up where you select the current process status:

    • eDocument has the status Paid (PAID). This is the final status and no more actions are allowed for this eDocument.

    • eDocument has the stauts Rejected (REJE): You can void the eDocument. Save your entries.

      For more information on how to void an eDocument using the manual procedure, see the Cancellation of eDocument when using the Manual Procedure section Cancelling or Voiding eDocuments.