Unify usage of es_code() on AEAT reports
Some AEAT reports rely on ${company.party.tax_identifier.code[2:]}
Which is valid if the company identifier is eu_vat
but make the file invalid if the company identifier is es_nif
.
We have es_code() which abstracts this and can be used in all reports.