A case study of a $500,000 dispute highlights the legal battle and key lessons on mitigating financial risks when extending credit terms.