I believe we have a fix for this: Run sql/fixes/transactions_pkey_repost.sql on your database. Technically deleting invoices is not supported. Unofficially we do our best to support it even though it is bad accounting practice. Best Wishes, Chris Travers