Sorry, I did not add the link to show how the sepa creditor identifier is composed on Spain
But as resume, sepa creditor identifier is build as:
ESDDXXXZZZZZZZZZ
Where DD is the digit the control, XXX is the sufix (normally 000) and ZZZZZZZZ is the vat number of the company
And sepa initiator identifier is build as:
ZZZZZZZZZXXX
Where ZZZZZZZZZ is the vat number and XXX the sufix.