class OFX::Balance

Represents the ledger balance of an account at a specific point in time.

Example

bal = OFX.new("statement.ofx").balance
bal.amount.format  #=> "$2,500.00"
bal.amount_cents   #=> 250000
bal.posted_at      #=> 2024-01-31 00:00:00 +0000
bal.account        #=> #<OFX::BankAccount ...>