green-invoice

green-invoice is a skill for Claude Code, Codex from skills-il/accounting. It costs 180 tokens per session (8,392 once invoked), scanned A, original, MIT.

A skill for connecting software to Green Invoice, an Israeli service for invoices, receipts, clients, and payments.

In plain words
What is it for?
Use it to create or query documents, manage clients, process payments, or automate document creation with Green Invoice’s Morning API.
Why use it?
It explains the authentication, account-plan requirements, API use, and webhook setup needed to automate invoicing tasks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to create or query documents, manage clients, process payments, or automate document creation with Green Invoice’s Morning API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skills-il/accounting/green-invoice
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add skills-il/accounting --skill green-invoice
Clone the repo
git clone --depth 1 https://github.com/skills-il/accounting

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for green-invoice

README.md
[![agentmods](https://agentmods.dev/badge/skills/skills-il/accounting/green-invoice/github.svg)](https://agentmods.dev/skills/skills-il/accounting/green-invoice)
Your own site
<a href="https://agentmods.dev/skills/skills-il/accounting/green-invoice"><img src="https://agentmods.dev/badge/skills/skills-il/accounting/green-invoice/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for green-invoice

Your own site · 80×15
<a href="https://agentmods.dev/skills/skills-il/accounting/green-invoice"><img src="https://agentmods.dev/badge/skills/skills-il/accounting/green-invoice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 11 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 52
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • high Privilege Escalation · line 541
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Data Exfiltration · line 31
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 52
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 541
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 31
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 46
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 64
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 79
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 32
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 52
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00180 $0.08392
Opus 5 $0.00090 $0.04196
Sonnet 5 $0.00036 $0.01678
Haiku 4.5 $0.00018 $0.00839

Measured 9d ago against content hash eca8e445897b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

green-invoice scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/green-invoice-client.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://api.morning.co/idp/v1/oauth/token \
green-invoice/SKILL.md · 562 lines

How it starts

The opening of the file, as written. The whole thing — 562 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Green Invoice (Morning)

Instructions

Step 1: Authentication and Plan Requirements

Green Invoice uses JWT Bearer token authentication. Obtain API credentials from the Green Invoice dashboard: Personal Area (אזור אישי) > Developer Tools (כלים למפתחים) > API Keys (מפתחות API).

Plan gating (verified May 2026):

  • API access (any endpoint): requires the Best plan or higher (זמין למנויי Best ומעלה).
  • Webhooks (Step 11): require the Extra plan or higher (זמין למנויים במסלול Extra).

Lower-tier accounts will not see the "API Keys" or "Webhooks" menu items at all. If a user reports a missing menu item, check their plan first.

Rebrand note. The product was rebranded from "חשבונית ירוקה" to "Morning של חשבונית ירוקה". The API host (api.greeninvoice.co.il) and dashboard host (app.greeninvoice.co.il) are unchanged, and there is still no api.morning.co.il. But do NOT extend that to "no Morning host exists": the current documentation puts the OAuth token endpoint on api.morning.co, which is a different hostname from the one that does not resolve.

Two authentication flows are live right now (both verified 2026-07-27). Use OAuth 2.0 for new work.

The published documentation at developers.morning.co (versioned "morning API Documentation (2.0.0)") now states: "Our APIs use the OAuth 2.0 protocol for authentication and authorization." The older API-key flow still answers, so existing integrations are not broken, but it is no longer the documented path and should be treated as legacy.

OAuth 2.0 (documented, use this) Legacy API-key flow
Token endpoint POST https://api.morning.co/idp/v1/oauth/token POST https://api.greeninvoice.co.il/api/v1/account/token
Sandbox token endpoint https://api.sandbox.morning.dev/idp/v1/oauth/token POST https://sandbox.d.greeninvoice.co.il/api/v1/account/token
Grant client_credentials JSON body with id + secret
Response field accessToken (a signed JWT) JWT token
Token lifetime 1 hour treat as short-lived; refresh on 401
Errors OAuth 2.0 / RFC 6749 format (invalid_client, unauthorized_client, ...) Green Invoice error object (errorCode / errorMessage)

Read the full file on GitHub · 562 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 562 lines · 180 tokens per session scan A eca8e445897b

Subscribe to this mod's changes

green-invoice is a skill published in the GitHub repository skills-il/accounting (10 stars, last pushed 12d ago), licensed MIT. It adds 180 tokens to every session and 8,392 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories