---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# DonorDock + Xledger Integrations: Connect with Zapier MCP
> zapier.com/apps/donordock/integrations/xledger
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate DonorDock and Xledger in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## 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).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **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 `donordock` and `xledger`, then `enable_zapier_action`. If DonorDock or Xledger isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: once Create Donation Deposit is enabled, call `xledger_create_donation_deposit`. 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: "xledger", owner: "me" });

const { data } = await zapier.runAction({
  app: "xledger",
  actionType: "write",
  action: "create_donation_deposit",
  connection: connection.id,
  inputs: {
    account: "", // Account
    payMethod: "", // Pay method
    currency: "", // Currency
    bankAccount: "", // Bank Account
    detailAmount: "", // Detail Amount
    detailDonor: "", // Detail Donor
    detailProject: "", // Detail Project
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action xledger write create_donation_deposit \
  --inputs '{"account":"","payMethod":"","currency":"","bankAccount":"","detailAmount":"","detailDonor":"","detailProject":""}'
```

## DonorDock

### Identity
DonorDock is a CRM designed for small nonprofits that helps you raise more money in less time.

- App slug: donordock
- Operations published here: 26 (11 events, 12 functions, 2 queries, 1 search-or-write action)

### Authentication
Zapier connects to DonorDock 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 donordock
```

### Capabilities

#### Events (11)

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

##### New Badge Added to Contact
Triggers when a new badge is added to a contact record.

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

##### Gift Batch Closed
Triggered when a gift batch is closed in DonorDock.

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

##### Gift Updated
Triggers when a gift is updated in DonorDock

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

##### Contact Added to Marketing List
Triggers when a contact is added to a marketing list.

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

##### New Activity Created
Triggers when a new activity is created in DonorDock.

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

##### New Appeal Created
Triggers when a new appeal is created.

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

##### New Campaign Created
Triggers when a new campaign is created.

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

##### New Contact Created
Triggers when a new contact is added to DonorDock.

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

##### New Fund Created
Triggers when a new fund is created.

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

##### New Gift Created
Triggers when a new gift is created.

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

##### Contact Updated
Triggers when a contact is updated in DonorDock.

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

#### Functions (12)

Functions change something in DonorDock.

##### Add Badge to Contact
Adds a badge to a contact.

- Type: write · Key: `add_badge`
- Requires: badgeName
- Optional: contactId, contactAccountNumber, contactEmail
- MCP tool: `donordock_add_badge_to_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "add_badge" })`
- CLI: `npx zapier-sdk run-action donordock write add_badge`

##### Create Activity
Creates a new activity.

- Type: write · Key: `create_activity`
- Requires: subject, scheduledDate
- Optional: type, contactAccountNumber, contactId, contactEmail, status, assignedToEmail, body, priority, contactName, dueDate, completedBy, completedDate, completionNotes, location, campaign, appeal, volunteerHours, addToActionBoard
- MCP tool: `donordock_create_activity` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "create_activity" })`
- CLI: `npx zapier-sdk run-action donordock write create_activity`

##### Create Appeal
Creates a new Appeal.

- Type: write · Key: `create_appeal`
- Requires: name
- Optional: description, startDate, endDate, appealType
- MCP tool: `donordock_create_appeal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "create_appeal" })`
- CLI: `npx zapier-sdk run-action donordock write create_appeal`

##### Create Campaign
Creates a new campaign in DonorDock.

- Type: write · Key: `create_campaign`
- Requires: name
- Optional: description, startDate, endDate
- MCP tool: `donordock_create_campaign` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "create_campaign" })`
- CLI: `npx zapier-sdk run-action donordock write create_campaign`

##### Create Contact
Creates a new Contact in DonorDock.

- Type: write · Key: `create_contact`
- Requires: nothing
- Optional: firstName, lastName, address1, address2, address3, city, stateOrProvince, postalCode, country, email, type, mobilePhone, mainPhone, deceased, description, dob, doNotSolicit, organizationName, salutation, addressee, integrationId, owner, badges, marketingLists
- MCP tool: `donordock_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action donordock write create_contact`

##### Create Fund
Creates a new fund in DonorDock.

- Type: write · Key: `create_fund`
- Requires: name
- Optional: description, accountNumber
- MCP tool: `donordock_create_fund` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "create_fund" })`
- CLI: `npx zapier-sdk run-action donordock write create_fund`

##### Create Gift
Creates a new Gift in DonorDock.

- Type: write · Key: `create_gift`
- Requires: transactionType, receivedAmount, date, status
- Optional: contactId, accountNumber, email, integrationId, softCreditAmount, pledgedAmount, type, nonDeductibleAmount, feeAmount, feesCovered, paymentId, campaignName, appealName, tributeDescription, fundAccountNumber, fundName, paymentDescription, depositDate, firstName, lastName, address1, address2, address3, postalCode, city, stateOrProvince, country, mobilePhone, mainPhone, deceased, salutation, addressee, description, dob, doNotSolicit, organizationName, trackingCode, sendReceipt, giftTags
- MCP tool: `donordock_create_gift` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "create_gift" })`
- CLI: `npx zapier-sdk run-action donordock write create_gift`

