# sevDesk — Pipedream Connect

> The billing & accounting software for freelancers, founders, startups, small entrepreneurs and smallbusinesses. Free test now!

- API slug: `sevdesk` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Business Management
- Website: https://sevdesk.com/
- This page (HTML): https://pipedream.com/apps/sevdesk
- Tools: 11 actions · 3 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: sevdesk`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "sevdesk",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Cancel Invoice:
const result = await mcp.callTool({
  name: "sevdesk-cancel-invoice",
  arguments: {
    invoiceId: 10,
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a sevDesk endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://my.sevdesk.de/api/v1/Contact

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9teS5zZXZkZXNrLmRlL2FwaS92MS9Db250YWN0?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "sevdesk-cancel-invoice",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    sevdesk: { authProvisionId: "apn_xxxxxxx" },
    invoiceId: 10,
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (11)

### `sevdesk-cancel-invoice` — Cancel Invoice (Write)

Cancels an existing invoice in sevDesk. See the documentation

Full schema: https://pipedream.com/apps/sevdesk/actions/cancel-invoice.md

### `sevdesk-create-contact` — Create Contact (Write)

Create a new contact. See the documentation

Full schema: https://pipedream.com/apps/sevdesk/actions/create-contact.md

### `sevdesk-create-invoice` — Create Invoice (Write)

Creates a new invoice with optional details like invoice date, due date, discount amount, and invoice items. See the documentation

Full schema: https://pipedream.com/apps/sevdesk/actions/create-invoice.md

### `sevdesk-get-invoice` — Get Invoice (Read-only)

Find and retrieve a single invoice by its ID. See the documentation

Full schema: https://pipedream.com/apps/sevdesk/actions/get-invoice.md

### `sevdesk-get-invoices` — Get Invoices (Read-only)

Retrieve invoices with optional filtering by status, invoice number, date range, and contact. See the documentation

Full schema: https://pipedream.com/apps/sevdesk/actions/get-invoices.md

### `sevdesk-list-address-country-id-options` — List Address Country ID Options (Read-only)

Retrieves available options for the Address Country ID field.

Full schema: https://pipedream.com/apps/sevdesk/actions/list-address-country-id-options.md

### `sevdesk-list-contact-id-options` — List Contact ID Options (Read-only)

Retrieves available options for the Contact ID field.

Full schema: https://pipedream.com/apps/sevdesk/actions/list-contact-id-options.md

### `sevdesk-list-origin-id-options` — List Origin Id Options (Read-only)

Retrieves available options for the Origin Id field.

Full schema: https://pipedream.com/apps/sevdesk/actions/list-origin-id-options.md

### `sevdesk-list-payment-method-id-options` — List Payment Method Id Options (Read-only)

Retrieves available options for the Payment Method Id field.

Full schema: https://pipedream.com/apps/sevdesk/actions/list-payment-method-id-options.md

### `sevdesk-list-tax-set-id-options` — List Tax Set Id Options (Read-only)

Retrieves available options for the Tax Set Id field.

Full schema: https://pipedream.com/apps/sevdesk/actions/list-tax-set-id-options.md

### `sevdesk-send-invoice-email` — Send Invoice Email (Write)

Sends an invoice via email. See the documentation

Full schema: https://pipedream.com/apps/sevdesk/actions/send-invoice-email.md

## Triggers (3)

### `sevdesk-new-contact` — New Contact Created (Polling)

Emit new event when a contact is created in SevDesk.

Full schema: https://pipedream.com/apps/sevdesk/triggers/new-contact.md

### `sevdesk-new-order` — New Order Created (Polling)

Emit new event for each new order created in SevDesk.

Full schema: https://pipedream.com/apps/sevdesk/triggers/new-order.md

### `sevdesk-new-voucher` — New Voucher Created (Polling)

Emit new event when a new voucher is created.

Full schema: https://pipedream.com/apps/sevdesk/triggers/new-voucher.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
