Skip to content
Agentmart
Submit a tool

invoice-send

Konwertuje wygenerowaną fakturę DOCX na PDF (LibreOffice headless) i wysyła mailem do kontrahenta z treścią po polsku.

Skill by dithiothreitol

IndexedMIT★ 9
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/dithiothreitol-invoice-send

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Konwertuje wygenerowaną fakturę DOCX na PDF (LibreOffice headless) i wysyła mailem do kontrahenta z treścią po polsku. Używa SMTP skonfigurowanego w `.env`. Użyj gdy user mówi "wyślij fakturę mailem", "wyślij PDF fakturę do X", "roześlij fakturę A1/04/2026", "wyślij ostatnią fakturę", "mail do klienta z fakturą".

Use cases: documents, devops, finance

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/invoice-send

What's inside

Skill name
invoice-send
Description
Konwertuje wygenerowaną fakturę DOCX na PDF (LibreOffice headless) i wysyła mailem do kontrahenta z treścią po polsku. Używa SMTP skonfigurowanego w `.env`. Użyj gdy user mówi "wyślij fakturę mailem", "wyślij PDF fakturę do X", "roześlij fakturę A1/04/2026", "wyślij ostatnią fakturę", "mail do klienta z fakturą".
License
MIT
Instructions
64 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Wysyłka faktury mailem

Konwertuje DOCX fakturę na PDF (przez LibreOffice) i wysyła mailem z załącznikiem.

## Wymagane dane

- **--number** LUB **--latest** — która faktura (numer albo ostatnia)
- **--to** — email kontrahenta

Opcjonalnie: `--cc`, `--subject`, `--body`.

## Wymagane w .env

```
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587               # 465 dla SSL, 587 dla STARTTLS
SMTP_USERNAME=you@gmail.com
SMTP_PASSWORD=<app-password>  # Gmail wymaga App Password, nie glownego hasla
SMTP_FROM=                  # pusty = uzywa SMTP_USERNAME
SMTP_USE_SSL=false          # true dla portu 465
```

## Wymagania systemowe

- **LibreOffice** zainstalowany (`apt install libreoffice` / `brew install libreoffice`)
- Alternatywa: ustaw `LIBREOFFICE_BIN` w `.env` na ścieżkę do `soffice`

## Wywołanie

```bash
# Wyślij konkretną fakturę:
python3 skills/invoice-send/scripts/send.py \
  --number "A1/04/2026" \
  --to "kontrahent@example.com"

# Wyślij ostatnią fakturę z CC:
python3 skills/invoice-send/scripts/send.py \
  --latest \
  --to "kontrahent@example.com" \
  --cc "ksiegowosc@mojafirma.pl"
```

Zwraca JSON:
```json
{
  "success": true,
  "to": "kontrahent@example.com",
  "subject": "Faktura A1/04/2026",
  "pdf_path": "data/faktury/2026/04/faktura_A1_04_2026.pdf"
}
```

## Po wysłaniu

Pokaż userowi: adresata, subject, ścieżkę PDF-a.
Domyślny subject: `Faktura {numer}`, domyślna treść po polsku z kwotą brutto i terminem.

## Uwagi bezpieczeństwa

- **Nigdy nie loguj treści maila** ani hasła SMTP.
- Gmail blokuje "less secure apps" od 2022 → użyj **App Password** (panel Google → Bezpieczeństwo → Hasła do aplikacji).
- Dla Office 365: SMTP wymaga włączonego SMTP AUTH w Exchange (może być wyłączony dla nowych tenantów).

From dithiothreitol/jdg-ksiegowy, MIT.

More from dithiothreitol/jdg-ksiegowy

Signals

Stars
9
Forks
1
Open issues
0
Last commit (this folder)
Apr 17, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from dithiothreitol

Cite this page

invoice-send skill. Agent Mart. https://agentmart.dev/skills/dithiothreitol-invoice-send (last updated 2026-10-24)