Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8770

Invoice line items with negative cost can't be created from the UI

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
      • Use the 3cale API Create Line Item for an Invoice with cost i.e. -10 or -0.20
    • Hide
      • Go to an Account that has an application with a paid Application Plan.
      • From the Account > Invoices > Create an Invoice.
      • From the new invoice, go to LIne Items > Edit.
      • Fill the line items and add a negative number in Cost field, i.e. -10 USD.
      • Click "Create Line Item". It will display the warning "Value must be greater than or equal to 0".
      Show
      Go to an Account that has an application with a paid Application Plan. From the Account > Invoices > Create an Invoice. From the new invoice, go to LIne Items > Edit. Fill the line items and add a negative number in Cost field, i.e. -10 USD. Click "Create Line Item". It will display the warning "Value must be greater than or equal to 0".

      Current behaviour
      When editing a manually created invoice to add a line item with a negative cost from the 3scale admin portal, the UI displays a warning sign:

      Value must be greater than or equal to 0.

      Expected behaviour
      It is expected to add a negative cost to reflect a refund in the 3scale invoices. On 09/27/2022 it was possible to add a negative cost from the 3scale admin portal UI.

              Unassigned Unassigned
              rhn-support-avilatus Anna Vila Tusell
              Dominik Hlavac Duran Dominik Hlavac Duran
              Daria Mayorova Daria Mayorova
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: