Vendor as customer

Vendor as customer

In zoho books, if a Vendor is also a Customer, can I create an invoice to bill him?  The invoice balance will be booked as a credit against   the vendor balance to be written off.