X12 521 — Income or Asset Offset
The 521 documents an offset withholding from a taxpayer's or beneficiary's income or assets — for tax debt, delinquent child support, or defaulted student loan.
Purpose
The 521 is the instrument of the Treasury Offset Program (TOP) operated by the Bureau of the Fiscal Service. It allows a federal agency (Education, IRS, OCSE) to notify Treasury to withhold an amount from an upcoming payment (tax refund, federal salary, vendor payment, Social Security) to repay a debt.
It carries the debt, the debtor identifier, the amount to withhold, the priority (TOP follows a federal order: child support first, then federal non-tax, then state tax). Acknowledged by 997; the withholding confirmation flows back as an 820 (Payment) to the creditor.
Envelope structure
The 521 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group AO, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*USEDDOE *ZZ*USTREASTOP *260514*1800*U*00401*000000521*0*P*>~
GS*AO*USEDDOE*USTREASTOP*20260514*1800*1*X*004010~
ST*521*0001~
BGN*00*AO-2026-0042*20260514~
N1*PR*US DEPT OF EDUCATION*24*EIN-USEDDOE~
N1*PE*DOE JOHN A*34*SSN-LAST4-1234~
REF*ZZ*DEBT-FFEL-2018-9911~
AMT*ZZ*8500.00~
DTM*009*20260601~
MSG*DEFAULTED STAFFORD LOAN - PRIORITY 3~
SE*9*0001~
GE*1*1~
IEA*1*000000521~ Common segments
- Header —
ST,BGN,DTM*009(offset request date). - Creditor / debtor —
N1*PR(agency requesting offset),N1*PE(debtor — original payee) with truncated SSN. - Debt —
REF*ZZ(internal debt identifier),AMT*ZZ(amount to withhold). - Priority and reason —
MSGor qualifiedLQfor TOP priority (1 = child support, 2 = fed non-tax, 3 = student loan, 4 = state tax). - Summary —
SE.
Common pitfalls
- Due process: 31 USC §3716 requires a 60-day notice to the debtor before offset; a 521 issued without that pre-notice is legally challengeable.
- Priority order: TOP applies a strict federal order; a high-priority 521 arriving after a low-priority cannot re-sequence a withholding already performed — the creditor must wait for the next eligible payment.
- Joint returns: for a joint tax refund, the non-debtor spouse can request an injured-spouse allocation (Form 8379); the 521 must reflect the post-allocation amount, not the gross refund.
Related transactions
Documentation
The code 521 and the name Income or Asset Offset are public and listed on x12.org/products/transaction-sets. The complete structure of loops, qualifiers and code lists is distributed by DISA via the proprietary Implementation Guides (TR3). ediverse.io covers only public concepts, the envelope and didactic examples.