如何解析MICR行数据? [英] How to parse MICR line data?

查看:265
本文介绍了如何解析MICR行数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个数字支票扫描仪,其能够捕获从检查MICR行。它会返回原始格式的MICR行作为字符串,带分隔符分隔帐号,路由号码,检查号码。然而,每家银行的格式这MICR行不同,因此有来分析这些数据的标准方法。

I have a digital check scanner that is able to capture the MICR line from the check. It will return the MICR line in raw format as a string, with delimiters to separate the account number, routing number, and check number. However, each bank formats this MICR line differently, so there's no standard way to parse this data.

有些公司我已经试过是Inlite研究公司和飞马Accusoft。从Inlite研究中的API适用于一些银行,但无法读取美国银行正确地检查。我还在测试出从Accusoft的API。

Some companies I have tried are Inlite Research Inc and Accusoft Pegasus. The API from Inlite Research works for some banks, but cannot read Bank of America checks correctly. I'm still testing out the API from Accusoft.

我所问的是,如果有人知道,将准确地解析为不同组件的MICR行的API的。有没有让我再补充检查格式的新的定义,如果我遇到一个新的检查,该API不能正确处理的API?或者,如果有谁知道如何或写一个程序来解析MICR行。

What I am asking is if anyone know of an API that will accurately parse the MICR line for the different components. Is there an API that will let me add new definitions of check format if I encounter a new check that the API cannot handle correctly? Or, if anyone know how to or has written a routine to parse the MICR line.

我要感谢所有帮助我可以得到的。谢谢你。

I would appreciate any help I can get. Thank you.

推荐答案

很抱歉这么晚才回复。我没有看到这个问题,所以我认为没有人回应任何答案。

Sorry for the late reply. I didn't see any answers to the question so I thought nobody responded.

要回答上述问题,我找到了一个解决方案,在思考的问题,并与不同聊完供应商。我使用的支票扫描仪已经能够读取MICR行。问题在于分析相关信息,MICR行,如路由中转号码,帐号,检查/序列号和金额(如果有的话)。与第三方少数几家公司来说,并尝试MICR分析器提供试用版后,我得出的结论是没有通用的解析器那里。我仍然面临着非comforming在美域的问题。每家银行不同的格式此字段。有时符号被排列不同为好。所以,我决定写我自己的解析器。我认为这是进行,因为我已经被这些第三方供应商,他们各自推出自己的解析软件告知最合理的方式。

To answer the questions above, I found a solution after thinking the problem over and talking with various vendors. The Check scanner that I'm using is already able to read the MICR line. The problem lies in parsing the MICR line for relevant information such as the routing transit number, account number, check/serial number, and amount (if there is one). After speaking with a handful of 3rd party companies and trying out available trial versions of MICR parser, I come to the conclusion that there is no universal parser out there. I'm still faced with the problem of the non-comforming On-Us field. Each bank formats this field differently. Sometimes the symbols are arranged differently as well. So, I decided to write my own parser. I think this is the most logical way to proceed as I've been informed by these 3rd party vendors that they each roll their own parsing software.

我写的方式解析器是我一直的MICR线条图案的表。每次我遇到一个新的MICR行格式,我会更新这个表。我的解析器将匹配该表扫描的检查,如果找到匹配,它将使用模式来分析相关信息。

The way I wrote the parser was I kept a table of MICR line patterns. Each time I encounter a new MICR line format, I will update this table. My parser will match any check scanned against this table and if it finds a match, it will use that pattern to parse the relevant information.

我希望我的经验和解决方案我想出也将帮助那些谁穿过同样的问题跑了。

I hope my experience and the solution I came up with will also help those who ran across the same issue.

感谢您为所有那些谁回应,祝你好运。

Thank you for all those who responded and good luck.

这篇关于如何解析MICR行数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