Hi,
I am creating standard summary reports for our finance committee, using the QuickFile API, a Windows application and Word templates.
Basically I am trying to add 2 things to a report, from the main Quickfile homepage, “Money Owed to You”, and “Money You Owe”.
The first is done, because the Invoice_Search API returns PaidToDate for invoices.
However the Purchase_Search only returns the Amount, NetAmount and VatAmount for purchases.
So if we have made a partial payment on a purchase, I can’t see how much we still owe on the purchase, I can only get the original purchase amount.
Is there a way of getting the total amounts paid to date on our purchases, or the amount outstanding after partial payments?
I am just creating a summary, so I want to avoid having loads of api calls and then summarising the results.
Also, regarding the status for the call, the parameters are (excuse the c# code)
public const string Unpaid = "UNPAID";
public const string PaidPart = "PAIDPART";
public const string PaidFull = "PAIDFULL";
public const string Credit = "CREDIT";
public const string Draft = "DRAFT";
public const string Sent = "SENT";
public const string Disputed = "DISPUTED";
public const string Active = "ACTIVE";
public const string Deleted = "DELETED";
public const string Credited = "CREDITED";
Originally I thought that using the ACTIVE status would return all unpaid / part paid purchases, but it doesn’t.
So am I correct in having to make 2 calls for data, one for UNPAID, the second for PAIDPART.
Thanks,
Tony