Client Documents API.
The full quote → invoice → receipt → ticket lifecycle, callable from your own finance tool or CRM.
Two valid ways in - by design.
Most endpoints (key management, profile, approvals, voids) require your logged-in session only. Creating a quotation or a ticket accepts either your session or an API key - so a human on the dashboard and your own integrated system can both call the exact same real entry point.
Quote to receipt, in order.
/api/v1/client-documents/quotationsStart a quotation against a mission. Auth: session or API key.
/api/v1/client-documents/{document_id}/line-itemsAdd a line item - description and amount. Call once per line. Auth: session.
/api/v1/client-documents/{document_id}/submitSubmit the quotation for internal approval. Auth: session.
/api/v1/client-documents/{document_id}/approveApprove it. Auth: session.
/api/v1/client-documents/{document_id}/lock-and-issueLock the numbers and issue the real, numbered document. Currency defaults to USD; supply fx_rate for anything else. Auth: session.
/api/v1/public/quotations/{token}/respondThe client's own accept/decline link - {"response": "ACCEPTED"} or "DECLINED". No auth: this is what your client clicks, not something you call yourself.
/api/v1/client-documents/quotations/{document_id}/create-invoiceTurn an accepted quotation into an invoice - the numbers carry over. Auth: session.
/api/v1/client-documents/invoices/{document_id}/mark-paidMark an invoice paid. Auth: session.
/api/v1/client-documents/invoices/{document_id}/create-receiptIssue the receipt once /receipt-eligibility confirms it's payable. Auth: session.
/api/v1/client-documents/ticketsIssue a ticket for a passenger against a mission. Auth: session or API key.
/api/v1/client-documents/{document_id}/voidVoid any document with a reason. Nothing is silently edited - the void is on the record. Auth: session.
/api/v1/client-documents/{document_id}/chainSee the full quote-to-receipt chain for one document. Auth: session.
Mint, list, revoke - and set your document profile.
API Keys
GET/POST /api-keys, DELETE /api-keys/{key_id} - all session-authenticated, from your own account settings.
Document Profile
GET/PUT /profile - your legal name, logo, bank details, and tax rate, used on every document you issue.
None of this works until Client Documents is enabled for your operator - an Executive does that from their own dashboard, not through this API.
The same documents your team prints.
Quotations, invoices and receipts come from the flight record with your logo, colours, terms and payment details - identical to what your team prints inside the platform.