← 返回
未分类

Invoicy

Generate, download, and email professional invoices with GST/IGST support and flexible payment terms.
生成、下载并发送专业发票,支持GST/IGST,付款条款灵活。
krishnakumarmahadevan-cmd krishnakumarmahadevan-cmd 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 305
下载
💾 0
安装
1
版本
#latest

概述

Overview

Invoice Generator is a comprehensive invoice management API that enables businesses to create, customize, and distribute professional invoices programmatically. Built for e-commerce platforms, accounting systems, and billing automation, it supports multi-currency transactions, Indian GST/IGST compliance, and direct email distribution to customers.

The tool provides complete invoice lifecycle management—from generation with line-item details, tax calculations, and payment terms, to secure download and automated email delivery. It integrates seamlessly with SMTP servers for direct email transmission and maintains invoice records for later retrieval.

Ideal users include SaaS billing platforms, freelance management systems, accounting software providers, and e-commerce businesses requiring automated invoice workflows with professional formatting and compliance support.

Usage

Generate an invoice for a consulting service with GST:

{
  "company": {
    "name": "TechCorp Solutions",
    "address": "123 Business Park",
    "city": "Bangalore",
    "state": "Karnataka",
    "pincode": "560001",
    "phone": "+91-80-XXXX-XXXX",
    "email": "billing@techcorp.com",
    "gstin": "18AABCT1234H1Z0",
    "pan": "AAACT1234H",
    "logo_url": "https://example.com/logo.png"
  },
  "customer": {
    "name": "Acme Corporation",
    "address": "456 Client Street",
    "city": "Mumbai",
    "state": "Maharashtra",
    "pincode": "400001",
    "phone": "+91-22-XXXX-XXXX",
    "email": "accounts@acme.com",
    "gstin": "27AABCT5678H1Z1"
  },
  "items": [
    {
      "description": "Consulting Services - Q1 2024",
      "quantity": 1,
      "rate": 50000,
      "tax_percent": 18
    },
    {
      "description": "Development Hours (120 hrs @ 500/hr)",
      "quantity": 120,
      "rate": 500,
      "tax_percent": 18
    }
  ],
  "invoice_number": "INV-2024-001",
  "invoice_date": "2024-01-15",
  "due_date": "2024-02-15",
  "payment_terms": "Net 30",
  "notes": "Thank you for your business. Payment via bank transfer preferred.",
  "bank_name": "HDFC Bank",
  "account_number": "1234567890123456",
  "ifsc_code": "HDFC0000123",
  "upi_id": "techcorp@hdfc",
  "is_igst": false
}

Sample Response:

{
  "invoice_id": "inv_7f8a9b2c1e5d3k4m",
  "status": "generated",
  "subtotal": 110000,
  "tax_amount": 19800,
  "total_amount": 129800,
  "created_at": "2024-01-15T10:30:45Z",
  "message": "Invoice generated successfully"
}

Endpoints

GET /

Root endpoint – Returns API information and health status.

ParameterTypeRequiredDescription
----------------------------------------
No parameters

Response: JSON object with service metadata.


GET /status

Status check – Returns current API health and operational status.

ParameterTypeRequiredDescription
----------------------------------------
No parameters

Response: JSON object with status information and service uptime.


POST /generate

Generate Invoice – Creates a new invoice from company, customer, and line item details.

Request Body:

FieldTypeRequiredDescription
------------------------------------
companyCompanyDetailsYesCompany/seller information including name, address, tax IDs, contact details, and optional logo URL
customerCustomerDetailsYesCustomer/buyer information including name, address, tax IDs, and contact details
itemsLineItem[]YesArray of line items with description, quantity, rate, and optional tax percentage
invoice_numberstringNoCustom invoice number (auto-generated if omitted)
invoice_datestringNoInvoice issuance date in YYYY-MM-DD format
due_datestringNoPayment due date in YYYY-MM-DD format
payment_termsstringNoPayment terms description (default: "Due on Receipt")
notesstringNoAdditional notes or payment instructions
bank_namestringNoBank name for payment details
account_numberstringNoBank account number
ifsc_codestringNoIFSC code for Indian bank transfers
upi_idstringNoUPI ID for digital payments
is_igstbooleanNoSet to true for IGST (Integrated GST), false for SGST+CGST (default: false)

Response: JSON object containing:

  • invoice_id: Unique identifier for retrieving/downloading the invoice
  • status: Generation status ("generated")
  • subtotal: Total amount before tax
  • tax_amount: Calculated tax amount
  • total_amount: Final invoice total
  • created_at: Timestamp of invoice creation

GET /download/{invoice_id}

Download Invoice – Retrieves and downloads a previously generated invoice as PDF.

ParameterTypeRequiredDescription
----------------------------------------
invoice_idstringYesUnique identifier of the invoice to download (path parameter)

Response: PDF file download or JSON error with appropriate HTTP status.


POST /send-email

Send Email – Sends a generated invoice to a specified email address via SMTP.

Request Body:

FieldTypeRequiredDescription
------------------------------------
invoice_idstringYesUnique identifier of the invoice to email
to_emailstringYesRecipient email address (must be valid email format)
to_namestringNoRecipient's display name (default: empty)
from_emailstringYesSender email address (must be valid email format)
from_namestringNoSender's display name (default: empty)
subjectstringNoEmail subject line (default: empty)
messagestringNoEmail body/message text (default: empty)
smtp_hoststringNoSMTP server hostname (default: "localhost")
smtp_portintegerNoSMTP server port number (default: 587)
smtp_userstringNoSMTP authentication username (default: empty)
smtp_passstringNoSMTP authentication password (default: empty)
use_tlsbooleanNoEnable TLS encryption (default: true)

Response: JSON object containing:

  • status: Email delivery status ("sent", "pending", or "failed")
  • message: Status message with delivery details
  • timestamp: Email send timestamp

Pricing

PlanCalls/DayCalls/MonthPrice
-------------------------------------
Free550Free
Developer20500$39/mo
Professional2005,000$99/mo
Enterprise100,0001,000,000$299/mo

About

ToolWeb.in - 200+ security APIs, CISSP & CISM, platforms: Pay-per-run, API Gateway, MCP Server, OpenClaw, RapidAPI, YouTube.

References

  • Kong Route: https://api.toolweb.in/tools/invoicy
  • API Docs: https://api.toolweb.in:8165/docs

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 20:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

PDF To PPTX

krishnakumarmahadevan-cmd
将PDF文档智能转换为可编辑的PowerPoint演示文稿,自动提取内容并优化格式。
★ 0 📥 1,352
business-ops

Trello

steipete
使用 Trello REST API 管理看板、列表和卡片
★ 162 📥 41,295
business-ops

Stripe

byungkyu
Stripe API 集成,支持托管 OAuth,实现对客户、订阅、发票、产品、价格和支付的可写金融集成。
★ 27 📥 26,015