Yes, you need it. For smaller conversions, measures that do not affect structural elements, a small building permit (Obra Menor) is sufficient. For more extensive works that concern the structure of a property, you need a large building permit (Obra mayor).