跳到正文
Vercel Blog(vercel.com)· Sam Ko·· 4 天前品質評分47

Vercel CLI 現在能查帳單、下載發票和預覽費用

Vercel Billing CLI is now available

重點導讀

想查團隊用了多少服務、發票在哪裡,或下期可能要付多少錢,現在可以用 Vercel CLI 處理。

  • 帳單相關指令統一放在 vercel billing 底下,可以檢視帳單概況、檢視和下載發票,也能預覽下一期帳單及各項費用。所有方案都能檢視帳單概況和發票紀錄。
  • 預覽下期費用則需要有效的付費訂閱,而且金額可能在帳單週期結束前改變。這些功能讓人可以直接在命令列整理帳務。
  • 更新 Vercel CLI 後就能開始使用。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

正文

You can now check your team’s billing overview, review and download invoices, and preview upcoming charges with the Vercel CLI. All billing commands, including usage, contracts, and budgets, are now grouped under vercel billing.

Billing overview and invoice history are available on all plans, subject to your team’s existing billing permissions. Upcoming invoice estimates require an active paid subscription.

Copy link to headingBilling overview

Check your team’s plan, billing status, billing cycle, balance due, and overdue invoices:

# View billing for the current team

vercel billing overview

# View billing for a specific team

vercel billing overview --scope <team>

In CLI 65.17.0 and later, this overview also includes configured invoice details such as your billing address, tax ID, and purchase order.

Copy link to headingInvoices and upcoming charges

Use vercel billing invoices to review invoices, download PDFs, and preview upcoming charges. For inspect and download, replace <INVOICE_ID> with a full invoice ID from the list output:

# List the three most recent invoices

vercel billing invoices list --limit 3

# Inspect an invoice

vercel billing invoices inspect <INVOICE_ID>

# Download the same invoice as a PDF

vercel billing invoices download <INVOICE_ID>

# Preview your next invoice and its line items

vercel billing invoices upcoming

Upcoming charges are estimates and may change until the end of the billing period.

For scripts and agents, add --json to vercel billing overview or any vercel billing invoices subcommand for structured output.

Existing usage, contract, and budget commands now also use the same prefix:

  • vercel usage → vercel billing usage

  • vercel contract → vercel billing contract

  • vercel budgets → vercel billing budgets

The previous command names continue to work as aliases.

To get started, update your Vercel CLI with vercel upgrade. Learn more in the Billing & Invoices documentation.

來源: Vercel Blog (vercel.com)
開啟原文

讀者討論

理性交流 · 即時討論