Lark Integration

lark integration

Install Lark Integration

bench get-app https://github.com/maxfu9/lark_integration

Add the Frappe Gems badge to your README

Maintain Lark Integration? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=maxfu9%2Flark_integration)](https://frappegems.com/gems/apps/maxfu9/lark_integration)

About Lark Integration

Lark Integration for ERPNext

This app synchronizes ERPNext transactions (Sales Invoices, Purchase Invoices, Payment Entries, Expense Claims, and Journal Entries) to a Lark Bitable in real-time using Frappe Hooks and background workers.

Features

  • Automated Sync: Triggers on document submission (on_submit).
  • Cancellation Handling: Automatically updates Lark records to "Cancelled" when a document is cancelled in ERPNext.
  • Journal Entry Support: Detects invoice references within Journal Entries and updates the corresponding Invoice status/outstanding amount in Lark.
  • PDF Attachments: Generates and uploads the ERPNext Print Format PDF directly to the Lark record.
  • Background Processing: Uses frappe.enqueue to ensure the user interface remains fast.

Configuration

Open api.py and update the following constants with your Lark App credentials:

  • APP_ID: Your Lark App ID.
  • APP_SECRET: Your Lark App Secret.
  • APP_TOKEN: The Token/ID of your Lark Bitable.
  • TABLE_IDs: Ensure the Table IDs match your specific Bitable tabs.

Installation

  1. Push this code to your GitHub repository.
  2. In your bench environment: ```bash bench get-app https://github.com/maxfu9/lark_integration.git bench install-app lark_integration bench migrate bench restart

Related Integrations apps for Frappe & ERPNext

  • Insights — Open Source Business Intelligence Tool
  • Raven — Simple, open source team messaging platform
  • Frappe Whatsapp — WhatsApp cloud integration for frappe
  • Frappe Assistant Core — Infrastructure that connects LLMs to ERPNext. Frappe Assistant Core works with the Model Context Protocol (MCP) to expose ERPNext functionality to any compatible Language Model
  • Biometric Attendance Sync Tool — A simple tool for syncing Biometric Attendance data with your ERPNext server
  • Frappe React Sdk — React hooks for Frappe
  • Frappe Js Sdk — TypeScript/JavaScript library for Frappe REST API
  • Mcp — Frappe MCP allows Frappe apps to function as MCP servers