-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: Billing
-
None
Using the SNF Billing CLI an error occurs when attempting to add an invoice payment for an amount less than the invoiced amount (i.e. a partial payment). The following error is reported:
### Cause: org.postgresql.util.PSQLException: ERROR: Invoice payments total amount 61.15 exceeds payment 87a8bcb7-d78e-45ef-b2b4-dc0395411f97 amount 53.17 Hint: Sum of invoice payments must not exceed the solarbill.bill_payment.amount they relate to. Where: PL/pgSQL function solarbill.validate_bill_invoice_payment() line 28 at RAISE