This might happen due to the contact type being wrongly specified. A contact can either be indicated as a vendor (sells goods or services to you), customer (buys goods or services from you) under the field Contact Type.
A contact can be changed anytime from a vendor to a customer and vice versa, by editing the Contact Type field in the Contact Details Page.
VAT ready accounting
software for small