XML Invoice Matching Flow Logic - continued