Skip to main content

Get Purchase Order Cash Flow Schedule

GET 

/api/purchase-orders/cash-flow-schedule

Get the purchasing cash-flow schedule — expected vendor payments derived from all open, non-archived purchase orders.

Required scope: purchase-orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Each expected payment row is built from the best available source, reported as forecast_source:

  • scheduled — the PO's own payment-term deposit schedule (high confidence)
  • inferred — the supplier's default payment-term schedule or default deposit percentage (medium confidence)
  • heuristic — a due date estimated from PO/shipment ETD or ETA
  • unscheduled — no schedule and no usable date; rows with a null due_date are always included regardless of the date window

If a milestone already has a linked vendor deposit, the row amount reflects that deposit's remaining open exposure and the deposit's own due date takes precedence. Fully settled milestones are omitted.

The response contains time buckets (by the chosen granularity), per-source sections with full rows, a per-source summary, and overall exposure totals including overdue and due-in-7/30-day figures.

Read-only. Requires the purchase-orders:read token scope.

Request

Responses

OK

Response Headers
    Content-Type