This Data Stream example demonstrates how to use this Action Agent to generate an iPOS integration XML file.
Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the iPOS Action Agent onto the canvas and link the input endpoint to the line item calculation. Rename the Agent and save the Data Stream.

Step 2: Configure General

Select the Agent and click Configure. In this case, keep the default Collection.

Step 3: Configure Settings

Enter the XML file export location and map the filename to a column from the parent Agent.

Step 4: Configure Tax Calculation

Map the Total Tax Value and Total Invoice Value to a column from the parent Agent.

Step 5: Configure Mapping

Upload the iPOS XML integration template file. The mapping grid is populated based on it's contents.
Map the invoice header information to columns from the parent Agent.
Enter the invoice line item mappings, using the format {LineItem column name}.{Json properties}.
Apply the changes and save the Data Stream.

Step 6: Results

Click Publish. Observe the XML export location: the Agent generates an XML file for each invoice event received. Observe the file contents of the XML file: e header information as mapped and two line items.


Security Key
Data Stream
iPOS Action Agent Example.xuc
Invoice Sample Data
iPOS sample file.csv
iPOS XML Template
See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.