Skip to content

Reconcile a refund CSV with payout records

Compare the same five fictional orders against two payout files. The totals agree in both cases. One payout file stores an order ID as a number. Try both files or compare a pair of your own in the browser.

Compare orders and payouts

Mixed-type payout sample

Exact ID matches
4 / 5
Matching amounts
4
Orders total
52.10
Payouts total
52.10
Order IDOrder amountPayout amountResult
"9007199254740992"18.9518.95Matched
"9007199254740993"18.9518.95Matched
"000007"7.107.10Matched
"7"7.10—Order only
"9007199254740994"0.000.00Matched
7 (number)—7.10Numeric payout ID

From the source spreadsheet to the reconciliation report

  1. Open the orders CSV. It declares five order IDs and their expected amounts. The two adjacent long IDs belong to separate orders, as do 000007 and 7.
  2. Run the mixed-ID sample. Both totals are 52.10, and four text IDs match. Order 7 appears as an order-only row, and the numeric payout appears separately.
  3. Run the text-ID sample. Quoting the payout ID restores the fifth match. Download the report to inspect the exact ID types, exceptions and amounts in cents.

Compare your own files

Use a UTF-8 orders CSV and a UTF-8 payouts JSON array. Include OrderID and Amount in both files. Each file supports up to 10,000 records and 2 MB. The example compares one record per text order ID per file, with non-negative amounts in one currency, up to eight digits before the decimal point and two after it.

The browser reads the files on your device. The report keeps numeric payout IDs separate and compares amounts only after an exact text ID match. For a source file you only need to inspect or filter, open the CSV viewer.

Compare three reconciliation tools on the same five orders

We tested the public workflows below in Chrome on December 5, 2026, with Codex assistance. The five fictional orders total $52.10. In one payout file the ID 7 is a JSON number. In another, the $18.95 payout for a different order is split into two rows of $9.95 and $9.00. Every file still totals $52.10.

Results for three payout inputs
Payout inputSpreadsheet to App exampleAppKatzMatrix Tools
Five text IDs5 exact matches5 unchanged pairs5 agreeing keys
One numeric ID in source JSON4 matches. Numeric payout and unmatched order listed separately.5 unchanged pairs after CSV conversion5 agreeing keys after CSV conversion
One payout split into two rowsRejects the repeated text ID4 unchanged pairs and 3 rows pending in one duplicate group5 agreeing keys, with one repeated payout key grouped

The first two payout files become identical when converted to CSV. Both contain 7 as cell text. The CSV comparisons preserve the key spelling, including leading zeros, but cannot recover whether the source JSON used a number or a string.

  1. Run the two built-in samples above. To test the split case, use the original Orders CSV and the split payout JSON in the own-files form.
  2. In AppKatz CSV Reconciliation, use the original Orders CSV on the left and the five-row payout CSV or six-row split payout CSV on the right. Use OrderID as the key and compare Amount as a decimal with zero tolerance.
  3. In Matrix Tools Reconcile Sheets, use the same CSVs, key, and amount columns. Compare amounts exactly and leave leading-zero and punctuation normalization off.

Use the repeated-key result to check what a row represents. One payout per order calls for a uniqueness check. A transaction export that allows partial payouts calls for grouping by order while keeping the original row references available for review.