INVOICE API

Generate invoices with a single API call

A minimalist API for developers who need clean, professional invoices without the complexity. One endpoint. Zero configuration.

Simple Integration

Send a POST request with your invoice data. Receive a professionally formatted PDF. Manage everything through our web portal.

ENDPOINT

POST https://invoice-api.codeclutch.tools/api/v1/invoices

MINIMAL REQUEST

{
  "to": {
    "name": "Pasan Manohara",
    "email": "pasanmanohara@gmail.com"
  },
  "currencySymbol": "LKR",
  "lineItems": [
    {
      "name": "Simple Web app creation",
      "unitPrice": 25000
    }
  ]
}

FULL SCHEMA

{
  "to": {
    "name": "Client Company",
    "email": "accounts@client.com",
    "address": "456 Client Ave, Client City, State 67890",
    "phone": "+1 (555) 987-6543"
  },
  "isPaid": false,
  "currencySymbol": "$",
  "lineItems": [
    {
      "name": "Web Development Services",
      "quantity": 1,
      "unitPrice": 2500.0,
      "amount": 2500.0
    },
    {
      "name": "Hosting Setup",
      "quantity": 1,
      "unitPrice": 200.0,
      "amount": 200.0
    }
  ],
  "fields": {
    "number": "INV-2024-001",
    "issueDate": "1/15/2024",
    "dueDate": "2/15/2024",
    "vatNumber": "VAT123456789",
    "purchaseOrderNumber": "PO-2024-001",
    "subtotal": 2700.0,
    "tax": 216.0,
    "discount": 0.0,
    "shipping": 0.0,
    "total": 2916.0,
    "notes": "Thank you for your business!"
  }
}

Professional Output

Invoice sample output showing professional formatting

WEB PORTAL

Manage API credentials, view invoice history, and configure settings through our intuitive dashboard.

INSTANT GENERATION

Receive professionally formatted PDF invoices in milliseconds. No rendering delays.

ZERO CONFIG

Start generating invoices immediately. No complex setup or configuration required.

Start generating invoices today

Register for free and get your API credentials instantly.

Create Account