Solution overview
The Infor Spanish Tax Authority Connector is an independent module that can process requests from ION or directly from an ERP. This diagram shows the high- level end-to-end processing:
This diagram shows the processing of the connector:
The trigger for the process is when an invoice registration request is created in a preconfigured folder. This trigger may be a result of sending BOD details through ION to Infor Localization Services, or by creation in the ERP. The request must be in the XML proprietary format as required by the web service. The connector can handle multiple accounting entities for a single customer at one time, as long as there is a valid certificate for each.
The Simple Object Access Protocol (SOAP) wrapper process monitors the invoice folders for the presence of files. If a file is found, SOAP wraps the file and a valid authorization certificate, and passes them to the Spanish authorities for processing.
The web service then responds to the request and results in a successful registration or an error situation.
If the invoice is successfully registered, then:
-
The invoice file from the ERP is moved to the Sent Items Registered folder. This folder contains an audit of all the invoices that have been successfully registered with the Spanish authorities.
-
The security verification (CSV#) and other information sent by the Spanish authority as part of the registration is added to the Inbox Registered folder.
If a problem occurred during the registration process, then:
-
The invoice file from the ERP is moved to the Sent Items Unregistered folder. This folder contains an audit of all the invoices that have not been successfully registered with the Spanish authorities.
-
The error and other information sent by the Spanish authority is added to the Inbox Unregistered folder.
SII Inquiry
The Infor Spanish Tax Authority Connector inquiry allows the user to see the results of the batches submitted to the web service.