invoice-housekeeping
БесплатноБез исполняемых скриптовНе проверенClean up Fawaterak invoices — list, cancel stale unpaid ones, refund paid ones
от theYahia★ 43 звезды на GitHubОб этом скилле
/invoice-housekeeping — Invoice cleanup and refunds
Algorithm
- Call
list_invoiceswith page, per_page and status (paid | unpaid | expired | cancelled). Start with unpaid to find stale checkouts. - Page through until the list is exhausted. Do not report a total you have not paged to.
- For anything ambiguous, call
get_invoice_datawith its invoice_id for the full record (amount, method, transaction_id, customer). - To cancel:
cancel_invoicewith invoice_id. This only works on unpaid invoices — check status first, and confirm with the user before cancelling anything. - To refund:
refund_paymentwith invoice_id, optional amount (omit for full refund) and optional reason. Refund support depends on the rail — a Fawry cash payment may not be refundable through the API. Report the error as-is rather than retrying blindly. - Call
get_balanceat the end so the user sees the account position after the cleanup.
Response format
## Fawaterak housekeeping
**Balance**: 18,420 EGP
### Unpaid over 48 h — 6 invoices, 3,100 EGP
| Invoice | Amount | Created | Action |
|---------|--------|---------|--------|
| 88101 | 450 EGP | 2026-08-30 | cancelled |
### Refunds issued
| Invoice | Amount | Reason | Status |
|---------|--------|--------|--------|
| 88044 | 200 EGP | partial return | success |
Notes
- Always confirm before
cancel_invoiceorrefund_payment— neither is reversible. - Partial refund = pass amount. Full refund = omit amount entirely.
get_balancereflects settled money; a just-issued refund may not be deducted yet.
Examples
/invoice-housekeeping unpaid
/invoice-housekeeping refund 88044 200 "partial return"
Установить invoice-housekeeping в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл invoice-housekeeping?
Clean up Fawaterak invoices — list, cancel stale unpaid ones, refund paid ones
Как установить скилл invoice-housekeeping?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл invoice-housekeeping запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
gtm-enterprise-account-planning
Strategic account planning and execution for enterprise deals. Use when planning complex sales cycles, managing multiple stakeholders, applying MEDDICC…
от GitHubgtm-partnership-architecture
Build and scale partner ecosystems that drive revenue and platform adoption. Use when building partner programs from scratch, tiering partnerships, managing…
от GitHublanding-page-conversion-audit
Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review…
от GitHubpower-platform-architect
Use this skill when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution…
от GitHub