Interactive reference

Try hits this server’s /v1 (same origin). Ship integrations against the production base below. OpenAPI YAML for codegen · Cursor skill (appendix).

Try-it console Same-origin /v1

Stored in localStorage only · sent as Authorization: Bearer …

Production API base
https://api.onestopinvoice.com/v1

Use this URL in apps and integrations.

Meta 1 endpoint

GET /v1/me

Returns the account tied to your API key (id, business name, email, currency, GSTIN, PAN, subscription). PAN is the account business PAN (same for all documents).

Example response
{
    "ok": true,
    "data": {
        "account_id": 1,
        "business_name": "Demo Traders",
        "business_email": "hello@example.com",
        "currency": "INR",
        "business_gstin": "27AAAAA0000A1Z5",
        "business_pan": "AAAAA9999A",
        "subscription_expires_at": "2026-12-31 23:59:59"
    }
}

										
Chat with us on WhatsApp