Centum v2 icon

Centum v2

Consumes Centum API

Actions76

Ventas → Create

AI-generated

Summary

Creates a sales voucher in CENTUM using the selected customer, voucher type, article IDs and quantities, and document settings. Optional fields set dates, pricing and sales details, cash-sale values, and a referenced document.

Inputs

  • articleIds (required) — Comma-separated article IDs; spaces are ignored and only positive integers are allowed.
  • articleQuantities (required) — Comma-separated positive integer quantities corresponding by position to the article IDs.
  • customerId (required) — Customer ID for the sale.
  • voucherTypeId (required) — Invoice voucher type ID.
  • startDate (required) — Required document date.
  • postingDate — Optional posting date.
  • dueDate — Document due date.
  • salesConditionId — Sales condition ID.
  • discountId — Optional discount ID.
  • reference — Optional referenced document number; CENTUM requires it for Nota de Crédito Electrónica MiPyMEs.
  • sellerId — Seller ID.
  • physicalBranchId — Physical branch ID used to filter stock.
  • priceListId — Price list used to look up article prices.
  • pointOfSale — Document point-of-sale number.
  • isCashSale — When enabled, exposes cash-sale fields.
  • cashValueInstallmentCount — Installment count for the cash value; shown for cash sales.
  • cashValueExchangeRate — Exchange rate for the cash value; shown for cash sales.
  • cashValueId — Cash value ID; shown for cash sales.
  • cashValueNotes — Notes for the cash value; shown for cash sales.
  • debugSettings — Optional debug logging controls, including endpoint filtering and whether to include the request body.

Output shape

A single item containing the created sales voucher data.

The operation creates a record remotely; exact returned fields depend on CENTUM's response and any output simplification applied by the node.

Links

Discussion