Coding automation learns from your history, so an inconsistent chart of accounts produces a faster inconsistent chart. Fix the GL first, then automate it.
Close is late for two reasons: AP is still coding, and nobody can see what has not posted. Six things have to be true on the last day, and each is a query rather than a conversation.
Purchase order, goods receipt, invoice. Most multifamily portfolios run a two-way match and call it three, which is why price variances surface after payment.