Vendor & customer ledgers

Has anyone created a vendor ledger report which would show history
(invoices and payments) for a particular vendor? How about for a
customer too?

Thanks.