Balances and XSL Template for CFDI

When you create elements in these classifications, the Results elements include these balances and balance feeds that are used for CFDI reporting

Standard Earnings Elements

Standard Earnings Element Objects

Object Type Name
Input Value

CFDI Regular Earnings

CFDI Regular ISR Subject

CFDI Regular ISR Exempt

CFDI Severance Earnings

CFDI Severance ISR Subject

CFDI Severance Earnings

Balances

<element name> CFDI Subject

<element name> CFDI Exempt

Balance Feeds

Balance feed input values

Input Value Balance Name Add or Subtract
CFDI Regular Earnings CFDI Regular Earnings Add
CFDI Regular ISR Subject CFDI Regular ISR Subject Add
CFDI Regular ISR Exempt CFDI Regular ISR Exempt Add
CFDI Severance Earnings CFDI Severance Earnings Add
CFDI Severance ISR Subject CFDI Severance ISR Subject Add
CFDI Severance Earnings CFDI Severance Earnings Add
Time Card Elements

Time card element objects

Object Type Name
Input Value

CFDI Regular Earnings

CFDI Regular ISR Subject

CFDI Regular ISR Exempt

CFDI Severance Earnings

CFDI Severance ISR Subject

CFDI Severance Earnings

Balances

<element name> CFDI Subject

<element name> CFDI Exempt

<element name> CFDI Retro Subject

<element name> CFDI Retro Exempt

<element name> CFDI Retro Amount

Balance Feeds

Balance feed input values

Input Value Balance Name Add or Subtract
CFDI Regular Earnings CFDI Regular Earnings Add
CFDI Regular ISR Subject CFDI Regular ISR Subject Add
CFDI Regular ISR Exempt CFDI Regular ISR Exempt Add
CFDI Severance Earnings CFDI Severance Earnings Add
CFDI Severance ISR Subject CFDI Severance ISR Subject Add
CFDI Severance Earnings CFDI Severance Earnings Add
Absence Elements

Absence element objects

Object Type Name
Input Value

CFDI ISR Subject

CFDI ISR Exempt

CFDI Payment

CFDI Deduction

Balances

<element name> CFDI Subject

<element name> CFDI Exempt

<element name> CFDI Retro Subject

<element name> CFDI Retro Exempt

<element name> CFDI Retro Amount

Balance Feeds

Balance feed input values

Input Value Balance Name Add or Subtract
CFDI ISR Subject CFDI Absence Subject Add
CFDI ISR Exempt CFDI Absence Exempt Add
CFDI Payment CFDI Absence Payment Add
CFDI Deduction CFDI Absence Deduction Add
ISR Subject <element name> CFDI Subject NA
ISR Exempt <element name> CFDI Exempt NA
Pretax Deductions Elements

Pretax deduction element objects

Object Type Name
Balances

<element name> CFDI Amount

<element name> CFDI Retro Amount

Balance Feeds

Balance feed input values

Input Value Balance Name Add or Subtract
Pay Value CFDI Other Deductions Add
Pay Value <element name> CFDI Amount Add
Voluntary Deductions Elements

Voluntary deduction element objects

Object Type Name
Balances <element name> CFDI Amount
Balance Feeds

Balance feed input values

Input Value Balance Name Add or Subtract
Pay Value <element name> CFDI Amount Add
INFONAVIT Elements

INFONAVIT element objects

Object Type Name
Balances <element name> CFDI Amount
Balance Feeds

Balance feed input values

Input Value Balance Name Add or Subtract
Deductions Calculated CFDI Other Deductions Add
Deductions Calculated <element name> CFDI Amount Add

These balances have been predefined for the Nomina Layout 1.2 and should be fed by payroll elements according to your business/fiscal practices.

If the balance value is greater than zero in the payroll run, then the appropriate tag will be populated.

XML tags for balances

Balance Description XML Tag
CFDI Stock Options Grant Price Required attribute to enter the market value of the shares or securities by exercising the option. Nomina: Percepciones: Percepcion: AccionesOTitulos: ValorMercado
CFDI Stock Options Vesting Market Value Required attribute to enter the price at the grant option of shares or securities Nomina: Percepciones: Percepcion: AccionesOTitulos: PrecioAlOtorgarse
CFDI Retirement Earnings in One Payment Conditional attribute to enter the total amount when it was paid in one single payment Percepciones: JubilacionPensionRetiro: TotalUnaExhibicion
CFDI Retirement Earnings in Partial Payments Conditional attribute to enter the total revenue when it was paid in partial payments Percepciones: JubilacionPensionRetiro: TotalParcialidad
CFDI Retirement Daily Earnings in One Payment Conditional attribute to enter the daily amount earned by retirement, pension or retirement assets when it was paid in partial payments Percepciones: JubilacionPensionRetiro: MontoDiario
CFDI Retirement Cumulative Earnings

Required attribute to enter cumulative earnings

Percepciones: JubilacionPensionRetiro: IngresoAcumulable
CFDI Retirement Taxable Earnings Balance minus CFDI Retirement Cumulative Earnings Balance Required attribute to enter noncumulative earnings Percepciones: JubilacionPensionRetiro: IngresoNoAcumulable
CFDI Tax Credit Remainder Required attribute to enter the remaining balance in favor of the worker Nomina: OtrosPagos: OtroPago: CompensacionSaldosAFavor: RemanenteSalFav

These balances should be fed by those payroll elements with Other Payments CFDI codes:

  • CFDI Current Fiscal Year Arrears
  • CFDI Travel Expenses ISR Exempt
  • CFDI Travel Expenses ISR Subject

XSL Template

BI Report Details
  • Data Model: cfdiReportsDataModel
  • Retrieve xml from pay_file_details

XSLT template

  • Format raw data from data model

    Add root element PAYSLIP_REPORT

    Add CFDI namespace and nomina12 nodes

    Add a CFDI Addenda (optional)