You can use account and invoice lookup codes to organize your account receivable information.
Add payment adjustment lookup codes for collections
Add invoice item lookup codes
Add remaining account and invoice lookup codes