---
title: "Billing reads"
description: "Read the company plan, usage, payments, wallet, and invoices."
canonical_url: "https://docs.vettero.com/developer-api/billing"
---
# Billing reads

> Read the company plan, usage, payments, wallet, and invoices.

Billing is one company account shared by every workspace. These calls do not change the plan, recharge the wallet, or buy credits. Do that in **Settings → Billing**.

Scope: `billing:read`. Do **not** send `X-Workspace-Id`.

<table>
<thead>
  <tr>
    <th>
      Call
    </th>
    
    <th>
      What it returns
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        GET /api/developer/v1/billing
      </code>
    </td>
    
    <td>
      Plan, cycle, wallet balance, AI credit balance, billing address
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET /api/developer/v1/billing/plan-usage
      </code>
    </td>
    
    <td>
      Each feature's quota and usage this cycle. Empty array if none
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET /api/developer/v1/billing/usage
      </code>
    </td>
    
    <td>
      Usage rows. Filters: <code>
        featureKey
      </code>
      
      , <code>
        action
      </code>
      
      , <code>
        performedBy
      </code>
      
      , <code>
        workspace
      </code>
      
      , <code>
        dateFrom
      </code>
      
      , <code>
        dateTo
      </code>
      
      , <code>
        page
      </code>
      
      , <code>
        limit
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET /api/developer/v1/billing/payments
      </code>
    </td>
    
    <td>
      Payments and invoice links. Provider payment ids are omitted
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET /api/developer/v1/billing/wallet
      </code>
    </td>
    
    <td>
      Wallet credits and debits
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        GET /api/developer/v1/billing/invoices/{id}
      </code>
    </td>
    
    <td>
      One invoice. <code>
        {id}
      </code>
      
       is the transaction id from the payments list
    </td>
  </tr>
</tbody>
</table>

### Fields that trip people up

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Meaning
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Usage <code>
        page
      </code>
      
       / <code>
        limit
      </code>
    </td>
    
    <td>
      Digit <strong>
        strings
      </strong>
      
       (for example <code>
        "1"
      </code>
      
      , <code>
        "20"
      </code>
      
      ), not only numbers
    </td>
  </tr>
  
  <tr>
    <td>
      Usage <code>
        action
      </code>
    </td>
    
    <td>
      <code>
        inc
      </code>
      
      , <code>
        dec
      </code>
      
      , or <code>
        set
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Plan usage <code>
        key
      </code>
    </td>
    
    <td>
      Feature key; <code>
        usageCount
      </code>
      
       is current usage against <code>
        limit
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Invoice <code>
        {id}
      </code>
    </td>
    
    <td>
      Transaction document id from payments — not a separate invoice number field alone
    </td>
  </tr>
</tbody>
</table>

Payment provider ids are not included.


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
