API Search endpoints…⌘K Get API credentialsGet access

Reject a draft invoice

POST/lokta-lms/api/v1/draft-invoices/{id}/rejection

Rejects a draft invoice, with a reason.

The draft keeps its tracking number and full basis; its accruals are reversed so the (loan, line, period) is uncovered again and the next run recomputes it from current terms. No invoice number is spent. It is refused in the same cases as an approval.

Path parameters

idpath · string · required

Header parameters

Idempotency-Keyheader · string · optional

Per-intent key

Request body application/json

reasonstring · required

Required.

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