跳至內容
100% 隱私保護 — 檔案永遠留在你的裝置上
>_
繁體中文

ISO 標準驗證工具

貼上 IBAN、日期、ISBN、貨幣代碼等資料,馬上看出每一筆符合哪一種 ISO 標準,或是究竟錯在哪裡。

所有檢驗都在你的瀏覽器內完成,貼上的內容不會被上傳或儲存。

在上方貼上內容,結果會顯示在這裡。

ISO 8583 reference: response codes and data elements

Look up what a DE 39 response code means, or what any data element (DE) holds and how long it must be.

CodeMeaningResult
00Approved or completed successfullyApproved
01Refer to card issuerDeclined
02Refer to card issuer, special conditionDeclined
03Invalid merchantError
04Pick up card (no fraud)Pick up card
05Do not honorDeclined
06ErrorError
07Pick up card, special condition (fraud)Pick up card
08Honor with identificationApproved
09Request in progressSystem
10Approved for partial amountApproved
11Approved (VIP)Approved
12Invalid transactionError
13Invalid amountError
14Invalid card number (no such number)Error
15No such issuerError
16Approved, update track 3Approved
17Customer cancellationDeclined
18Customer disputeDeclined
19Re-enter transactionError
20Invalid responseError
21No action takenDeclined
22Suspected malfunctionSystem
23Unacceptable transaction feeError
24File update not supported by receiverError
25Unable to locate record in fileError
26Duplicate file update record, old record replacedError
27File update field edit errorError
28File update file locked outError
29File update not successful, contact acquirerError
30Format errorError
31Bank not supported by switchError
32Completed partiallyApproved
33Expired card, pick upPick up card
34Suspected fraud, pick upPick up card
35Card acceptor contact acquirer, pick upPick up card
36Restricted card, pick upPick up card
37Card acceptor call acquirer security, pick upPick up card
38Allowable PIN tries exceeded, pick upPick up card
39No credit accountDeclined
40Requested function not supportedError
41Lost card, pick upPick up card
42No universal accountDeclined
43Stolen card, pick upPick up card
44No investment accountDeclined
51Not sufficient fundsDeclined
52No checking accountDeclined
53No savings accountDeclined
54Expired cardDeclined
55Incorrect PINDeclined
56No card recordDeclined
57Transaction not permitted to cardholderDeclined
58Transaction not permitted to terminalDeclined
59Suspected fraudDeclined
60Card acceptor contact acquirerDeclined
61Exceeds withdrawal amount limitDeclined
62Restricted cardDeclined
63Security violationDeclined
64Original amount incorrectError
65Exceeds withdrawal frequency limitDeclined
66Card acceptor call acquirer security departmentDeclined
67Hard capture (pick up card at ATM)Pick up card
68Response received too lateSystem
75Allowable number of PIN tries exceededDeclined
76Invalid / non-existent "to" account specifiedError
77Invalid / non-existent "from" account specifiedError
78Invalid / non-existent account specified (general)Error
90Cut-off is in process (switch ending a business day)System
91Issuer or switch is inoperativeSystem
92Financial institution or intermediate network facility cannot be found for routingSystem
93Transaction cannot be completed, violation of lawDeclined
94Duplicate transmissionError
95Reconcile errorError
96System malfunctionSystem
97Reserved for ISO useSystem
98MAC errorError
99Reserved for private useSystem

Meanings follow ISO 8583 and common card-scheme usage. Each network (Visa, Mastercard, domestic switches) keeps its own list, so check its specification for codes that differ.

這個 ISO 驗證工具能檢查什麼

企業每天互相交換的識別碼,大多遵循某項 ISO 標準,而且多半附有檢查碼,這樣打錯一個字元,就能在造成付款失敗、貨物遭退回或資料錯誤之前被發現。這個工具會接收你貼上的所有內容(一行一筆),判斷它可能屬於哪一種標準,告訴你是否通過,並列出從值中解析出的各個組成部分。

日期與時間方面,它依循 ISO 8601:精簡寫法與含連字號的曆法日期、像 2024-W09-4 這樣的週日期、序數日期、有或沒有 UTC 時差的時間、像 P3Y6M4DT12H30M5S 這樣的期間,以及時間區間。它清楚閏年、哪些年份有 53 週、24:00 的日終寫法與閏秒,也會指出常見的錯誤:以空格取代字母 T、混用精簡與含連字號的寫法,或是寫出 2 月 30 日。

金融方面,它依各國的登記規則檢驗 IBAN,包括確切長度與該國的帳號格式,並驗證 mod-97 檢查碼。BIC 會被拆成銀行、國家與分行;ISIN 與 LEI 依各自的檢查碼規則驗證;支付卡號則以 Luhn 演算法與發卡機構前綴檢測。貨幣代碼來自 ISO 4217,附有數字代碼與小數位數;國家與語言代碼則來自 ISO 3166-1 與 ISO 639,包括 zh-Hant-TW 這類語言標籤。

商品與物流方面,它能檢驗 ISBN-10 與 ISBN-13(並可互相轉換)、ISSN、車輛識別碼的 17 個字元、含擁有者代碼與檢查碼的貨櫃號碼,以及 DOI 的格式。請記得「驗證通過」的意義:它只證明數值格式正確,並不代表書籍、車輛或帳戶真的存在。一切都在你的瀏覽器本機執行,即使是敏感資料也不會離開你的裝置。

