invoice: ease validation of invoice_type