CERTIFIC@2
Send CERTIFIC@2 (company certificate)

Send CERTIFIC@2 (company certificate)

⚠️

Add test=1 to run tests without real effects. In production, omit this parameter.

Parameters

  • test (number (1)) : For testing, add the test=1 parameter. It must be omitted in production.

  • Datos_Representante (object) : Details of the company representative, or of a management firm or authorised professional.

    • CIF_NIF (string) : Identifier of the natural or legal person representing the company.
    • Nombre (string) : First name.
    • Apellido1 (string) : First surname.
    • Apellido2 (string) : Second surname (if any).
    • Cargo (string) : Position held in the company.
  • Datos_Empresa (object) : Contribution account code, 11 digits.

    • CIF_NIF (string) : Identifier of the natural or legal person of the company.
    • CCC (string) : Scheme and contribution account code, 15 digits. Example: 011112345678901.
  • Datos_Trabajador (object) : Worker details.

    • DNI_NIE (string) : Identifier of the natural or legal person representing the company.
    • Nombre (string) : First name.
    • Apellido1 (string) : First surname.
    • Apellido2 (string) : Second surname (if any).
    • NumSS (string) : Social Security number, 12 digits.
    • GrupoCotizacion (integer) : Contribution group, 2 digits. Possible values:
    • TipoContrato (integer) : Contract type, 3 digits. Possible values:
    • DuracionContrato (integer) : Optional. Length of time the worker was registered with the company.
    • IndicadorDuracionContrato (string) : Optional. Describes the units in which the time given in contractPeriod is measured. Possible values:
      • D = Daily.
      • M = Monthly.
      • A = Annual.
    • CodProfesion (integer) : National Classification of Occupations (CNO), 4 digits. Possible values:
    • FechaAltaEmpresa (date) : Worker's registration date, format YYYY-MM-DD.
    • CodCausaSuspension (integer) : Code for the reason for suspending or terminating the worker's employment relationship with the company, 2 digits.
    • FechaSuspensionExtincion (date) : Date of the reason for suspending or terminating the worker's employment relationship with the company, format YYYY-MM-DD.
    • DiasSalarioTramitacion (integer) : Optional. Number of calendar days between the start date and the end date of back pay during proceedings.
    • Datos_Cotizacion (array) : Contribution data for common contingencies and unemployment.
      • Ano (string) : Contribution year, 4 digits.
      • Mes (string) : Contribution month, 2 digits.
      • NumDiasCotizados (integer) : Number of calendar days actually contributed.
      • BaseCotizacionContingenciasComunes (decimal) : Amount contributed for common contingencies.
      • BaseCotizacionDesempleo (decimal) : Amount contributed for unemployment.
    • Datos_VacacionesCotizadas (object) : Optional. Contribution data relating to holidays.
      • NumDiasCotizados (integer) : Number of calendar days relating to holidays actually contributed.
      • BaseCotizacionContingenciasComunes (decimal) : Contribution base for common contingencies.
      • BaseCotizacionDesempleo (decimal) : Social Security contribution base.
POST /certifica
{
  "test": 1,
  "Datos_Representante": {
    "CIF_NIF": "9999999B",
    "Nombre": "nombre",
    "Apellido1": "apellido1",
    "Apellido2": "apellido2",
    "Cargo": "ADMINISTRADOR"
  },
  "Datos_Empresa": {
    "CIF_NIF": "9999999B",
    "CCC": "011127770999999"
  },
  "Datos_Trabajador": {
    "DNI_NIE": "9999999B",
    "Nombre": "nombre",
    "Apellido1": "apellido1",
    "Apellido2": "apellido2",
    "NumSS": "187774444999",
    "GrupoCotizacion": "05",
    "TipoContrato": "407",
    "DuracionContrato": 154,
    "IndicadorDuracionContrato": "D",
    "CodProfesion": "3831",
    "FechaAltaEmpresa": "2023-06-05",
    "CodCausaSuspension": "11",
    "FechaSuspensionExtincion": "2023-11-05",
    "DiasSalarioTramitacion": 0,
    "Datos_Cotizacion": [
      {
        "Ano": "2023",
        "Mes": "06",
        "NumDiasCotizados": 26,
        "BaseCotizacionContingenciasComunes": 1000.5,
        "BaseCotizacionDesempleo": 1000.5
      },
      {
        "Ano": "2023",
        "Mes": "07",
        "NumDiasCotizados": 31,
        "BaseCotizacionContingenciasComunes": 1000.5,
        "BaseCotizacionDesempleo": 1000.5
      }
    ]
  }
}

Response

Respuesta
{
  "success": true,
  "message": "OK"
}