##### Create Pledge
Create a pledge in DonorDock

- Type: write · Key: `create_pledge`
- Requires: pledgedTotal, pledgeInterval, pledgeInstallments, pledgeStartDate
- Optional: contactId, accountNumber, email, notes, campaign, appeal, fund, firstName, lastName, address1, address2, address3, city, stateOrProvince, postalCode, country, mobilePhone, mainPhone, deceased, salutation, addressee, dob, doNotSolicit, organizationName
- MCP tool: `donordock_create_pledge` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "create_pledge" })`
- CLI: `npx zapier-sdk run-action donordock write create_pledge`

##### Add Contact to Marketing List
Adds the contact to a specified marketing list.

- Type: write · Key: `marketing_list_add`
- Requires: marketingListName
- Optional: contactId, contactAccountNumber, contactEmail
- MCP tool: `donordock_add_contact_to_marketing_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "marketing_list_add" })`
- CLI: `npx zapier-sdk run-action donordock write marketing_list_add`

##### Send Template Email
Send a template-based email through the DonorDock email system.

- Type: write · Key: `sendTemplateEmail`
- Requires: templateName, subject, fromEmail
- Optional: contactId, contactEmail, contactAccountNumber, contactIntegrationId
- MCP tool: `donordock_send_template_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "sendTemplateEmail" })`
- CLI: `npx zapier-sdk run-action donordock write sendTemplateEmail`

##### Update Contact
Updates a contact in DonorDock.

- Type: write · Key: `update_contact`
- Requires: contactId
- Optional: memberId, title, firstName, middleName, lastName, suffix, nickname, formerName, organizationName, email, mainPhone, mobilePhone, fax, website, address1, address2, address3, city, stateOrProvince, country, dob, salutation, addressee, spouseFirst, spouseLast, employer, jobTitle, description, exceptionNotes, doNotSolicit, badges, marketingLists
- MCP tool: `donordock_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action donordock write update_contact`

##### Update Gift
Updates a gift in DonorDock.

- Type: write · Key: `update_gift`
- Requires: giftId
- Optional: date, receivedAmount, nonDeductibleAmount, softCreditAmount, feeAmount, feesCovered, paymentId, paymentDescription, trackingCode, tributeDescription, transactionType, status, type, appealName, campaignName, fundAccountNumber, fundName, giftTags
- MCP tool: `donordock_update_gift` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "write", action: "update_gift" })`
- CLI: `npx zapier-sdk run-action donordock write update_gift`

#### Queries (2)

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

##### Find Contact
Finds a contact in DonorDock

- Type: search · Key: `find_contacts`
- Requires: nothing
- Optional: integrationId, accountNumber, memberId, email, phone, anonymous
- MCP tool: `donordock_find_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "search", action: "find_contacts" })`
- CLI: `npx zapier-sdk run-action donordock search find_contacts`

##### Find Contact Custom Fields
Returns custom fields of a found contact in DonorDock.

- Type: search · Key: `find_contact_custom_fields`
- Requires: nothing
- Optional: contactId, integrationId, accountNumber, memberId
- MCP tool: `donordock_find_contact_custom_fields` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "donordock", actionType: "search", action: "find_contact_custom_fields" })`
- CLI: `npx zapier-sdk run-action donordock search find_contact_custom_fields`

#### Search or Write Actions (1)

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

##### Find or Create Contacts
Finds a contact in DonorDock

- Type: search_or_write · Key: `find_contacts`
- Requires: nothing
- Optional: integrationId, accountNumber, memberId, email, phone, anonymous, firstName, lastName, address1, address2, address3, city, stateOrProvince, postalCode, country, type, mobilePhone, mainPhone, deceased, description, dob, doNotSolicit, organizationName, salutation, addressee, owner, badges, marketingLists
- SDK: `runAction({ app: "donordock", actionType: "search_or_write", action: "find_contacts" })`
- CLI: `npx zapier-sdk run-action donordock search_or_write find_contacts`

## Xledger

### Identity
Xledger is cloud based accounting platform. It leverages automation to save users time and use complex worflows.

- App slug: xledger
- Operations published here: 28 (10 events, 18 functions)

### Authentication
Zapier connects to Xledger 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 xledger
```

### Capabilities

#### Events (10)

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

