Enterprise ERP Platform

API Documentation

REST endpoints for external integration (EDI, banking feeds, IoT sensors). All endpoints are JSON over HTTPS at your app's base URL, protected by the same session auth as the UI. Entity-with-lines endpoints (Journal Entries, Purchase/Sales Orders, Routings) accept a nested lines or operations array in one POST call.

For push-style integration instead of polling, see Webhooks — subscribe a URL to sales_order.created, purchase_order.created or ar_invoice.created and this app will POST the event to you with an HMAC-SHA256 X-Webhook-Signature header, signed with the secret shown once when the subscription is created.

Org Structure & Master Data
/api/company-codesGET, POST
/api/company-codes/[id]GET, PATCH, DELETE
/api/plantsGET, POST
/api/plants/[id]GET, PATCH, DELETE
/api/storage-locationsGET, POST
/api/cost-centersGET, POST
/api/profit-centersGET, POST
/api/chart-of-accountsGET, POST
/api/materialsGET, POST
/api/customersGET, POST
/api/vendorsGET, POST
/api/employeesGET, POST
/api/rolesGET, POST
/api/audit-logGET
Financials (FI + CO)
/api/journal-entriesGET, POST (header+lines)
/api/journal-entries/[id]GET, DELETE
/api/ap-invoicesGET, POST
/api/ar-invoicesGET, POST
/api/assetsGET, POST
/api/asset-transactionsGET, POST
/api/bank-accountsGET, POST
/api/bank-statement-linesGET, POST
/api/bank-statement-lines/[id]/matchPOST
/api/financial-statementsGET (computed)
/api/aging-reportGET (computed)
Procurement & Inventory (MM)
/api/purchase-requisitionsGET, POST
/api/purchase-ordersGET, POST (header+lines)
/api/goods-receiptsGET, POST
/api/inventory-stockGET
Sales & Distribution (SD)
/api/quotationsGET, POST
/api/quotations/[id]/convertPOST
/api/sales-ordersGET, POST (header+lines)
/api/sales-orders/[id]/billPOST
/api/deliveriesGET, POST
/api/sales-contractsGET, POST
Production (PP + MES)
/api/bill-of-materialGET, POST
/api/work-centersGET, POST
/api/routingsGET, POST (header+operations)
/api/production-ordersGET, POST
/api/production-orders/[id]/confirmPOST
Quality & Maintenance (QM + PM)
/api/quality-notificationsGET, POST
/api/inspection-characteristicsGET, POST
/api/inspection-lotsGET, POST
/api/inspection-lots/[id]/resultsPOST
/api/equipmentGET, POST
/api/functional-locationsGET, POST
/api/maintenance-ordersGET, POST
/api/maintenance-plansGET, POST
/api/maintenance-plans/[id]/generatePOST
Warehouse & Projects (WM + PS)
/api/binsGET, POST
/api/wbs-elementsGET, POST
/api/project-milestonesGET, POST
/api/project-milestones/[id]/billPOST
HR (HCM)
/api/leave-requestsGET, POST
/api/payroll-recordsGET, POST
CRM
/api/leadsGET, POST
/api/opportunitiesGET, POST
/api/service-ticketsGET, POST
India GST / TDS
/api/gst-invoice-detailsGET, POST
/api/tds-recordsGET, POST
US Sales Tax
/api/us-sales-tax-nexusGET, POST
/api/us-sales-tax-nexus/[id]PATCH, DELETE
/api/us-sales-tax-ratesGET, POST
/api/us-sales-tax-rates/[id]DELETE
/api/exemption-certificatesGET (?customerId=&stateCode=), POST
/api/exemption-certificates/[id]PATCH, DELETE
/api/us-sales-tax-previewPOST (compute without saving)
AI Assistant
/api/ai-assistantGET, POST (governed, tool-use)
/api/ai-action-requestsGET
/api/ai-action-requests/[id]/decidePOST (approve/reject)
Analytics
/api/analyticsGET (computed aggregates)
/api/analytics/drilldownGET (?metric=&bucket=)
BI / Reporting
/api/dashboardGET (computed)
/api/reportsGET, POST
/api/reports/data?source=GET (whitelisted sources)
/api/report-schedulesGET, POST
Data Migration
/api/data-importPOST (entity + rows)
/api/data-import/historyGET
Extensibility
/api/custom-field-definitionsGET (?entityType=), POST
/api/custom-field-definitions/[id]DELETE
/api/custom-field-valuesGET (?entityType=&entityId=), POST (upsert)
/api/webhook-subscriptionsGET, POST
/api/webhook-subscriptions/[id]PATCH, DELETE
/api/webhook-deliveriesGET (?subscriptionId=)