返回顶部
t

tally-prime-ca

>-

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.3
安全检测
已通过
116
下载量
0
收藏
概述
安装方式
版本历史

tally-prime-ca

# TallyPrime (CA) Skill Connect to a **locally running** TallyPrime instance via its **XML-over-HTTP** interface. All requests are HTTP POST to `$TALLY_URL` (commonly `http://localhost:9000`) with an XML body. - **No cloud API**: TallyPrime must be open/running on the user’s machine. - **Multi-company**: Always use the correct `SVCURRENTCOMPANY` (exact spelling). ## Hero Use Case: WhatsApp invoice → Tally entry Goal: zero manual entry for CAs handling many clients. 1. Read bill/invoice (PDF/image) and extract: company, party, GSTIN, date, invoice no, taxable, tax, total, ledger mapping. 2. Ensure masters exist: party ledger, purchase/sales ledger, GST ledger(s), bank/cash ledger (if needed). 3. Post voucher with a **unique GUID**. 4. Confirm a summary back to the user. ## When to use this skill Use when the user asks to: - Post entries: purchase, sales, receipt, payment, journal, contra, credit note, debit note - Check reports: day book, trial balance, balance sheet, profit & loss, ledger statement, outstandings, GST - Manage masters: create/alter ledgers, groups, stock items/UOM (inventory clients) - Fix data: alter or cancel a voucher ## Critical rules (must follow) 1. **Never assume company**: if not explicit, ask which company to use before posting. 2. **Never guess ledgers**: verify ledgers exist before voucher import; create missing masters first. 3. **Dates are `YYYYMMDD`** (no separators). 4. **Idempotency**: always set a stable unique `GUID` per voucher to prevent duplicates on retries. 5. **Balance vouchers**: total debits must equal total credits (Tally error: “Voucher totals do not match!”). 6. **Escape XML**: narration/party names may contain `&` → use `&amp;` in XML. 7. **Posting is write operation**: confirm intent (and company) before any create/alter/cancel. 8. **Prefer bill-wise allocations** for party ledgers to keep outstandings correct (see `reference/vouchers.md`). 9. **Accounting-only vouchers (no inventory items)**: set `<ISINVOICE>No</ISINVOICE>` and place the **party ledger entry first** in the `ALLLEDGERENTRIES.LIST` sequence. This makes the Day Book "Particulars" column show the party name (not the expense/purchase ledger) and defaults the voucher to the clean "As Voucher" view. Only use `ISINVOICE=Yes` for item invoices that go through `reference/inventory.md`. ## Step 0: Check TallyPrime server ```bash curl -s --max-time 5 "$TALLY_URL" ``` Expected (example): ```xml <RESPONSE>TallyPrime Server is Running</RESPONSE> ``` If not running, stop and ask user to open TallyPrime and enable integrations for the port. ## Step 1: Company context If the user did not specify company, ask. If they did, use **exact** name in `SVCURRENTCOMPANY`. To list companies, use the template in `reference/reports.md` (“Company list”). ## Step 2: Verify/create required ledgers (masters) Ledger existence checks and master creation templates are in `reference/masters.md` (includes ledgers, groups, and GST/address fields). Quick group defaults (common CA mapping): | Ledger type | Parent group | |---|---| | Customer | `Sundry Debtors` | | Vendor | `Sundry Creditors` | | Sales | `Sales Accounts` | | Purchases/Expenses | `Purchase Accounts` / `Direct Expenses` / `Indirect Expenses` | | Bank | `Bank Accounts` | | Cash | `Cash-in-Hand` | | GST | `Duties & Taxes` | ## Step 3: Post vouchers (core) Use `REPORTNAME=Vouchers` and always include `GUID`, `DATE`, and `VOUCHERTYPENAME`. Full templates (including bill-wise allocations, returns, contra) are in `reference/vouchers.md`. Supported voucher types in this skill: - Purchase, Sales, Payment, Receipt, Journal - Credit Note, Debit Note - Contra - Voucher Alteration + Cancellation ## Read reports (core) Use `TALLYREQUEST=Export` / `REPORTNAME=...` with `SVEXPORTFORMAT=$$SysName:XML`. Full templates are in `reference/reports.md`. Common CA reports: - Day Book (period) - Trial Balance (period) - Balance Sheet - Profit and Loss - Ledger Vouchers (ledger statement) - Bills Receivable / Bills Payable (outstandings) - Ledger Outstandings / Group Outstandings - GST: GSTR-1 and related summaries (plus GSTR-3B where available) - Stock Summary (inventory clients) ## Suggested GUID pattern Use a deterministic pattern when invoice number exists: ``` {companyShort}-{voucherType}-{voucherNumber}-{date} ``` Examples: - `abc-purchase-ril2026-00123-20260115` - `abc-creditnote-cn09-20260302` ## Multi-company CA workflow (recommended) 1. Capture company name early (and confirm spelling). 2. Validate connectivity. 3. Fetch required ledgers/masters or create them. 4. Only then post the voucher. 5. Reply with: company, voucher type, voucher number, date, amount breakdown, and whether any masters were created. ## Advanced reference - Reports and data export: `reference/reports.md` - Voucher templates (including Debit/Credit Note, Contra, bill-wise allocations, alter/cancel): `reference/vouchers.md` - Masters (ledgers/groups + GST/address, alteration): `reference/masters.md` - Inventory (stock groups/items/UOM, item invoices): `reference/inventory.md` - Error handling and troubleshooting: `reference/errors.md`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 ca-skill-1775888529 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 ca-skill-1775888529 技能

通过命令行安装

skillhub install ca-skill-1775888529

下载 Zip 包

⬇ 下载 tally-prime-ca v1.0.3

文件大小: 14.38 KB | 发布时间: 2026-4-12 09:17

v1.0.3 最新 2026-4-12 09:17
Version 1.0.3

- Updated voucher reference documentation in `reference/vouchers.md`.
- No changes to core logic or functionality.
- This update targets internal or advanced documentation only.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部