diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,10 @@
-User-visible changes in hledger-api. See also hledger, hledger-lib.
+User-visible changes in hledger-api.
+See also the hledger changelog.
+
+
+# 1.12 (2018/12/02)
+
+* use hledger 1.12
 
 
 # 1.11.1 (2018/10/06)
diff --git a/hledger-api.1 b/hledger-api.1
--- a/hledger-api.1
+++ b/hledger-api.1
@@ -1,5 +1,5 @@
 
-.TH "hledger\-api" "1" "September 2018" "hledger\-api 1.11.1" "hledger User Manuals"
+.TH "hledger\-api" "1" "December 2018" "hledger\-api 1.12" "hledger User Manuals"
 
 
 
diff --git a/hledger-api.cabal b/hledger-api.cabal
--- a/hledger-api.cabal
+++ b/hledger-api.cabal
@@ -1,11 +1,13 @@
--- This file has been generated from package.yaml by hpack version 0.28.2.
+cabal-version: 1.12
+
+-- This file has been generated from package.yaml by hpack version 0.31.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 10c56cc5ba020c666fc59a3e6ba0603b1b16b61e6c68786a06bb8572b1b87624
+-- hash: 2568034d40718576decaeee8d4cc375ed16568df787da9eef3ed8664bd3184ad
 
 name:           hledger-api
-version:        1.11.1
+version:        1.12
 synopsis:       Web API server for the hledger accounting tool
 description:    This is a simple web API server for hledger data.
                 It comes with a series of simple client-side web app examples.
@@ -26,15 +28,14 @@
 license-file:   LICENSE
 tested-with:    GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3
 build-type:     Simple
-cabal-version:  >= 1.10
 extra-source-files:
     CHANGES
+    README
     examples/01.html
     examples/02.html
     hledger-api.1
-    hledger-api.info
     hledger-api.txt
-    README
+    hledger-api.info
 
 source-repository head
   type: git
@@ -45,18 +46,18 @@
   other-modules:
       Paths_hledger_api
   ghc-options: -threaded
-  cpp-options: -DVERSION="1.11.1"
+  cpp-options: -DVERSION="1.12"
   build-depends:
       Decimal
     , aeson
-    , base >=4.8 && <4.12
+    , base >=4.8 && <4.13
     , bytestring
     , containers
     , data-default >=0.5
     , docopt
     , either
-    , hledger >=1.11.1 && <1.12
-    , hledger-lib >=1.11.1 && <1.12
+    , hledger >=1.12 && <1.13
+    , hledger-lib >=1.12 && <1.13
     , microlens >=0.4
     , microlens-platform >=0.2.3.1
     , safe
diff --git a/hledger-api.hs b/hledger-api.hs
--- a/hledger-api.hs
+++ b/hledger-api.hs
@@ -37,12 +37,12 @@
 import Hledger.Query
 import Hledger.Cli hiding (Reader, version)
 
-hledgerApiVersion="1.11.1"
+hledgerApiVersion="1.12"
 
 -- https://github.com/docopt/docopt.hs#readme
 doc :: Docopt
 doc = [docopt|
-hledger-api 1.11.1
+hledger-api 1.12
 
 Serves hledger data and reports as a JSON web API.
 
@@ -170,6 +170,7 @@
 instance ToJSON Side where toJSON = genericToJSON defaultOptions
 instance ToJSON DigitGroupStyle where toJSON = genericToJSON defaultOptions
 instance ToJSON MixedAmount where toJSON = genericToJSON defaultOptions
+instance ToJSON BalanceAssertion where toJSON = genericToJSON defaultOptions
 instance ToJSON Price where toJSON = genericToJSON defaultOptions
 instance ToJSON MarketPrice where toJSON = genericToJSON defaultOptions
 instance ToJSON PostingType where toJSON = genericToJSON defaultOptions
@@ -213,6 +214,7 @@
 instance ToSchema Side
 instance ToSchema DigitGroupStyle
 instance ToSchema MixedAmount
+instance ToSchema BalanceAssertion
 instance ToSchema Price
 #if MIN_VERSION_swagger2(2,1,5)
   where declareNamedSchema = genericDeclareNamedSchemaUnrestricted defaultSchemaOptions
diff --git a/hledger-api.info b/hledger-api.info
--- a/hledger-api.info
+++ b/hledger-api.info
@@ -3,8 +3,8 @@
 
 File: hledger-api.info,  Node: Top,  Next: OPTIONS,  Up: (dir)
 
-hledger-api(1) hledger-api 1.11.1
-*********************************
+hledger-api(1) hledger-api 1.12
+*******************************
 
 hledger-api is a simple web API server, intended to support client-side
 web apps operating on hledger data.  It comes with a series of simple
@@ -80,7 +80,7 @@
 
 Tag Table:
 Node: Top72
-Node: OPTIONS1664
-Ref: #options1749
+Node: OPTIONS1660
+Ref: #options1745
 
 End Tag Table
diff --git a/hledger-api.txt b/hledger-api.txt
--- a/hledger-api.txt
+++ b/hledger-api.txt
@@ -117,4 +117,4 @@
 
 
 
-hledger-api 1.11.1              September 2018                  hledger-api(1)
+hledger-api 1.12                 December 2018                  hledger-api(1)
