finance

Generate Invoice From Term Route

/invoices/new. v1's POST /invoices/generate-from-contract, mapped onto a term line (routes.py module docstring).

post/api/finance/invoices/generate-from-term

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

GenerateFromTermRequest required

/invoices/new — the contract-driven creation screen. v1's POST /generate-from-contract mapped onto a term line: term_id is the line the picker resolved as covering the chosen invoice_date; every dollar is derived from it server-side (service.generate_invoice_from_term).

term_id, string uuid required
invoice_date, string date required
piece_count, integer nullable

Response

Successful Response

object required

Changes

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