Skip to Content

Purchase Orders

The full PO lifecycle: orders and line items, additional costs, supplier quotations, payment schedules, notes, movement allocation, and change history.

21 tools — 12 read, 7 write, 2 delete.

ToolAccessWhat it does
purchase_order_add_noteWriteAdd a note or comment to a purchase order for team communication and documentation. Each call creates a new note entry (append model) — previous notes are preserved in storage but purchase_order_get_note only returns the latest one.
purchase_order_deleteDeleteArchive a purchase order by its ID (soft-delete — marks as archived, not permanently removed).
purchase_order_get_by_idReadRetrieve full details of a single purchase order by its ID, including products, supplier, dates, costs, and shipment links.
purchase_order_get_costsReadRetrieve actual incurred additional costs for a purchase order — freight, customs, duties, inspection, insurance — with per-product cost allocations.
purchase_order_get_historyReadRetrieve the audit history of changes made to a purchase order — timestamps, users, change types, and optionally full PO snapshots at each change point.
purchase_order_get_noteReadRetrieve the latest note for a purchase order — returns only the most recent note even if multiple exist (sorted by id desc).
purchase_order_listReadRetrieve a paginated list of purchase orders with filtering and sorting. No prerequisites — can be called directly.
purchase_order_list_cost_namesReadRetrieve all unique additional cost type names used across all purchase orders — returns a flat string array only, no amounts. Use as a dropdown or autocomplete source when adding costs, or before calling purchase_order_save_costs to suggest consistent names.
purchase_order_movement_deleteDeleteDelete ALL product movements for a purchase order — removes the entire allocation at once, not individual records. There is no tool to delete a single movement — only all at once.
purchase_order_movement_get_allocationReadRetrieve the current product allocation state for a purchase order as a Sankey flow graph, showing how products flow between locations (supplier, port, warehouse, FBA).
purchase_order_movement_get_historyReadRetrieve movement history for a specific purchase order and destination pair — a chronological log of product allocations to that location. Unlike purchase_order_movement_get_allocation which shows current state, this returns historical records.
purchase_order_movement_saveWriteRecord a product allocation (movement) for a purchase order — assigning products to flow from one location to another in the logistics chain (supplier to port to warehouse to FBA).
purchase_order_payment_check_statusWriteSystem-wide action that scans ALL purchase order payments across the organization and marks overdue ones — this is a write operation despite its name.
purchase_order_payment_getReadRetrieve payment records for a specific purchase order, including both order payments (to supplier) and shipping payments (to freight forwarder).
purchase_order_payment_get_calendarReadRetrieve a calendar view of all purchase order payments for a given year, aggregated across all POs — useful for cash flow planning.
purchase_order_payment_saveWriteSave or update payment records for a purchase order — manages both order payments (to supplier) and shipping payments (to freight forwarder).
purchase_order_quota_getReadRetrieve pre-order freight forwarder quotation estimates for a purchase order — these are cost estimates for comparison, not actual incurred costs.
purchase_order_quota_saveWriteSave or update freight forwarder quotations for a purchase order.
purchase_order_saveWriteCreate a new purchase order or update an existing one (upsert). If the payload includes an id field the existing PO is updated; otherwise a new PO is created.
purchase_order_save_costsWriteSave or update additional costs for a purchase order.
purchase_order_validate_keyReadVerify whether a purchase order upload key is still active (not expired) and return its associated PO, organization, and expiration date. This tool only validates — upload-key generation is done via the UI/public supplier portal, not via MCP.
Last updated on