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

Integrate Fonn 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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## 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**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **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**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · create_donation_deposit`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action xledger write create_donation_deposit \
  --inputs '{}'
```

## Fonn

### Identity
Fonn is a management software for construction teams.

- App slug: fonn
- Operations published here: 29 (5 events, 15 functions, 9 queries)

### Authentication
Zapier connects to Fonn 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.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 fonn
```

### Capabilities

#### Events (5)

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

##### New Change Request
Triggers when a change request is created

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

##### New Checklist
Triggers when a checklist is created

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

##### New Issue
Triggers when an issue is created

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

##### Updated Checklist
Triggers when a checklist is updated

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

##### New Document
Triggers when a document is uploaded

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

#### Functions (15)

Functions change something in Fonn.

##### Create Directory
Method that creates new Directory.

- Type: write · Key: `create_directory`
- Requires: projectNumber, title
- Optional: directoryNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "create_directory" })`
- CLI: `npx zapier-sdk run-action fonn write create_directory`

##### Create External Document Revision
Allows to create new revision of the external document.

- Type: write · Key: `create_externaldocument`
- Requires: projectNumber, externalNumber, newExternalNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "create_externaldocument" })`
- CLI: `npx zapier-sdk run-action fonn write create_externaldocument`

##### Create Issue
Method that creates a new Issue

- Type: write · Key: `create_issue`
- Requires: projectNumber, title, description
- Optional: externalNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "create_issue" })`
- CLI: `npx zapier-sdk run-action fonn write create_issue`

##### Create Project
Creates a new Project

- Type: write · Key: `create_project`
- Requires: name, currency, addressStreet, addressCity, addressPostCode, addressCountryCode, type
- Optional: addressState, projectGroupNumber, projectNumber, initalCost, externalFolderNumber, internalNumber, municipalityNumber, cadastralUnitNumber, propertyUnitNumber, leaseholdUnitNumber, condominiumUnitNumber, eircode, externalNumber, timezone, culture, description, latitude, longitude
- SDK: `runAction({ app: "fonn", actionType: "write", action: "create_project" })`
- CLI: `npx zapier-sdk run-action fonn write create_project`

##### Create Project Group
Method that creates new Group for Projects.

- Type: write · Key: `create_projectGroup`
- Requires: name
- Optional: parentNumber, externalNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "create_projectGroup" })`
- CLI: `npx zapier-sdk run-action fonn write create_projectGroup`

##### Delete Checklist Items
Allows to archive all checklists in project

- Type: write · Key: `delete_checklistitems`
- Requires: projectNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "delete_checklistitems" })`
- CLI: `npx zapier-sdk run-action fonn write delete_checklistitems`

##### Delete Checklist Node
Allows to archive checklist node along with whole his content

- Type: write · Key: `delete_checklistnode`
- Requires: projectNumber, checklistNodeNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "delete_checklistnode" })`
- CLI: `npx zapier-sdk run-action fonn write delete_checklistnode`

##### Delete Directory
Allows to delete Directory

- Type: write · Key: `delete_directory`
- Requires: projectNumber, directoryNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "delete_directory" })`
- CLI: `npx zapier-sdk run-action fonn write delete_directory`

##### Delete Document
Allows to delete Document with one or all of it's revisions

- Type: write · Key: `delete_document`
- Requires: projectNumber, documentKey
- Optional: documentNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "delete_document" })`
- CLI: `npx zapier-sdk run-action fonn write delete_document`

##### Invite to Project
Invites a user to the specified project

- Type: write · Key: `invite_to_project`
- Requires: projectNumber, email, role
- Optional: firstName, lastName, comment
- SDK: `runAction({ app: "fonn", actionType: "write", action: "invite_to_project" })`
- CLI: `npx zapier-sdk run-action fonn write invite_to_project`

##### Update Directory
Allows to udpate Directory

- Type: write · Key: `udpate_directory`
- Requires: projectNumber, directoryNumber, title
- SDK: `runAction({ app: "fonn", actionType: "write", action: "udpate_directory" })`
- CLI: `npx zapier-sdk run-action fonn write udpate_directory`

##### Update Checklist Node
Allows to update checklist node

- Type: write · Key: `update_checklistnode`
- Requires: projectNumber, checklistNodeNumber
- Optional: assigneeNumber, name, comment, description, hoursPlanned, progress, sfi, relevantURL
- SDK: `runAction({ app: "fonn", actionType: "write", action: "update_checklistnode" })`
- CLI: `npx zapier-sdk run-action fonn write update_checklistnode`

