{"title":"Enable third party sharing","category":"default","creationDate":1776961627,"content":"<p>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.<\/p>\n<h2 id=\"code-example\">Code example<\/h2>\n<p>Use the following helper function to set the flag to true:<\/p>\n<pre><code class=\"language-cpp\">additional_data_struct *AD_obj = allocate_additional_data();\nadd_additional_data_kvp_by_id(AD_obj, \"taxfree.indicator\", \"true\");<\/code><\/pre>\n<p>Once this flag has been set, you will pass the <code>additional_data_obj<\/code> object as part of the <a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/key-steps-c-library\/process-a-basic-transaction-c-library\/handle-the-additional-data-callback-c-library\">confirm_additional_data<\/a> call.\u00a0<\/p>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/enable-third-party-sharing-c-library","articleFields":{"id":"24217510","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/enable-third-party-sharing-c-library","title":"Enable third party sharing","content":"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.\nCode example\nUse the following helper function to set the flag to true:\nadditional_data_struct *AD_obj = allocate_additional_data();\nadd_additional_data_kvp_by_id(AD_obj, \"taxfree.indicator\", \"true\");\nOnce this flag has been set, you will pass the additional_data_obj object as part of the confirm_additional_data call.\u00a0","type":"page","locale":"pt","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"C library integration","lvl5":"Extras","lvl6":"Enable third party sharing"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library","lvl6":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/extras-c-library\/enable-third-party-sharing-c-library"},"levels":7,"category":"In-person payments","category_color":"green","tags":["Enable","third","party","sharing"]}}
