Void posted invoice when paid order is processing

WooCommerce orders that move to processing after payment can leave their Xero invoices open and confuse billing staff. Void the matched invoice automatically so billing reconciles cleanly before the next reconciliation.

Void posted invoice when paid order is processing

Void posted invoice when paid order is processing