{"title":"Batch result file","category":"default","creationDate":1697794920,"content":"<p>You can get the batch result file two days after receiving the <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-acknowledgement-file\">batch acknowledgement (ACK) file<\/a> with a successful validation.<\/p>\n<p>The following fields are included in all batch result files:<\/p>\n<h3 id=\"file-header-fh\">File Header\u00a0[FH]<\/h3>\n<p>The File Header\u00a0[FH] record\u00a0contains the data that was passed in the <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\">batch request file header<\/a>.<\/p>\n<table><thead><tr class=\"header\"><th><p>Field #<\/p><\/th><th><p>Format<\/p><\/th><th><p>Description<\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>FH<\/code><\/p>\n<\/td><td>\n<p>Record type identifier.<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Fixed value: <code>1.0<\/code><\/p>\n<\/td><td>\n<p>Version number.<br> This field enables version control for the release of future enhancements for batch processing.<\/p>\n<\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Allowed values:<ul><li markdown=\"1\"><code>TEST<\/code><\/li><li markdown=\"1\"><code>LIVE<\/code><\/li><\/ul><\/p>\n<\/td><td>\n<p>It specifies the environment: either test or live\/production.<\/p>\n<\/td><\/tr><tr><td>\n<p>4<\/p>\n<\/td><td>\n<p>Allowed values:<\/p>\n<ul>\n<li><code>MerchantAccount<\/code><\/li>\n<li><code>Company<\/code><\/li>\n<\/ul>\n<\/td><td>\n<p>Account type, as submitted in the <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\">request file<\/a>.<\/p>\n<\/td><\/tr><tr><td>\n<p>5<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>The merchant or the company account name, as submitted in the <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\">request file<\/a>.<\/p>\n<\/td><\/tr><tr><td>\n<p>6<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>The <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-file-naming-and-structure\">submission platform<\/a> value provided in the <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\">request file<\/a>.<\/p>\n<\/td><\/tr><tr><td>\n<p>7<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td>\n<p>The <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-file-naming-and-structure\">file sequence number<\/a> value provided in the <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\">request file<\/a>.<\/p>\n<\/td><\/tr><tr><td>\n<p>8<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>The API credential name specified to upload the file to the SFTP. <br> For example: <span translate=\"no\"><a href=\"mailto:strong&gt;ws@Company.&lt;\/strong\" class=\"mailto\">strong&gt;ws@Company.&lt;\/strong<\/a><\/span><strong>[YourCompanyAccount]<\/strong><\/p>\n<\/td><\/tr><tr><td>\n<p>9<\/p>\n<\/td><td>\n<p>Allowed values:<ul><li markdown=\"1\"><a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/authorisation-result-file\">Authorisation<\/a><\/li><li markdown=\"1\"><a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/payout-result-file\">Payout<\/a><\/li><li markdown=\"1\"><a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/refundwithdata-result-file\">RefundWithData<\/a><\/li><li markdown=\"1\"><a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/modification-result-file\">Modification<\/a><\/li><li markdown=\"1\"><a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/payoutmodification-result-file\">PayoutModification<\/a><\/li><li markdown=\"1\"><a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file\/accountupdater-result-file\">AccountUpdater<\/a><\/li><\/ul><\/p>\n<\/td><td>\n<p>The <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-file-naming-and-structure\">file type<\/a> value provided in the <a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\">request file<\/a>.<\/p>\n<\/td><\/tr><tr><td>\n<p>10<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>The file\u00a0header\u00a0<code>EchoData<\/code>\u00a0value\u00a0provided in the corresponding\u00a0<a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\">request file<\/a>. If you do not pass any value in the corresponding field in the\u00a0request\u00a0file, this field is blank.\u00a0<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h3 id=\"file-trailer-ft\">File Trailer [FT]<\/h3>\n<p>The File Trailer\u00a0[FT] record specifies the number of blocks in the file.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field #<\/th>\n<th>Format<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Fixed value: <code>FT<\/code><\/td>\n<td>Record type identifier<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Numeric<\/td>\n<td>Number of blocks in the file.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"block-header-bh\">Block Header [BH]<\/h3>\n<p>The Block Header\u00a0[BH] record specifies the information that was passed in the batch request block header.<\/p>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 4%\"><col style=\"width: 35%\"><col style=\"width: 60%\"><\/colgroup><thead><tr class=\"header\"><th><p>Field #<\/p><\/th><th><p>Format<\/p><\/th><th><p>Description<\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p>1<\/p>\n<\/td><td>\n<p>Fixed value: <code>BH<\/code><\/p>\n<\/td><td>\n<p>Record type identifier<\/p>\n<\/td><\/tr><tr><td>\n<p>2<\/p>\n<\/td><td>\n<p>Numeric<\/p>\n<\/td><td>\n<p>Block number.<br \/>\nIts value increments sequentially by one unit per block.<\/p>\n<\/td><\/tr><tr><td>\n<p>3<\/p>\n<\/td><td>\n<p>Alphanumeric<\/p>\n<\/td><td>\n<p>The block\u00a0header\u00a0<code>EchoData<\/code>\u00a0value\u00a0provided in the corresponding\u00a0<a href=\"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-request-file\">request file<\/a>. If you do not pass any value in the corresponding field in the\u00a0request\u00a0file, this field is blank.\u00a0<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h3 id=\"block-trailer-bt\">Block Trailer [BT]<\/h3>\n<p>The Block Trailer\u00a0[BT] record specifies the number of lines in the block.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field #<\/th>\n<th>Format<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Fixed value: <code>BT<\/code><\/td>\n<td>Record type identifier<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Numeric<\/td>\n<td>Number of line records in the block.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><code class=\"language-text\">FH,1.0,TEST,MerchantAccount,TestCompany,Default,1,ws@Company.TestCompany,Authorisation,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\n...\nBT,5\nFT,1<\/code><\/pre>","url":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file","articleFields":{"id":"24216668","type":"page","_expandable":{"operations":""},"status":"current","feedback_component":true,"filters_component":false,"page_id":"f6279c58-2052-4177-91d7-222a2795cf63","last_edit_on":"20-10-2023 11:42"},"algolia":{"url":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file","title":"Batch result file","content":"You can get the batch result file two days after receiving the batch acknowledgement (ACK) file with a successful validation.\nThe following fields are included in all batch result files:\nFile Header\u00a0[FH]\nThe File Header\u00a0[FH] record\u00a0contains the data that was passed in the batch request file header.\nField #FormatDescription\n1\n\nFixed value: FH\n\nRecord type identifier.\n\n2\n\nFixed value: 1.0\n\nVersion number. This field enables version control for the release of future enhancements for batch processing.\n\n3\n\nAllowed values:TESTLIVE\n\nIt specifies the environment: either test or live\/production.\n\n4\n\nAllowed values:\n\nMerchantAccount\nCompany\n\n\nAccount type, as submitted in the request file.\n\n5\n\nAlphanumeric\n\nThe merchant or the company account name, as submitted in the request file.\n\n6\n\nAlphanumeric\n\nThe submission platform value provided in the request file.\n\n7\n\nNumeric\n\nThe file sequence number value provided in the request file.\n\n8\n\nAlphanumeric\n\nThe API credential name specified to upload the file to the SFTP.  For example: strong&gt;ws@Company.&lt;\/strong[YourCompanyAccount]\n\n9\n\nAllowed values:AuthorisationPayoutRefundWithDataModificationPayoutModificationAccountUpdater\n\nThe file type value provided in the request file.\n\n10\n\nAlphanumeric\n\nThe file\u00a0header\u00a0EchoData\u00a0value\u00a0provided in the corresponding\u00a0request file. If you do not pass any value in the corresponding field in the\u00a0request\u00a0file, this field is blank.\u00a0\n\nFile Trailer [FT]\nThe File Trailer\u00a0[FT] record specifies the number of blocks in the file.\n\n\n\nField #\nFormat\nDescription\n\n\n\n\n1\nFixed value: FT\nRecord type identifier\n\n\n2\nNumeric\nNumber of blocks in the file.\n\n\n\nBlock Header [BH]\nThe Block Header\u00a0[BH] record specifies the information that was passed in the batch request block header.\nField #FormatDescription\n1\n\nFixed value: BH\n\nRecord type identifier\n\n2\n\nNumeric\n\nBlock number.\nIts value increments sequentially by one unit per block.\n\n3\n\nAlphanumeric\n\nThe block\u00a0header\u00a0EchoData\u00a0value\u00a0provided in the corresponding\u00a0request file. If you do not pass any value in the corresponding field in the\u00a0request\u00a0file, this field is blank.\u00a0\n\nBlock Trailer [BT]\nThe Block Trailer\u00a0[BT] record specifies the number of lines in the block.\n\n\n\nField #\nFormat\nDescription\n\n\n\n\n1\nFixed value: BT\nRecord type identifier\n\n\n2\nNumeric\nNumber of line records in the block.\n\n\n\nFH,1.0,TEST,MerchantAccount,TestCompany,Default,1,ws@Company.TestCompany,Authorisation,FileHeaderEchoData\nBH,1,BlockHeaderEchoData\n...\nBT,5\nFT,1","type":"page","locale":"en","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Development resources","lvl2":"Batch processing","lvl3":"Submit transaction batch files through SFTP","lvl4":"Batch result file"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/","lvl1":"https:\/\/docs.adyen.com\/development-resources","lvl2":"https:\/\/docs.adyen.com\/development-resources\/batch-processing","lvl3":"https:\/\/docs.adyen.com\/development-resources\/batch-processing\/advanced-sftp-batch-files","lvl4":"\/development-resources\/batch-processing\/advanced-sftp-batch-files\/batch-result-file"},"levels":5,"category":"Development Resources","category_color":"green","tags":["Batch","result"]}}
