<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 王鹏（圣光）</title>
    <description>The latest articles on DEV Community by 王鹏（圣光） (@_747e6bc6520603eccbroot085414).</description>
    <link>https://dev.to/_747e6bc6520603eccbroot085414</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4060810%2F3ca874d3-afbe-449d-afdf-b0558b755c64.png</url>
      <title>DEV Community: 王鹏（圣光）</title>
      <link>https://dev.to/_747e6bc6520603eccbroot085414</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_747e6bc6520603eccbroot085414"/>
    <language>en</language>
    <item>
      <title>Why matching transfers matters more than importing CSVs in finance software</title>
      <dc:creator>王鹏（圣光）</dc:creator>
      <pubDate>Mon, 03 Aug 2026 14:05:00 +0000</pubDate>
      <link>https://dev.to/_747e6bc6520603eccbroot085414/why-matching-transfers-matters-more-than-importing-csvs-in-finance-software-13d5</link>
      <guid>https://dev.to/_747e6bc6520603eccbroot085414/why-matching-transfers-matters-more-than-importing-csvs-in-finance-software-13d5</guid>
      <description>&lt;p&gt;Importing a bank CSV is mostly a parsing problem. Reconciliation is an inference problem.&lt;/p&gt;

&lt;p&gt;I learned this while combining several open-source finance projects into a local-first workflow for tax preparation. The first prototype could map columns from different statements, but the resulting ledger was still not reliable enough for an accountant.&lt;/p&gt;

&lt;h2&gt;
  
  
  The transfer problem
&lt;/h2&gt;

&lt;p&gt;Suppose a user moves $2,000 from checking to savings. One export contains -2000; another contains +2000. A naive categorizer records an expense and income even though no economic event occurred.&lt;/p&gt;

&lt;p&gt;Real exports make the match harder:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the posting dates may differ by several days&lt;/li&gt;
&lt;li&gt;one account may truncate the memo&lt;/li&gt;
&lt;li&gt;foreign-currency transfers may include a conversion spread&lt;/li&gt;
&lt;li&gt;fees may be separate transactions or included in the amount&lt;/li&gt;
&lt;li&gt;an overlapping export may contain the same row twice&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The pipeline I ended up using
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Normalize source columns without discarding the original row.&lt;/li&gt;
&lt;li&gt;Build a stable fingerprint for exact and near-duplicate detection.&lt;/li&gt;
&lt;li&gt;Generate transfer candidates only between accounts the user marks as their own.&lt;/li&gt;
&lt;li&gt;Score candidates using inverted amount, date distance, currency, memo similarity, and nearby fee rows.&lt;/li&gt;
&lt;li&gt;Use one-to-one matching so a transaction cannot explain multiple transfers.&lt;/li&gt;
&lt;li&gt;Auto-accept high-confidence pairs and send the rest to a short review queue.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The confidence boundary matters more than the classifier. Quietly guessing wrong creates clean-looking books with bad numbers. Leaving five uncertain rows visible is much better than hiding them inside hundreds of automatic categorizations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy boundary
&lt;/h2&gt;

&lt;p&gt;Statement processing runs in the browser or the local desktop app. Raw files and SSNs are not uploaded. The output is a reconciliation package with normalized transactions, detected duplicates, proposed transfer pairs, exceptions, and source references.&lt;/p&gt;

&lt;p&gt;The app organizes records for an accountant or a later tax workflow; it does not file the return itself.&lt;/p&gt;

&lt;p&gt;I put a working sample-data demo here: &lt;a href="https://tax.507643.xyz" rel="noopener noreferrer"&gt;https://tax.507643.xyz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The next edge cases I am working through are split transfers, credit-card payments that post over a weekend, and currency conversion where neither side exposes the actual exchange rate.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>automation</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
