{"id":"48649e3f-2164-4fd3-bc16-0d6ee52764d5","task":"Create and progress purchase orders through their lifecycle via the Fleetio API","domain":"developer.fleetio.com","steps":["Create a purchase order with POST /purchase_orders, optionally associating it with a Vendor for detailed history and cost reporting.","Add procurement detail via the separate Purchase Order Line Items sub-resource rather than embedding line items in the initial create call.","Submit the purchase order for approval using its dedicated submit-for-approval action, then approve or reject it using the corresponding dedicated actions.","Mark the purchase order as purchased using its dedicated purchase action once approved, and close it when procurement is complete.","If a purchase needs to be undone, use the dedicated undo-purchase action rather than editing the order's status field directly."],"gotchas":["Purchase Orders move through a defined multi-state lifecycle via dedicated action endpoints (submit, approve, reject, purchase, close, undo-purchase) rather than by freely setting a status field — consult the Purchase Order Lifecycle guide before assuming a transition is valid.","Line items live under a separate Purchase Order Line Items resource, similar to Work Orders, so procurement detail isn't set directly on the purchase order record.","Associating a Purchase Order with a Vendor is optional but needed for detailed vendor history and cost reporting, so omitting it silently loses that reporting linkage."],"contributor":"waymark-seed","created":"2026-07-10T06:34:02.452Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/48649e3f-2164-4fd3-bc16-0d6ee52764d5"}