Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

  1. Ingresar a la Central de Descargas y Actualizaciones:

    https://suporte.totvs.com/portal/p/10098/download#company/

  2. Seleccionar la opción, TOTVS Línea Protheus:



  3. Dar clic en la opción "Artefactos Generales del Producto":



  4. Dar clic en la opción "Rdmake Estándar":



  5. De las opciones desplegadas; buscar la opción "Localizaciones" y dar clic en ella:



  6. Dar clic en en el botón "Haga download del archivo":

  7. Tras completarse la descarga del archivo; descomprimir el contenido.
  8. Copiar el archivo "DIAN.bmp", ubicado en "...\Colombia\Binary Files\Recursos Humanos":

    Image Modified

  9. Reemplazar el archivo "DIAN.bmp" ubicado en la carpeta "...\system", por el nuevo formato:

    Image Modified


Relación de Conceptos con Ítems del Formato 220:

...

Número

Descripción

Tipo

Protheus

Observaciones

4Numero de formulario--Consecutivo
5CNPJ o CPFCM0_CGC
6NITCM0_CGCUltimo digito del campo CNPJ o CPF(M0_CGC).
11Nombre ComercialCM0_NOMECOM
24Tipo de DocumentoC

nAUX01 := FPOSTAB("S022",RA_TPCIC,"=",4)

Iif(nAUX01 <> 0, FTABELA("S022", nAUX01,6)," ")


25NITCRA_RG
261er ApellidoCRA_PRISOBR
272do ApellidoCRA_SECSOBR
281er NombreCRA_PRINOME
292do NombreCRA_SECNOME
30De:-CTOD("01/01/"+MV_PAR11)Formato "AAAA / MM / DD"
31A:-CTOD("31/12/"+MV_PAR11)Formato "AAAA / MM / DD"
32Fecha de Expedición-DDATABASEFormato "AAAA / MM / DD"
33Lugar donde se practicó la retenciónCM0_BAIRCOB + " " + M0_CIDCOB
34Código Depto.C

nAUX01d := FPOSTAB("S010",RA_FILIAL, "=", 1,)

FTABELA("S010",nAUX01d,8)


35


Código Municipio

CM0_CODMUN
37Pagos por salarios o emolumentos eclesiásticosN

RGO_VLRREN

Sumar si RGO_TIPREN == "A"

38Pagos por honorariosNRGO_VLRRENSumar si RGO_TIPREN == "P"
39Pagos por serviciosNRGO_VLRRENSumar si RGO_TIPREN == "Q"
40Pagos por comisionesNRGO_VLRRENSumar si RGO_TIPREN == "R"
41Pagos por prestaciones socialesNRGO_VLRRENSumar si RGO_TIPREN == "S"
42Pagos por viáticosNRGO_VLRRENSumar si RGO_TIPREN == "T"
43Pagos por gastos de representaciónNRGO_VLRRENSumar si RGO_TIPREN == "C"
44Pagos por compensaciones por el trabajo asociado cooperativoNRGO_VLRRENSumar si RGO_TIPREN == "U"
45Otros pagosNRGO_VLRRENSumar si RGO_TIPREN == "E"
46Cesantías e intereses efectivamente pagadas, consignadas o reconocidas en el periodo.NRGO_VLRRENSumar si RGO_TIPREN == "B"
47Cesantías consignadas al fondo de cesantíasNRGO_VLRRENSumar si RGO_TIPREN == "B1"
48Pensiones de jubilación, vejez o invalidezNRGO_VLRRENSumar si RGO_TIPREN == "D"
49Total de ingresos brutosN-Suma cuando RGO_TIPREN dentro de "A,P,1,R,S,T,C,U,E,B,D" (Suma se 37 a 47)
50Aportes obligatorios a fondos de saludN

RGO_VLRREN

