make "credit lineitems" feature work with new tax workflow, #18676, #25718, #31639