Risk management

What is the principal purpose of credit insurance on a commercial receivable?