Socket
Book a DemoInstallSign in
Socket

@arathron/n8n-nodes-zoho-books

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arathron/n8n-nodes-zoho-books

n8n community node for Zoho Books API integration - Complete CRUD operations for Sales Orders, Invoices, Items, Vendors, Credit Notes, Payments, Purchase Orders, Bills, and Composite Items

Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
84
55.56%
Maintainers
1
Weekly downloads
 
Created
Source

n8n-nodes-zoho-books

This is an n8n community node. It lets you use Zoho Books in your n8n workflows.

Zoho Books is a cloud-based accounting software that helps you manage your finances, automate business workflows, and work collectively across departments.

n8n is a fair-code licensed workflow automation platform.

Table of Contents

Installation

Follow the installation guide in the n8n community nodes documentation.

Using npm

  • Navigate to your n8n installation directory
  • Install the node:
    npm install n8n-nodes-zoho-books
    
  • Restart n8n

Manual Installation

  • Clone or download this repository
  • Copy the n8n-nodes-zoho-books folder to your n8n custom nodes folder
  • Install dependencies:
    cd /path/to/n8n-custom-nodes/n8n-nodes-zoho-books
    npm install
    
  • Build the node:
    npm run build
    
  • Restart n8n

Authentication

This node uses OAuth2 authentication to connect to Zoho Books. Follow these steps to set up authentication:

1. Create Zoho OAuth Client

  • Go to Zoho API Console
  • Click on "Add Client"
  • Choose "Server-based Applications"
  • Fill in the details:
    • Client Name: n8n Zoho Books Integration (or any name you prefer)
    • Homepage URL: Your n8n instance URL
    • Authorized Redirect URIs: https://your-n8n-instance.com/rest/oauth2-credential/callback
  • Click "Create"
  • Note down the Client ID and Client Secret

2. Get Organization ID

  • Log in to your Zoho Books account
  • Go to Settings > Organization Profile
  • Copy your Organization ID

3. Configure Credentials in n8n

  • In n8n, go to Credentials > New
  • Select Zoho Books OAuth2 API
  • Configure the following:
    • Data Center: Select your Zoho data center (COM, EU, IN, AU, or CN)
    • Organization ID: Paste your Organization ID
    • Client ID: Paste from Zoho API Console
    • Client Secret: Paste from Zoho API Console
  • Click Save to create the credentials
  • Click Connect to authenticate
  • Authorize the requested permissions in the Zoho popup

Authentication Setup Screenshot Screenshot: Zoho Books OAuth2 credential configuration in n8n

Operations

The Zoho Books node supports the following operations across different resources:

Standard Operations

  • Create: Create a new record
  • Get: Retrieve a single record by ID
  • Get Many: Retrieve multiple records with optional filtering
  • Update: Update an existing record
  • Delete: Delete or void a record

Resources

1. Sales Order

Manage sales orders in your Zoho Books account.

Operations:

  • Create sales order
  • Get sales order details
  • List all sales orders
  • Update sales order
  • Void sales order

2. Invoice

Handle customer invoices and billing.

Operations:

  • Create invoice
  • Get invoice details
  • List all invoices
  • Update invoice
  • Void invoice

3. Item

Manage products and services.

Operations:

  • Create item
  • Get item details
  • List all items
  • Update item
  • Delete item

4. Payment

Track customer payments.

Operations:

  • Record payment
  • Get payment details
  • List all payments
  • Update payment
  • Delete payment

5. Vendor

Manage vendor/supplier information.

Operations:

  • Create vendor
  • Get vendor details
  • List all vendors
  • Update vendor
  • Delete vendor

6. Credit Note

Handle credit notes for returns and adjustments.

Operations:

  • Create credit note
  • Get credit note details
  • List all credit notes
  • Update credit note
  • Void credit note

Usage Examples

Example 1: Create an Invoice

{
  "resource": "invoice",
  "operation": "create",
  "customerId": "{{$node.Customer.json.contact_id}}",
  "lineItems": {
    "item": [
      {
        "item_id": "{{$node.Item.json.item_id}}",
        "quantity": 2,
        "rate": 99.99
      }
    ]
  },
  "additionalFields": {
    "date": "2024-01-15",
    "notes": "Thank you for your business!"
  }
}

Example 2: List Recent Sales Orders

{
  "resource": "salesOrder",
  "operation": "getAll",
  "returnAll": false,
  "limit": 10,
  "filters": {
    "status": "open",
    "fromDate": "2024-01-01"
  }
}

Example 3: Record a Payment

{
  "resource": "payment",
  "operation": "create",
  "customerId": "{{$node.Customer.json.contact_id}}",
  "paymentMode": "creditcard",
  "amount": 199.98,
  "additionalFields": {
    "date": "2024-01-15",
    "referenceNumber": "PAY-2024-001"
  }
}

Common Workflows

1. Order to Invoice Automation

Workflow: Automatically create invoices from confirmed sales orders

  • Trigger: Webhook or schedule trigger
  • Zoho Books - Get Sales Orders: Fetch confirmed orders
  • Zoho Books - Create Invoice: Convert each order to invoice
  • Email: Send invoice to customer

2. Payment Reconciliation

Workflow: Match bank transactions with customer payments

  • Bank API: Fetch new transactions
  • Zoho Books - Get Customers: Match by reference
  • Zoho Books - Create Payment: Record matched payments
  • Slack: Notify finance team

3. Inventory Management

Workflow: Update item stock levels from external system

  • External System: Get stock levels
  • Zoho Books - Get Items: Fetch current items
  • Compare: Calculate differences
  • Zoho Books - Update Items: Update stock levels

4. Vendor Bill Processing

Workflow: Automate vendor bill creation from emails

  • Email Trigger: New vendor email
  • Extract Data: Parse bill details
  • Zoho Books - Create Vendor: Create if new
  • Zoho Books - Create Bill: Record the bill

5. Monthly Reporting

Workflow: Generate monthly sales reports

  • Schedule Trigger: First day of month
  • Zoho Books - Get Invoices: Last month's invoices
  • Aggregate Data: Calculate totals
  • Create Report: Format data
  • Email/Slack: Send to stakeholders

Troubleshooting

Common Issues

Authentication Errors

  • Invalid Organization ID: Verify the Organization ID in Zoho Books Settings
  • Token Expired: Re-authenticate by clicking "Connect" in credentials
  • Insufficient Permissions: Ensure the OAuth app has ZohoBooks.fullaccess.all scope

API Errors

  • Rate Limiting: The node implements automatic retry with exponential backoff
  • Invalid Data: Check required fields and data formats
  • Resource Not Found: Verify IDs are correct and resources exist

Data Issues

  • Missing Line Items: Line items are required for invoices and sales orders
  • Currency Mismatch: Ensure currency matches organization settings
  • Tax Calculation: Configure tax settings in Zoho Books first

Error Messages

Error CodeDescriptionSolution
1002Invalid dataCheck field formats and required fields
1001Resource not foundVerify the ID exists
4000Rate limit exceededWait and retry, node handles automatically
1000Invalid Organization IDCheck credentials configuration

Debug Mode

To enable detailed logging:

  • Set n8n log level to debug
  • Check execution data for API responses
  • Use "Console" node to inspect data structure

Resources

Version History

See CHANGELOG.md for version history and updates.

Contributing

See CONTRIBUTING.md for contribution guidelines.

License

MIT

Keywords

n8n-community-node-package

FAQs

Package last updated on 21 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts