R04: the account number isn’t a valid number.
R04 means the account number isn’t shaped like a real account number. Have your customer link their bank account again.
Below: Nacha’s rules for R04, its words for it, then our rail’s route, stop by stop.
From the code. Each statement about our rail is read from the platform’s engine as it is built; nothing here is live yet.
R04 → account track · category admin
Nacha’s words
What does ACH return code R04 mean?
R04 is Nacha’s return code for “Invalid Account Number Structure”. Its guide describes it: “Account number structure is not valid.”
- SEC codes
- ALL
- ISO 20022
- AC01 · Incorrect Account Number
Nacha ISO 20022 Guide to Mapping U.S. ACH Return Items and Notifications of Change, August 2023, version 2.01, Table 1, p. 55. The guide (PDF)
Nacha’s rules for R04
Who sends R04, and how long they have
- Who sends it back
- Your customer’s bank.
- How long they have
- Two banking days after settlement.
- Can it be sent again
- Only with a valid account number, so your customer links their bank again.
- Usual causes
- Too many or too few digits for that bank’s account numbers.
- What you do next
- Have your customer link their bank account again.
- Related codes
- R03: no account / can’t locate · R13: invalid routing number
Return windows and retry rules: the Nacha Operating Rules. Our rail’s handling of R04 is below.
Our rail, stop by stop
What happens when R04 comes back?
R04 is booked as admin: the amount leaves your balance, the return fee in force for your account is charged, and both come off your next payout.
The payment | +$84.00 | from the payer’s bank, when it settled |
|---|---|---|
R04 return | −$84.00 | back to the payer’s bank |
Return fee | −fee | the fee in force for your account, once per return |
Your next payout | smaller by the $84.00 and the fee | |
Comes back
The payer’s bank sends the debit back with R04. Our return scan books each return once, by the bank’s own return reference.
"return_code": "R04"Booked as admin
R04 is in the engine’s return-code table as admin, so the return is recorded with that category. If the payment still showed submitted, its settlement is booked first, so our ledger matches the bank’s.
"category": "admin"Off your balance
The returned amount leaves your balance in one ledger entry, and the payment’s status becomes returned, which is final.
return_debited"status": "returned"The return fee
The return fee in force for your account is charged as its own entry, once per return.
fee.assessedreturn_fee_centsYour return rates
With fewer than 20 debits in the last 60 days, the number of your returns sets a step at once: one, a warning email; two, your per-payment and daily limits halved; three, new payments paused. With 20 or more, the daily run measures your rates.
GET /v1/returns/summaryThe payer’s record
The return counts against the payer: their trust score (0 to 100), which our risk check reads on their next payment, drops by 5, never below 0.
the payer’s next risk check
Your systems are told
payment.returned goes to your webhooks with the code, its category, the amount, the return fee and whether it was covered, and fee.assessed follows for each fee.
payment.returnedOff your next payout
The amount and the fee come off your next payout, which lists the returns it netted. What your payouts can’t cover is debited from your payout account on your payout day, under the authorization you accepted.
returns_netted_centsnetted_from_payout_id
What you do
When R04 comes back
Have the customer link the bank account again.
Which rates it counts in
Measured over the last 60 days
Unauthorized rate
Doesn’t count · R05, R07, R10, R11, R29 and R51
Administrative rate
Counts · R02, R03 and R04
Overall rate
Counts · every returned debit
Returns in the API: Returns and payouts · the returns reference · the Returned siding on How it works.