To book the invoice "%(invoice)s" a consolidation you must define consolidation company for it.