# Zapier — The Bookie Integrations
> zapier.com/apps/the-bookie/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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
The Bookie is a full service accounting tool. Manage your company's finances online and let our accountants handle everything with the tax authorities.

- App slug: the-bookie
- Operations published here: 9 (3 events, 4 functions, 1 query, 1 search-or-write action)

## Authentication
Zapier connects to The Bookie via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; 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 the-bookie
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

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

### Getting Started
- **MCP**: connect The Bookie through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · attachment_create`.
- **SDK**:

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

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "the-bookie", owner: "me" });

const { data } = await zapier.runAction({
  app: "the-bookie",
  actionType: "write",
  action: "attachment_create",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action the-bookie write attachment_create \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing The Bookie'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: "the-bookie" }).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 the-bookie --page-size 50 --max-items 200 --json
```

### Events (3)

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

#### Contact Created / Updated
Triggers when a contact was created/updated in your address book.

- Type: read · Key: `contact_created`
- Requires: event
- SDK: `runAction({ app: "the-bookie", actionType: "read", action: "contact_created" })`
- CLI: `npx zapier-sdk run-action the-bookie read contact_created`

#### Sales Invoice Created
Triggers when new Invoice is created.

- Type: read · Key: `salesjournalentry_created`
- Requires: nothing
- SDK: `runAction({ app: "the-bookie", actionType: "read", action: "salesjournalentry_created" })`
- CLI: `npx zapier-sdk run-action the-bookie read salesjournalentry_created`

#### Sales Invoice Paid
Triggers when invoice state is changed to paid.

- Type: read · Key: `salesjournalentry_paid`
- Requires: nothing
- SDK: `runAction({ app: "the-bookie", actionType: "read", action: "salesjournalentry_paid" })`
- CLI: `npx zapier-sdk run-action the-bookie read salesjournalentry_paid`

### Functions (4)

Functions change something in The Bookie.

#### Inbox Attachment
Uploads a file. Only works on zapier-platform-core v10+.

- Type: write · Key: `attachment_create`
- Requires: filename, file
- SDK: `runAction({ app: "the-bookie", actionType: "write", action: "attachment_create" })`
- CLI: `npx zapier-sdk run-action the-bookie write attachment_create`

#### Create Contact
Create a Contact in Address Book

- Type: write · Key: `contact_create`
- Requires: organisation_name
- Optional: is_supplier, is_client, street, street_number, street_number_addition, extra_address_line, postal_code, town, country, organisation_btw_number, email, extra_info, first_name, last_name
- SDK: `runAction({ app: "the-bookie", actionType: "write", action: "contact_create" })`
- CLI: `npx zapier-sdk run-action the-bookie write contact_create`

#### Purchase Invoice Create
Creates an incoming invoice

- Type: write · Key: `purchaseinvoice_create`
- Requires: invoice_date, description, amount, amount_btw, master_ledger_account
- Optional: payment_ref, btw_shifted, contains_revenue, btw_type, attachment, attachment_url
- SDK: `runAction({ app: "the-bookie", actionType: "write", action: "purchaseinvoice_create" })`
- CLI: `npx zapier-sdk run-action the-bookie write purchaseinvoice_create`

#### Sales Invoice Create
Create a Sales Invoice

- Type: write · Key: `salesjournalentry_create`
- Requires: btw_shifted, description, amount, quantity
- Optional: invoice_number, invoice_date, generate_pdf, btw_type
- SDK: `runAction({ app: "the-bookie", actionType: "write", action: "salesjournalentry_create" })`
- CLI: `npx zapier-sdk run-action the-bookie write salesjournalentry_create`

### Queries (1)

Queries read from The Bookie and return data. They change nothing.

#### Search Contacts
Search Contacts from Address Book

- Type: search · Key: `search_contacts`
- Requires: organisation_name
- SDK: `runAction({ app: "the-bookie", actionType: "search", action: "search_contacts" })`
- CLI: `npx zapier-sdk run-action the-bookie search search_contacts`

### Search or Write Actions (1)

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

#### Find or Create Contact
Search Contacts from Address Book

- Type: search_or_write · Key: `search_contacts`
- Requires: organisation_name
- Optional: is_supplier, is_client, street, street_number, street_number_addition, extra_address_line, postal_code, town, country, organisation_btw_number, email, extra_info, first_name, last_name
- SDK: `runAction({ app: "the-bookie", actionType: "search_or_write", action: "search_contacts" })`
- CLI: `npx zapier-sdk run-action the-bookie search_or_write search_contacts`

## Popular integrations
- [The Bookie + Shopify](zapier.com/apps/the-bookie/integrations/shopify.md)
- [The Bookie + Gmail](zapier.com/apps/the-bookie/integrations/gmail.md)
- [The Bookie + Slack](zapier.com/apps/the-bookie/integrations/slack.md)
- [The Bookie + HubSpot](zapier.com/apps/the-bookie/integrations/hubspot.md)
- [The Bookie + Facebook Lead Ads](zapier.com/apps/the-bookie/integrations/facebook-lead-ads.md)
- [The Bookie + Mailchimp](zapier.com/apps/the-bookie/integrations/mailchimp.md)
- [The Bookie + Stripe](zapier.com/apps/the-bookie/integrations/stripe.md)
- [The Bookie + Salesforce](zapier.com/apps/the-bookie/integrations/salesforce.md)
- [The Bookie + monday.com](zapier.com/apps/the-bookie/integrations/monday.md)
- [The Bookie + Asana](zapier.com/apps/the-bookie/integrations/asana.md)
- [The Bookie + ActiveCampaign](zapier.com/apps/the-bookie/integrations/activecampaign.md)
- [The Bookie + Pipedrive](zapier.com/apps/the-bookie/integrations/pipedrive.md)
- [The Bookie + Discord](zapier.com/apps/the-bookie/integrations/discord.md)
- [The Bookie + Klaviyo](zapier.com/apps/the-bookie/integrations/klaviyo.md)
- [The Bookie + Dubsado](zapier.com/apps/the-bookie/integrations/dubsado.md)
- [The Bookie + Ghost](zapier.com/apps/the-bookie/integrations/ghost.md)

## Links
- Full app page: zapier.com/apps/the-bookie/integrations
- MCP: zapier.com/mcp/the-bookie
- SDK: npmjs.com/package/@zapier/zapier-sdk