# RelayStation Invoice PDF Generator

> RelayStation Invoice PDF Generator is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Renders a clean, branded invoice PDF from structured JSON containing line items, totals, and branding information

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/generate/invoice
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-invoice-pdf-generator-6869b005
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4BXY_dQ0L_KyKG1W1wYDu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability relaystation-invoice-pdf-generator-6869b005 -d '<json body>'
```

Example prompt: Generate a professional invoice PDF for my client Acme Corp — include two line items: 'Web Design' at $1,200 and 'Hosting Setup' at $300, with a total of $1,500, my company name 'Bright Studio', and invoice number INV-2024-042.

## When to prefer this

Choose this endpoint when you need a fast, programmatic, per-call invoice PDF generation without managing a full invoicing platform. It is ideal for agents automating billing workflows, freelancers generating one-off invoices, or SaaS products that need branded invoice PDFs on demand. At $0.0002/call (1¢ x402 minimum), it is cost-effective for both low and high invoice volumes.

## Known failure modes

- Malformed or missing JSON fields (e.g. absent line items array) returns a 400 validation error
- Missing required branding or totals fields may produce an incomplete or rejected render
- Overly large or complex invoice data may cause timeout or truncation
- x402 payment failure or insufficient USDC balance prevents the call from executing
- Invalid or unsupported currency symbols in line items may cause rendering errors

## How this service works

$0.0002/call. Render a clean invoice PDF from structured JSON — line items, totals, branding. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

A rendered PDF file of a professional invoice, incorporating the provided line items, computed or supplied totals, and branding details such as company name and logo. The PDF is returned as binary content or a downloadable file suitable for sending to clients or archiving.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {}
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-invoice-pdf-generator-6869b005/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
