One Stop Invoice API

Versioned JSON REST for clients, invoices, quotations, debit notes, inventory, expenses, sendouts, and analytics — the same data as your dashboard.

Clients & documents

Client CRUD with dedupe, plus invoices, quotations, and debit notes.

Inventory & expenses

Keep stock and costs aligned with your books and PDFs.

Send & analytics

Email document PDFs and pull summary analytics.

Secure by API key

Per-account keys with the same subscription rules as the web app.

Authentication

Send your key as Authorization: Bearer <api_key> or X-API-Key: <api_key>. Create or rotate it under Dashboard → API access .

?api_key= is for quick tests only, not production.

Response shape

Success: {"ok": true, "data": …}

Error: {"ok": false, "error": {"code", "message", "details"}}

Quick test
curl -sS -H "Authorization: Bearer YOUR_API_KEY" "https://api.onestopinvoice.com/v1/me"
Methods Path Notes
GET /v1/me Account summary
GETPOST /v1/clients List & create · dedupe on phone / email / GSTIN
GETPATCHDELETE /v1/clients/{id} Read, update, delete
GETPOST /v1/invoices Invoices with line items
GETPATCHDELETE /v1/invoices/{id}
GETPOST /v1/quotations
GETPATCHDELETE /v1/quotations/{id}
GETPOST /v1/debit-notes
GETPATCHDELETE /v1/debit-notes/{id}
GETPOST /v1/inventory
GETPATCHDELETE /v1/inventory/{id}
GETPOST /v1/expenses
GETPATCHDELETE /v1/expenses/{id}
POST /v1/sendouts Email document PDF
GET /v1/analytics/summary Dashboard analytics