MICR Line Routing Account Parser
Parse bounded explicitly normalized MICR T-routing-T-account-U-serial-U notation, preserving zeros and checking routing checksum; not arbitrary MICR OCR, actual account validation, image recognition or complete vendor-specific layout support.
Description
Normalized magnetic ink character recognition (MICR) notation separates routing, account and check serial text.
Normalized magnetic ink character recognition (MICR) notation separates routing, account and check serial text. Explicit delimiters preserve leading zeros without guessing an OCR layout.1
The returned values include Routing digits, Account digits, Check serial digits, Routing checksum matches. The How section below explains the calculation, input rules and interpretation.
When to use MICR Line Routing Account Parser
Use MICR Line Routing Account Parser when you need to evaluate the supplied records under the calculation and evidence rules below. No arbitrary image/OCR parsing, vendor-specific layout inference or live account validation is supplied.
Prepare observed financial records and verified caller terms. Use one currency for integer minor-unit money and preserve leading zeros in identifier text. One basis point is 0.01 percentage points. Resolve dates, local clocks, counting rules and evidence flags as specified.
How to use MICR Line Routing Account Parser and understand its results
- Prepare observed financial records and verified caller terms. Use one currency for integer minor-unit money and preserve leading zeros in identifier text. One basis point is 0.01 percentage points. Resolve dates, local clocks, counting rules and evidence flags as specified.
- Enter normalizedMicrLine using the field table and calculation rules, then run the tool.
- Read routingDigits, accountDigits, checkSerialDigits, routingChecksumMatches. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| normalizedMicrLine | Normalized micr line | string | Required |
Enter exactly that ASCII-digit syntax, with T for transit and U for on-us, without whitespace or newline. Extract text components and evaluate ABA routing checksum by repeating weights 3,7,1 modulo ten. Return all three digit strings and checksum flag; mismatched checksum returns false while unsupported syntax is an input error.
syntax=T<9 routing digits>T<1–20 account digits>U<1–10 serial digits>U Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| routingDigits | Routing digits | string |
| accountDigits | Account digits | string |
| checkSerialDigits | Check serial digits | string |
| routingChecksumMatches | Routing checksum matches | boolean |
{
"input": {
"normalizedMicrLine": "T021000021T000123U0042U"
},
"output": {
"routingDigits": "021000021",
"accountDigits": "000123",
"checkSerialDigits": "0042",
"routingChecksumMatches": true
}
} Limitations and assumptions
No arbitrary image/OCR parsing, vendor-specific layout inference or live account validation is supplied.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Extremely large text inputs are rejected. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.
Alternative or Complementary methods
Use Fedwire Routing District Decoder: Routing-prefix decoding and ABA checksum testing answer different questions. Supported prefix families map to a reserve-district number without establishing network participation. For a complementary task, use UK Sort Code Format Parse Tool: A UK sort code is a text identifier whose leading zeros matter. Formatting can be normalized without identifying the assigned bank or branch.
References
-
MICR Line Routing Account Parser — tool.io
Similar or alternative tools
- Fedwire Routing District Decoder
Routing-prefix decoding and ABA checksum testing answer different questions. Supported prefix families map to a reserve-district number without establishing network participation.
- UK Sort Code Format Parse Tool
A UK sort code is a text identifier whose leading zeros matter. Formatting can be normalized without identifying the assigned bank or branch.