Skip to the page

List invoices

What the workspace has been charged, newest first.

billing_invoices
Needs the scopeworkspace:read
Only reads

This tool takes no arguments.

Returns

The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.

  • object"list"

    Always list.

  • dataobject[]

    The invoices of the workspace, newest first.

  • data[].object"invoice"

    Always invoice.

  • data[].idstring

    The id of the invoice.

  • data[].numberstring

    The number printed on the invoice.

  • data[].createdAtstring

    When the invoice was issued.

  • data[].amountCentsinteger

    The amount, in cents.

  • data[].currencystring

    The currency of the amount.

  • data[].paidboolean

    Whether it has been paid.

  • data[].productstring

    What the invoice is for.