As a candidate with a german degree you have to certificate spanish or portuguese language knowledge at a minimum level of B2 GER. The certificate needs to explicitly confirm that you have that level. The certificate needs to be submitted with the application and can´t be given in later.
As a candidate with a foreign degree the university entrance qualification might as well count as the certification of your portuguese or spanish knowledge, if it was completed in a spanish or portuguese speaking university. Additionally, you have to certify your german knowledge. At the moment of the application it is enough to submit a certificate of the B2 GER level.