mcpField
I
Invoice Automation

Invoice Automation

github.com/claude-office-skillsその他5454.7k 回インストール39 週間前に更新
リポジトリ

Invoice Automation について

会計プラットフォームをまたいで、請求書の作成・送信・追跡・照合を行うワークフローを示すスキルです。定期請求、支払いリマインダー、支払い状況レポート、銀行明細との照合を扱い、企業や財務チームを対象とします。

主な機能

  1. 01請求書作成と定期請求
  2. 02会計プラットフォーム連携
  3. 03支払いリマインダーの設定
  4. 04支払い状況と滞留期間レポート
  5. 05銀行明細との照合フロー
  6. 06複数通貨の設定

活用シーン

  1. 01承認済みタイムシートから請求書を作成
  2. 02期限超過の請求書にリマインダーを送信
  3. 03未払い・期限超過の支払いを確認
  4. 04銀行明細の項目を請求書と照合

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/claude-office-skills/skills --skill invoice-automation

インストール後、Claude Code で/invoice-automationを入力して読み込まれたか確認します。

詳細

請求書の自動化

複数の会計プラットフォームで、請求書の作成、送信、追跡、照合を行う包括的な請求書自動化スキルです。

主なワークフロー

1. 請求書の作成
INVOICE CREATION FLOW:
┌─────────────────┐
│  Customer Data  │
└────────┬────────┘
         ▼
┌─────────────────┐
│  Line Items     │
│  - Products     │
│  - Services     │
│  - Quantities   │
└────────┬────────┘
         ▼
┌─────────────────┐
│  Apply Template │
│  - Branding     │
│  - Terms        │
│  - Tax rates    │
└────────┬────────┘
         ▼
┌─────────────────┐
│  Generate PDF   │
└─────────────────┘
2. 複数プラットフォームとの連携
プラットフォーム機能
QuickBooksCRUD 全般、支払い、レポート
Xero請求書、連絡先、銀行フィード
FreshBooks時間追跡、経費、請求書
Stripe定期請求、単発請求、サブスクリプション
Wave無料の請求書発行、領収書
Zoho Invoice複数通貨、テンプレート
3. 自動化されたワークフロー

時間追跡からの請求書自動作成:

trigger: weekly_timesheet_approved
actions:
  - aggregate_billable_hours
  - calculate_totals
  - generate_invoice
  - send_to_client
  - log_to_accounting

支払いリマインダーのシーケンス:

reminders:
  - days_before_due: 3
    template: friendly_reminder
  - days_after_due: 1
    template: payment_due
  - days_after_due: 7
    template: overdue_notice
  - days_after_due: 30
    template: final_notice

請求書テンプレート

標準的な請求書テンプレート
## INVOICE

**Invoice Number:** INV-{YYYY}{MM}-{####}
**Date:** {issue_date}
**Due Date:** {due_date}

### Bill To:
{customer_name}
{customer_address}
{customer_email}

### Items:
| Description | Qty | Unit Price | Amount |
|-------------|-----|------------|--------|
| {item_1}    | {q} | ${price}   | ${amt} |
| {item_2}    | {q} | ${price}   | ${amt} |

**Subtotal:** ${subtotal}
**Tax ({tax_rate}%):** ${tax_amount}
**Total Due:** ${total}

### Payment Methods:
- Bank Transfer: {bank_details}
- Credit Card: {payment_link}
- PayPal: {paypal_email}
定期請求書の設定
recurring_invoice:
  customer_id: "cust_123"
  frequency: monthly
  day_of_month: 1
  items:
    - description: "Monthly Retainer"
      quantity: 1
      unit_price: 5000
  auto_send: true
  payment_terms: net_30
  reminder_enabled: true

支払いの追跡

ステータスダッシュボード
PAYMENT STATUS OVERVIEW:
┌──────────────────────────────────────────┐
│  Outstanding    │ $45,000  │ 12 invoices │
│  Overdue        │ $8,500   │ 3 invoices  │
│  Paid (30 days) │ $125,000 │ 28 invoices │
│  Pending        │ $15,000  │ 5 invoices  │
└──────────────────────────────────────────┘
売掛金の滞留期間レポート
ACCOUNTS RECEIVABLE AGING:
┌─────────────┬──────────┬─────────┐
│ Period      │ Amount   │ Count   │
├─────────────┼──────────┼─────────┤
│ Current     │ $25,000  │ 8       │
│ 1-30 days   │ $12,000  │ 4       │
│ 31-60 days  │ $5,000   │ 2       │
│ 61-90 days  │ $2,500   │ 1       │
│ 90+ days    │ $1,000   │ 1       │
└─────────────┴──────────┴─────────┘

照合ワークフロー

銀行フィードの照合
reconciliation_rules:
  - match_type: exact_amount
    tolerance: 0
    auto_match: true
  - match_type: invoice_reference
    field: memo
    auto_match: true
  - match_type: customer_name
    fuzzy_match: 0.9
    auto_match: false
    flag_for_review: true
複数通貨への対応
currency_settings:
  base_currency: USD
  supported:
    - EUR
    - GBP
    - JPY
    - CNY
  exchange_rate_source: openexchangerates
  update_frequency: daily
  auto_convert: true

API 連携の例

QuickBooks の請求書作成
const invoice = {
  CustomerRef: { value: "123" },
  Line: [
    {
      DetailType: "SalesItemLineDetail",
      Amount: 1000,
      SalesItemLineDetail: {
        ItemRef: { value: "1" },
        Qty: 10,
        UnitPrice: 100
      }
    }
  ],
  DueDate: "2024-02-15",
  EmailStatus: "NeedToSend"
};
Stripe の請求書
const invoice = await stripe.invoices.create({
  customer: 'cus_xxx',
  collection_method: 'send_invoice',
  days_until_due: 30,
  auto_advance: true
});

await stripe.invoiceItems.create({
  customer: 'cus_xxx',
  invoice: invoice.id,
  price: 'price_xxx',
  quantity: 1
});

await stripe.invoices.sendInvoice(invoice.id);

ベストプラクティス

  1. 一貫した番号付け:連番で検索しやすい請求書番号を使用します
  2. 明確な条件:支払い条件と利用可能な支払い方法を必ず明記します
  3. 速やかな送信:納品後すぐに請求書を送信します
  4. リマインダーの自動化:支払期限を過ぎた請求書向けにリマインダーのシーケンスを設定します
  5. 定期的な照合:毎週、支払いと請求書を照合します
  6. 記録のバックアップ:複数のシステムにコピーを保管します

よくあるトリガー

トリガーアクション
プロジェクト完了最終請求書を作成
タイムシート承認作業時間を請求
サブスクリプション更新定期請求書を作成
支払い受領ステータスを更新し、領収書を送信
請求書の支払期限超過リマインダーを送信
月末売掛金の滞留期間レポートを作成

コメント