diff --git a/Hledger/Interest.hs b/Hledger/Interest.hs
--- a/Hledger/Interest.hs
+++ b/Hledger/Interest.hs
@@ -94,7 +94,7 @@
       pTarget = Posting
           { pstatus        = False
           , paccount       = targetAcc
-          , pamount        = Mixed [ a { quantity = (quantity a * ratePerAnno) / fromInteger perDayScalar * fromInteger days } | a <- amounts bal ]
+          , pamount        = Mixed [ a { aquantity = (aquantity a * ratePerAnno) / fromInteger perDayScalar * fromInteger days } | a <- amounts bal ]
           , pcomment       = ""
           , ptype          = RegularPosting
           , ptransaction   = Just t
diff --git a/hledger-interest.cabal b/hledger-interest.cabal
--- a/hledger-interest.cabal
+++ b/hledger-interest.cabal
@@ -1,5 +1,5 @@
 Name:                   hledger-interest
-Version:                1.4.1
+Version:                1.4.2
 Synopsis:               computes interest for a given account
 License:                BSD3
 License-file:           LICENSE
@@ -9,7 +9,7 @@
 Category:               Finance
 Build-type:             Simple
 Cabal-version:          >= 1.6
-Tested-with:            GHC == 7.0.4, GHC == 7.4.1
+Tested-with:            GHC >= 7.0.4 && <= 7.6.1
 Data-files:             README.md
 Description:
  hledger-interest is a small command-line utility based on Simon
@@ -112,7 +112,7 @@
 
 Executable hledger-interest
   Main-is:              Main.hs
-  Build-depends:        base >= 3 && < 5, hledger-lib >= 0.18, time, mtl, Cabal
+  Build-depends:        base >= 3 && < 5, hledger-lib >= 0.19.3, time, mtl, Cabal
   other-modules:        Hledger.Interest
                         Hledger.Interest.DayCountConvention
                         Hledger.Interest.Rate
