fixed added custom sequence for invoice (ID is used as variable symbol now)
fixed pagination