Reconciliation of documents