Terminal-2 icon

Enable third party sharing

You may need to share information with third party service providers. For example, if a tourist purchases an item from your store, and wants to reclaim VAT, you need to share this information with a tax free provider. You can do this by enabling third party sharing using the additional data object.

Code example

Use the following helper function to set the flag to true:

additional_data_struct *AD_obj = allocate_additional_data();
add_additional_data_kvp_by_id(AD_obj, "taxfree.indicator", "true");

Once this flag has been set, you will pass the additional_data_obj object as part of the confirm_additional_data call.