Skip to main content
Skip table of contents

Manual Billing Lines

Overview

This document covers the manual billing line items. Manual Billing Lines enable a Broker to input billing records from external sources into Cloudmore.

These billing lines would be non-recurring and are meant for manual adjustments. They could either be used for one-time extra charges, or one-time discounts related to specific subscriptions.

Manually add billing lines

  1. Navigate to Billing > Manual Billing Lines

    Screenshot 2025-05-08 at 13.56.17.png
  2. Select the number of manual billing lines you wish to create and click on Generate Rows.

    Screenshot 2025-05-08 at 13.57.19.png
  3. Ensure you enter data for all lines, paying special attention to the columns highlighted in red. These columns are mandatory and must be filled out; otherwise, the data cannot be submitted.

Mandatory Columns

  1. Organization: Select the organization from the list

  2. Billing Date: Enter the date that should appear on the billing report

  3. Service: Select the service from the list (This is based on the organization selected).

  4. Attach to Subscription: Select the subscription from the list. (This depends on the service.)

  5. Quantity: The number of items to be billed

  6. Unit Cost Price: The cost price per unit of the product

  7. Unit Sales Price: The sales price per unit of the product

  1. Click on Create/Import Billing Lines after filling in all the details.

Import bulk billing lines by CSV

  1. You can create an import file in CSV format. Click on the CSV option on the screen to download the format you need.

    Screenshot 2025-05-08 at 14.19.15.png
  2. Complete the file as with the required required and save it.

    Screenshot 2025-05-08 at 14.23.30.png

  3. Use the Upload File option to upload the billing information. Click on Read File, which displays the file contents as Billing lines for you to manually verify before creating the billing lines.

    Screenshot 2025-05-08 at 14.27.08.png
    Screenshot 2025-05-08 at 14.28.51.png

Manual billing lines API

Organization Manual Billing Lines (MBL) can be created through the following POST endpoint exposed by the COP API:

CODE
POST /api/resellers/{resellerId}/organizations/{organizationId}/manualbilling

Request Body

JSON
{
  "billingDate": <datetime>,
  "serviceId": <string>,
  "productId": <string>,         // Optional
  "subscriptionId": <string>,
  "itemCode": <string>,          // Optional
  "quantity": <decimal>,
  "costPrice": <decimal>,
  "salesPrice": <decimal>,
  "currencyCode": <string>,      // Optional
  "note": <string>               // Optional
}

Special Handling of itemCode and productId

Both itemCode and productId are optional fields. The API applies the following logic based on whether these values are provided:

  • If provided:
    The given values are stored as-is and used directly in the created MBL.

  • If not provided:
    The API will retrieve the associated Subscription using the provided subscriptionId and serviceId.
    It will then extract and apply the itemCode and productId from the Subscription for the new MBL.

Viewing Manual Billing Lines

The manually added billing lines can be viewed in the Total Billing Report.

  1. To view it, navigate to Billing > General Billing Report

  2. Set the billing parameters, and make sure to include the date of posting and the service. Then, run the report.

  3. The lines can be viewed in the report.

    Screenshot 2025-05-08 at 15.31.24.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.