##### Newly Modified AP Transactions.
Triggers when an AP transaction is modified.

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

##### Newly Modified AR Transactions.
Triggers when an AR transaction is modified.

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

##### Newly Modified Customers
Triggers when a customer is modified.

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

##### Newly Modified Donors
Triggers when a donor is modified.

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

##### Newly Modified Journal Entries
Triggers when a journal entry is modified.

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

##### Newly Modified Projects
Triggers when a project is modified.

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

##### Newly Modified Purchase Orders
Triggers when a purchase order is modified.

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

##### Newly Modified Suppliers
Triggers when a supplier is modified.

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

##### Newly Modified Timesheets
Triggers when a timesheet is modified.

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

##### Newly Reconciled Customer Invoices
Triggers when a customer invoice is reconciled and its remaining amount is zero.

- Type: read · Key: `newly_reconciled_customer_invoices`
- Requires: nothing
- Optional: extIdentifier, records
- MCP tool: `xledger_newly_reconciled_customer_invoices` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "read", action: "newly_reconciled_customer_invoices" })`
- CLI: `npx zapier-sdk run-action xledger read newly_reconciled_customer_invoices`

#### Functions (18)

Functions change something in Xledger.

##### Create Donation Deposit
Creates a donation deposit along with one row of details.

- Type: write · Key: `create_donation_deposit`
- Requires: account, payMethod, currency, bankAccount, detailAmount, detailDonor, detailProject
- Optional: postedDate, text, amount, fee, detailText, detailExtIdentifier
- MCP tool: `xledger_create_donation_deposit` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_donation_deposit" })`
- CLI: `npx zapier-sdk run-action xledger write create_donation_deposit`

##### Create Double Entry GL Item
Creates both credit and debit GL import items, The debit amount will always be the original amount while the credit will be its negative value. For example, is a transaction with a gross value of £100 is processed the DR line amount will be 100 while the credit line will be -100.

- Type: write · Key: `create_double_entry_gl_item`
- Requires: trRegNumber, transactionSource, creditAccount, debitAccount, postedDate, text, amount, currency
- Optional: dueDate, invoiceNumber, extIdentifier, creditTaxRule, debitTaxRule, creditSubledgerCode, debitSubledgerCode, creditBankAccount, debitBankAccount, jobLevel, workflow, crGlObject1Code, drGlObject1Code, crGlObject2Code, drGlObject2Code, crXgl, drXgl
- MCP tool: `xledger_create_double_entry_gl_item` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_double_entry_gl_item" })`
- CLI: `npx zapier-sdk run-action xledger write create_double_entry_gl_item`

##### Create Employee
Creates an employee in Xledger. This include user, contact and supplier creation.
The new employee and user will have the employee role by default.

- Type: write · Key: `create_employee`
- Requires: code, firstName, lastName, email, streetAddress, zipcode, place
- Optional: fromDate, mobile
- MCP tool: `xledger_create_employee` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_employee" })`
- CLI: `npx zapier-sdk run-action xledger write create_employee`

##### Create Expense Detail
Creates an expense detail line.

- Type: write · Key: `create_expense_detail`
- Requires: date, employeeCode, expenseType, accountDescription, amount, approved, readyForApproval
- Optional: text, glObject1Code, glObject2Code, xgl
- MCP tool: `xledger_create_expense_detail` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_expense_detail" })`
- CLI: `npx zapier-sdk run-action xledger write create_expense_detail`

##### Create GL Import Item
Creates a GL import item.

- Type: write · Key: `create_gl_entry`
- Requires: trRegNumber, transactionSource, account, postedDate, text, amount, currency
- Optional: extIdentifier, taxRule, bankAccount, jobLevel, glObject1Code, glObject2Code, glObject3Code, glObject4Code, glObject5Code, xgl
- MCP tool: `xledger_create_gl_import_item` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_gl_entry" })`
- CLI: `npx zapier-sdk run-action xledger write create_gl_entry`

##### Create Invoice Base Line
Creates an invoice line in the invoice base.

- Type: write · Key: `create_invoice_base_line`
- Requires: invoiceDate, transactionDate, subledger, product, quantity, unitPrice, currency, approved
- Optional: order, text, taxRule, glObject1Code, glObject2Code, glObject3Code, glObject4Code, glObject5Code, xgl, warehouse, location, extIdentifier, extOrder, jobLevel
- MCP tool: `xledger_create_invoice_base_line` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_invoice_base_line" })`
- CLI: `npx zapier-sdk run-action xledger write create_invoice_base_line`

##### Create or Update Company and Customer
Creates a new company and customer, if the code is already used in Xledger, the existing company or customer is updated instead. This action allows to link multiple customers to one company.

