Anchorage Digital Selects Modern Treasury to Power Money Movement Infrastructure.Learn more →

Learn

What are Nacha Files?

Welcome to Learn, where we provide straightforward, easy-to-understand definitions of the payments industry.

Follow us

Nacha files are the standardized file format that banks use to initiate batches of ACH payments. These files help banks execute large volumes of ACH payments through The Clearing House (TCH) and Federal Reserve.

What is the NACHA file format?

Most banks don’t natively support their own ACH API, which means they require third-parties to send or upload the files to their banking portal. In that case, businesses take ACH payments that customers have sent, serialize the data using code formatted to Nacha specifications, and then send the files to the bank to begin initiating payments.

Nacha files (also called ACH files) are populated line by line, with each 94-character line corresponding to different payment data. The characters on each line include essential details about the payment, including the account number, routing number, and more. Each line serves a different purpose, which can be discerned from the character at the beginning of the line. In the example below, only one line starts with the number 1, which indicates that this line is the “file header record.” File header records begin “101.”

A sample NACHA file
An example of a Nacha file

The total number of lines in a Nacha file must be divisible by 10; in the example, the file contains several lines of 9 to meet this requirement (a 9 indicates either file padding or a “file control record”). Other leading characters include 5 (“batch header record”), 6 (“entry detail record” or “payment record”), 7 (“addenda record"), and 8 (“batch control record” or “batch trailer”). Nacha’s primer on ACH files digs deeper into file records, as well as effective dates, transaction codes, and service class codes.

Other items of note in the example above are the “trace number,” which appears at the end of the second line and is unique to the payment (in this case, “021000020000000”). If there's any problem with the payment, the bank will ask for this number to track the issue. The Nacha file will also contain a Standard Entry Class Code (or SEC code). In the example, the code is CCD, which stands for “Corporate Credit or Debit,” and this code appears in the lines beginning with 5, the batch records.

Who uses Nacha files?

Businesses, financial institutions, and payment operations platforms like Modern Treasury originate Nacha files to help banks initiate batches of ACH payments.

ACH payments are also a cost-effective option for businesses managing high volumes of transactions. For this reason, employers often use Nacha files for payroll. For example, say you're an employer looking for a direct deposit solution that moves money into your employees’ accounts quickly. Nacha files help businesses disburse recurring payroll deposits in an organized, efficient way that gives them more control over the process—at a lower cost.

Are all Nacha files the same?

In the realm of ACH generally, and Nacha files specifically, payment initiation gets the most attention. In fact, the Nacha file format serves a number of different purposes and is extremely flexible. These files may notify you of an inbound payment or explain why a payment wasn’t successful, for example. From returns and reversals to prenotes, Nacha files are standard for a range of uses. Though the details of a payment file can vary depending on the bank or financial institution, SEC codes are always required when sending ACH payment files.

How do you create a Nacha file?

Simply put, your business can either create ACH files manually or get some assistance.

Large national banks like Wells Fargo and J.P. Morgan have their own payment API to originate Nacha files internally. While these files are particularly useful to banks, they aren’t intuitive for everyday users. In fact, the specification manual for creating Nacha files is over 700 pages long.

Open-source libraries are an option for the tech-savvy—it’s also possible to create Nacha files using ERPs like NetSuite, AP software like QuickBooks, and other third-party tools.

A platform like Modern Treasury can also help with the heavy lifting. Our payment operations solution can generate Nacha files for you, handling the full cycle of ACH money movement—from creating a payment order to reversals and returns. Reach out to learn more.

Try Modern Treasury

Build quickly with a unified API for fiat and stablecoin payments.

Talk to sales
More from

Learn

Explore the fundamentals behind back office finance processes and the accounting principles underlying them.

Gross merchandise volume (GMV), also known as gross merchandise value, is the total value of the goods or services retailers sell over a set period.

Read more

ISO 20022 files are a collection of XML-based schemas which standardize any type of financial message.

Read more

Month-end close is a critical process where the accounting team reviews and records financial transactions to close out the month.

Read more

While both are essential for managing online transactions, there are several differences between payment processors vs. payments gateways.

Read more

Revenue recognition is a key accounting principle in which a company records its revenue as it earns it, not necessarily when paid for.

Read more

Treasury Management Systems (TMS) are software applications that serve to help businesses simplify their payment operations by automatically tracking things like cash flow, assets, investments, and more.

Read more

BAI2 files are a cash management reporting standard. They are widely accepted by banks across the United States for exchanging data regarding balances and transactions.

Read more

Incoming payment details are notifications that a company is going to receive a payment it didn’t originate—meaning the receiving funds were not initially requested.

Read more

Nacha files are the standardized file format that banks use to initiate and manage batches of ACH payments. These files help banks execute large volumes of ACH payments through The Clearing House (TCH) and Federal Reserve.

Read more

Payment controls help accounts payable (AP) departments avoid losing money due to fraud, late payment fees, and other errors. They are a necessary part of a company’s overall payment operations to keep payments secure, accurate, and authorized.

Read more

Account-to-Account (A2A) banking, sometimes also called Me-to-Me banking, is the transfer of funds from one account to another account.

Read more

Asset risk management is essentially a fusion of asset management and risk management.

Read more

Bank reconciliation is the process of verifying the completeness of a transaction through matching a company’s balance sheet to their bank statement.

Read more

Batch processing is a method of processing various types of transactions. As the name suggests, transactions are processed in a group or “batch.”

Read more

In business terms, float refers to the time delay between the movement of funds from one account to another.

Read more

Cash forecasting is a way for companies to look at “cash in” vs. “cash out” for a business over a window of time.

Read more

Cash management is the monitoring and maintaining of cash flow to ensure that a business has enough funds to function.

Read more

Cash pooling is a centralized cash management tool that companies with multiple subsidiaries sometimes use to optimize the cash balances of all legal entities.

Read more

The term "cash position" pertains to the quantity of cash or assets that can be readily converted to cash, held by an individual, company, or financial institution at any given moment.

Read more

Continuous accounting is the ongoing process of updating a business’s general ledger with reconciled bank statement transactions as soon as they become available.

Read more

Electronic check presentment (ECP) is the process of electronically submitting a check to a bank for payment.

Read more

IBAN, or an International Bank Account Number, makes it easier and faster for banks to process cross-border financial transactions.

Read more

Liquidity management provides visibility into cash positions over past, present, and future dates and provides an overview of the financial health of a business.

Read more

Payment operations is an umbrella term that refers to the entire lifecycle of money movement for a company.

Read more

Recoupment refers to the recovery of spent or lost funds, especially in business operations.

Read more

Two options for financial transaction settlement—differing in both speed and style—here, we’ll look at how both Net Settlement and Gross Settlement work in action.

Read more

Treasury management is the act of managing a company’s daily cash flows and larger-scale decisions when it comes to finances.

Read more

A banking API is software that facilitates a digital connection between a company and a bank.

Read more

Popular in the banking and finance world, penny tests are a simple way to verify the validity of a bank account or bank integration, prior to a large finance transaction taking place.

Read more

Sweep accounts are a particular type of bank account where funds are automatically transferred between different accounts to optimize the use of available cash and maximize returns

Read more

Identity Verification APIs allow businesses to streamline the process of checking the identities of new users by automatically, and in some cases instantly, verifying their provided identifying information.

Read more

An invoicing API allows companies to create, send, manage, and reconcile invoices, as well as track related payments end to end.

Read more

The issuer identification number (IIN) is the first eight or nine digits on a payment card tied to the financial institution that issued the card.

Read more

An MT940 (Message Type 940) file is a detailed SWIFT statement that provides information about account transactions.

Read more

An OFAC check is a screening process used by financial institutions, businesses, and government agencies to ensure that individuals or entities involved in a transaction are not listed on sanctions lists maintained by the U.S. Department of the Treasury's Office of Foreign Assets Control (OFAC).

Read more

The Flow of Funds is the movement of money in and out of bank accounts.

Read more