Sumar si RGO_TIPREN == "F"
51Aportes obligatorios a fondos de pensiones y solidaridad pensional a cargo del trabajadorNRGO_VLRRENSumar si RGO_TIPREN == "G"
52Cotizaciones voluntarias al régimen de ahorro individual con solidaridad - RAISNRGO_VLRRENSumar si RGO_TIPREN == "G1"
53Aportes voluntarios a fondos de pensiones.NRGO_VLRRENSumar si RGO_TIPREN == "H"
54Aportes a cuentas AFCNRGO_VLRRENSumar si RGO_TIPREN == "V"
55Valor de la retención de la fuente por rentas de trabajo y pensionesNRGO_VLRRETSumar si RGO_TIPREN == "I"
-Nombre del pagador o agente retenedorCnAUX01d := FPOSTAB("S010",RA_FILIAL, "=", 1,)
cNomeRep := RTRIM(LTRIM(fTabela("S010", 01, 11))) + " " + RTRIM(LTRIM(fTabela("S010", 01,12)))+ " " + RTRIM(LTRIM(fTabela("S010", 01, 13))) + " " + RTRIM(LTRIM(fTabela("S010", 01, 14)))
Nombre del representante indicado en la tabla S010 - Parámetros Empresa 1.
56Arrendamientos - RecibidoNRGO_VLRRENSumar si RGO_TIPREN == "J"
57Honorarios, comisiones y servicio - RecibidoNRGO_VLRRENSumar si RGO_TIPREN == "K"
58Intereses y rendimientos financieros - RecibidoNRGO_VLRRENSumar si RGO_TIPREN == "L"
59Enajenación de activos fijos - RecibidoNRGO_VLRRENSumar si RGO_TIPREN == "M"
60Loterías, rifas, apuestas y similares - RecibidoNRGO_VLRRENSumar si RGO_TIPREN == "N"
61Otros - RecibidoNRGO_VLRRENSumar si RGO_TIPREN == "O"
62Total - RecibidoN-

Suma cuando RGO_TIPREN dentro de "J,K,L,M,N,O"(Sumar de 56 a 61)

63Arrendamientos - RetenidoNRGO_VLRRENSumar si RGO_TIPREN == "J1"
64Honorarios, comisiones y servicio - RetenidoNRGO_VLRRENSumar si RGO_TIPREN == "K1"
65Intereses y rendimientos financieros - RetenidoNRGO_VLRRENSumar si RGO_TIPREN == "L1"
66Enajenación de activos fijos - RecibidoNRGO_VLRRENSumar si RGO_TIPREN == "M1"
67Loterías, rifas, apuestas y similares - RetenidoNRGO_VLRRENSumar si RGO_TIPREN == "N1"
68Otros - RetenidoNRGO_VLRRENSumar si RGO_TIPREN == "O1"
69Total - RetenidoNRGO_VLRREN

Suma cuando RGO_TIPREN dentro de "J1,K1,L1,M1,N1,O1"(Sumar de 63 a 68)

70Total retenciones año gravableN-Sumar "Valor de la retención e la fuente por rentas de trabajo y pensiones" + "Total - Retenido" (55 + 69)
71Identificación de los bienes y derechos poseídosCRCS_DESCRISe imprimirán todos los bienes capturados para el empleado en RCS donde RCS_ANO = MV_PAR11.
72Valor PatrimonialNRCS_VALORSe imprimirán todos los valores de los bienes capturados para el Empleado(RA_MAT) en RCS donde RCS_ANO = MV_PAR11.
73Deudas Vigentes a 31 de diciembre + Año gravableNRCS_VALORSuma los ítems identificados como Deudas en la tabla RCS.
74Tipo de DocumentoCRB_TPCIC

Obtiene el código correspondiente al Certificado de Ingresos y Retenciones, en la tabla S022:

FDescRCC("S022", SRB->RB_TPCIC, 1, 2, 38, 2)

75No. DocumentoCRB_CICSe imprimirán los NIT de los primeros 2 dependientes relacionados al Empleado(RA_MAT).
76Apellidos y NombresCRB_NOMESe imprimirán los Nombres de los primeros 2 dependientes relacionados al Empleado(RA_MAT).
77ParentescoCRB_GRAUPARSe imprimirá el Parentesco de los primeros 2 dependientes relacionados al Empleado(RA_MAT).

   

Card documentos
InformacaoSolución disponible para versión 12.1.27 o superiores.
Titulo¡IMPORTANTE!

...