Closing balance:
Represents the balance in the accounting ledger at the beginning of the month. To get the the value you need to set a date -to midnight beginning of the month and subtract payments from revenue.

Openings balance: Should match the closing balance of the previous month.