---
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/"
---

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

Integrate Docsumo 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 `docsumo` and `xledger`, then `enable_zapier_action`. If Docsumo 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":""}'
```

## Docsumo

### Identity
Convert unstructured documents like pay stubs, invoices, and bank statements into actionable data effortlessly with Docsumo's Intelligent OCR technology.

- App slug: docsumo
- Operations published here: 2 (1 event, 1 function)

### Authentication
Zapier connects to Docsumo 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 docsumo
```

### Capabilities

#### Events (1)

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

##### Document Status Changed
Triggers when the status of the document is changed.

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

#### Functions (1)

Functions change something in Docsumo.

##### Upload Document
Uploads a new document to you Docsumo account

- Type: write · Key: `upload_doc`
- Requires: file, doc_type
- MCP tool: `docsumo_upload_document` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "docsumo", actionType: "write", action: "upload_doc" })`
- CLI: `npx zapier-sdk run-action docsumo write upload_doc`

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