Holded icon

Holded

Interact with the Holded ERP API v2 (contacts, invoices, sales orders, products and more)

Actions302

Purchase Order → Create Purchase Order

AI-generated

Summary

Creates a Holded purchase order for a contact, sending the supplied items and any configured additional fields to the API. Items and JSON-formatted fields must contain valid JSON.

Inputs

  • Contact ID (required) — ID of the contact associated with the purchase order.
  • Items (required) — JSON string containing the purchase order items.
  • Additional Fields — Optional purchase order details: contact name, currency and currency change, custom fields (JSON), date, description, discount, due date, language, notes, number line ID, project ID, comma-separated tags, and warehouse ID.

Output shape

A single record

The source pack provides signatures only for the relevant dispatcher and node modules, so the exact returned record structure is not visible.

Examples

Example 1: Create a purchase order for a contact with line items and optional metadata.

Provide the required Contact ID and Items JSON; add any applicable fields under Additional Fields.

Links

Discussion