Xentral icon

Xentral

Interact with Xentral ERP API

Actions196

Purchase Order → Attach File

AI-generated

Summary

Attach a binary file from the workflow to a specified purchase order in Xentral.

Inputs

  • Purchase Order ID (required) — The unique identifier of the purchase order to which the file will be attached.
  • Binary Property (required) — The name of the binary property in the input data that contains the file to upload (default is "data").

Output shape

a JSON object representing the response from the Xentral API after attaching the file

Requires the input data to include binary data under the specified binary property. The operation applies the file upload to the purchase order identified by the given ID.

Examples

Example 1: Attach a PDF invoice copy from an HTTP Request node output to purchase order '12345'

Purchase Order ID set to '12345'; Binary Property set to 'data' which contains the file.

Links

Discussion