I have never heard the word dun used in that context, even though my dictionary does have the noun as 'an importunate creditor'. It must be almost completely archaic I think - I've never heard it used in normal speech. Modern words would be to 'bill' or demand an account. I've only ever heard dun used in modern English to mean a brown colour. In Australian English a sheisshausen is called a 'dunny'.