On the off chance that someone from Microsoft reads these posts, there is a problem in CU 367 that causes voided checks to produce several transaction numbers in the GL Entries along with a gap in the transaction number sequence. Most people will never notice it but if you need the transaction numbers to balance it will be a problem.
To fix it, the code in UnApplyVendInvoices and UnApplyCustInvoices needs to set the Document Type as it is done elsewhere in that CU (change NA0005).