API Search endpoints…⌘K Get API credentialsGet access

List draft invoices

GET/lokta-lms/api/v1/draft-invoices

Lists draft invoices, newest first.

status is repeatable: pending · approved · rejected. produced_by = system (the monthly batch) or user (a manual run). A draft is produced only for a partner+currency with a non-zero amount; it carries a tracking number (DRF/FY/NNNN) from creation and the GST invoice number only once approved.

Query parameters

statusquery · array · optional

Repeatable

partner_idquery · string · optional
fee_run_idquery · string · optional
period_startquery · string · optional
period_endquery · string · optional
produced_byquery · string · optional

system | user

limitquery · integer · int32 · optional
cursorquery · string · optional

Responses

defaultdefault response

Every request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors. Open this operation in the interactive explorer, or read it as Markdown.

This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai