API / view-invoices-in-xai-console

API

View invoices in the xAI Console

Open the team's prepaid-credit and monthly invoices in the xAI Console when finance needs a receipt, auditors ask for a specific billing cycle, or you must confirm a charge without wiring a Management API client. Official Manage Billing documents the path on console.x.ai: under Billing → Invoices you can view invoices for prepaid credits and for monthly invoiced billing. The billing FAQ also states that xAI cannot retroactively regenerate an invoice with new billing information, so correct address and tax details before the next cycle. Start with the correct team selected in the Console picker.

What you need

Access to Billing on the team that made the purchase or accrued monthly usage, the approximate purchase or cycle date you are hunting, and optional Management API access when you prefer machine-readable rows instead of the Console table. Settled invoice history over HTTP lives in List invoices via the xAI Management API; the open period draft is Preview a postpaid invoice via the xAI Management API. Neighboring Console jobs include Purchase prepaid credits on the xAI Console and Update billing address in the xAI Console. More API jobs live on the API hub.

Open Billing → Invoices

  1. Sign in at console.x.ai, confirm the team picker shows the team that made the purchase or accrued the monthly usage, and only then open Billing so you do not audit a sibling team's receipts by mistake.
  2. Navigate to Billing → Invoices, matching the Manage Billing guide, and scan the list for both prepaid-credit purchases and monthly invoiced billing rows for the cycle you care about.
  3. Open the matching invoice and review line items, totals, and the billing identity printed on the document so finance can confirm the charge without exporting from another system first.
  4. If the printed address or tax lines are wrong, fix them under Billing → Payment before the next charge with Update billing address in the xAI Console, because the FAQ states invoices cannot be regenerated after the fact.

Use the Console list for quick human review and the Management GET when automation must page through many cycles with filters such as billingCycle.year / billingCycle.month. Prepaid purchases that still show as pending after a bank transfer can take two to three business days before credits appear, per the prepaid section of Manage Billing, so an empty Invoices row right after ACH checkout is often a processing delay rather than a missing charge.

Pitfalls

Searching Invoices on the wrong team hides production receipts that live on a sibling team id and wastes the finance review cycle. Asking support to rewrite an already-issued invoice with a new tax id fails the documented no-regeneration rule, so correct Billing → Payment before the next purchase instead. Treating the Console Invoices page as the only source of truth when you also need CSV-scale history leaves finance without the Management list route that returns structured line items in USD cents for exports.