I'd like to say the recreation was a bit more scientific, but yes, we just input batch after batch of invoices, printing each batch, until we found a transaction which was wrong.
It appears totally random; a debtor will be fine on one run, have acorrupt invoice on the next and then be back to normal.
Yes, the Master Number column in the database is 0