Plaid 和 QFX 文件中的交易是否有一个通用的唯一标识符?
Is there a common unique identifier for transactions from plaid and QFX file?
有没有办法从 QFX 文件(从银行下载)和从 plaid 获取的交易列表中唯一标识交易?
QFX文件中有FITID,格子交易列表中有transaction_id。但是QFX文件和Plaid交易有没有共同的唯一标识呢?
QFX 文件:
<BANKACCTFROM>
<BANKID>1234
<ACCTID>567890
<ACCTTYPE>CHECKING
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20210430120000[0:GMT]
<DTEND>20210504120000[0:GMT]
<STMTTRN>
<TRNTYPE>DEBIT
<DTPOSTED>20210504120000[0:GMT]
<TRNAMT>-99.99
<FITID>202105040
<NAME>TEST TRANSACTION DATA
<MEMO> IN 05/03
</STMTTRN>
</BANKTRANLIST>
从 Plaid 获取的交易 API:
{
"account_id": "testaccountid123",
"amount": 99.99,
"category": [
"Shops",
"Clothing and Accessories"
],
"category_id": "123546",
"date": "2021-05-04",
"iso_currency_code": "USD",
"location": {},
"merchant_name": "Test Transaction Data in 05/03",
"name": "TEST TRANSACTION DATA IN 05/03",
"payment_channel": "in store",
"payment_meta": {},
"pending": false,
"pending_transaction_id": "asdf",
"transaction_id": "testtransactionid",
"transaction_type": "place"
}
我认为您已经回答了您自己的问题——从您粘贴的回复中可以看出,QFX 文件和 Plaid 回复中没有共享 id 字段。
也就是说,您可以对姓名、备注、日期和金额字段进行一些处理以匹配它们,并在 QFX 交易和 Plaid 交易之间获得非常接近准确的关联。
有没有办法从 QFX 文件(从银行下载)和从 plaid 获取的交易列表中唯一标识交易?
QFX文件中有FITID,格子交易列表中有transaction_id。但是QFX文件和Plaid交易有没有共同的唯一标识呢?
QFX 文件:
<BANKACCTFROM>
<BANKID>1234
<ACCTID>567890
<ACCTTYPE>CHECKING
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20210430120000[0:GMT]
<DTEND>20210504120000[0:GMT]
<STMTTRN>
<TRNTYPE>DEBIT
<DTPOSTED>20210504120000[0:GMT]
<TRNAMT>-99.99
<FITID>202105040
<NAME>TEST TRANSACTION DATA
<MEMO> IN 05/03
</STMTTRN>
</BANKTRANLIST>
从 Plaid 获取的交易 API:
{
"account_id": "testaccountid123",
"amount": 99.99,
"category": [
"Shops",
"Clothing and Accessories"
],
"category_id": "123546",
"date": "2021-05-04",
"iso_currency_code": "USD",
"location": {},
"merchant_name": "Test Transaction Data in 05/03",
"name": "TEST TRANSACTION DATA IN 05/03",
"payment_channel": "in store",
"payment_meta": {},
"pending": false,
"pending_transaction_id": "asdf",
"transaction_id": "testtransactionid",
"transaction_type": "place"
}
我认为您已经回答了您自己的问题——从您粘贴的回复中可以看出,QFX 文件和 Plaid 回复中没有共享 id 字段。
也就是说,您可以对姓名、备注、日期和金额字段进行一些处理以匹配它们,并在 QFX 交易和 Plaid 交易之间获得非常接近准确的关联。