{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Carpetas de gasto", "description": "Version 2 Formato de fichero para realizar la edicion de Carpetas de gasto en Fondos 2127", "type": "object", "properties": { "codigo": { "description": "Codigo OI (80.1)", "type": "string", "maxLength": 80, "examples": [ "CT1234_CARPETA_1" ] }, "codOperacion": { "description": "Codigo OI de la operacion (9.2)", "type": "string", "maxLength": 80, "examples": [ "CT1234" ] }, "descripcion": { "description": "Descripcion (81.1)", "type": "string", "maxLength": 4000, "examples": [ "Se introducen los gastos relativos a la compra de material" ] }, "importeGastoAdmisibleSolicitudPagoBeneficiario": { "description": "Importe del gasto admisible en cada solicitud de pago que se ha pagado al beneficiario [72.1]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "fechaRecepcionPagoBeneficiario": { "description": "Fecha de recepcion de cada solicitud de pago presentada por el beneficiario [70]", "type": "string", "format": "date-time", "examples": [ "2024-09-08T18:27:51.678Z" ] }, "fechaPagoBeneficiarioGastoAdmisibleSolicitudPago": { "description": "Fecha de pago del gasto admisible al beneficiario [72.2]", "type": "string", "format": "date-time", "examples": [ "2024-09-08T18:27:51.678Z" ] }, "fechaInicioValidez": { "description": "Fecha de inicio de validez", "type": "string", "format": "date-time", "examples": [ "2024-09-08T18:27:51.678Z" ] }, "facturas": { "description": "Conjunto de facturas que se declaran en la carpeta de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo Factura (86.1)", "type": "string", "maxLength": 50, "examples": [ "FACTURA_1" ] }, "codigoFACe": { "description": "Codigo FACe (87)", "type": "string", "maxLength": 50, "examples": [ "FACE_01" ] }, "numeroEmisor": { "description": "Numero asignado por el emisor (88)", "type": "string", "maxLength": 50, "examples": [ "123456" ] }, "nifEmisor": { "description": "NIF emisor (89)", "type": "string", "maxLength": 20, "examples": [ "D14632699" ] }, "fechaEmision": { "description": "Fecha emision (90)", "type": "string", "format": "date-time", "examples": [ "2023-02-01T18:27:51.678Z" ] }, "descripcion": { "description": "Descripcion (91)", "type": "string", "maxLength": 2000, "examples": [ "FACTURA DE COMPRA DE MATERIAL" ] }, "baseImponible": { "description": "Base imponible (92)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeIVA": { "description": "Importe del IVA o equivalente (93)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeIvaSubvencionable": { "description": "Importe del IVA o equivalente subvencionable (95)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeTotalSubvencionable": { "description": "Importe total subvencionable (96)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "gastoSubvencionableCompraTerrenos": { "description": "Gastos subvencionables en compra de terrenos [137]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "fechaPrimerPago": { "description": "Fecha del primer pago realizado (97.1)", "type": "string", "format": "date-time", "examples": [ "2023-02-01T18:27:51.678Z" ] }, "fechaUltimoPago": { "description": "Fecha del ultimo pago realizado (97.2)", "type": "string", "format": "date-time", "examples": [ "2024-03-01T18:27:51.678Z" ] }, "codigoContrato": { "description": "Codigo del contrato de facturas", "type": "string", "maxLength": 50, "examples": [ "MFP_CONTR_0001" ] } }, "required": [ "codigo", "numeroEmisor", "nifEmisor", "fechaEmision", "baseImponible", "importeIvaSubvencionable", "importeTotalSubvencionable", "fechaPrimerPago" ] } }, "otrosGastos": { "description": "Conjunto de otros gastos que se declaran en el expediente de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo OG (101.1)", "type": "string", "maxLength": 50, "examples": [ "GASTO_1" ] }, "descripcion": { "description": "Descripcion (91)", "type": "string", "maxLength": 2000, "examples": [ "Gasto relativo a encofrado de depuradora" ] }, "importeTotalSinImpuestos": { "description": "Importe total del gasto sin impuestos (102)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeImpuestos": { "description": "Importe de los impuestos (103)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "impuestoSubvencionable": { "description": "Impuestos subvencionable (105)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeTotalSubvencionable": { "description": "Importe total subvencionable (96)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "gastoSubvencionableCompraTerrenos": { "description": "Gastos subvencionables en compra de terrenos [137]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "fechaPrimerPago": { "description": "Fecha del primer pago realizado (97.1)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] }, "fechaUltimoPago": { "description": "Fecha del ultimo pago realizado (97.2)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] } }, "required": [ "codigo", "descripcion", "importeTotalSinImpuestos", "impuestoSubvencionable", "importeTotalSubvencionable", "fechaPrimerPago" ] } }, "adelantos": { "description": "Conjunto de adelantos que se declaran en el expediente de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo AD (106.1)", "type": "string", "maxLength": 80, "examples": [ "ADELANTO_1" ] }, "descripcion": { "description": "Descripcion (91)", "type": "string", "maxLength": 2000, "examples": [ "Adelanto relativo a encofrado de depuradora" ] }, "fechaPagoBeneficiario": { "description": "Fecha de pago al beneficiario (107)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] }, "importeTotalSubvencionable": { "description": "Importe total subvencionable (96)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "operacionContable": { "description": "Operacion contable (99)", "type": "string", "maxLength": 50, "examples": [ "ABC_123" ] } }, "required": [ "codigo", "descripcion", "fechaPagoBeneficiario", "importeTotalSubvencionable", "operacionContable" ] } }, "costesUnitarios": { "description": "Conjunto de costes unitarios que se declaran en la carpeta de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo Coste Unitario (66)", "type": "string", "maxLength": 20, "examples": [ "BECU_1" ] }, "codigoOi": { "description": "Codigo Coste Unitario OI (108.2)", "type": "string", "maxLength": 80, "examples": [ "CODIGO_01" ] }, "unidades": { "description": "Unidades declaradas [89]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "fechaInicialEjecucion": { "description": "Fecha inicial de ejecucion (111.1)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] }, "fechaFinalEjecucion": { "description": "Fecha final de ejecucion (111.2)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] }, "descripcion": { "description": "Descripcion (91)", "type": "string", "maxLength": 1000, "examples": [ "Becu enviada a Fondos 2127" ] } }, "required": [ "codigo", "codigoOi", "unidades", "fechaInicialEjecucion" ] } }, "importesTantoAlzado": { "description": "Conjunto de importes de tanto alzado que se declaran en la carpeta de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo OCS SATA (68)", "type": "string", "maxLength": 20, "examples": [ "ITA_1" ] }, "codigoOi": { "description": "Codigo tanto alzado OI (113)", "type": "string", "maxLength": 50, "examples": [ "CODIGO_01" ] }, "fechaInicialEjecucion": { "description": "Fecha inicial de ejecucion (111.1)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] }, "fechaFinalEjecucion": { "description": "Fecha final de ejecucion (111.2)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] }, "descripcion": { "description": "Descripcion (91)", "type": "string", "maxLength": 1000, "examples": [ "Importe de tanto alzado enviado a Fondos 2127" ] } }, "required": [ "codigo", "codigoOi", "fechaInicialEjecucion" ] } }, "tiposFijos": { "description": "Conjunto de tipos fijos que se declaran en la carpeta de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo tipo fijo (67)", "type": "string", "maxLength": 50, "examples": [ "TF_1" ] }, "codigoOi": { "description": "Codigo tipo fijo OI (113)", "type": "string", "maxLength": 20, "examples": [ "CODIGO_01" ] }, "importeSobreBaseCalculo": { "description": "Importe sobre la base de calculo (116.2)", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "fechaInicialEjecucion": { "description": "Fecha inicial de ejecucion (111.1)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] }, "fechaFinalEjecucion": { "description": "Fecha final de ejecucion (111.2)", "type": "string", "format": "date-time", "examples": [ "2021-03-01T18:27:51.678Z" ] }, "descripcion": { "description": "Descripcion (91)", "type": "string", "maxLength": 1000, "examples": [ "Tipo fijo enviado a Fondos 2127" ] } }, "required": [ "codigo", "codigoOi", "fechaInicialEjecucion", "importeSobreBaseCalculo" ] } }, "proyectos": { "description": "Conjunto de proyectos para los que se declara gastos en el expediente de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigoOperacion": { "description": "Codigo de la Operacion del Organismo", "type": "string", "maxLength": 80, "examples": [ "CT1234" ] }, "codigoProyecto": { "description": "Codigo del proyecto (3.1)", "type": "string", "maxLength": 80, "examples": [ "PROYECTO_1" ] }, "facturasProyecto": { "description": "Conjunto de facturas del expediente de gasto asociadas al Proyecto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo Factura (86.1)", "type": "string", "maxLength": 50, "examples": [ "FACTURA_1" ] }, "importeGastoTotalAdmisible": { "description": "Gasto total admisible [73.1]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeGastoPublicoAdmisible": { "description": "Gasto publico admisible [73.2]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "informacionAdicional": { "description": "Informacion adicional (117)", "type": "string", "maxLength": 1000, "examples": [ "Factura del Proyecto 1" ] } }, "required": [ "codigo", "importeGastoTotalAdmisible", "importeGastoPublicoAdmisible" ] } }, "otrosGastosProyecto": { "description": "Conjunto de otros gastos del expediente de gasto asociadas al Proyecto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo OG (101.1)", "type": "string", "maxLength": 50, "examples": [ "GASTO_1" ] }, "importeGastoTotalAdmisible": { "description": "Gasto total admisible [73.1]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeGastoPublicoAdmisible": { "description": "Gasto publico admisible [73.2]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "informacionAdicional": { "description": "Informacion adicional (117)", "type": "string", "maxLength": 1000, "examples": [ "Gastos del Proyecto 1" ] } }, "required": [ "codigo", "importeGastoTotalAdmisible", "importeGastoPublicoAdmisible" ] } }, "adelantosProyecto": { "description": "Conjunto de adelantos que se declaran en el expediente de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigo": { "description": "Codigo AD (106.1)", "type": "string", "maxLength": 80, "examples": [ "ADELANTO_1" ] }, "importeGastoTotalAdmisible": { "description": "Gasto total admisible [73.1]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeGastoPublicoAdmisible": { "description": "Gasto publico admisible [73.2]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "informacionAdicional": { "description": "Informacion adicional (117)", "type": "string", "maxLength": 1000, "examples": [ "Adelantos del Proyecto 1" ] } }, "required": [ "codigo", "importeGastoTotalAdmisible", "importeGastoPublicoAdmisible" ] } }, "costesUnitariosProyecto": { "description": "Conjunto de costes unitarios que se declaran en el proyecto de la carpeta de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigoOi": { "description": "Codigo Coste Unitario OI (108.2)", "type": "string", "maxLength": 80, "examples": [ "CU_1" ] }, "importeGastoTotalAdmisible": { "description": "Gasto total admisible [73.1]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeGastoPublicoAdmisible": { "description": "Gasto publico admisible [73.2]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "informacionAdicional": { "description": "Informacion adicional (117)", "type": "string", "maxLength": 1000, "examples": [ "Costes unitarios del Proyecto 1" ] } }, "required": [ "codigoOi", "importeGastoTotalAdmisible", "importeGastoPublicoAdmisible" ] } }, "importesTantoAlzadoProyecto": { "description": "Conjunto de importes de tanto alzado que se declaran en el proyecto de la carpeta de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigoOi": { "description": "Codigo tanto alzado OI (113)", "type": "string", "maxLength": 50, "examples": [ "ITA_1" ] }, "importeGastoTotalAdmisible": { "description": "Gasto total admisible [73.1]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeGastoPublicoAdmisible": { "description": "Gasto publico admisible [73.2]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "informacionAdicional": { "description": "Informacion adicional (117)", "type": "string", "maxLength": 1000, "examples": [ "Tantoz alzados del Proyecto 1" ] } }, "required": [ "codigoOi", "importeGastoTotalAdmisible", "importeGastoPublicoAdmisible" ] } }, "tiposFijosProyecto": { "description": "Conjunto de tipos fijos que se declaran en el proyecto de la carpeta de gasto", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "object", "properties": { "codigoOi": { "description": "Codigo tipo fijo OI (113)", "type": "string", "maxLength": 50, "examples": [ "TF_1" ] }, "importeGastoTotalAdmisible": { "description": "Gasto total admisible [73.1]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "importeGastoPublicoAdmisible": { "description": "Gasto publico admisible [73.2]", "type": "number", "minimum": 0, "maximum": 9999999999.99, "multipleOf": 0.01 }, "informacionAdicional": { "description": "Informacion adicional (117)", "type": "string", "maxLength": 1000, "examples": [ "Tipos fijos del Proyecto 1" ] } }, "required": [ "codigoOi", "importeGastoTotalAdmisible", "importeGastoPublicoAdmisible" ] } } }, "required": [ "codigoOperacion", "codigoProyecto" ] } } }, "required": [ "codigo", "codOperacion", "descripcion", "fechaRecepcionPagoBeneficiario", "fechaInicioValidez" ] }