Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Sale → SalePaymentCreate

AI-generated

Summary

Create a sale payment in Zen ERP

Inputs

  • resource (required) — Resource identifier, expected 'Sale'
  • operation (required) — Operation identifier, expected 'SalePaymentCreate'
  • sale_salePaymentCreate_bodyJson — JSON collection for sale payment data. UI default shows structure: { id: , sale: <object*>, type: <string*>, term: <integer*>, value: , assetTag: , tags: , properties: }

    Output shape

    main

    Returns an array of items. Each item contains a 'json' field with the created payment record or error information. If the resource/operation combination is invalid, a NodeOperationError is thrown.

    Examples

    Example 1: Create a sale payment with minimal required fields

    resource: 'Sale', operation: 'SalePaymentCreate', sale_salePaymentCreate_bodyJson: { id: 123, sale: {}, type: 'invoice', term: 30, value: 99.99, assetTag: {}, tags: '', properties: {} }

    Discussion