> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# exportB2BDocuments

> Exports one or more B2B Documents from Oracle Integration Cloud as .zip files that can be imported into another OIC instance or and stored in an SCM r

Exports one or more B2B Documents from Oracle Integration Cloud as .zip files that can be imported into another OIC instance or and stored in an SCM repository.

> [!NOTE]
>
> Either **FDOIC\_CLOUD\_ACCOUNT\_CODE** Target property value or **FDOIC\_INP\_CLOUD\_ACCOUNT\_CODE** plugin input value should exist. When both exists, plugin input value will take precedence. See [Creating/Editing a Cloud Account and Provider](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-users-guide/integrations/cloud-account-and-provider.md) for details on how to setup Cloud Account for OIC.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>Property Name</th><th>Property Code</th><th>Required</th><th>Description</th></tr><tr><td>OIC Account</td><td>`FDOIC_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>B2B Document List</td><td>`FDOIC_B2B_DOCUMENT_INCLUDE_LIST`</td><td>No</td><td>CSV list of Document ids to export.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>Input Name</th><th>Input Code</th><th>Required</th><th>Description</th></tr><tr><td>OIC Account</td><td>`FDOIC_INP_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.</td></tr><tr><td>B2B Document List</td><td>`FDOIC_INP_B2B_DOCUMENT_INCLUDE_LIST`</td><td>No</td><td>CSV list of Document ids to export.</td></tr><tr><td>Export Folder</td><td>`FDOIC_INP_EXPORT_SUBFOLDER`</td><td>No</td><td>Optional subfolder within temp directory for exporting Documents, or specify an absolute path. Absolute path.</td></tr><tr><td>Expand B2B Documents</td><td>`FDOIC_INP_EXPAND_B2B_DOCUMENTS`</td><td>No</td><td>Optionally expand (unzip) the exported zip files.</td></tr></tbody></table>

# Artifacts

This operation produces no artifacts, instead all exported files are stored in the temp directory to be pushed to SCM.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
