Setting up Latam E-Document Certification SuiteApp for Chile

Follow these procedures to set up the Latam E-Document Certification SuiteApp for Chile.

Creating a Tax Authority Certification Service record for Chile

Follow these steps to create a Tax Authority Certification Service record for Chile.

To create a Tax Authority Certification Service for Chile using GOSOCKET:

After you save the record, several subtabs are displayed within the record. The lists values are specific to the app.

  1. Go to Setup > E-Document Certification > Tax Authority Service > New.

  2. In the Name field, enter the tax authority certifying service name.

  3. In the Tax Authority Plug-in Implementation field, select the tax authority plug-in implementation for the tax authority.

  4. In the Certification Monitoring Plug-in Implementation field, select one or multiple certification monitoring plug-in implementations you want to associate with this tax authority certification service.

  5. Click Save.

To create a Tax Authority Certification Service for Chile using Facele:

  1. Go to Setup > E-Document Certification > Tax Authority Service > New.

  2. In the Name field, enter CI Facele.

  3. In the Tax Authority Plug-in Implementation field, enter CL ECS Plugin Facele Tax Auth.

  4. In the Certification Monitoring Plug-In Implementation field, enter CL monitoring PL GS (the same monitoring plug-in used by Gosocket; it updates the transaction with the certification status, the document number, and the XML and PDF files)

The subsidiary must have only one active technology provider. If the subsidiary has an active E-Document Certification Settings record for Gosocket, inactivate it; otherwise, the e-documents are not sent to Facele

Sending E-Document to the Tax Authority for Certification (Chile)

Follow this procedure to submit the e-document to the tax authority for certification.

To send an e-document to the tax authority for certification:

  1. Go to Setup > E-Document Certification > Tax Authority Certification Service.

  2. Click View next to the tax authority certification service you created.

  3. Click New Certification Service Operation.

    A new certification service operation record opens.

  4. In the Name field, enter Gosocket CH Sending.

  5. In the Tax Authority Certification Service field, add CL Gosocket.

  6. In the Operation Type field, select Send E-Document.

  7. In the E-Document Template field, select the template that corresponds to the document type:

    • Electronic Invoice

    • Credit and Debit Memos

    • Dispatch Guide

    • Export Document

    • Invoice Settlement

    • Electronic Bill

  8. Click Save.

    The lists values are specific to the app.

    The functionality of this is to submit the e-document to the tax authority for certification.

To create a Send E-Document operation for Facele template:

With Facele, this operation certifies the e-document in a single request: Facele signs and stamps the document and assigns the document number (folio).

  1. Go to Setup > E-Document Certification > Tax Authority Certification Service.

  2. Click View next to the tax authority certification service you created.

  3. Click New Certification Service Operation.

    A new certification service operation record opens.

  4. In the Name field, enter the name to identify the operation, for example Facele CL Sending.

  5. In the Tax Authority Certification Service field, add CI Facele.

  6. In the Operation Type field, select Send E-Document.

  7. In the E-Document Template field, select the template that corresponds to the document type:

    • CL Facele Electronic Invoice

    • CL Facele Electronic Ticket

    • CL Facele Credit and Debit Memos

    • CL Facele Dispatch Guide

    • CL Facele Export Document

    • CL Facele Invoice Settlement

    • CL Facele Electronic Bill

  8. Click Save.

Checking Certification Status with Tax Authority

Follow these steps to send a request to the tax authority inquiring on the certification progress.

To send a request to the tax authority inquiring on the certification progress:

  1. Go to Setup > E-Document Certification > Tax Authority Certification Service.

  2. Click View next to the tax authority certification service you created.

  3. Click New Certification Service Operation.

    A new certification service operation record opens.

  4. In the Name field, enter Gosocket CH get Document.

  5. In the Tax Authority Certification field, add CI Gosocket.

  6. In the Operation Type field, select Check Status.

  7. Click Save.

    The lists values are specific to the app.

    The functionality of this is to send a request to the tax authority inquiring over the certification progress.

This operation does not apply to Facele.

Facele certifies the e-document at the moment it is sent, so it is not necessary to create the Check Status operation or its web service URL.

Updating E-Document for the Tax Authority (Chile)

To send an updated version of the e-document to the tax authority for certification:

  1. Go to Setup > E-Document Certification > Tax Authority Certification Service.

  2. Click View next to the tax authority certification service you created.

  3. Click New Certification Service Operation.

    A new certification service operation record opens.

  4. In the Name field, enter Gosocket CH get Files.

  5. In the Tax Authority Certification field, add CL Gosocket.

  6. In the Operation Type field, select Update.

  7. Click Save.

    The lists values are specific to the app. The functionality is to retrieve the certified XML and PDF files of the e-document from the technology provider. The files are saved in the folder entered in the E-DOCUMENT FOLDER ID field.

You must add the following information for Facele:

With Facele, this operation retrieves the certified XML and PDF files of the e-document.

Adding Certification Service URL (Chile)

Follow these steps to map the Certification Web Service URL and the Certification Service Operation

