> For the complete documentation index, see [llms.txt](https://timechain.gitbook.io/neucron-mcp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://timechain.gitbook.io/neucron-mcp/tools/get-paid.md).

# get paid

Tools for managing customers, creating invoices and payment collection links, configuring invoice payment methods, and viewing revenue analytics.

These tools cover the **Get Paid** section of the Neucron Console — everything related to receiving payments from customers.

## `neucron_create_collection_link`

**Create a universal payment collection link for a wallet.**

Generates a shareable payment link that customers can use to pay you in supported assets. Optionally customize the link appearance and configure supported payment methods.

| Parameter             | Type    | Description                           |
| --------------------- | ------- | ------------------------------------- |
| `businessId`          | string  | Business ID                           |
| `walletID`            | string  | Wallet to receive payments (optional) |
| `customization`       | object  | Link appearance customization         |
| `updateCustomization` | boolean | Update existing customization         |
| `collection`          | object  | Collection configuration              |
| `publicCollection`    | object  | Public payment collection settings    |

**Returns:** Collection link URL and configuration.

## `neucron_customer_manage`

**Create, update, delete, list, or retrieve customers — all through a single tool.**

A unified customer management tool. Specify the `action` to perform the desired operation.

| Action   | Description                           |
| -------- | ------------------------------------- |
| `create` | Add a new customer                    |
| `update` | Update an existing customer's details |
| `delete` | Remove a customer                     |
| `list`   | List customers with pagination        |
| `get`    | Retrieve a single customer by ID      |

| Parameter | Type    | Description                                         |
| --------- | ------- | --------------------------------------------------- |
| `action`  | string  | One of: `create`, `update`, `delete`, `list`, `get` |
| `invite`  | boolean | Send invite email after create (create action only) |
| `options` | object  | Action-specific parameters (varies by action)       |

**Example — list customers**

```json
{
  "action": "list",
  "options": {
    "businessId": "<business-id>",
    "page": 1,
    "size": 20
  }
}
```

**Returns:** Customer data matching the requested action.

## `neucron_create_invoice`

**Create or update an invoice through the multi-step invoice builder.**

Builds a complete invoice with line items, customer details, payment terms, and due dates. Supports draft creation (`finalise: false`) and finalization. Can attach documents and share the invoice after creation.

| Parameter     | Type    | Description                                               |
| ------------- | ------- | --------------------------------------------------------- |
| `businessId`  | string  | Business ID                                               |
| `invoiceData` | object  | Invoice details (currency, customer, items, dates, terms) |
| `invoiceID`   | string  | Existing invoice ID (for updates)                         |
| `updateData`  | object  | Fields to update on an existing invoice                   |
| `share`       | object  | Share invoice via email or link                           |
| `finalise`    | boolean | Finalize the invoice (default: `false` for draft)         |
| `filePath`    | string  | Absolute path to an attachment (optional)                 |
| `fileBase64`  | string  | Base64-encoded attachment (optional)                      |

**Example — create draft invoice**

```json
{
  "businessId": "<business-id>",
  "invoiceData": {
    "currency": "INR",
    "customer_id": "<customer-id>",
    "deposit_wallet": "<wallet-id>",
    "discount": 0,
    "due_date": "2026-08-01",
    "invoice_number": "INV-001",
    "issue_date": "2026-07-07",
    "items": [
      {
        "description": "Consulting services",
        "quantity": 1,
        "rate": 5000,
        "amount": 5000
      }
    ],
    "payment_terms": "Net 30",
    "round_off": false
  },
  "finalise": false
}
```

**Returns:** Invoice ID, status, and details.

## `neucron_manage_invoice_payment_collection`

**Create or update the payment collection linked to an invoice.**

Configures which assets and payment methods customers can use to pay a specific invoice. Can also check whether a payment has been received for a given transaction hash.

| Parameter         | Type    | Description                                       |
| ----------------- | ------- | ------------------------------------------------- |
| `businessId`      | string  | Business ID                                       |
| `invoiceID`       | string  | Invoice ID                                        |
| `walletID`        | string  | Receiving wallet (optional)                       |
| `supportedAssets` | array   | Assets accepted for payment                       |
| `collectionID`    | string  | Existing collection ID (for updates)              |
| `mapToInvoice`    | boolean | Link collection to the invoice                    |
| `checkPayment`    | object  | Check payment status by collection ID and tx hash |

**Returns:** Payment collection configuration and payment status.

## `neucron_get_revenue`

**Retrieve revenue analytics and customer balance summaries.**

Returns revenue graphs, totals, and customer balance summaries over a configurable date range. Useful for financial reporting and tracking incoming payments.

| Parameter          | Type    | Description                                   |
| ------------------ | ------- | --------------------------------------------- |
| `businessId`       | string  | Business ID                                   |
| Date range filters | various | Start/end dates and graph granularity options |

**Returns:** Revenue totals, graph data, and customer balance summaries.
