If this can help at all, below is the Generate Patch output using WinMerge of just the Credit Note entry using the procedure that was explained above:
50c50
< ) ENGINE=InnoDB AUTO_INCREMENT=391 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
---
> ) ENGINE=InnoDB AUTO_INCREMENT=392 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
444c444,445
< ('390', '20190426-DC1 BBC Paint & Supplies', '20', '248', 'wI9l3HH8HXnHa-RC6AEXygxx', '2019-05-21', '20190426 HomeDepot Paint wRefund.pdf', '1625934', 'application/pdf');
---
> ('390', '20190426-DC1 BBC Paint & Supplies', '20', '248', 'wI9l3HH8HXnHa-RC6AEXygxx', '2019-05-21', '20190426 HomeDepot Paint wRefund.pdf', '1625934', 'application/pdf'),
> ('391', '20190426-DC Credit Note Refund cn', '21', '2', 'xIE1HNAJEo-wPesCnCYCFwxx', '2019-05-24', '20190426 HomeDepot Paint wRefund.pdf', '1625934', 'application/pdf');
463c464
< ) ENGINE=InnoDB AUTO_INCREMENT=5204 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
---
> ) ENGINE=InnoDB AUTO_INCREMENT=5207 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
5675c5676,5679
< ('5203', '22', '247', '1', '2019-05-21 08:21:20', NULL, '7', '2019-04-26', '0');
---
> ('5203', '22', '247', '1', '2019-05-21 08:21:20', NULL, '7', '2019-04-26', '0'),
> ('5204', '21', '2', '1', '2019-05-24 17:58:44', NULL, '7', '2019-04-26', '0'),
> ('5205', '2', '42', '1', '2019-05-24 22:19:05', NULL, '7', '2019-04-26', NULL),
> ('5206', '2', '42', '1', '2019-05-24 22:19:05', NULL, '7', '2019-04-26', '0');
5740c5744
< ) ENGINE=InnoDB AUTO_INCREMENT=2111 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
---
> ) ENGINE=InnoDB AUTO_INCREMENT=2112 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
7857c7861,7862
< ('2110', '22', '247', '1', 'SP19053', '2019-04-26', '-81.29', '0', '0', '3', '20', NULL);
---
> ('2110', '22', '247', '1', 'SP19053', '2019-04-26', '-81.29', '0', '0', '3', '20', NULL),
> ('2111', '2', '42', '1', 'BD19001', '2019-04-26', '22.89', '0', '0', '3', '20', NULL);
11088c11093,11095
< ('22', '247', '2019-04-26', '20190426-DC1 BBC Paint');
---
> ('22', '247', '2019-04-26', '20190426-DC1 BBC Paint'),
> ('21', '2', '2019-04-26', '20190426-DC Credit Note Refund cn'),
> ('2', '42', '2019-04-26', '20190426-DC Bank Deposit Refund bd');
18419c18426
< ) ENGINE=InnoDB AUTO_INCREMENT=6344 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
---
> ) ENGINE=InnoDB AUTO_INCREMENT=6348 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
24772c24779,24783
< ('6343', '22', '247', '2019-04-26', '1010', '', '-81.29', '0', '0', NULL, NULL);
---
> ('6343', '22', '247', '2019-04-26', '1010', '', '-81.29', '0', '0', NULL, NULL),
> ('6344', '21', '2', '2019-04-26', '2010', '', '22.89', '0', '0', '3', '20'),
> ('6345', '21', '2', '2019-04-26', '8200', '20190426-DC Credit Note Refund cn', '-22.89', '7', '1', NULL, NULL),
> ('6346', '2', '42', '2019-04-26', '2010', '20190426-DC Bank Deposit Refund bd', '-22.89', '7', '1', '3', '20'),
> ('6347', '2', '42', '2019-04-26', '1010', '20190426-DC Bank Deposit Refund bd', '22.89', '0', '0', NULL, NULL);
25668a25680
> ('42', '2', 'BD19001'),
27449,27450c27461
< ('486', '12', 'CP18208'),
< ('487', '12', 'CP18209');
---
> ('486', '12', 'CP18208');
27451a27463
> ('487', '12', 'CP18209'),
28245a28258
> ('2', '21', 'SCN19001'),
32123c32136
< ) ENGINE=InnoDB AUTO_INCREMENT=249 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
---
> ) ENGINE=InnoDB AUTO_INCREMENT=250 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
32374c32387,32388
< ('248', '20', '81.29', '2019-04-26', '247', '22', '248', '20');
---
> ('248', '20', '81.29', '2019-04-26', '247', '22', '248', '20'),
> ('249', '20', '22.89', '2019-04-26', '2', '21', '42', '2');
32397c32411
< ) ENGINE=InnoDB AUTO_INCREMENT=251 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
---
> ) ENGINE=InnoDB AUTO_INCREMENT=252 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
32650c32664,32665
< ('250', '248', '20', '8200', '-1', '0', '', NULL, '0', '81.29', '0', '20190426-DC1 BBC Paint & Supplies', '8', '4');
---
> ('250', '248', '20', '8200', '-1', '0', '', NULL, '0', '81.29', '0', '20190426-DC1 BBC Paint & Supplies', '8', '4'),
> ('251', '2', '21', '8200', '-1', '0', '', NULL, '0', '-22.89', '0', '20190426-DC Credit Note Refund cn', '7', '1');
32685a32701
> ('42', '2', '20', 'BD19001', '', '2019-04-26', '0000-00-00', '22.89', '0', '0', '1', '22.89', '0'),
32933a32950
> ('2', '21', '20', 'SCN19001', '20190426-DC cn', '2019-04-26', '2019-04-26', '-22.89', '0', '0', '1', '22.89', '1'),
33147,33149c33164
< ('214', '22', '49', 'SP19020', '', '2019-02-25', '2019-02-25', '-43.33', '0', '0', '1', '43.33', '0'),
< ('215', '22', '4', 'SP19021', '', '2019-02-19', '2019-02-19', '-274.35', '0', '0', '1', '274.35', '0'),
< ('216', '22', '2', 'SP19022', '', '2019-02-16', '2019-02-16', '-116.89', '0', '0', '1', '116.89', '0');
---
> ('214', '22', '49', 'SP19020', '', '2019-02-25', '2019-02-25', '-43.33', '0', '0', '1', '43.33', '0');
33150a33166,33167
> ('215', '22', '4', 'SP19021', '', '2019-02-19', '2019-02-19', '-274.35', '0', '0', '1', '274.35', '0'),
> ('216', '22', '2', 'SP19022', '', '2019-02-16', '2019-02-16', '-116.89', '0', '0', '1', '116.89', '0'),
Let me know if you would like any information that I may provide.