To add certification service URL for Chile

  1. Go to Setup > E-Document Certification > Tax Authority Certification Service.

  2. Click View next to the tax authority certification service you created.

  3. Click the Web Service URLs subtab.

  4. Click New Certification Service URL.

  5. A new certification service URL record opens.

  6. In the Tax Authority Certification Service field, select CL Gosocket

  7. In the Certification Environment field, select the certification environment from the tax authority this URL connects to.

  8. In the Certification Web Service URL field, enter the URL for the E-Document Certification web service as provided by the tax authority.

  9. Check the Encrypt box.

  10. In the Certification Service Operation field, select the type of operation that can be requested from the tax authority through this web service URL.

  11. Click Save.

    The lists values are specific to the app.

    The functionality of this record is mapping the Certification Web Service URL and Certification Service Operation.

To add certification service URL for Chile - Facele

  1. Create one web service URL for each operation (Send E-Document and Update) and for each environment:

    • TAX AUTHORITY CERTIFICATION SERVICE: select Cl Facele

    • CERTIFICATION ENVIRONMENT: select which environment the URL connects to

    • CERTIFICATION WEB SERVICE URL: both operations use the same URL. For the Test environment, enter https://caoba.docele.cl/cl-dol-auth/DoceleOLService (without the '?wsdl' suffix). The Production environment URL is provided by Facele.

    • CERTIFICATION SERVICE OPERATION: select the Send E-Document or the Update operation.

Creating API Secret (Chile)

To create an API secret for Chile:

  1. Go to Setup > Company > API Secrets.

  2. At the top of the page, click Create New.

  3. In the Name field, enter the record name.

  4. In the Password field, enter a valid password (between 16 and 32 characters).

  5. Under the Restrictions subtab:

    1. Check the Allow For All Scripts box.

    2. Check the Allow For All Domains box.

  6. Click Save.

Defining E-Document Certification Settings

To define e-document certification settings:

  1. Go to Setup > E-Document Certification > Tax Authority Certification Service

  2. Click View next to the tax authority certification service you created.

  3. Click the Certification Settings subtab.

  4. Click New E-Document Certification Settings.

    A new e-document certification settings record opens.

  5. In the Tax Authority Certification Service field, select CI Gosocket.

  6. In the Subsidiary field, select the Chile subsidiary.

  7. In the E-Document Category field, select Electronic Invoice for Goods.

  8. In the E-Document Folder ID, enter the internal ID of the file cabinet folder in which to save the certified e-documents.

  9. In the Certification Environment field, select the environment to which you send the e-documents you generate.

  10. In the API Secret ID field, enter the ID of the API secret you created in the previous procedure.

For Facele:

On the TAX AUTHORITY CERTIFICATION SERVICE field, select Cl Facele. The rest of the fields are entered in the same way.

To set E-Document Certification:

  1. Open the record that was created in the step Set Up the Tax Authority Certification Service > Certification Settings.

  2. On the Custom Fields subtab > Certification Custom Fields, add the following information:

    • CUSTOM FIELD KEY: enter a key to identify the information to be populated in the custom field the tax authority requires, in this case the value must be taxid

    • CUSTOM FIELD VALUE: enter the Tax Registration Number (RUT) of the issuing subsidiary

  3. Save the record.

For Facele:

The custom field key must be taxid (in lowercase) and the custom field value is the Tax Registration Number (RUT) of the issuing subsidiary.

Adding Custom Fields for Certification

To add a custom field for certification:

  1. Go to Setup > E-Document Certification > Tax Authority Certification Service.

  2. Click View next to the tax authority certification service you created.

  3. Click the Certification Settings subtab.

  4. Click Edit next to the certification settings record.

    The e-document certification settings record opens.

  5. Click the Custom Fields subtab.

  6. Click Certification Custom Fields and add the following information:

    1. In the Custom Field Key field, enter the key to identify the information the tax authority requires you to provide for the custom field. In this case the value must be Token.

    2. In the Custom Field Value field, enter the technology provider Token(the value provided by Gosocket).

  7. Click Save.

  8. Open the previous record.

  9. On the Custom Fields subtab > Certification Custom Fields, add the following information:

    1. In the Custom Field Key field, enter a key to identify the information you need to fill in for the custom field required by the tax authority. In this case, enter Credentials.

    2. In the Custom Field Value field, enter the technology provider username and password in the format username:password, and encode the complete value in Base64.

    3. Check the Encrypt Custom Field Value box.

  10. Click Save.

  11. Open the previous record.

  12. On the Custom Fields subtab > Certification Custom Fields, add the following information:

    1. In the Custom Field Key field, enter a key to identify the information you need to fill in for the custom field required by the tax authority. In this case, enter defaultCertificate.

    2. In the Custom Field Value field, enter true if the company does not have its own certificate and uses the Gosocket default certificate, or false if the company has its own certificate.

  13. Click Save.

    Note: The custom field keys are case sensitive. Enter them exactly as shown: taxid, token, credentials and defaultCertificate.

Facele

Only the credentials custom field is required. The token and defaultCertificate custom fields are not used, because Facele signs and stamps the documents with its own certificate.

The Facele user and password are provided by Facele for each client and environment.

General Notices