---
title: "Pay an invoice to your company from your cash balance/credit limit"
method: POST
path: "/v1/invoices/{invoice_id}/markpaid/fromcashbalance"
tags: ["Invoices"]
---

# Pay an invoice to your company from your cash balance/credit limit

`POST /v1/invoices/{invoice_id}/markpaid/fromcashbalance`

## Request

- Base URL: `https://api.newmoneycompany.com`
- URL: `https://api.newmoneycompany.com/v1/invoices/{invoice_id}/markpaid/fromcashbalance`
- Auth: HTTP basic

## Path parameters

- `invoice_id` string, required

## Response `200`

Updated invoice (status should be PAID if success)

- object
  - `data` Invoice
    - `accountId` string, nullable
    - `company_id` string, nullable
    - `denomination` string, nullable
    - `total_amount` integer, nullable
    - `invoice_number` string, nullable
    - `items` InvoiceItem[]: Array of items in the invoice
      - `description` string
      - `quantity` integer
      - `unit_cost` integer
      - `line_total` integer, nullable
    - `note` string, nullable
    - `close_time` string, date-time, nullable
    - `status` 'OPEN' | 'VOIDED' | 'PAID' | 'PENDING' | 'OVERDUE' | 'PARTIAL_PAID' | 'DRAFT'
    - `cash_balance_id` string, nullable: Target cash balance ID for funds to go to once invoice is paid
    - `auth_token` string, nullable
    - `due_date` string, date-time, nullable
    - `id` string, nullable

## Other responses

- `400`: Invalid invoice ID

## Changes

- **2026-11-03** `fc213c1eae56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/newmoneycompany/apis/new-money-company-api/changes/v1/invoices/:invoice_id/markpaid/fromcashbalance/post.md)

---

[API](https://skmtc.dev/newmoneycompany/apis/new-money-company-api.md) - [All operations](https://skmtc.dev/newmoneycompany/apis/new-money-company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/newmoneycompany/apis/new-money-company-api/revisions/fc213c1eae56?raw)
