微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📄

以色列发票自动化,一键生成合规账单

Morning (Green Invoice) · v1.0.0
办公 安全 B 级 作者 k0renn 公开目录收录
1.2k 下载 0 安装 3.6k 收藏 12 浏览

简介

以色列领先发票平台Morning(GreenInvoice)的AI集成工具,支持客户管理、商品创建及多类型财务文档(发票/收据/报价单等)自动化生成,适合以色列中小企业主和跨境服务提供商。

原始描述

Use to authenticate with Morning (GreenInvoice) and create/manage clients, items, and accounting documents (invoice/receipt/quote/order/credit).

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/morning-green-invoice/
其它 Agent解压到它自己的 skills 目录,目录名用 morning-green-invoice

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: morning description: Use to authenticate with Morning (GreenInvoice) and create/manage clients, items, and accounting documents (invoice/receipt/quote/order/credit).

Morning (GreenInvoice)

When to use

Use this skill when you need to interact with Morning / GreenInvoice to:

  • Get an auth token (JWT) using API key credentials
  • Create/update clients
  • Create/update items
  • Create documents (invoice / receipt / quote / order / credit / debit)
  • Retrieve document outputs (e.g., IDs / links) if the tool supports it

What you need from the user

Collect only what’s required for the action:

Authentication

  • apiKeyId
  • apiKeySecret

Client (if creating or searching)

  • name
  • Optional: taxId, email, phone, address, city, country

Item (if creating)

  • name
  • price
  • Optional: description, currency

Document (if creating)

  • documentType (Invoice / Receipt / Quote / Order / CreditInvoice / DebitInvoice)
  • clientId (or enough info to create the client)
  • lines[] (each line: description or itemId, quantity, unitPrice)
  • Optional: currency, language, description, discount

Tool contract

Use the morning tool with an action field.

Supported actions

  • getToken
  • createClient
  • createItem
  • createDocument
  • (Optional, if implemented in your tool): findClient, findItem, getDocument, listDocuments

Guardrails

  • Never log or echo apiKeySecret or JWTs back to the user.
  • Prefer reusing existing clientId / itemId when available.
  • Validate document lines:
    • quantity > 0
    • unitPrice >= 0
  • Currency: default to "ILS" unless the user specifies otherwise.
  • Language: default to "Hebrew" unless the user specifies otherwise.

Examples

1) Authenticate (JWT)

{
  "action": "getToken",
  "apiKeyId": "YOUR_API_KEY_ID",
  "apiKeySecret": "YOUR_API_KEY_SECRET"
}

2) Create a client

{
  "action": "createClient",
  "jwt": "JWT_FROM_getToken",
  "client": {
    "name": "Acme Ltd",
    "taxId": "515555555",
    "email": "billing@acme.com",
    "phone": "+972-50-000-0000",
    "address": "1 Rothschild Blvd",
    "city": "Tel Aviv",
    "country": "Israel"
  }
}

3) Create an item

{
  "action": "createItem",
  "jwt": "JWT_FROM_getToken",
  "item": {
    "name": "Consulting hour",
    "description": "Senior engineering consulting",
    "price": 500,
    "currency": "ILS"
  }
}

4) Create a document (Invoice)

{
  "action": "createDocument",
  "jwt": "JWT_FROM_getToken",
  "document": {
    "documentType": "Invoice",
    "language": "English",
    "currency": "ILS",
    "clientId": "CLIENT_ID",
    "description": "Invoice for January services",
    "lines": [
      {
        "description": "Consulting hour",
        "quantity": 10,
        "unitPrice": 500
      }
    ]
  }
}

5) Create a document (Receipt) using itemId

{
  "action": "createDocument",
  "jwt": "JWT_FROM_getToken",
  "document": {
    "documentType": "Receipt",
    "language": "Hebrew",
    "currency": "ILS",
    "clientId": "CLIENT_ID",
    "lines": [
      {
        "itemId": "ITEM_ID",
        "quantity": 1,
        "unitPrice": 1200
      }
    ]
  }
}

Error handling

  • If token is rejected (401/403): call getToken again and retry the request once.
  • If client/item already exists:
    • Prefer returning the existing ID (if tool supports lookup),
    • Otherwise surface a clear message: “Client already exists; provide clientId or unique identifier.”
  • If validation fails: ask for the missing/invalid fields only (e.g., “quantity must be > 0”).

Output expectations

Return minimally:

  • Created resource IDs (clientId, itemId, documentId)
  • Any relevant URLs (PDF / view links) if the API/tool provides them

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

invoiceaccountingisraelfinancial-documentsapi-integrationautomationbillingtax-compliance

同类 Skill