{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"File Generation and Infrastructure","siteUrl":"https://docs.peachfinance.com","description":"API and product documentation for Peach Finance, a lending-as-a-service platform.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"file-generation-and-infrastructure","__idx":0},"children":["File Generation and Infrastructure"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"file-naming-conventions","__idx":1},"children":["File Naming Conventions"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"standard-naming","__idx":2},"children":["Standard Naming"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Format:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{COMPANY_LEGAL_NAME}{COMPANY_ID}{AGENCY_NAME}{YYYYMMDD}.txt"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ACMELENDINGLLCCPYL69X5Z1EQUIFAX20260101.txt"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Rules:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Company legal name: First 20 characters, special characters removed"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Company ID: Peach public company ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Agency name: Full agency name in uppercase"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Date: Activity date in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YYYYMMDD"]}," format"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"experian-convention","__idx":3},"children":["Experian Convention"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Format:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{FILE_NAME_PREFIX}.{MMDDYYYY}.txt"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MKFRT.01012026.txt"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Requirements:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nameFilePerAgencyConvention: true"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fileNamePrefix"]}," must be set (provided by Experian)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Date format is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MMDDYYYY"]}," (different from standard)"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"chunk-file-naming-internal","__idx":4},"children":["Chunk File Naming (Internal)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Format:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["part.{agency}.{date}.{chunk_id}.peach.txt"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["part.equifax.20260101.abc123.peach.txt"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"metadata-file-naming-internal","__idx":5},"children":["Metadata File Naming (Internal)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Format:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metadata.{agency}.{date}.{chunk_id}.json"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metadata.equifax.20260101.abc123.json"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sftp-upload-and-encryption","__idx":6},"children":["SFTP Upload and Encryption"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"authentication-methods","__idx":7},"children":["Authentication Methods"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Username/Password:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"sftpAccessMethod\": \"usernamePassword\",\n  \"sftpHostname\": \"sftp.bureau.com:22\",\n  \"sftpUsername\": \"yourcompany\",\n  \"sftpPassword\": \"encrypted_password\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SSH Keys:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"sftpAccessMethod\": \"keys\",\n  \"sftpHostname\": \"sftp.bureau.com:22\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When using keys, Peach generates a key pair. Share the public key with the bureau."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"gpg-encryption","__idx":8},"children":["GPG Encryption"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["encryptionMethod: \"GPG\""]}," is configured:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Generate Metro 2 file in plain text"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Import bureau's public key"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Encrypt file using GPG"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Upload encrypted file to SFTP"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"directory-navigation","__idx":9},"children":["Directory Navigation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sftpCdDir"]}," to specify the upload directory:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"sftpCdDir\": \"/inbound/metro2\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The system will ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cd"]}," to this directory before uploading."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"file-creation-record","__idx":10},"children":["File Creation Record"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After upload, a FileCreationRecord is created:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Success:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"creditAgencyIds\": [\"CA-XXX\"],\n  \"companyIds\": [\"CP-YYY\"],\n  \"agencyName\": \"equifax\",\n  \"status\": \"succeeded\",\n  \"activityDate\": \"2025-12-31\",\n  \"fileName\": \"ACMELENDING...20260101.txt\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Failure:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"status\": \"failed\",\n  \"failureDescription\": \"SFTP connection timeout\"\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"File Generation and Infrastructure","id":"file-generation-and-infrastructure","depth":1},{"value":"File Naming Conventions","id":"file-naming-conventions","depth":2},{"value":"Standard Naming","id":"standard-naming","depth":3},{"value":"Experian Convention","id":"experian-convention","depth":3},{"value":"Chunk File Naming (Internal)","id":"chunk-file-naming-internal","depth":3},{"value":"Metadata File Naming (Internal)","id":"metadata-file-naming-internal","depth":3},{"value":"SFTP Upload and Encryption","id":"sftp-upload-and-encryption","depth":2},{"value":"Authentication Methods","id":"authentication-methods","depth":3},{"value":"GPG Encryption","id":"gpg-encryption","depth":3},{"value":"Directory Navigation","id":"directory-navigation","depth":3},{"value":"File Creation Record","id":"file-creation-record","depth":3}],"frontmatter":{"seo":{"title":"File Generation and Infrastructure"}},"lastModified":"2026-01-22T22:40:23.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/credit-reporting/file-generation","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}