REST API v1.0

Build Global
Invoicing Into
Your Product

Simple, powerful API for e-invoicing in 50+ countries. Generate compliant invoices with AI, validate automatically, and send globally—all with a few lines of code.

// Initialize the client
import { EInvoiceProClient } from '@einvoicepro/sdk';

const client = new EInvoiceProClient({
  apiKey: process.env.EINVOICEPRO_API_KEY,
});

// Generate invoice with AI
const invoice = await client.invoices.createWithAI({
  description: "3 months of consulting services for Acme Corp, $15k per month, due in 30 days",
  clientEmail: "accounts@acmecorp.com",
});

// Validate compliance
const validation = await client.compliance.validate({
  invoice: invoice,
  countryCode: "IN", // India GSTN
});

if (validation.valid) {
  // Send invoice
  await client.invoices.send(invoice.id);
  console.log("Invoice sent successfully!");
}

Fast Integration

Get started in under 10 minutes with our SDKs

Enterprise Security

256-bit encryption and SOC2 compliance

Global Coverage

50+ countries, 100+ compliance standards

Developer-First

Clear docs, code examples, and support

Core API Endpoints

POST
/api/invoices/create

Create a new invoice with AI-powered generation

Parameters:

description(string)*Natural language description of the invoice
client_id(string)Existing client UUID (optional)
currency(string)ISO 4217 currency code (default: user's base currency)
GET
/api/invoices/:id

Retrieve invoice details with compliance status

Parameters:

id(string)*Invoice UUID
POST
/api/invoices/:id/send

Send invoice via email to client

Parameters:

id(string)*Invoice UUID
recipient_email(string)Override client email
POST
/api/compliance/validate

Validate invoice against country-specific compliance rules

Parameters:

invoice(object)*Complete invoice object
country_code(string)*ISO 3166-1 alpha-2 country code
GET
/api/fx-rates

Get real-time currency exchange rates

Parameters:

base(string)*Base currency code
target(string)*Target currency code

Official SDKs & Libraries

🟢

Node.js

Available
🟡

Python

Coming Soon
🟡

PHP

Coming Soon
🟡

Ruby

Coming Soon
🟡

Go

Coming Soon

Authentication

Authenticate API requests using your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Get your API key from Dashboard → Settings → API Keys. Keep your API key secure—do not share it or commit it to version control.

Rate Limits

Starter

100 requests/hour
Rate Limit
20 concurrent
Burst Limit

Professional

1,000 requests/hour
Rate Limit
50 concurrent
Burst Limit

Enterprise

Custom limits
Rate Limit
Unlimited
Burst Limit

Ready to Start Building?

Sign up for a free account and get your API key instantly. No credit card required. Start integrating global e-invoicing in minutes.