---
updatedAt: 2026-05-11T15:00:09.000Z
agentTools:
  projectIndex: https://docs.cj.com/llms.txt
---

# Cancellations Data File

<PreflightNote
  items={[
    "Each file may contain only one subscriptionId and enterpriseId combination. Split orders across multiple files if needed.",
    "Future dates in the updateTime field are not accepted. Use the current date or a past date only.",
    "Place your file in the root of the SFTP directory — subdirectories are not supported.",
    "Contact your Client Integration Engineer if you are unsure about your subscriptionId, actionTrackerId, or file submission method.",
  ]}
/>

***

# File Submission Process

<IntegrationSteps title="Submission at a Glance">
  <Step title="Prepare Your CSV File" description="Build your restatement file following the format requirements above. Validate all field formats, especially timestamps and numeric values, before submission." badge="Required" />

  <Step title="Submit Through the Data Transfer System" description="Upload your file using your designated upload method in the Data Transfer system. Contact your Client Integration Engineer if you need access credentials." badge="Required" />

  <Step title="Monitor Email Notifications" description="Watch for the Import Receipt Confirmation and the Processing Results notification. Review any failure details and resubmit corrected records as needed." badge="Required" />
</IntegrationSteps>

# How to Upload

export const DataFileUpload = () => (

  <div style={{ fontFamily: "'DM Sans', sans-serif", padding: "0 0 2rem" }}>

    <style>{`
      .dfu-section-label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #64748b;
        margin: 0 0 12px;
      }
      html[data-color-mode="dark"] .dfu-section-label {
        color: #94a3b8;
      }

      .dfu-divider {
        border: none;
        border-top: 1px solid #e2e8f0;
        margin: 24px 0;
      }
      html[data-color-mode="dark"] .dfu-divider {
        border-top-color: rgba(51, 65, 85, 0.5);
      }

      .dfu-wrap {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 20px 24px;
      }
      html[data-color-mode="dark"] .dfu-wrap {
        background: #1e293b;
        border-color: rgba(51, 65, 85, 0.5);
      }

      .dfu-grid {
        display: grid;
        grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
        row-gap: 0;
      }

      .dfu-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
      }

      .dfu-num {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #3d2c7d;
        color: #fff;
        font-family: DM Mono, monospace;
        font-size: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      html[data-color-mode="dark"] .dfu-num {
        background: #a0bff5;
        color: #ffffff;
      }

      .dfu-text {
        font-size: 13px;
        color: #475569;
        line-height: 1.4;
      }
      html[data-color-mode="dark"] .dfu-text {
        color: #94a3b8;
      }

      .dfu-arrow {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 6px;
        color: #cbd5e1;
        font-size: 16px;
      }
      html[data-color-mode="dark"] .dfu-arrow {
        color: #475569;
      }

      .dfu-breadcrumb {
        display: inline-flex;
        align-items: center;
        font-family: DM Mono, monospace;
        font-size: 10px;
        font-weight: 500;
        color: #3d2c7d;
        background: #f2f0f9;
        border: 1px solid #dddddd;
        padding: 2px 7px;
        border-radius: 4px;
        white-space: nowrap;
      }
      html[data-color-mode="dark"] .dfu-breadcrumb {
        color: #a0bff5;
        background: rgba(61, 44, 125, 0.2);
        border-color: rgba(160, 191, 245, 0.3);
      }

      .dfu-sftp {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
      }
      html[data-color-mode="dark"] .dfu-sftp {
        background: #0f172a;
        border-color: rgba(51, 65, 85, 0.5);
      }

      .dfu-sftp-step {
        display: grid;
        grid-template-columns: 44px 1fr;
        border-bottom: 1px solid #e2e8f0;
        background: #ffffff;
        transition: background 0.15s ease;
      }
      .dfu-sftp-step:last-child { border-bottom: none; }
      .dfu-sftp-step:hover { background: #f8fafc; }
      html[data-color-mode="dark"] .dfu-sftp-step {
        background: #0f172a;
        border-bottom-color: rgba(51, 65, 85, 0.5);
      }
      html[data-color-mode="dark"] .dfu-sftp-step:hover {
        background: #1e293b;
      }

      .dfu-sftp-num-col {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 15px 0 0;
        background: #f8fafc;
        border-right: 1px solid #e2e8f0;
      }
      html[data-color-mode="dark"] .dfu-sftp-num-col {
        background: #1e293b;
        border-right-color: rgba(51, 65, 85, 0.5);
      }

      .dfu-sftp-num {
        font-family: DM Mono, monospace;
        font-size: 11px;
        font-weight: 600;
        color: #3d2c7d;
        background: #f2f0f9;
        border: 1px solid #dddddd;
        border-radius: 4px;
        padding: 2px 6px;
        line-height: 1;
      }
      html[data-color-mode="dark"] .dfu-sftp-num {
        color: #a0bff5;
        background: rgba(61, 44, 125, 0.2);
        border-color: rgba(160, 191, 245, 0.3);
      }

      .dfu-sftp-content {
        padding: 13px 18px;
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      .dfu-sftp-title {
        font-size: 13px;
        font-weight: 600;
        color: #0f172a;
        line-height: 1.4;
      }
      html[data-color-mode="dark"] .dfu-sftp-title {
        color: #f1f5f9;
      }

      .dfu-sftp-desc {
        font-size: 12px;
        color: #64748b;
        line-height: 1.6;
        margin: 0;
      }
      html[data-color-mode="dark"] .dfu-sftp-desc {
        color: #94a3b8;
      }

      .dfu-sftp-tag {
        display: inline-flex;
        align-items: center;
        margin-top: 6px;
        font-size: 11px;
        font-weight: 500;
        color: #475569;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        padding: 3px 8px;
        border-radius: 4px;
        width: fit-content;
      }
      html[data-color-mode="dark"] .dfu-sftp-tag {
        color: #94a3b8;
        background: rgba(51, 65, 85, 0.3);
        border-color: rgba(71, 85, 105, 0.5);
      }

      .dfu-sftp-link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-top: 8px;
        font-size: 11px;
        font-weight: 600;
        color: #1966da;
        background: #f4f8ff;
        border: 1px solid #dddddd;
        padding: 5px 10px;
        border-radius: 5px;
        text-decoration: none !important;
        width: fit-content;
        transition: background 0.15s ease, border-color 0.15s ease;
      }
      .dfu-sftp-link:hover {
        background: #e8f0fd;
        border-color: #1966da;
        color: #1966da;
      }
      html[data-color-mode="dark"] .dfu-sftp-link {
        color: #a0bff5;
        background: rgba(25, 102, 218, 0.15);
        border-color: rgba(25, 102, 218, 0.3);
      }
      html[data-color-mode="dark"] .dfu-sftp-link:hover {
        background: rgba(25, 102, 218, 0.25);
        border-color: #a0bff5;
        color: #a0bff5;
      }

      .dfu-sftp-code {
        font-family: DM Mono, monospace;
        font-size: 11px;
        color: #3d2c7d;
        background: #f2f0f9;
        border: 1px solid #dddddd;
        padding: 2px 6px;
        border-radius: 3px;
      }
      html[data-color-mode="dark"] .dfu-sftp-code {
        color: #a0bff5;
        background: rgba(61, 44, 125, 0.2);
        border-color: rgba(160, 191, 245, 0.3);
      }
    `}</style>

    {/* Manual Upload */}
    <p className="dfu-section-label">Manual upload</p>
    <div className="dfu-wrap">
      <div className="dfu-grid">

        <div className="dfu-step">
          <div className="dfu-num">01</div>
          <div className="dfu-text">Log into<br />CJ Account Manager</div>
        </div>
        <div className="dfu-arrow">→</div>

        <div className="dfu-step">
          <div className="dfu-num">02</div>
          <div className="dfu-text">Navigate to<br />Subscriptions</div>
          <span className="dfu-breadcrumb">Account › Subscriptions</span>
        </div>
        <div className="dfu-arrow">→</div>

        <div className="dfu-step">
          <div className="dfu-num">03</div>
          <div className="dfu-text">Click<br />Upload File</div>
        </div>
        <div className="dfu-arrow">→</div>

        <div className="dfu-step">
          <div className="dfu-num">04</div>
          <div className="dfu-text">Choose your file<br />and select Upload</div>
        </div>

      </div>
    </div>

    <hr className="dfu-divider" />

    {/* SFTP Upload */}
    <p className="dfu-section-label">SFTP upload</p>
    <div className="dfu-sftp">

      <div className="dfu-sftp-step">
        <div className="dfu-sftp-num-col"><span className="dfu-sftp-num">01</span></div>
        <div className="dfu-sftp-content">
          <div className="dfu-sftp-title">Connect to CJ's SFTP server</div>
          <p className="dfu-sftp-desc">Use your SFTP credentials to connect. If you need your credentials or need to reset them, submit a support ticket to the CJ team.</p>
          <a className="dfu-sftp-link" href="https://docs.cj.com/docs/submit-a-support-ticket" target="_blank" rel="noopener noreferrer">Need credentials? Submit a support ticket →</a>
        </div>
      </div>

      <div className="dfu-sftp-step">
        <div className="dfu-sftp-num-col"><span className="dfu-sftp-num">02</span></div>
        <div className="dfu-sftp-content">
          <div className="dfu-sftp-title">Upload the file to the root directory</div>
          <p className="dfu-sftp-desc">Once logged in, place the file in the <span className="dfu-sftp-code">/</span> root directory. Do not upload to a subdirectory.</p>
        </div>
      </div>

      <div className="dfu-sftp-step">
        <div className="dfu-sftp-num-col"><span className="dfu-sftp-num">03</span></div>
        <div className="dfu-sftp-content">
          <div className="dfu-sftp-title">Watch for confirmation emails</div>
          <p className="dfu-sftp-desc">If processed successfully, CJ will send two emails — one confirming receipt and a second with the processing status.</p>
          <span className="dfu-sftp-tag">Email 1: receipt confirmation &nbsp;·&nbsp; Email 2: processing status</span>
          <a className="dfu-sftp-link" href="https://docs.cj.com/docs/neworders-datafile-validation" target="_blank" rel="noopener noreferrer">How to validate your processing status email →</a>
        </div>
      </div>

    </div>

  </div>

);

