Ledger & platform
Tenant setup, journals, approvals, reports, webhooks, audit, and usage.
Invarent embedded accounting API
A production OpenAPI 3.1 contract for the ledger, subledgers, reporting, close, controls, industry workflows, and platform services behind your own customer experience.
Credentials stay in environment variables and every read is tenant scoped. This request only reads; the full quickstart creates, approves and posts a journal entry.
Scroll horizontally for the complete command →
export INVARENT_BASE_URL="https://api.invarent.com"
export INVARENT_API_KEY="<a key with the tenant:read scope>"
curl "$INVARENT_BASE_URL/v1/tenant" \
-H "Authorization: Bearer $INVARENT_API_KEY"The runtime is a source-derived superset of the canonical target.
Tenant setup, journals, approvals, reports, webhooks, audit, and usage.
AP, AR, cash, payroll, assets, revenue schedules, and close controls.
Projects, contracts, CLINs, WBS nodes, cost pools, and indirect rates.
Evidence-bearing suggestions with explicit approve and reject boundaries.
Tax packages, report snapshots, filing gates, and access evidence.
SDKs are generated from the OpenAPI contract and live in the repository at packages/contracts/sdk/runtime/typescript and packages/contracts/sdk/runtime/python. npm and PyPI packages are planned, not published — until then, use the repository sources or generate a client from the hosted contract.
packages/contracts/sdk/runtime/typescriptTyped paths, request bodies, responses, and OAuth form serialization, generated by openapi-typescript.
packages/contracts/sdk/runtime/pythonSynchronous HTTPX client covering the runtime operations, including literal :approve-style action paths.
Scroll horizontally for the complete command →
# Generate a TypeScript client from the hosted OpenAPI 3.1 contract
npx openapi-typescript https://invarent.com/openapi.json \
-o ./invarent-api-schema.d.ts
# Python: a standard OpenAPI generator covers most operations. The checked-in
# client keeps literal :approve-style action paths that generic generators
# commonly misread as extra path variables.
pip install openapi-python-client
openapi-python-client generate --url https://invarent.com/openapi.json