Chile Electronic Invoicing Components
The Chile Localization SuiteApp includes e-document packages that contain sending methods for certification and XML template files to let you integrate with Chilean Technological Service Providers. To enable these components, the administrator must first install the Electronic Invoicing SuiteApp, followed by installation of the Chile Localization SuiteApp. By doing so, the Chile Localization SuiteApp adds the localized sending methods and templates in the Electronic Invoicing SuiteApp, and automatically installs them.
You can manually install or reinstall Chile Electronic Invoicing templates by going to Setup > Chile Localization > Localization Components, provided that the Electronic Invoicing SuiteApp is updated to the latest version.
To create the Tax Authority Certification Record, see LATAM E-Document Certification.
Gosocket
To set up Gosocket and other plug-ins:
-
Select the CL ECS Plugin Tax Auth-plug-in in the Tax Authority Plug-in Implementation field and the CL monitoring PL GS plug-in in the Certification Monitoring Plug-in Implementation field.
-
On the operations subtab, create a new Send E-Document operation type for every E-document template of the Chile Localization (electronic invoices, credit and debit memos, dispatch guide, export document, invoice settlement, electronic bill).
-
Create a new 'Check Status' Operation type and a new Update operation type.
-
Web services URLs tab, create a new record for each type of operation previously created. The URLs for the Gosocket Test environment are the following for each operation type:
-
Certification Settings tab, create a new E-Document Certification Settings record. In the E-Document Category field select Electronic Invoice for Goods.
Important:You must enter the API secret ID in the Api Secret Key field.
-
On the E-Document Certification Settings record Custom Fields tab, create the following fields:
Custom Field Key
Custom Field Value
Credentials
You must build the key as the union between the user and password value separated by a colon (:). That is user: password; the resulting value should be translated to base64. You can use a web page (base64encode) or ask your organization's technical staff for advice.
Before saving, make sure the Encrypt Custom Field Value box is checked.
DefaultCertificate
true: Indicates that the company doesn't have its own certificate, so it's going to use the default certificate for GoSocket only.
false: Indicates that the company has its own certificate.
Token
xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (numeric characters)
TaxId
Subsidiary tax ID
You can also integrate NetSuite with other technological service provider that are certified by the SII. For information about setting up Electronic Invoicing, see Electronic Invoicing Administrator Guide.
Facele
If the Technological Service Provider is Facele, create a Tax Authority Certification Record for Facele (for example, Cl Facele).
To set up Facele:
The token and defaultCertificate custom fields are not used by Facele. Facele signs and stamps the documents with its own certificate and assigns the document number (folio). The Facele user and password are provided by Facele for each client and environment.
-
Select the CL ECS Plugin Facele Tax Auth plug-in in the Tax Authority Plug-in Implementation field and the CL monitoring PL GS plug-in in the Certification Monitoring Plug-in Implementation field.
Facele uses the same monitoring plug-in as Gosocket.
-
On the operations subtab, create a new Send E-Document operation type for every Facele E-document template (CL Facele Electronic Invoice, CL Facele Electronic Ticket, CL Facele Credit and Debit Memo, CL Facele Dispatch Guide, CL Facele Export Documents, CL Facele Invoice Settlement and CL Facele Electronic Bill).
-
Create a new Update operation type. Facele does not use the 'Check Status' operation type: the document is certified at the moment it is sent, so it is not necessary to create it.
-
Web services URLs tab, create a new record for each type of operation previously created. Both operations use the same URL. The URLs for the Facele Test environment are the following for each operation type:
-
Send E-Document: https://caoba.docele.cl/cl-dol-auth/DoceleOLService
-
Update: https://caoba.docele.cl/cl-dol-auth/DoceleOLService
Note: Enter the service URL without the '?wsdl' suffix. The Production environment URL is provided by Facele.
-
-
Certification Settings tab, create a new E-Document Certification Settings record. In the E-Document Category field select Electronic Invoice for Goods.
It is important to enter the Api secret ID in the "Api Secret Key" field.
A subsidiary must have only one active Technological Service 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.
-
On the E-Document Certification Settings record Custom Fields tab, create the following fields. The custom field keys are case sensitive and must be entered in lowercase:
Custom Field Key
Custom Field Value
credentials
The Facele web service user and password, written in JSON format: {"user":"<user>","pass":"<password>"} Unlike Gosocket, do not convert this value to base64.
Before saving, make sure the 'Encrypt Custom Field Value' checkbox is selected.
taxid
subsidiary Tax ID (RUT of the issuer)