---
schema_version: "1"
id: 44b7853f63a2823336723dd64751ad26309ef61ccce57efb3a5feb7c47847c22
title: Filename Patterns for Send Endpoints
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/partner-manager/latest/file-name-pattern.md
canonical_url: https://docs.mulesoft.com/partner-manager/latest/file-name-pattern
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 848b718dafb0c09bcbb0dd523d0a687cf92634a88905721332339dbf75e19070
description: MuleSoft Documentation Site
release: 2.x
latest: true
---
---
product: Partner Manager
version: 2.x
is-latest-version: true
---

# Filename Patterns for Send Endpoints

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Using property placeholders, Partner Manager enables you to configure a template that specifies
properties and their order in the filename patterns for files delivered to SFTP and AS2 send
endpoints.

When filename pattern fields are configured with property placeholders (specified within `${ }`),
Partner Manager dynamically populates the filename with updated information at runtime. Any filename
property field that is not specified within the placeholder is static and is not updated at runtime.

The following table shows the property placeholders that Partner Manager supports and the dynamic
value the placeholder is replaced with at runtime. All dates and times must be in UTC format.

<table><colgroup><col> <col></colgroup><thead><tr><th>Placeholder</th><th>Replaced with</th></tr></thead><tbody><tr><td><p>${DocType}</p></td><td><p>EDI Document Type</p></td></tr><tr><td><p>${GSSender}</p></td><td><p>Group ID of the Sender</p></td></tr><tr><td><p>${GSReceiver}</p></td><td><p>Group ID of the Receiver</p></td></tr><tr><td><p>${ISASender}</p></td><td><p>Interchange ID of the Sender</p></td></tr><tr><td><p>${ISAReceiver}</p></td><td><p>Interchange ID of the Receiver</p></td></tr><tr><td><p>${uuid}</p></td><td><p>Unique Identifier: for example: <code>93de0793-63e1-5a06-aedf-fcd052ed2155</code></p></td></tr><tr><td><p>${YYYY}</p></td><td><p>Year: for example, <code>2021</code></p></td></tr><tr><td><p>${MM}</p></td><td><p>Month: for example, <code>04</code></p></td></tr><tr><td><p>${DD}</p></td><td><p>Date: for example, <code>14</code></p></td></tr><tr><td><p>${HH}</p></td><td><p>Hour: for example, <code>15</code></p></td></tr><tr><td><p>${mm}</p></td><td><p>Minute: for example, <code>25</code></p></td></tr><tr><td><p>${SS}</p></td><td><p>Seconds: for example, <code>46</code></p></td></tr><tr><td><p>${sss}</p></td><td><p>Milliseconds: for example, <code>345</code></p></td></tr><tr><td><p>${timeInMillis}</p></td><td><p>Current time in milliseconds: for example, <code>1648805073834</code></p></td></tr><tr><td><p>${ICN}</p></td><td><p>Interchange Control Number</p></td></tr><tr><td><p>${GCN}</p></td><td><p>Group Control Number</p></td></tr><tr><td><p>${BusKey}</p></td><td><p>Primary Business Key value: for example, <code>PO12345</code></p></td></tr><tr><td><p>${FormatTypeExt}</p></td><td><div><div><p>File format:</p></div><div><ul><li><p><code>edifact</code></p></li><li><p><code>json</code></p></li><li><p><code>x12</code></p></li><li><p><code>xml</code></p></li></ul></div></div></td></tr></tbody></table>

## Examples

<table><colgroup><col> <col></colgroup><thead><tr><th>Filename Pattern</th><th>Generated Filename</th></tr></thead><tbody><tr><td><p>${DocType}_${ISASender}_${YYYYMMDD}_${HHmmSSsss}_${ICN}.edi</p></td><td><p><code>850_NTORETAIL_20201102_192655521_300001.edi</code></p></td></tr><tr><td><p>INVOICE_${SenderGSID}_${ICN}.${FormatTypeExt}</p></td><td><p><code>INVOICE_MYTHICALSUPPLIERS_12355343.xml</code></p></td></tr><tr><td><p>${uuid}.edi</p></td><td><p><code>93de0793-63e1-5a06-aedf-fcd052ed2155.edi</code></p></td></tr><tr><td><p>${DocType}-${YYYY}-${MM}-${DD}-${HHmmSSsss}.dat</p></td><td><p><code>204-2020-06-24-192655521.dat</code></p></td></tr><tr><td><p>${DocType}_${ISASender}_${YYYYMMDD}_${HHmmSSsss}_${ICN}.${FormatTypeExt}</p></td><td><p><code>850_NTORETAIL_20201102_192655521_300001.json</code></p></td></tr></tbody></table>

## See Also

- [AS2 Send Endpoints](https://docs.mulesoft.com/partner-manager/latest/endpoint-as2-send)

- [SFTP Send Endpoints](https://docs.mulesoft.com/partner-manager/latest/endpoint-sftp-send)
