invoice status integrated, retrieved types have state-checking methods