ISO 8583 is the message format behind card payments: every authorization, purchase, reversal and network test between a terminal, an acquirer and an issuer is one ISO 8583 message. A message starts with a four-digit message type indicator (MTI) whose digits give the edition (0 = 1987, 1 = 1993, 2 = 2003), the class (authorization, financial, reversal, network management…), the function (request, response, advice) and who sent it. A bitmap of 64 or 128 bits follows, and each bit that is set says that the matching data element (DE) is present, such as DE 2 for the card number, DE 3 for the processing code, DE 4 for the amount, DE 11 for the trace number or DE 39 for the response code. Paste a message either as the text most documentation shows (MTI, hexadecimal bitmap and fields as characters) or as a hex dump of the raw bytes with BCD-packed numbers; the checker detects which one it is, strips an optional length header, lists every field with its name and flags truncated or oversized fields, bad length indicators, leftover data, impossible dates and times and unknown currency or country codes. It follows the 1987 data element table, so messages that use 1993 or 2003 layouts, private fields with their own sub-structure or a tertiary bitmap may be reported as invalid even though they are valid on your network.

Beyond identifiers, the validator also understands a few banking and payment codes. A creditor reference (ISO 11649) starts with RF and two check digits and is verified with the same mod-97 rule as an IBAN, so a mistyped payment reference is caught before it reaches the bank. A CFI code (ISO 10962) is six letters that classify a financial instrument — the first letter is the category (E for equities, D for debt, F for futures…) — and a merchant category code (ISO 18245) is the four-digit number that tells the card network what kind of business a merchant runs; both are never guessed automatically because any six letters or four digits could be one, so pick the standard from the list. Track data (ISO/IEC 7813) is what a magnetic stripe stores: card number, expiry, a three-digit service code and discretionary data, checked with the Luhn rule and a real month. The reference tables under the validator list every DE 39 response code, every ISO 8583 data element and the common merchant category codes.

Two further message formats are checked as a whole rather than line by line. A SWIFT FIN message (ISO 15022 syntax) has up to five blocks — basic header, application header with the message type and receiving BIC, user header, the text in block 4 and a trailer — and block 4 is a list of :tag: fields; the validator checks the header BICs, the mandatory fields of an MT103 (customer credit transfer), an MT202 (institution transfer) and the n99 free-format messages, and the format of the common tags such as :32A: (date, currency, amount with a decimal comma), :23B:, :71A:, :20: and the BIC-bearing party fields. An ISO 20022 message is XML whose namespace names the message (for example pain.001.001.09 or pacs.008.001.08); the validator checks that the XML is well formed, the namespace and business element match, the group header is complete, the number of transactions and control sum agree with the content, and every IBAN, BIC, currency and amount is valid. It does not replace validation against the official XSD, so use your bank's schema for the final check.

常見問題

我貼上的內容會被傳送到其他地方嗎?

不會。所有檢驗都在你的瀏覽器中執行,使用的是隨頁面一併載入的參照代碼清單。你貼上的內容不會被上傳或儲存,連本機儲存空間也不會寫入,所以不方便公開張貼的資料也能放心檢驗。

顯示「有效」,就代表帳戶、書籍或信用卡真的存在嗎?

不是。檢驗只會確認格式與檢查碼。有效的 IBAN 長度、結構與檢查碼皆正確,但這無法證明該帳戶真的存在。同樣地,有效的 ISBN 或 DOI 只代表格式正確,不代表已經登記。

可以檢驗哪些標準?

ISO 8601(日期、時間、期間、時間區間)、ISO 3166-1(國家)、ISO 4217(貨幣)、ISO 639(語言與語言標籤)、ISO 13616(IBAN)、ISO 9362(BIC)、ISO 6166(ISIN)、ISO 17442(LEI)、ISO/IEC 7812(支付卡號)、ISO 2108(ISBN)、ISO 3297(ISSN)、ISO 3779(VIN)、ISO 6346(貨櫃號碼)與 ISO 26324(DOI)。

為什麼同一個值會符合兩種標準?

有些短代碼在不只一份清單中都有效。ID 既是印尼(ISO 3166-1),也是印尼語(ISO 639-1);840 既是美國,也是美元。本工具會列出該值符合的所有標準。

可以一次檢驗很多筆嗎?

可以。一行貼上一筆,最多 5,000 行,工具會自動判斷每一筆所屬的標準。你可以依有效或無效篩選、複製有效的項目,或將結果下載成 CSV 檔案。

How do I check an ISO 8583 message?

Paste the whole message on one line. Two layouts are understood: text (a four-digit MTI, a 16- or 32-character hexadecimal bitmap, then the fields as characters, with LL/LLL length digits for variable fields) and a hex dump of the raw bytes (BCD MTI, binary bitmap, BCD numbers). A two-byte or four-digit length header in front is detected and skipped. The result shows the MTI meaning, the bitmap and each data element, or the first problem found. Fields follow the ISO 8583:1987 table; custom formats of your network may differ.

相關工具