---
title: "What is a transaction code?"
url: https://straddle.com/glossary/transaction-code
description: "A transaction code is the two-digit code on each ACH payment that says whether it's a credit or a debit, to a checking or a savings account, and whether it's a prenote. For example, 22 is a credit to checking and 27 is a debit from checking."
---

[Glossary](https://straddle.com/glossary)

# Transaction code

Industry term.

> A transaction code is the two-digit code on each ACH payment that says whether it's a credit or a debit, to a checking or a savings account, and whether it's a prenote. For example, 22 is a credit to checking and 27 is a debit from checking.

## Related terms

- [Prenote (prenotification)](https://straddle.com/glossary/prenote): A prenote is a zero-dollar ACH entry a business sends before its first real payment so the receiving bank can check the account details. If no return or notification of change comes back within the return period, the business can treat the account as open.
- [Entry detail record](https://straddle.com/glossary/entry-detail-record): An entry detail record is the line in an ACH file that holds one payment, called an entry, with its transaction code, the receiving bank's routing number, the account number, the amount, the receiver's name, and the trace number.
- [ACH file](https://straddle.com/glossary/ach-file): An ACH file, also called a Nacha file, is the fixed-width text file that carries ACH payments to a bank, where every line is a 94-character record. It holds one or more batches of payments between a file header record and a file control record.
- [ACH operator](https://straddle.com/glossary/ach-operator): An ACH operator is the central clearing facility that receives ACH payments from sending banks, sorts them, and delivers each to the receiving bank. There are two, the Federal Reserve Banks' FedACH and The Clearing House's EPN.

## Go deeper

- [Nacha file format: the six records and a sample](https://straddle.com/learn/ach-file-format)

[All terms](https://straddle.com/glossary)

## Start building for free with one command.

Run it from your repository:

`npx @straddlecom/wizard@latest`

The Straddle Wizard plans, builds, and tests your integration with your coding agent, so you can focus on your product, not payments.

- Build and test in the sandbox for free
- Bring your own bank tokens for free

[Start building free](https://accounts.straddle.com/sign-up?redirect_url=https%3A%2F%2Fdashboard.straddle.com%2F) [Talk to us](https://straddle.com/contact)
