Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Financial/Billing → BatchResponseOpCreate

AI-generated

Summary

Create batch response for financial billing with JSON body.

Inputs

  • financial_billing_batchResponseOpCreate_bodyJson (required) — JSON configuration for the batch response create operation. Expected fields include bytes (required string), filename (string), charsetName (string), and tags (string).

Output shape

Array of items on the 'main' output port. Each item contains a 'json' field with the operation result and a 'pairedItem' field referencing the input item index.

The execute method retrieves 'resource' and 'operation' parameters, resolves the handler via getOperationHandler (which wraps createHandler from ZenErp_helpers), and processes each input item. If the handler returns an array, items are expanded; otherwise a single result item is returned. Errors during processing are handled according to the node's continueOnFail setting.

Examples

Example 1: Workflow author configures the Zen ERP node with resource 'Financial/Billing' and operation 'BatchResponseOpCreate'. They set the 'Body' parameter to a JSON object like { 'bytes': 'base64data', 'filename': 'report.pdf', 'charsetName': 'UTF-8', 'tags': 'financial' }. The node processes the incoming item and returns the batch create response as n8n item JSON.

Resource: Financial/Billing, Operation: BatchResponseOpCreate, Body: { bytes, filename, charsetName, tags }

Links

Discussion