The director general of Spain's tax authority, Soledad Fernández Doctor, is leaving her post along with two senior directors, triggering an open rift between the tax inspector corps and the government over Catalan fiscal autonomy and institutional independence.