Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1686

Void unpaid invoices when cancelling a service

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 4.0.0-b2
    • Component/s: None
    • Labels:
      None

      Description

      Void unpaid invoices when cancelling a service.

      If there are any discount line items on the invoice (e.g. coupons), then the TOTAL of the invoice after the service item(s) are removed MAY not match the EXPECTED TOTAL, as those line items MAY not be removed.

      For each non-closed, non-pastdue invoice that the service being cancelled appears on

      • If the invoice has no other line items (besides those matching the service ID):
        • Void the invoice
      • Else:
        • Unapply payments on the invoice
        • Remove the line items matching the service ID from the invoice
        • Reapply payments to the invoice

      This requires a company/client group setting, enabled by default called Update Open Invoices on Service Cancellation.

        Issue Links

          Activity

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              admin Paul Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                20/Oct/16

                Agile