Accounting API Documentation
Complete API reference with interactive examples. Test endpoints directly with your API key.
API Configuration
Get your API key from Accounting Settings → API Access
Found in your Accounting instance URL or workspace settings
Authentication
API Keys
All API requests require authentication using an API key. Include your API key in the Authorization header.
Authorization Header
Authorization: Bearer sk_accounting_your_api_key_here⚠️ Security: Never expose your API keys in client-side code or public repositories.
Customers
/api/customersGet all customers with optional filtering, pagination, and sorting
/api/customersCreate a new customer
/api/customers/:idGet a specific customer by ID
/api/customers/:idUpdate an existing customer
/api/customers/:idDelete a customer
Suppliers
/api/suppliersGet all suppliers with optional filtering, pagination, and sorting
/api/suppliersCreate a new supplier
/api/suppliers/:idGet a specific supplier by ID
/api/suppliers/:idUpdate an existing supplier
/api/suppliers/:idDelete a supplier
Income
/api/incomeGet all income entries with optional filtering, pagination, and sorting
/api/incomeCreate a new income entry
/api/income/:idGet a specific income entry by ID
/api/income/:idUpdate an existing income entry
/api/income/:idDelete an income entry
Expenses
/api/expensesGet all expense entries with optional filtering, pagination, and sorting
/api/expensesCreate a new expense entry
/api/expenses/:idGet a specific expense entry by ID
/api/expenses/:idUpdate an existing expense entry
/api/expenses/:idDelete an expense entry
Invoices
/api/invoicesGet all invoices with optional filtering, pagination, and sorting
/api/invoicesCreate a new invoice
/api/invoices/:idGet a specific invoice by ID
/api/invoices/:idUpdate an existing invoice
/api/invoices/:idDelete an invoice
Cash Accounts
/api/cash-accountsGet all cash accounts
/api/cash-accountsCreate a new cash account
/api/cash-accounts/:idGet a specific cash account by ID
/api/cash-accounts/:id/balanceGet current balance for a specific cash account
/api/cash-accounts/:idUpdate an existing cash account
/api/cash-accounts/:idDelete a cash account
Reports
/api/reports/overviewGet financial overview dashboard data with totals and key metrics
/api/reports/income-trendsGet income trends over time (daily, weekly, monthly)
/api/reports/expense-trendsGet expense trends over time (daily, weekly, monthly)
/api/reports/profit-lossGet profit and loss report with period comparison
/api/reports/top-customersGet top customers by transaction volume
/api/reports/top-suppliersGet top suppliers by transaction volume
/api/reports/cash-balancesGet current balances for all cash accounts