entity relationship diagram for AP payments