When a purchase on account is made the invoice becomes a debit memo?

When a purchase on account is made the invoice becomes a debit memo?