<DataFileUpload />

# Processing Notifications

<Callout icon="📘" theme="info">
  To receive processing notifications, ensure your email address is registered in the Data File Upload subscription settings within CJ Account Manager. To verify, log in to your CJ account and navigate to Account → → Subscriptions. If your email is not listed, submit a support ticket to request access.
</Callout>

export const OrdersFileNotifications = () => (

  <div style={{ fontFamily: "'DM Sans', sans-serif", color: "#1e293b", padding: "0 0 1rem" }}>

    <style>{`

      .ofn-timeline {
        display: flex;
        flex-direction: column;
        gap: 0;
      }

      /* Step card */
      .ofn-card {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
      }
      html[data-color-mode="dark"] .ofn-card {
        border-color: rgba(51, 65, 85, 0.5);
      }

      .ofn-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc;
      }
      html[data-color-mode="dark"] .ofn-card-header {
        background: #1e293b;
        border-bottom-color: rgba(51, 65, 85, 0.5);
      }

      .ofn-step-num {
        font-family: 'DM Mono', monospace;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
        color: #3d2c7d;
        background: #f2f0f9;
        border: 1px solid #dddddd;
        padding: 3px 8px;
        border-radius: 4px;
        flex-shrink: 0;
      }
      html[data-color-mode="dark"] .ofn-step-num {
        background: rgba(61, 44, 125, 0.2);
        border-color: rgba(61, 44, 125, 0.4);
        color: #b9a8ff;
      }

      .ofn-icon {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: #3d2c7d;
      }
      html[data-color-mode="dark"] .ofn-icon {
        color: #b9a8ff;
      }

      .ofn-card-title {
        font-size: 13px;
        font-weight: 600;
        color: #0f172a;
        flex-grow: 1;
      }
      html[data-color-mode="dark"] .ofn-card-title {
        color: #f1f5f9;
      }

      .ofn-card-meta {
        font-family: 'DM Mono', monospace;
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #656565;
        background: #f6f6f6;
        border: 1px solid #dddddd;
        padding: 3px 8px;
        border-radius: 4px;
        white-space: nowrap;
      }
      html[data-color-mode="dark"] .ofn-card-meta {
        background: rgba(15, 23, 42, 0.6);
        border-color: rgba(51, 65, 85, 0.5);
        color: #94a3b8;
      }

      .ofn-card-body {
        padding: 16px 18px;
        background: #ffffff;
      }
      html[data-color-mode="dark"] .ofn-card-body {
        background: #0f172a;
      }

      .ofn-card-body p {
        margin: 0;
        font-size: 13px;
        line-height: 1.65;
        color: #475569;
      }
      html[data-color-mode="dark"] .ofn-card-body p {
        color: #94a3b8;
      }

      /* Connector between steps */
      .ofn-connector {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 0;
        color: #94a3b8;
      }
      html[data-color-mode="dark"] .ofn-connector {
        color: #475569;
      }
      .ofn-connector-line {
        width: 1.5px;
        height: 16px;
        background: currentColor;
      }
      .ofn-connector-label {
        font-family: 'DM Mono', monospace;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 10px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
      }
      html[data-color-mode="dark"] .ofn-connector-label {
        background: rgba(15, 23, 42, 0.6);
        border-color: rgba(51, 65, 85, 0.5);
      }

      /* Result status pills */
      .ofn-statuses {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid #e2e8f0;
      }
      html[data-color-mode="dark"] .ofn-statuses {
        border-top-color: rgba(51, 65, 85, 0.5);
      }
      .ofn-statuses-label {
        font-family: 'DM Mono', monospace;
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #656565;
        margin-bottom: 10px;
      }
      html[data-color-mode="dark"] .ofn-statuses-label {
        color: #94a3b8;
      }
      .ofn-status-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
      .ofn-status {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        line-height: 1.5;
      }
      .ofn-status-pill {
        font-family: 'DM Mono', monospace;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 3px 10px;
        border-radius: 4px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 110px;
        text-align: center;
      }
      .ofn-status-pill.success {
        color: #007e4d;
        background: #f2fffa;
        border: 1px solid #007e4d;
      }
      .ofn-status-pill.partial {
        color: #735400;
        background: #fff8e6;
        border: 1px solid #ffb121;
      }
      .ofn-status-pill.failure {
        color: #d42617;
        background: #fff7f4;
        border: 1px solid #d42617;
      }
      html[data-color-mode="dark"] .ofn-status-pill.success {
        color: #4db88a;
        background: rgba(0, 126, 77, 0.1);
        border-color: rgba(0, 126, 77, 0.4);
      }
      html[data-color-mode="dark"] .ofn-status-pill.partial {
        color: #ffb121;
        background: rgba(255, 177, 33, 0.1);
        border-color: rgba(255, 177, 33, 0.4);
      }
      html[data-color-mode="dark"] .ofn-status-pill.failure {
        color: #ff7a6e;
        background: rgba(212, 38, 23, 0.1);
        border-color: rgba(212, 38, 23, 0.4);
      }
      .ofn-status-desc {
        color: #475569;
        flex-grow: 1;
      }
      html[data-color-mode="dark"] .ofn-status-desc {
        color: #94a3b8;
      }

      /* Footnote */
      .ofn-footnote {
        margin-top: 12px;
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.55;
        color: #64748b;
        background: #f8fafc;
        border-left: 2px solid #94a3b8;
        border-radius: 0 4px 4px 0;
        display: flex;
        align-items: flex-start;
        gap: 8px;
      }
      html[data-color-mode="dark"] .ofn-footnote {
        color: #94a3b8;
        background: rgba(15, 23, 42, 0.6);
        border-left-color: #475569;
      }
      .ofn-footnote-icon {
        flex-shrink: 0;
        margin-top: 1px;
      }

      /* Mobile: tighten meta tags */
      @media (max-width: 580px) {
        .ofn-card-header {
          flex-wrap: wrap;
        }
        .ofn-card-meta {
          margin-left: auto;
        }
        .ofn-status-pill {
          min-width: 90px;
          font-size: 9px;
        }
      }
    `}</style>

    <div className="ofn-timeline">

      <div className="ofn-card">
        <div className="ofn-card-header">
          <span className="ofn-step-num">01</span>
          <div className="ofn-icon">
            <svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path d="M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z" stroke="currentColor" strokeWidth="1.6" />
              <path d="M4 7l8 6 8-6" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" />
            </svg>
          </div>
          <span className="ofn-card-title">CJ Import Receipt Confirmation</span>
          <span className="ofn-card-meta">Sent Immediately</span>
        </div>
        <div className="ofn-card-body">
          <p>
            Confirms that CJ has received the New Orders file you submitted.
            This email confirms receipt of the file only — it does not
            indicate that the records inside have been processed or accepted.
          </p>
        </div>
      </div>

      <div className="ofn-connector">
        <div className="ofn-connector-line" />
        <div className="ofn-connector-label">
          <svg width="11" height="11" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
            <circle cx="12" cy="12" r="3" stroke="currentColor" strokeWidth="2" />
            <path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.93 4.93l2.12 2.12M16.95 16.95l2.12 2.12M4.93 19.07l2.12-2.12M16.95 7.05l2.12-2.12" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" />
          </svg>
          <span>Processing</span>
        </div>
        <div className="ofn-connector-line" />
      </div>

      <div className="ofn-card">
        <div className="ofn-card-header">
          <span className="ofn-step-num">02</span>
          <div className="ofn-icon">
            <svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path d="M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z" stroke="currentColor" strokeWidth="1.6" />
              <path d="M4 7l8 6 8-6" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" />
              <path d="M9 14l2 2 4-4" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" />
            </svg>
          </div>
          <span className="ofn-card-title">CJ New Orders File Processed</span>
          <span className="ofn-card-meta">On Completion</span>
        </div>
        <div className="ofn-card-body">
          <p>
            Reports aggregated processing results once your file has finished
            processing. The subject line includes one of three result
            statuses, and detailed outcomes are provided in the email body or
            as an attached file.
          </p>

          <div className="ofn-statuses">
            <div className="ofn-statuses-label">Possible result statuses</div>
            <div className="ofn-status-list">

              <div className="ofn-status">
                <span className="ofn-status-pill success">Success</span>
                <span className="ofn-status-desc">All records processed successfully with zero errors.</span>
              </div>

              <div className="ofn-status">
                <span className="ofn-status-pill partial">Partial Failure</span>
                <span className="ofn-status-desc">A mix of successful and failed records. Review the failed records in the email body or attachment.</span>
              </div>

              <div className="ofn-status">
                <span className="ofn-status-pill failure">Failure</span>
                <span className="ofn-status-desc">All records failed to process. Review error details in the email body or attachment.</span>
              </div>

            </div>
          </div>

          <div className="ofn-footnote">
            <svg className="ofn-footnote-icon" width="13" height="13" viewBox="0 0 16 16" fill="none">
              <circle cx="8" cy="8" r="7" stroke="currentColor" strokeWidth="1.4" />
              <path d="M8 7v4M8 5v.5" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
            </svg>
            <span>For Partial Failure or Failure outcomes, error details are provided either inline in the email body or as a downloadable attachment depending on the volume of failed records.</span>
          </div>
        </div>
      </div>

    </div>

  </div>
);

<OrdersFileNotifications />