BatchPay QB logoBatchPay QB

CCD vs CTX: ACH Entry Types Compared

Published February 25, 2026 · 7 min read

1. What Are CCD and CTX?

CCD and CTX are both Standard Entry Class (SEC) codes used in the ACH network for business-to-business payments. The SEC code is a three-character identifier placed in the Batch Header record (type 5) of a NACHA file. It tells the receiving bank what type of transaction the batch contains and what rules apply.

Both codes require a written authorization agreement between the originating company and the receiving company. They are not used for consumer transactions — that is the domain of PPD (Prearranged Payment and Deposit).

The key difference is how much payment detail each type can carry. CCD is simple; CTX is built for complex remittance data. The right choice depends on whether your trading partners need detailed payment breakdowns.

2. CCD (Corporate Credit or Debit)

CCD is the most common SEC code for straightforward B2B ACH payments. It is used when one company needs to pay another (credit) or collect from another (debit), and the payment does not require extensive remittance detail.

Key Characteristics

  • Supports zero or one addenda record per entry
  • The single addenda record allows up to 80 characters of free-form payment information
  • Can be used for both credits (vendor payments) and debits (collecting receivables)
  • Requires a written agreement between originator and receiver
  • The simplest B2B entry type to implement

Typical Use Cases

CCD is the right fit for most accounts payable workflows: paying a vendor invoice, collecting a recurring B2B payment, transferring funds between affiliated companies, or making a single payment where the receiver can match it by amount and date alone.

3. CTX (Corporate Trade Exchange)

CTX is designed for B2B payments that need to carry detailed remittance information — the kind of data that lets the receiver automatically match payments to specific invoices, purchase orders, or line items.

Key Characteristics

  • Supports multiple addenda records per entry (up to 9,999)
  • Addenda data follows ANSI X12 or UN/EDIFACT standards for structured remittance
  • Enables a single payment to reference multiple invoices with individual amounts
  • Can be used for both credits and debits
  • More complex to implement than CCD due to structured addenda formatting

ANSI X12 820 Payment Order

The most common data format used in CTX addenda is the ANSI X12 820 transaction set. This is a standardized EDI (Electronic Data Interchange) format that can include invoice numbers, invoice dates, payment amounts per invoice, adjustment codes, and purchase order references. The receiver's ERP system can parse this data and automatically apply the payment.

4. CCD vs CTX Comparison Table

FeatureCCDCTX
Full NameCorporate Credit or DebitCorporate Trade Exchange
Addenda Records0 or 10 to 9,999
Addenda Data FormatFree-form text (80 chars)ANSI X12 or UN/EDIFACT
ComplexityLowHigh
Common Use CasesSimple vendor payments, inter-company transfersPayments with detailed invoice-level remittance
Remittance DetailMinimal (one line of text)Extensive (multi-invoice, line-item)
Typical UsersSmall to mid-size businessesLarge enterprises with ERP/EDI systems
AuthorizationWritten agreement requiredWritten agreement required

5. When to Use CCD

CCD is the right choice for the majority of B2B ACH payments. Use it when:

  • You are paying a single invoice or a lump sum to a vendor
  • The receiver can match the payment by amount, date, or a short reference
  • You do not need to include structured EDI remittance data
  • You want the simplest implementation with minimal addenda complexity
  • Your trading partners are small to mid-size businesses without EDI capabilities

Most QuickBooks-based businesses processing vendor payments through ACH will use CCD. The optional single addenda record provides enough space (80 characters) for a brief payment reference like an invoice number or memo.

6. When to Use CTX

CTX makes sense when payment detail matters as much as the payment itself. Use it when:

  • A single payment covers multiple invoices and you need to list each one
  • Your trading partner requires ANSI X12 820 remittance data for auto-posting
  • You need to include purchase order numbers, adjustment codes, or line-item detail
  • Both parties have ERP systems that can generate and parse structured EDI data
  • Your industry or supply chain requires standardized electronic remittance

CTX is most common in industries with high-volume B2B payments and established EDI relationships: manufacturing, healthcare, government, and large-scale distribution.

7. How They Appear in NACHA Files

The SEC code is placed in the Batch Header record (type 5) at positions 51-53. Here is how a CCD batch header compares to a CTX batch header:

CCD Batch Header

5200ACME CORP        PAYMENTS        1234567890CCD                260225   1021000010000001
                                                  ^^^
                                           SEC Code: CCD

CTX Batch Header

5200ACME CORP        PAYMENTS        1234567890CTX                260225   1021000010000001
                                                  ^^^
                                           SEC Code: CTX

The entry detail records (type 6) are identical in format for both CCD and CTX. The difference is in what follows: a CCD entry may have zero or one addenda record, while a CTX entry can have many.

CCD Entry with One Addenda

622021000021123456789        0000250000INV-2024-0891   Acme Supplies LLC       10210000100000001
705Invoice 2024-0891 Payment                                                     00010000001

CTX Entry with Multiple Addenda

622021000021123456789        0000750000PO-88410        Acme Supplies LLC       10210000100000001
705BPR*C*750.00*C*ACH*CTX**01*021000021*DA*123456789~RMR*IV*INV-001**250.00~       00010000001
705RMR*IV*INV-002**300.00~RMR*IV*INV-003**200.00~                                  00020000001

In the CTX example, the addenda records contain ANSI X12 820 data segments. The BPR segment describes the payment, and each RMR segment references an individual invoice being paid. This allows the receiver's system to automatically match the $750.00 payment across three invoices.

Frequently Asked Questions

What is the difference between CCD and CTX in ACH?

CCD (Corporate Credit or Debit) is a simple B2B ACH entry type that supports zero or one addenda record. CTX (Corporate Trade Exchange) supports multiple addenda records and is designed for complex remittance data using ANSI X12 or UN/EDIFACT formats.

When should I use CTX instead of CCD?

Use CTX when you need to include detailed remittance information such as multiple invoice numbers, purchase order references, or line-item payment details. If your payments are straightforward vendor payments without complex remittance, CCD is simpler and sufficient.

Can CCD entries have addenda records?

Yes, CCD entries can include up to one addenda record (record type 7) containing 80 characters of payment-related information. CTX entries can include multiple addenda records.

Are CCD and CTX both for business-to-business payments?

Yes. Both CCD and CTX are B2B (business-to-business) ACH entry class codes. They require a written agreement between the originator and receiver. For consumer payments, PPD (Prearranged Payment and Deposit) is used instead.

Generate CCD ACH files from QuickBooks

BatchPay QB pulls your pending bills from QuickBooks Online and creates NACHA-compliant ACH files in minutes.

Start Free Trial