# Zapier — ASHDOCS Integrations
> zapier.com/apps/ashdocs/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Identity
ASHDOCS is a document and invoicing API for creating, sending and tracking invoices, generating PDFs and collecting payments.

- App slug: ashdocs
- Operations published here: 12 (4 events, 5 functions, 2 queries, 1 search-or-write action)

## Authentication
Zapier connects to ASHDOCS via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection ashdocs
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`. All published operations and input keys are listed on this page (there are no per-action subpages; run `npx zapier-sdk list-action-input-fields ashdocs <type> <key>` after login for full field schemas).

Zap editor: every operation below is also configurable without code at zapier.com/apps/ashdocs/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `ashdocs`, then `enable_zapier_action`. If ASHDOCS isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: once Create Customer is enabled, call `ashdocs_create_customer`. Each operation below lists its MCP tool name.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "ashdocs", owner: "me" });

const { data } = await zapier.runAction({
  app: "ashdocs",
  actionType: "write",
  action: "create_customer",
  connection: connection.id,
  inputs: {
    name: "", // Name
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action ashdocs write create_customer \
  --inputs '{"name":""}'
```

Paginating results: some calls return more than fits in one response — for example, listing ASHDOCS's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "ashdocs" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions ashdocs --page-size 50 --max-items 200 --json
```

### Events (4)

Events fire when something happens in ASHDOCS. Use them to start a run.

#### Invoice Overdue
Triggers when an invoice passes its due date with a balance left.

- Type: read · Key: `invoice_overdue`
- Requires: nothing
- MCP tool: `ashdocs_invoice_overdue` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "read", action: "invoice_overdue" })`
- CLI: `npx zapier-sdk run-action ashdocs read invoice_overdue`

#### Invoice Paid
Triggers when an invoice is paid in full.

- Type: read · Key: `invoice_paid`
- Requires: nothing
- MCP tool: `ashdocs_invoice_paid` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "read", action: "invoice_paid" })`
- CLI: `npx zapier-sdk run-action ashdocs read invoice_paid`

#### Invoice Sent
Triggers when an invoice is delivered to the customer.

- Type: read · Key: `invoice_sent`
- Requires: nothing
- MCP tool: `ashdocs_invoice_sent` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "read", action: "invoice_sent" })`
- CLI: `npx zapier-sdk run-action ashdocs read invoice_sent`

#### Invoice Viewed
Triggers when the customer opens the hosted invoice page.

- Type: read · Key: `invoice_viewed`
- Requires: nothing
- MCP tool: `ashdocs_invoice_viewed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "read", action: "invoice_viewed" })`
- CLI: `npx zapier-sdk run-action ashdocs read invoice_viewed`

### Functions (5)

Functions change something in ASHDOCS.

#### Create Customer
Saves a customer for reuse on invoices.

- Type: write · Key: `create_customer`
- Requires: name
- Optional: email, phone, tax_id, address_line1, address_line2, city, region, postal_code, country
- MCP tool: `ashdocs_create_customer` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "write", action: "create_customer" })`
- CLI: `npx zapier-sdk run-action ashdocs write create_customer`

#### Create Invoice
Creates a numbered invoice with its PDF and hosted page. Optionally emails it to the customer.

- Type: write · Key: `create_invoice`
- Requires: description, unit_price
- Optional: customer_id, customer_name, customer_email, customer_phone, customer_tax_id, customer_address_line1, customer_address_line2, customer_city, customer_region, customer_postal_code, customer_country, quantity, tax_rate, unit, currency, due_terms, issue_date, due_date, reference, po_number, notes, terms, template, kind, issue, send_email, email_cc, email_subject, email_message, idempotency_key
- MCP tool: `ashdocs_create_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "write", action: "create_invoice" })`
- CLI: `npx zapier-sdk run-action ashdocs write create_invoice`

#### Generate PDF
Turns HTML or a web page into a PDF.

- Type: write · Key: `generate_pdf`
- Requires: source
- MCP tool: `ashdocs_generate_pdf` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "write", action: "generate_pdf" })`
- CLI: `npx zapier-sdk run-action ashdocs write generate_pdf`

#### Redact Document
Blacks out emails, card numbers and other sensitive text in a PDF.

- Type: write · Key: `redact_document`
- Requires: file
- Optional: types
- MCP tool: `ashdocs_redact_document` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "write", action: "redact_document" })`
- CLI: `npx zapier-sdk run-action ashdocs write redact_document`

#### Send Invoice
Emails an issued invoice to the customer.

- Type: write · Key: `send_invoice`
- Requires: invoice_id
- Optional: to, cc, subject, message
- MCP tool: `ashdocs_send_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "write", action: "send_invoice" })`
- CLI: `npx zapier-sdk run-action ashdocs write send_invoice`

### Queries (2)

Queries read from ASHDOCS and return data. They change nothing.

#### Find Customer
Finds a saved customer by email address.

- Type: search · Key: `find_customer`
- Requires: email
- MCP tool: `ashdocs_find_customer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "search", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action ashdocs search find_customer`

#### Find Invoice
Finds an invoice by number or ID, with its status, totals and amount due.

- Type: search · Key: `find_invoice`
- Requires: nothing
- Optional: invoice_number, invoice_id
- MCP tool: `ashdocs_find_invoice` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ashdocs", actionType: "search", action: "find_invoice" })`
- CLI: `npx zapier-sdk run-action ashdocs search find_invoice`

### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

#### Find or Create Customer
Finds a saved customer by email, or creates one if none exists.

- Type: search_or_write · Key: `find_customer`
- Requires: email, name
- Optional: phone, tax_id, address_line1, address_line2, city, region, postal_code, country
- SDK: `runAction({ app: "ashdocs", actionType: "search_or_write", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action ashdocs search_or_write find_customer`

## Popular integrations
- [ASHDOCS + Google Sheets](zapier.com/apps/ashdocs/integrations/google-sheets.md)
- [ASHDOCS + Slack](zapier.com/apps/ashdocs/integrations/slack.md)
- [ASHDOCS + Airtable](zapier.com/apps/ashdocs/integrations/airtable.md)
- [ASHDOCS + ActiveCampaign](zapier.com/apps/ashdocs/integrations/activecampaign.md)

## Use ASHDOCS in 35 AI tools with Zapier MCP
- [Amazon Quick](zapier.com/apps/ai-tools/amazon-quick-suite.md) by AWS
- [Antigravity](zapier.com/apps/ai-tools/antigravity.md) by Google
- [Antigravity CLI](zapier.com/apps/ai-tools/antigravity-cli.md) by Google
- [ChatGPT](zapier.com/apps/ai-tools/chatgpt.md) by OpenAI
- [Claude](zapier.com/apps/ai-tools/claude.md) by Anthropic
- [Claude Code](zapier.com/apps/ai-tools/claude-code.md) by Anthropic
- [Claude Cowork](zapier.com/apps/ai-tools/claude-cowork.md) by Anthropic
- [Claude Duet](zapier.com/apps/ai-tools/claude-duet.md) by Anthropic
- [Claude for Small Business](zapier.com/apps/ai-tools/claude-small-business.md) by Anthropic
- [Copilot Studio](zapier.com/apps/ai-tools/copilot-studio.md) by Microsoft
- [Dots](zapier.com/apps/ai-tools/openai-dots.md) by OpenAI
- [Figma Make](zapier.com/apps/ai-tools/figma-make.md) by Figma
- [Gemini](zapier.com/apps/ai-tools/gemini.md) by Google
- [Gemini Enterprise](zapier.com/apps/ai-tools/gemini-enterprise.md) by Google
- [Grok](zapier.com/apps/ai-tools/grok.md) by SpaceXAI
- [Grok Bot](zapier.com/apps/ai-tools/grok-bot.md) by SpaceXAI
- [Grok Build (Cursor)](zapier.com/apps/ai-tools/grok-build.md) by Anysphere
- [Julius AI](zapier.com/apps/ai-tools/julius.md) by Caesar Labs
- [Kiro](zapier.com/apps/ai-tools/kiro.md) by AWS
- [Linear Agent](zapier.com/apps/ai-tools/linear.md) by Linear
- [Manus](zapier.com/apps/ai-tools/manus.md) by Manus AI
- [Muse](zapier.com/apps/ai-tools/meta-muse.md) by Meta
- [OpenClaw](zapier.com/apps/ai-tools/openclaw.md) by the OpenClaw Foundation
- [OpenCode](zapier.com/apps/ai-tools/opencode.md) by Anomaly
- [Pally](zapier.com/apps/ai-tools/pally.md)
- [Replit](zapier.com/apps/ai-tools/replit.md) by Replit
- [Slackbot](zapier.com/apps/ai-tools/slack.md) by Slack
- [Superhuman Go](zapier.com/apps/ai-tools/superhuman-go.md) by Superhuman
- [Toolhouse](zapier.com/apps/ai-tools/toolhouse.md)
- [v0](zapier.com/apps/ai-tools/v0.md) by Vercel
- [Vapi](zapier.com/apps/ai-tools/vapi.md) by Vapi
- [Vibe](zapier.com/apps/ai-tools/mistral.md) by Mistral AI
- [VS Code](zapier.com/apps/ai-tools/vscode.md) by Microsoft
- [Warp](zapier.com/apps/ai-tools/warp.md) by Denver Technologies
- [Zed](zapier.com/apps/ai-tools/zed.md) by Zed Industries

## FAQ

### How do I connect ASHDOCS to Claude?
Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect ASHDOCS. Claude finds the ASHDOCS actions and adds them. If ASHDOCS needs a sign-in, you approve it once.

### Can I use the ASHDOCS API without managing API keys?
With the Zapier SDK you connect your ASHDOCS account to Zapier once, and your code runs actions through that connection. Zapier handles ASHDOCS’s login, so you never paste an API key into your code.

### What can an AI agent do with ASHDOCS?
Through Zapier MCP, your agent can use 11 ASHDOCS tools, such as Invoice Overdue, Invoice Paid, and Invoice Sent. 6 tools only read data, so you can start with those before you let your agent make changes.

### My AI agent already connects to my apps. Why add Zapier?
Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?
Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?
You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Full app page: zapier.com/apps/ashdocs/integrations
- SDK: npmjs.com/package/@zapier/zapier-sdk
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md