← 返回
开发者工具 Key 中文

InvoiceForge API

Generate professional PDF invoices using InvoiceForge API - create, manage, and download invoices for freelancers, agencies, consultants, small businesses, S...
使用 InvoiceForge API 生成专业 PDF 发票——适用于自由职业者、代理机构、顾问及小型企业,支持发票的创建、管理与下载。
jbennett111
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 468
下载
💾 8
安装
1
版本
#latest

概述

InvoiceForge API Skill

Generate professional PDF invoices using VCG's InvoiceForge API — pure software invoice generation with automatic calculations, PDF rendering, and invoice management.

Quick Start

  1. Get API Key: Help user sign up for free InvoiceForge API key
  2. Store Key: Save the key securely
  3. Create Invoices: Generate professional PDF invoices from structured data

API Key Signup

Step 1: Get User's Email

Ask the user for their email address to create a free InvoiceForge account.

Step 2: Sign Up via API

curl -X POST https://invoiceforge.vosscg.com/v1/keys \
  -H "Content-Type: application/json" \
  -d '{"email":"user@example.com"}'

Expected Response:

{
  "api_key": "your-api-key-here",
  "plan": "free"
}

Step 3: Store the API Key

Save the API key securely for future use.

Creating Invoices

Create a Full Invoice

curl -X POST https://invoiceforge.vosscg.com/v1/invoices \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "seller": {
      "name": "Acme Consulting",
      "email": "billing@acme.com",
      "address": "123 Main St, San Francisco, CA 94102"
    },
    "buyer": {
      "name": "Widget Corp",
      "email": "ap@widget.com",
      "address": "456 Oak Ave, New York, NY 10001"
    },
    "items": [
      {"description": "Strategy Consulting - March 2026", "quantity": 40, "unit_price": 250.00},
      {"description": "Travel Expenses", "quantity": 1, "unit_price": 1200.00}
    ],
    "tax_rate": 8.5,
    "currency": "USD",
    "due_date": "2026-04-15",
    "notes": "Net 30. Wire transfer preferred."
  }'

Expected Response:

{
  "invoice_number": "INV-000001",
  "subtotal": 11200.00,
  "tax_rate": 8.5,
  "tax_amount": 952.00,
  "total": 12152.00,
  "currency": "USD",
  "status": "draft",
  "created_at": "2026-03-04T...",
  "download_url": "/v1/invoices/INV-000001/pdf"
}

Download Invoice PDF

curl -H "X-API-Key: YOUR_KEY" \
  https://invoiceforge.vosscg.com/v1/invoices/INV-000001/pdf \
  -o invoice.pdf

List All Invoices

curl -H "X-API-Key: YOUR_KEY" \
  "https://invoiceforge.vosscg.com/v1/invoices?status=draft&page=1&limit=20"

Update Invoice Status

curl -X PATCH https://invoiceforge.vosscg.com/v1/invoices/INV-000001/status \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status": "sent"}'

Valid statuses: draft, sent, paid, void

Common Use Cases

Freelancer Monthly Invoice

When a user says "create an invoice for my client":

  1. Ask for seller info (their business name, email, address)
  2. Ask for buyer info (client name, email, address)
  3. Ask for line items (services, hours, rates)
  4. Ask for tax rate and due date
  5. Create the invoice via API
  6. Download and share the PDF

Batch Invoicing

Create multiple invoices by looping through client data. Each POST creates a new invoice with auto-incrementing numbers.

Invoice Tracking

Use the list endpoint with status filters to track:

  • draft — Created but not sent
  • sent — Delivered to client
  • paid — Payment received
  • void — Cancelled

Supported Currencies

Any 3-letter ISO 4217 code: USD, EUR, GBP, CAD, AUD, JPY, etc.

Rate Limits

  • Free tier: 100 requests/day, 50 invoices/month
  • Pro tier: Unlimited (Stripe billing)

API Base URL

https://invoiceforge.vosscg.com

Endpoints Summary

MethodPathDescription
---------------------------
POST/v1/keysCreate API key
POST/v1/invoicesCreate invoice
GET/v1/invoicesList invoices
GET/v1/invoices/:id/pdfDownload PDF
PATCH/v1/invoices/:id/statusUpdate status
GET/v1/healthHealth check
GET/v1/metricsService metrics

Error Handling

  • 400 — Validation error (missing fields, bad data)
  • 401 — Missing or invalid API key
  • 404 — Invoice not found
  • 403 — Access denied (not your invoice)
  • 429 — Rate limit exceeded

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 13:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,872
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,748
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,903