Generate XML for accounting complete