Setting Up CFDI

As a legal requirement, the electronic payslip, CFDI (Comprobante Fiscal Digital por Internet –Fiscal Digital Receipts by Internet) is sent to the SAT to notify all the payments included on the payroll. CFDI’s are created by payroll regardless of its frequency (weekly, semi-monthly, monthly, bi-weekly, etc.) and these files need to be delivered to SAT prior or on the payment date. It’s also mandatory to provide CFDI’s for annual or special payrolls such as Christmas Bonus, Profit Sharing, Final Payments, Special Payments, etc. These files are provided by the SAT with the technical requirements to create the Electronic Payslips ( CFDI for Payroll).

Using the Legal Codes Paylist MEX component user can configure CFDI .

Page Name

Definition Name

Usage

Legal Codes CFDI Page

GPMX_LEGAL_CODE

Used to define the CFDI report parameters and to map elements.

Other Pmt Mapping Page

GPMX_CFDI_OPMT

Used to map the payment elements.

Info Node CFDI Page

GPMX_INFO_NODE_CFD

Used to define receipt node’s attributes.

SNCF Entities

GPMX_CFDI_SNCF

Used to define SNCF Entities

Use the Legal Codes CFDI page (GPMX_LEGAL_CODE) to define the CFDI report parameters and to map elements.

Navigation:

Set Up HCM, Product Related, Global Payroll & Absence Mgmt, Reports, Legal Codes Payslip MEX, Legal Codes CFDI page

This example illustrates the fields and controls on the Legal Codes CFDI page.

Legal Codes Payslip Mex page

Field or Control

Description

Company

The Company for which the Legal Code Payslip setup is defined.

Effective Date

Date from which the setup is applicable.

Status

Defines whether or not the setup is valid. The default value for this field is Active. Values ​​are:

  • Active.

  • Inactive

Tax Treatment

Option provided by SAT to identify the class of Tax regime.

Employee Tax Treatment

Select a default employee tax treatment for the company.

Available option is: Wage & Salaries & Assimilated.

Field or Control

Description

Job Risk Detail

Establishment ID

The Establishment Id where the employee's job risk is determined by the establishment that is associated with the employee's location.

Job Risk

The code to identify the Employer’s classification based on the activities performed by the employees. Valid values are:

  • Class I

  • Class II

  • Class III

  • Class IV

  • Class V

  • Not Applicable

Note: ‘Not Applicable’ option is available only if you use/add an effective date > = 08/13/2017.

Field or Control

Description

Element Mapping

Entry Type

Select the type of element to include in the report. Values are:

  • Earnings

  • Deductions

Catalog Type

Select the catalog type to which the Legal Code belongs. Values are:

  • Earnings

  • Deductions

Note: There are discrepancies for some element types between SAT and GP Mexico. For example, ‘Employee Subsidy’ is treated as an earnings for the SAT while in GP Mexico ‘Employee Subsidy’ is reported as a deduction.

Legal Code

Legal code is the SAT catalog to report earnings and deductions. System displays the options based on the selected Catalog Type,

If the catalog type is selected as deduction then the deductions catalog is displayed otherwise it displays the earnings catalog.

Adjustment Legal Code

Contains the Adjustment codes defined by SAT to be used to report Adjustments.

Adjustments are triggered when a negative value is found in payroll results, its value changes to positive and is stored in an element including original element’s name.

Element Name

Enter the name of the earnings or deductions element to include in the CFDI report. System displays the options based on the selected Entry Type. If the entry type is selected as deduction then the deductions catalog is displayed otherwise it displays the earnings catalog.

Note: If the Taxable and Non taxable are empty, the amount of this element will be printed as 100% taxable. The description of this element will be printed in the report.

Taxable

The element that contains the Taxable Base for the corresponding element. System displays the options based on the selected Entry Type. If the entry type is selected as deduction, then the deductions catalog is displayed otherwise it displays the earnings catalog.

Note: The description printed in CFDI file takes the description's Element name. If you just enter an Element in this field (Non taxable are empty), the amount of this element will be printed as 100% taxable. This element could be equal to Element Name.

Non Taxable

The element that reports the Non-Taxable Base for the corresponding element. System displays the options based on the selected Entry Type. If the entry type is selected as deduction then the deductions catalog is displayed otherwise it displays the earnings catalog.

Note: If just enter an Element in this field (Taxable are empty), the amount of this element will be printed as 100% non-taxable. This element could be equal to Element Name.

Add

This field defines when an element sum or not sum to Total Earnings or Total Deductions depends on the Entry Type, however always must to print in the CFDI report.

  • If the check box is selected, it means the amount must to sum to the Total.

  • If the check box is not selected, it means the amount must to NOT sum to the Total.

