---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Download billing invoices and receipts

Organization administrators can retrieve past invoice and payment receipt PDFs through the CLI or MCP.

When your accountant asks for last quarter’s payment evidence, you can list finalized invoices and successful charge receipts, page through older documents, and download their original PDFs through the CLI or Cloud MCP.

Tell the coding agent you build with: “Find our organization’s finalized invoices and successful charge receipts and download the PDFs for the period.” An organization administrator needs billing read access. CLI downloads save locally without replacing an existing file; MCP returns the PDF as a resource. If a receipt requires email verification or a document is too large, you get a hosted link instead. This does not make a payment.
