[MIG] l10n_es_aeat_mod340

El modulo tiene dependencia de l10n_es_aeat es necesario merge https://github.com/OCA/l10n-spain/pull/33
if invoice.type in ("in_invoice", "in_refund"):