Returns daily ACH reject and collection records in XML format, including NACHA return codes, amounts, report periods, and residual exclusion flags.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
ACH Rejects and Collections Export Data
The ACHRejectsCollects export file details failed ACH transactions (rejects) and associated collection activity. It is used to identify and manage unsuccessful fund transfers, trigger recovery workflows, and ensure unsettled transactions are tracked through to resolution. Each record carries a NACHA return reason code, the dollar amount impacted, and whether the entry affects residual income calculations.
Endpoint
GET /download/YYYYMMDD/ACHRejectsCollects
Authentication
Basic HTTP Authentication required.
Encode username:password in Base64 and pass in the Authorization header:
Authorization: Basic {base64(username:password)}
When to use
Use this file when reconciling failed ACH entries and determining which merchants require corrective action. Process it alongside the ACH file to identify entries that were submitted but subsequently returned by the receiving bank. The AchCode field identifies the specific NACHA return reason, which determines whether re-presentment is permitted and what follow-up action is required.
Query Parameters
None. The file is identified by the date path segment (YYYYMMDD) and delivered via SFTP.
Response
200 OK — Returns XML content with the following structure:
XML Hierarchy: ACHRejectsCollects > Data > ACH
<ACH> fields:
| Field | Type | Description |
|---|---|---|
MID | string | Merchant identifier associated with the failed or collected ACH entry |
Type | string | Record classification: Reject = failed ACH return; Collect = recovery/collection attempt |
Category | string | Optional sub-category: SuspendedFunds, Reserve, ManualAch, RelatedAccountOffset, Collections, WriteOff, CheckPayment (empty if not applicable) |
AchCode | string | NACHA return reason code (e.g. R01 = Insufficient Funds) |
Amount | decimal | Transaction amount in dollars; negative values indicate funds pulled back from the merchant |
Date | datetime | Date the reject or collection entry was processed |
Note | string | Optional free-text internal note (empty if none) |
AchDescription | string | Human-readable description of the NACHA return code |
ReportPeriod | string | Reporting period in YYYY.MM format (e.g. 2026.05) |
ExcludeFromResiduals | string | Whether this entry is excluded from residual income calculations: Yes / No |
Common NACHA Return Codes:
| Code | Description |
|---|---|
R01 | Insufficient Funds |
R02 | Account Closed |
R03 | No Account / Unable to Locate Account |
R04 | Invalid Account Number |
R07 | Authorization Revoked by Customer |
R08 | Payment Stopped |
R10 | Customer Advises Not Authorized |
R16 | Account Frozen |
R20 | Non-Transaction Account |
R29 | Corporate Customer Advises Not Authorized |
<?xml version="1.0" encoding="utf-8"?>
<ACHRejectsCollects xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Data>
<ACH>
<MID>9180000000001234</MID>
<Type>Reject</Type>
<Category />
<AchCode>R01</AchCode>
<Amount>-843.50</Amount>
<Date>2026-05-27T00:00:00</Date>
<Note />
<AchDescription>Insufficient Funds</AchDescription>
<ReportPeriod>2026.05</ReportPeriod>
<ExcludeFromResiduals>No</ExcludeFromResiduals>
</ACH>
<ACH>
<MID>9180000000005678</MID>
<Type>Collect</Type>
<Category>Collections</Category>
<AchCode>R02</AchCode>
<Amount>-215.00</Amount>
<Date>2026-05-27T00:00:00</Date>
<Note>Second collection attempt</Note>
<AchDescription>Account Closed</AchDescription>
<ReportPeriod>2026.05</ReportPeriod>
<ExcludeFromResiduals>Yes</ExcludeFromResiduals>
</ACH>
</Data>
</ACHRejectsCollects>Error Codes
| Code | When it happens |
|---|---|
| 400 | Malformed date format in URL path |
| 401 | Invalid or missing Basic Auth credentials |
| 403 | User does not have permission for this operation |
| 404 | No file found for the specified date |
| 500 | Internal server error |
Common Mistakes
- Confusing
Type: RejectwithType: Collect— a reject means the bank returned the ACH; a collect means a recovery attempt was initiated. - Not checking NACHA rules before re-presenting a returned entry — codes
R07andR10prohibit re-presentment; always verify the applicable re-initiation rules. - Ignoring
ExcludeFromResiduals: Yes— these entries must be omitted from agent/partner residual income calculations. - Using
Datealone for period reporting — always useReportPeriod(YYYY.MM) for grouping, as the reporting period window does not align with calendar months (rejects run 10th–9th; collects run 13th–12th).
Related Endpoints
GET /download/YYYYMMDD/ACH— base ACH deposit recordsGET /download/YYYYMMDD/Transactions— transaction-level data for reconciliationGET /download/YYYYMMDD/Chargeback— chargeback records (separate from ACH rejects)
Example
curl -X GET "https://hq.staging.netevia.dev/download/20260528/ACHRejectsCollects" \
-H "Authorization: Basic $(echo -n 'username:password' | base64)"