IF the invoice exceeds $500 THEN
IF the account has any invoice more than 60 days overdue THEN
the confirmation pending resolution of the debt
ELSE
issue confirmation and invoice
ENDIF
ELSE
IF the account has any invoice more than 60 days overdue THEN
issue confirmation,invoice and write message on credit action report
ELSE
issue confirmation and invoice
ENDIF
ENDIF