Acumatica ERP gives you the ability to pay AR documents by individual lines. You can select how you want to apply payments: fully (to the entire document), partially (to a portion of the entire document), or to individual document lines.