Get invoice ID bug

Fixed bug that may appear in WHMCS where the setup_id column is not
created