Gobierno de España. Ministerio de Hacienda y Función Pública. Abre nueva ventana Secretaría de Estado de Presupuestos y Gastos
Administración Presupuestaria

Exchange format

The platform provides mechanisms for sending and downloading information from the following areas:

National Recovery and Resilience Plan. CoFFEE-MRR:

Consultation service of the information structures of the Plan and mechanisms to provide execution reports.

The services will be offered (pending implementation) through a REST interface, which is documented below in OpenAPI 3.0 format.​

When this page indicates that the services are published, interested units must follow the registration procedure specified on the web services catalogue page​​.

For the correct use of the service, the interested units must obtain a security Token using the TokenSer web service provided by the Budgetary Informatics Office before logging on in each session; subsequent calls to the CoFFEE REST API within that session will include the obtained security token.

Fecha VersiónEntornoEnlace al APINovedades
​Abril 2022​​1.3.1​No implementadoEnlace a la versión 1.3.1​Se tratan separadamente las declaraciones de progreso de indicadores (también se limitan los valores posibles para los indicadores cualitativos) y de ejecución financiera. Finalmente se incluyen los documentos contables DO y DO/.
Noviembre 20211.3.0No Implementado Enlace a la versión 1.3.0Simplificación de los requisitos sobre el “declarante” y la “administración” en cuanto a campos obligatorios. Soporte de varios contratos y/o subvenciones en una actuación. Desglose de los importes atendiendo al IVA.
Noviembre 20211.2.2No Implementado Enlace a la versión 1.2.2Ajustes menores.
Octubre 20211.2.1No Implementado Enlace a la versión 1.2.1Se comprueba la información sobre perceptores y contratistas y sew reestructura según personalidad jurídica.
Septiembre 20211.2.0No Implementado Enlace a la versión 1.2.0Ajustes a la metodología de gestión. Entidades y Órganos. Fases contables.
Septiembre 20211.1.1No Implementado Enlace a la versión 1.1.1Ajustes a la metodología de gestión. Fases contables.
Agosto 20211.1.0No Implementado Enlace a la versión 1.1.0Ampliación de servicios
Julio 20211.0.0No Implementado Enlace a la versión 1.0.0Versión inicial

Format of information for bulk import

The files used for the mass uploading of information on operations into the system, as established in order HPF/1031/2021, whether to communicate accounting information for the financial year 2020 or for 2021 or subsequent years, shall follow the JSON format corresponding to the "DeclarationExecution" data type of the same API schema of previous services. A file shall contain elements such as “Qualitative Indicators Progress Statement” and “Quantitative Indicators Progress Statement”, according to the following example:

{
"administracion": {
"nombre": "Administración del Estado",
"dir3": "EA9999999"
},
"declarante": {
"nombre": "Ministerio de Ejemplo",
"dir3": "E09999999"
},
"declaracionesProgresoIndicadoresCualitativos": [
{
"codigoIniciativa": "C02.I02.P03",
"codigoIndicador": "IND020311",
"fecha": "2022-02-08",
"valor": "finalizado"
}
...
],
"declaracionesProgresoIndicadoresCuantitativos": [
{
"codigoIniciativa": "C30.R04.P15",
"codigoIndicador": "IND001070",
"fecha": "2022-02-08",
"variacion": 100,
"justificacion": {
"textoJustificativo": "prueba de justificacion",
"documentacion": [
{
"nombre": "f1.pdf",
"descripcion": "fichero de xxxx",
"formato": "application/pdf",
"contenido": "JVBERi0xLjEKJcKlwrHDqwoKMSAwIG9iagogIDw8IC9UeXBlIC9DYXRhbG9nCiAgICAgL1BhZ2VzIDIgMCBSCiAgPj4KZW5kb2JqCgoyIDAgb2JqCiAgPDwgL1R5cGUgL1BhZ2VzCiAgICAgL0tpZHMgWzMgMCBSXQogICAgIC9Db3VudCAxCiAgICAgL01lZGlhQm94IFswIDAgMzAwIDE0NF0KICA+PgplbmRvYmoKCjMgMCBvYmoKICA8PCAgL1R5cGUgL1BhZ2UKICAgICAgL1BhcmVudCAyIDAgUgogICAgICAvUmVzb3VyY2VzCiAgICAgICA8PCAvRm9udAogICAgICAgICAgIDw8IC9GMQogICAgICAgICAgICAgICA8PCAvVHlwZSAvRm9udAogICAgICAgICAgICAgICAgICAvU3VidHlwZSAvVHlwZTEKICAgICAgICAgICAgICAgICAgL0Jhc2VGb250IC9UaW1lcy1Sb21hbgogICAgICAgICAgICAgICA+PgogICAgICAgICAgID4+CiAgICAgICA+PgogICAgICAvQ29udGVudHMgNCAwIFIKICA+PgplbmRvYmoKCjQgMCBvYmoKICA8PCAvTGVuZ3RoIDU1ID4+CnN0cmVhbQogIEJUCiAgICAvRjEgMTggVGYKICAgIDAgMCBUZAogICAgKEhlbGxvIFdvcmxkKSBUagogIEVUCmVuZHN0cmVhbQplbmRvYmoKCnhyZWYKMCA1CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDAxOCAwMDAwMCBuIAowMDAwMDAwMDc3IDAwMDAwIG4gCjAwMDAwMDAxNzggMDAwMDAgbiAKMDAwMDAwMDQ1NyAwMDAwMCBuIAp0cmFpbGVyCiAgPDwgIC9Sb290IDEgMCBSCiAgICAgIC9TaXplIDUKICA+PgpzdGFydHhyZWYKNTY1CiUlRU9GCg=="
},
{
"nombre": "f2.pdf",
"descripcion": "fichero de yyyy",
"formato": "application/pdf",
"contenido": "JVBERi0xLjEKJcKlwrHDqwoKMSAwIG9iagogIDw8IC9UeXBlIC9DYXRhbG9nCiAgICAgL1BhZ2VzIDIgMCBSCiAgPj4KZW5kb2JqCgoyIDAgb2JqCiAgPDwgL1R5cGUgL1BhZ2VzCiAgICAgL0tpZHMgWzMgMCBSXQogICAgIC9Db3VudCAxCiAgICAgL01lZGlhQm94IFswIDAgMzAwIDE0NF0KICA+PgplbmRvYmoKCjMgMCBvYmoKICA8PCAgL1R5cGUgL1BhZ2UKICAgICAgL1BhcmVudCAyIDAgUgogICAgICAvUmVzb3VyY2VzCiAgICAgICA8PCAvRm9udAogICAgICAgICAgIDw8IC9GMQogICAgICAgICAgICAgICA8PCAvVHlwZSAvRm9udAogICAgICAgICAgICAgICAgICAvU3VidHlwZSAvVHlwZTEKICAgICAgICAgICAgICAgICAgL0Jhc2VGb250IC9UaW1lcy1Sb21hbgogICAgICAgICAgICAgICA+PgogICAgICAgICAgID4+CiAgICAgICA+PgogICAgICAvQ29udGVudHMgNCAwIFIKICA+PgplbmRvYmoKCjQgMCBvYmoKICA8PCAvTGVuZ3RoIDU1ID4+CnN0cmVhbQogIEJUCiAgICAvRjEgMTggVGYKICAgIDAgMCBUZAogICAgKEhlbGxvIFdvcmxkKSBUagogIEVUCmVuZHN0cmVhbQplbmRvYmoKCnhyZWYKMCA1CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDAxOCAwMDAwMCBuIAowMDAwMDAwMDc3IDAwMDAwIG4gCjAwMDAwMDAxNzggMDAwMDAgbiAKMDAwMDAwMDQ1NyAwMDAwMCBuIAp0cmFpbGVyCiAgPDwgIC9Sb290IDEgMCBSCiAgICAgIC9TaXplIDUKICA+PgpzdGFydHhyZWYKNTY1CiUlRU9GCg=="
}
]
}
...
}
]
}

