---
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/"
---

# segmentstream billing documents download

Save the original PDF. An existing file is never overwritten.

## Usage

Command syntax

```
segmentstream billing documents download [OPTIONS] {invoice|receipt} ID
```

## Options

- `-o, --output TEXT`

  Destination path. Defaults to KIND-ID.pdf.

- `--organization ORG-ID`

  Organization for this command

- `--help`

  Show this message and exit.

[Read as Markdown ↗](https://segmentstream.com/docs/cli/billing/documents/download.md)
