Setup for Electronic Invoicing Cancellation for Mexico
Before you start canceling electronic invoices in NetSuite for Mexico, you must set up the generation and certification of your e-documents. This section includes the following topics:
Creating Cancellation E-Document Sending Methods for Mexico
To certificate the cancellation of electronic invoices with the Mexican tax authorities, create an e-document sending method record for Mexico.
To create a cancellation e-document sending method:
-
Go to Setup > E-Documents > E-Document Sending Methods > New.
-
In the Name field, enter the corresponding PAC as the name for the e-document sending method.
-
Solución Factible Cancellation Sending Method
-
MySuite Cancellation Sending Method
-
-
In the E-Document Package field, select the corresponding package for each PAC.
-
Solución Factible E-document Package
-
MySuite E-document Package
-
-
In the Sending Channel field, enter SOAP.
-
In the Transaction Type field, select the following transaction types:
-
CFDI Invoice Cancellation
-
-
Check the Sending Method for Certification box.
For more information about sending methods, see Creating E-Document Sending Methods.
Configuring accounts in the PAC Configuration
To follow with the configuration needed for the certification of invoice cancellation for Mexico, the default accounts that apply for cancellation must be setup.
To set up cancellation accounts
-
Go to Setup > Accounting > Accounting Preferences.
-
In the Items/Transactions tab, select the corresponding accounts for the following fields:
-
In the Default Income Account field, select Sales.
-
In the Default Asset Account field, select Inventory.
-
-
Click Save.
To configure accounts in the PAC Configuration
-
Go to Setup > Mexico Localization > PAC Configuration
-
Select the corresponding e-document package and click the Edit button.
-
In the Invoice tab, go to the Cancellation Accounts Setup subtab.
-
Select the Returned Sales and Returned Inventory accounts.
Configuring plug-ins
Before configuring the XML templates, you need to configure the necessary plug-ins.
To configure plug-ins
-
Go to Customization > Plug-ins > Plug-in Implementations.
-
Click New.
-
Select the script file mcf_pl_cert_monitor-js.
-
In the Type field, select Certification Monitoring Plug-in Type.
-
In the Name field, enter Mexico Monitoring Plugin.
-
Click Save.
Configuring cancellation XML templates
To configure the cancellation XML templates, please follow the steps described in the Solución Factible and MySuite outbound invoice cancellation template update for Mexico Certification Tax Authorities article in SuiteAnswers.
Adding Mexico Certification Custom Fields
The Mexico Tax Authority (SAT) provides you with authentication credentials when you register your company to certify e-documents with the city. The tax authority uses this information to authenticate your request for certification.
To include the credentials on the certification requests you send to Mexico, create certification custom fields on the city's e-document certification settings record.
To improve the security of the credentials you store in NetSuite, you should encrypt the PAC PASS and PAC User custom fields. To enable the encryption, create an API secret and enter its ID on the e-document certification settings record associated with the SAT certification service. Ensure that the API secret password has 16, 24, or 32 bytes. For more information, see Creating Secrets and Defining E-Document Certification Settings.
You should do this for all subsidiaries that send e-documents for certification to Mexico, both in test and production environments.
To add Mexico certification custom fields
-
Go to Setup > E-Document Certification > Tax Authority Certification Service.
-
Find the corresponding tax authority certification service record and click View.
-
Solución Factible Tax Authority
-
MySuite Tax Authority
-
-
Click the E-Document Certification Settings subtab.
-
Find the e-document certification settings you want, and then click Edit.
-
Click the Custom Fields subtab.
-
Add your user name information.
-
Click New Certification Custom Fields.
A certification custom fields record opens.
-
In the Custom Field Key field, enter PAC_USER.
-
In the Custom Field Value field, enter the company’s username.
-
Click Save.
-
-
Add your access pass information.
-
Click New Certification Custom Fields.
A certification custom fields record opens.
-
In the Custom Field Key field, enter PAC_PASS.
-
In the Custom Field Value field, enter the company’s access pass.
-
(Optional) To encrypt the content of the Custom Field Value field, check the Encrypt Custom Field Value box.
-
Click Save.
-