Currently the invoice PDFs do not show any applied credits or payments. For example, in the following circumstances:
Service Total: $200.00
Existing Account Credit: $25.00
Partial Payment: $100.00
Blesta will print an invoice showing the customer owes $200.00, when in reality he only owes $75.00. This can cause some confusion among customers. We're also printing a padded invoice; the customer can then use that data to falsify their books, embezzle funds from their company, falsify taxes, etc.
Or let's say one year after the invoice is paid, the customer's accountant is auditing their books. The accountant requests and gets a copy of invoice #12345, which shows the client "paid" a $200.00 balance. This creates a discrepancy with the client's books, which only show a payment of $175.00 (let's assume for the sake of simplicity that the accountant already saw the previous $100.00 partial payment and correctly attributed it to this invoice). Now the client has an unreconciled $25.00.
A PDF should show the payment status in detail. Ideally, it should show each related transaction. In the case above, we might see three payment lines: Account Credit / $25.00, Visa Payment 10-21-2013 / $100.00, PayPal Payment 10-29-2013 / $75.00. Alternatively, all payments can be grouped so that we would see two lines: Account Credit / $25.00, Account Payment $175.00.