Note: By default the check box is selected.

Severence

Select this field to indicate that the element will be printed on the Complemento node of Severance.

Note: The Severance option is used only in special payroll severance process.

Field or Control

Description

Overtime Detail

Element Name

Enter the name of Overtime element. If this section is populated then the information must to print in Overtime node on CFDI report. Valid values: All earnings.

Overtime Type

Defines the overtime type. Valid Values are:

  • Double

  • Triple

Field or Control

Description

Disability Detail

Element Name

Enter the name of Disability element. If this section is populated then the information must to print in Disability node on CFDI report. Valid values: All deductions

Absence Type

Identifies the Absence Type. Valid values are:

  • Sickness

  • Maternity

  • Work Accident

  • Care Leave Children w/Cancer

Note: Selection of correct options in Legal Code Mex page will ensure that the correct value are send to SAT.

Use the Other Pmt Mapping page to map the payment elements.

Navigation:

Set Up HCM, Product Related, Global Payroll & Absence Mgmt, Reports, Legal Codes Payslip MEX, Other Pmt Mapping page

This example illustrates the Other Pmt Mapping page.

Other Payments Mapping page

Field or Control

Description

Entry Type

Select the element type. Valid values are:

  • Earnings

  • Deductions

Catalog Tp

Select the catalog type to which the Legal Code belongs to.

Legal Code

Select the legal code defined by SAT.

Adjustment Legal Code

The Adjustment codes defined by SAT to be used to report Adjustments.

Adjustments are triggered when a negative value is found in payroll results, its value changes to positive and is stored in an element including original element’s name.

Element Name

Name of the element. The value will be reported with the selected Legal Code.

Subsidy Effective Paid

Select this field to indicate that the element corresponds at subsidy effective paid.

Use the Info Node CFDI page (GPMX_INFO_NODE_CFD) to define receipt node’s attributes.

Navigation:

Set Up HCM, Product Related, Global Payroll & Absence Mgmt, Reports, Legal Codes Payslip MEX, Info Node CFDI page

This example illustrates the fields and controls on the Info Node CFDI page.

Info Node CFDI page

Field or Control

Description

Company

The Company to which the Info Node CFDI setup will apply to.

Effective Date

Date in which the setup takes effect.

Status

Defines whether or not the setup is valid. The default value for this field is Active.

Attribute

Select the attribute from the following:

  • Serial

  • Folio

  • Certificate Number

  • Certificate

  • Stamp

  • Voucher Type

  • Payment Method

  • CFDI Use

  • Payment Type

Option Value

Select the option value to be printed in the XML from the following:

  • Default Value: If you select this, you can enter a default value.

  • System Elements: If you select this, the attribute’s value will be printed according the value of the selected element.

  • Do not Print: If you select this the attribute will not be printed.

  • Sequence: If you select this, the attribute’s value will be printed as consecutive number, with format 9999999999.

  • Catalog Value: If you select this, the attribute’s value will be printed according the Valid Value selected.

Element Name

Select the system element. This field is displayed only if you select ‘System Elements’ in the Option Value field.

Default Value

Enter the default value to be displayed in the XML file. This field is enabled only if you select ‘Default Value’ in the Option Value field.

Valid Value

Select the Valid Value. Displays the values according the Attribute selected.

Note: This field is displayed only when Catalog Value is selected in the Option Value field.

Note: If this step is skipped then the attributes will not be printed in XML File.

Use the SNCF Entities page to define the SNCF Entities.

Navigation:

Set Up HCM, Product Related, Global Payroll & Absence Mgmt, Reports, Legal Codes Payslip MEX, SNCF Entities page

This example illustrates the fields and controls on the SNCF Entities page.

SNCF Entities page

Field or Control

Description

Effective Date

Date used to define the effectiveness of the data being entered.

Resource Origin

Defines the source of funds used to pay the payroll, this data applies only for government entities: Federal Incomes, Mixed Incomes, Own Resources Amount.

  • Own Incomes: Used to define the amount of own incomes when Resource Origin selection value is Mixed Incomes.

  • Federal Incomes: These are the Revenue paid by federal entities, municipalities or territorial demarcations of the Federal District, autonomous agencies and local and municipal entities with federal resources, other than the participations.

  • Mixed Incomes: These are the Revenue paid by federal entities, municipalities or territorial demarcations of the Federal District, autonomous agencies and local and municipal entities charged to their participation or other local income and with federal resources other than the participations.

Own Resources Amount

Revenue paid by federal entities, municipalities or territorial demarcations of the Federal District, autonomous agencies and local and municipal entities charged to their interests or other local income.