Is there a way to get the PaidToDate amount for an Invoice using the DI API and the IDocuments object or do I have to query it using SQL?