finance

Issue Manual Invoice Route

/invoices/issue-manual. v1's POST /invoices/issue-manual: validates the typed dollar figures FIRST (validation.validate_manual_invoice, ported verbatim from v1's manual-invoice.ts — the pre-existing bare CreateInvoiceModal / POST /invoices path has no equivalent check at all), then the org-lifecycle gate, then creates the invoice with due_date passed through exactly as given.

post/api/finance/invoices/issue-manual

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

IssueManualInvoiceRequest required

/invoices/issue-manual — v1's POST /invoices/issue-manual mapped onto a term line. Quantities/period/due-date/terms pre-fill from GET /invoices/manual-prefill; the caller types the dollar figures, validated server-side by validation.validate_manual_invoice (ported verbatim from v1's manual-invoice.ts — a blank/negative/absent rate or total is rejected here, not silently accepted the way the pre-existing bare CreateInvoiceModal / POST /invoices path is).

term_id, string uuid required
invoice_date, string date required
facility_id, string uuid nullable
due_date, string date nullable
billing_period_start, string date nullable
billing_period_end, string date nullable
notes, string nullable
line_items, ManualLineItemBody[] required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.