- Type: write · Key: `create_or_update_company_and_customer`
- Requires: companyCode, companyDescription, customerCode, customerDescription, streetAddress, zipCode, place, country
- Optional: companyNumber, cemail, cstreetAddress, czipCode, cplace, ccountry, cphone, email, name, phone
- MCP tool: `xledger_create_or_update_company_and_customer` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_or_update_company_and_customer" })`
- CLI: `npx zapier-sdk run-action xledger write create_or_update_company_and_customer`

##### Create or Update Customer
Creates a new customer, if the code is already used in Xledger, the existing customer is updated instead.

- Type: write · Key: `create_or_update_customer`
- Requires: code, description, streetAddress, zipCode, place
- Optional: email, name, phone
- MCP tool: `xledger_create_or_update_customer` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_or_update_customer" })`
- CLI: `npx zapier-sdk run-action xledger write create_or_update_customer`

##### Create or Update Donor
Creates a new donor, if the code is already used in Xledger, the existing donor is updated instead.

- Type: write · Key: `create_or_update_donor`
- Requires: code, streetAddress, zipCode, place
- Optional: email, description, name, phone
- MCP tool: `xledger_create_or_update_donor` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_or_update_donor" })`
- CLI: `npx zapier-sdk run-action xledger write create_or_update_donor`

##### Create or Update a Project
Creates a new project, if the code is already used in Xledger, the existing project is updated instead.

- Type: write · Key: `create_or_update_project`
- Requires: code, description, fromDate, billable, timesheetEntry, fundProject
- Optional: glObject1Code, glObject2Code, glObject3Code, glObject4Code, glObject5Code, xgl
- MCP tool: `xledger_create_or_update_a_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_or_update_project" })`
- CLI: `npx zapier-sdk run-action xledger write create_or_update_project`

##### Create or Update Supplier
Creates a new supplier, if the code is already used in Xledger, the existing supplier is updated instead.

- Type: write · Key: `create_or_update_supplier`
- Requires: code, description, streetAddress, zipCode, place
- Optional: email, name, phone
- MCP tool: `xledger_create_or_update_supplier` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_or_update_supplier" })`
- CLI: `npx zapier-sdk run-action xledger write create_or_update_supplier`

##### Create Purchase Order Detail
Creates a purchase order detail, i.e a purchase order line.

- Type: write · Key: `create_PO_detail`
- Requires: purchaseOrderHeaderDb, quantity, unitPrice, productCode, receivedQuantity
- Optional: text, taxRule, glObject1Code, glObject2Code, glObject3Code, glObject4Code, glObject5Code, xgl
- MCP tool: `xledger_create_purchase_order_detail` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_PO_detail" })`
- CLI: `npx zapier-sdk run-action xledger write create_PO_detail`

##### Create Purchase Order Header
Creates a purchase order header, use this before creating PO details.

- Type: write · Key: `create_po_header`
- Requires: subledgerCode, currency
- Optional: extOrder
- MCP tool: `xledger_create_purchase_order_header` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_po_header" })`
- CLI: `npx zapier-sdk run-action xledger write create_po_header`

##### Create Sales Order Detail
Creates a sales order detail i.e a sales order line.

- Type: write · Key: `create_so_detail`
- Requires: salesOrderHeaderDb, quantity, unitPrice, productCode, taxRule
- Optional: text, glObject1Code, glObject2Code, glObject3Code, glObject4Code, glObject5Code
- MCP tool: `xledger_create_sales_order_detail` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_so_detail" })`
- CLI: `npx zapier-sdk run-action xledger write create_so_detail`

##### Create Sales Order Header
Creates a sales order header, use this before creating SO details.

- Type: write · Key: `create_so_header`
- Requires: customerCode, currency
- Optional: extOrder
- MCP tool: `xledger_create_sales_order_header` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_so_header" })`
- CLI: `npx zapier-sdk run-action xledger write create_so_header`

##### Create Timesheet Entry
Creates a timesheet entry.

- Type: write · Key: `create_timesheet_entry`
- Requires: employee, project, activity, assignmentDate, timeType
- Optional: text, workingHours, invoiceHours
- MCP tool: `xledger_create_timesheet_entry` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "xledger", actionType: "write", action: "create_timesheet_entry" })`
- CLI: `npx zapier-sdk run-action xledger write create_timesheet_entry`

##### Get Supplier by Code
Return a supplier's dbId and bankAccount from its code

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

##### Update Purchase Order Status
Updates the PO status to transferred.

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

## Frequently asked questions about automating with DonorDock and Xledger

### 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
- DonorDock integrations: zapier.com/apps/donordock/integrations.md
- Xledger integrations: zapier.com/apps/xledger/integrations.md
- Full page: zapier.com/apps/donordock/integrations/xledger
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk