How do I customise CFDI seniority calculation for Mexico?

You can customise the CFDI seniority calculation to address your requirements and specific PAC (Authorized Certification Provider - Proveedor Autorizado de Certificación) requirements such as weekly format or rounding rules.

Here's how you can customise the CFDI seniority calculation:

  1. Create an information payroll element with the input value HRX_MX_CFDI_ANTIGUEDAD.
  2. Update the element fast formula with the custom seniority calculation logic and return the result in HRX_MX_CFDI_ANTIGUEDAD.
  3. Add the element to Global Payroll Element Information to Archive region in the Manage Enterprise HCM Information task.
    1. Navigate to My Client Groups > Setup and Maintenance > Search > Manage Enterprise HCM Information task.
    2. Click Edit to add the elements to the task's Global Payroll Element Information to Archive region.
    3. In this region, add a row for the Information CFDI Seniority element and HRX_MX_CFDI_ANTIGUEDAD input value.

      If the HRX_MX_CFDI_ANTIGUEDAD input value exists and the length of HRX_MX_CFDI_ANTIGUEDAD result is greater than 0, then the archiver will not compute the employee seniority and display the HRX_MX_CFDI_ANTIGUEDAD archived value in the nomina12:Receptor:Antigüedad CFDI XML tag. Otherwise, the employee seniority will be computed as usual.