Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Sale → SaleItemCreate

AI-generated

Summary

Create a sale item in Zen ERP

Inputs

  • sale_saleItemCreate_bodyJson (required) — JSON body defining the sale item. Fields include id, sale, productPacking, code, taxationRule, taxationOperation, priceListValue, quantity, servedQuantity, unitValue, currency, costUnitValue, grossProductValue, discountType, discountAmount, discountValue, productValue, otherValues, operationValue, insideTaxValue, outsideTaxValue, totalValue, taxCompensationValue, effectiveValue, schedule, assetTag, tags, properties. Types use notation , , , <number*>, , <object*> as declared in the node's UI schema.

    Output shape

    Array of n8n items, each containing a json field with the result of the SaleItemCreate operation. If the operation handler returns an array, each element is pushed as a separate item; if it returns a single value, it is wrapped as json. When continueOnFail is enabled, error information is returned as json instead.

    Source (ZenErp.node.js execute method) confirms the node reads resource and operation from input parameters, dispatches via getOperationHandler (which creates a handler from ZenErp.helpers), and returns items with json data.

    Discussion