For the case of a limiting company, statements of financial performance:

{
"administracion": {
"nombre": "Administración del Estado",
"dir3": "EA9999999"
},
"declarante": {
"nombre": "Ejemplo de declarante",
"dir3": "EA9999990"
},
"declaracionesFinancierasEntidadLimitativa": [
{
"codigoIniciativa": "C19.I2.EDUCACION.P2.1",
"ejercicioContable": "2021",
"numeroOperacion": "00171221310005738",
"tercero": {
"nif": "A41132036",
"nombre": " TERCERO NIF/CIF 000A41132036",
"país": "ES"
},
"importeSinIVA": 46400,
"importeIntegro": 46436.25,
"fechaContable": "2021-12-27",
"contratoPLACSP": {
"codOrgano": "40426210078901",
"codLicitacion": "2017/00146",
"codContrato": "7"
},
"faseContable": "O",
"financiacionMRR": [
{
"anualidad": 2021,
"capitulo": "6",
"importeSinIVA": 46400
}
]
},
...
]
}

And for an estimating company, statements of financial performance:

{
"administracion": {
"nombre": "Administración del Estado",
"dir3": "EA9999999"
},
"declarante": {
"nombre": "Empresa pública",
"dir3": "E09999999"
},
"declaracionesFinancierasEntidadEstimativa": [
{
"codigoIniciativa": "C23.I03.P12.01",
"ejercicioContable": "2021",
"numeroOperacion": "00160221310020184",
"tercero": {
"nif": "S2826046A",
"nombre": "Ejemplo de nombre",
"país": "ES"
},
"contratoPLACSP": {
"codOrgano": "10000400057829",
"codLicitacion": "2021/6632",
"codContrato": "2021/6632"
},
"importeSinIVA": 4880.25,
"importeIntegro": 5000,
"fechaContable": "2021-12-23",
"otrasFuentesFinanciacion": [
{
"fuente": "REU",
"importeSinIVA": 50.0,
"importeIntegro": 50.0
}
],
"financiacionMRR": [
{
"anualidad": 2020,
"tipoGastoInversion": "11",
"importeSinIVA": 540
}
]
}
...
]
}​

If it were necessary to provide in the same file information from several implementing (reporting) entities, this would be done by providing in the file a collection (JSON collection or array, []) of elements.

Procedure and format of the accounting information for the financial year 2020

Pursuant to the First Transitional Provision, Order HFP/1031/2021, of 29 September (BOE [Official State Bulletin] of 30 September 2021), which establishes the procedure and format of the information to be provided by the State, Autonomous Community and Local Public Sector Entities for monitoring compliance with milestones and objectives and budgetary and accounting execution of the measures of the components of the Recovery, Transformation and Resilience Plan, the following technical note is published to specify the procedure and format of the accounting information to be provided for the components that have been executed in the period between 1 February and 31 December 2020.

Nota técnica relativa al procedimiento y formato de la información contable a remitir por las entidades ejecutoras del MRR relativa al ejercicio 2020 (pdf)

Further information

For further information, please consult the ​Frequently Asked Questions page, which will be updated on a regular basis.

Multiannual financial framework 2021-2027:

Currently no exchange formats are defined for this period.