Xentral icon

Xentral

Interact with Xentral ERP API

Actions196

Sales Order → Create

AI-generated

Summary

Create a new sales order in Xentral by specifying the required customer ID and any optional sales order details to customize the order.

Inputs

  • Customer ID (required) — The ID of the customer (business contact / address) for this sales order
  • Additional Fields — Optional fields to customize the sales order, such as document date, currency, tax type, addresses, tags, print settings, internal comments, and references to employees, warehouses, projects, and sales representatives

Output shape

a single sales order record object as returned by the Xentral API

The output includes the created sales order's details. Optional fields can be specified to enrich the sales order data; all fields are optional except Customer ID which is required.

Examples

Example 1: Create a sales order for a specific customer with custom document date and currency

Set Customer ID to the customer's ID, Document Date to desired date, and Currency to ISO currency code such as EUR.

Links

Discussion