##### Update Document
Allows to update Document's details

- Type: write · Key: `update_document`
- Requires: projectNumber, documentKey
- Optional: title, directoryNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "update_document" })`
- CLI: `npx zapier-sdk run-action fonn write update_document`

##### Update Project
Updates a project

- Type: write · Key: `update_project`
- Requires: projectOriginalNumber
- Optional: name, currency, addressStreet, addressCity, addressPostCode, addressCountryCode, type, addressState, projectGroupNumber, projectNumber, initalCost, externalFolderNumber, internalNumber, municipalityNumber, cadastralUnitNumber, propertyUnitNumber, leaseholdUnitNumber, condominiumUnitNumber, eircode, externalNumber, timezone, culture, description, latitude, longitude
- SDK: `runAction({ app: "fonn", actionType: "write", action: "update_project" })`
- CLI: `npx zapier-sdk run-action fonn write update_project`

##### Update Project Group
Updates a Project Group

- Type: write · Key: `update_projectGroup`
- Requires: projectGroupNumber
- Optional: name, externalNumber, parentGroupNumber
- SDK: `runAction({ app: "fonn", actionType: "write", action: "update_projectGroup" })`
- CLI: `npx zapier-sdk run-action fonn write update_projectGroup`

#### Queries (9)

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

##### Get Checklist Items
Allows to get a project's checklists

- Type: search · Key: `get_checklistitems`
- Requires: projectNumber
- Optional: checklistNodeNumber, page, limit, search, onlyOverdue, showIrreleveant
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_checklistitems" })`
- CLI: `npx zapier-sdk run-action fonn search get_checklistitems`

##### Get Document
Allows to retrieve Document details

- Type: search · Key: `get_document`
- Requires: projectNumber, documentKey
- Optional: documentNumber
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_document" })`
- CLI: `npx zapier-sdk run-action fonn search get_document`

##### Get Documents
Allows to retrieve project's documents and folders(directories)

- Type: search · Key: `get_documents`
- Requires: projectNumber
- Optional: directoryNumber, page, limit, sortOrder
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_documents" })`
- CLI: `npx zapier-sdk run-action fonn search get_documents`

##### Get External Documents
Returns external document associated with Fonn internal entity (like Issues)

- Type: search · Key: `get_externaldocument`
- Requires: projectNumber, externalNumber
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_externaldocument" })`
- CLI: `npx zapier-sdk run-action fonn search get_externaldocument`

##### Get External Documents
Returns external documents associated with Fonn internal entities (like Issues)

- Type: search · Key: `get_externaldocuments`
- Requires: projectNumber
- Optional: page, limit
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_externaldocuments" })`
- CLI: `npx zapier-sdk run-action fonn search get_externaldocuments`

##### Get Issues
Get Issues from a specified Project

- Type: search · Key: `get_issues`
- Requires: projectNumber
- Optional: search, page, limit, hideResolved
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_issues" })`
- CLI: `npx zapier-sdk run-action fonn search get_issues`

##### Get Project
Gets a single project based on id

- Type: search · Key: `get_project`
- Requires: projectNumber
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_project" })`
- CLI: `npx zapier-sdk run-action fonn search get_project`

##### Get Projects and Project Groups
Method that returns top-level Projects and Groups.
Filtering by externalId will be executed on ALL projects, not only in the top-level

- Type: search · Key: `get_projects`
- Requires: nothing
- Optional: search, parentNumber, externalNumber, page, limit, sortByLastUpdate
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_projects" })`
- CLI: `npx zapier-sdk run-action fonn search get_projects`

##### Get Projects
Method that returns organization projects.

- Type: search · Key: `get_projects_by_organization`
- Requires: organizationNumber
- Optional: search, page, limit
- SDK: `runAction({ app: "fonn", actionType: "search", action: "get_projects_by_organization" })`
- CLI: `npx zapier-sdk run-action fonn search get_projects_by_organization`

## 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.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 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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 Fonn 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
- Fonn integrations: zapier.com/apps/fonn/integrations.md
- Xledger integrations: zapier.com/apps/xledger/integrations.md
- Full page: zapier.com/apps/fonn/integrations/xledger
- SDK: npmjs.com/package/@zapier/zapier-sdk