Can anyone help me with this question related to Governmental accounting ? Thank

During its fiscal year ended June 30, Cliff City issued purchase orders totaling $5,000,000, which were properly charged to encumbrances at that time. Cliff received goods and related invoices at the encumbered amounts totaling $4,500,000 before year end. The remaining goods of $500,000 were not received until after year end. Cliff paid $4,200,000 of the invoices received during the year. What amount of Cliff's encumbrances were outstanding at June 30? $0 $300,000 $500,000 $800,000 The answer is $500.000, my answer is $0, I thought you will reverse the total encumbrance at year end, but the answer is The amount of Cliff's encumbrances that were outstanding at June 30 is the amount of purchase orders issued, less the encumbered value of expenditures. The amount of Cliff's encumbrances that were outstanding at June 30 is $500,000 (i.e., $5,000,000 - $4,500,000). When the purchase orders were issued, the following entry was made: Encumbrances control (estimated cost) 5,000,000 Reserve for encumbrances 5,000,000 Upon receipt of the goods and related invoices, the following entries were made: Reserve for encumbrances 4,500,000 Encumbrances control 4,500,000 (reverse original entry) Expenditures (actual cost) 4,200,000 Vouchers payable 4,200,000 when receipt of the goods and related invoices, why not reverse the total encumbered amount at the beginning ?