diff --git a/CHANGES b/CHANGES
deleted file mode 100644
--- a/CHANGES
+++ /dev/null
@@ -1,81 +0,0 @@
-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)
-
-* use hledger 1.11.1
-
-
-# 1.11 (2018/9/30)
-
-* use hledger 1.11
-
-
-# 1.10 (2018/6/30)
-
-* use hledger-lib 1.10
-
-
-# 1.9.1 (2018/4/30)
-
-* use hledger-lib 1.9.1
-
-
-# 1.9 (2018/3/31)
-
-* support ghc 8.4, latest deps
-
-* when the system text encoding is UTF-8, ignore any UTF-8 BOM prefix
-  found when reading files
-
-
-# 1.5 (2017/12/31)
-
-* remove upper bounds on all but hledger* and base (experimental)
-
-
-# 1.4 (2017/9/30)
-
-* api: add support for swagger2 2.1.5+ (fixes #612)
-
-
-# 1.3.1 (2017/8/25)
-
-* require servant-server 0.10+ to fix compilation warning
-
-* restore upper bounds on hledger packages
-
-
-# 1.3 (2017/6/30)
-
-Depends on hledger[-lib] 1.3, see related changelogs.
-
-
-# 1.2 (2017/3/31)
-
-see project changes at http://hledger.org/release-notes
-
-
-# 1.1 (2016/12/31)
-
--   serves on 127.0.0.1 by default, --host option added (#432)
-
-    Consistent with hledger-web: serves only local requests by default,
-    use --host=IPADDR to change this.
-
--   fixed the version string in command-line help and swagger info
-
-
-# 1.0 (2016/10/26)
-
-## misc
-
--   new hledger-api tool: a simple web API server with example clients (#316)
-
--   start an Angular-based API example client (#316) (Thomas R. Koll)
diff --git a/CHANGES.md b/CHANGES.md
new file mode 100644
--- /dev/null
+++ b/CHANGES.md
@@ -0,0 +1,72 @@
+User-visible changes in hledger-api.
+See also the hledger changelog.
+
+# 1.13 (2019/02/01)
+
+- use hledger 1.13
+
+# 1.12 (2018/12/02)
+
+-   use hledger 1.12
+
+# 1.11.1 (2018/10/06)
+
+-   use hledger 1.11.1
+
+# 1.11 (2018/9/30)
+
+-   use hledger 1.11
+
+# 1.10 (2018/6/30)
+
+-   use hledger-lib 1.10
+
+# 1.9.1 (2018/4/30)
+
+-   use hledger-lib 1.9.1
+
+# 1.9 (2018/3/31)
+
+-   support ghc 8.4, latest deps
+
+-   when the system text encoding is UTF-8, ignore any UTF-8 BOM prefix
+    found when reading files
+
+# 1.5 (2017/12/31)
+
+-   remove upper bounds on all but hledger* and base (experimental)
+
+# 1.4 (2017/9/30)
+
+-   api: add support for swagger2 2.1.5+ (fixes #612)
+
+# 1.3.1 (2017/8/25)
+
+-   require servant-server 0.10+ to fix compilation warning
+
+-   restore upper bounds on hledger packages
+
+# 1.3 (2017/6/30)
+
+Depends on hledger\[-lib\] 1.3, see related changelogs.
+
+# 1.2 (2017/3/31)
+
+see project changes at http://hledger.org/release-notes
+
+# 1.1 (2016/12/31)
+
+-   serves on 127.0.0.1 by default, --host option added (#432)
+
+    Consistent with hledger-web: serves only local requests by default,
+    use --host=IPADDR to change this.
+
+-   fixed the version string in command-line help and swagger info
+
+# 1.0 (2016/10/26)
+
+## misc
+
+-   new hledger-api tool: a simple web API server with example clients (#316)
+
+-   start an Angular-based API example client (#316) (Thomas R. Koll)
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" "December 2018" "hledger\-api 1.12" "hledger User Manuals"
+.TH "hledger\-api" "1" "February 2019" "hledger\-api 1.13" "hledger User Manuals"
 
 
 
diff --git a/hledger-api.cabal b/hledger-api.cabal
--- a/hledger-api.cabal
+++ b/hledger-api.cabal
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.31.0.
+-- This file has been generated from package.yaml by hpack version 0.31.1.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 2568034d40718576decaeee8d4cc375ed16568df787da9eef3ed8664bd3184ad
+-- hash: d466c16400216144122ec39c234f0b399daffb1a7eb48236b78b63ba59102275
 
 name:           hledger-api
-version:        1.12
+version:        1.13
 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.
@@ -29,7 +29,7 @@
 tested-with:    GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3
 build-type:     Simple
 extra-source-files:
-    CHANGES
+    CHANGES.md
     README
     examples/01.html
     examples/02.html
@@ -46,7 +46,7 @@
   other-modules:
       Paths_hledger_api
   ghc-options: -threaded
-  cpp-options: -DVERSION="1.12"
+  cpp-options: -DVERSION="1.13"
   build-depends:
       Decimal
     , aeson
@@ -56,8 +56,8 @@
     , data-default >=0.5
     , docopt
     , either
-    , hledger >=1.12 && <1.13
-    , hledger-lib >=1.12 && <1.13
+    , hledger >=1.13 && <1.14
+    , hledger-lib >=1.13 && <1.14
     , 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.12"
+hledgerApiVersion="1.13"
 
 -- https://github.com/docopt/docopt.hs#readme
 doc :: Docopt
 doc = [docopt|
-hledger-api 1.12
+hledger-api 1.13
 
 Serves hledger data and reports as a JSON web API.
 
@@ -224,4 +224,5 @@
 instance ToSchema Posting
 instance ToSchema Transaction
 instance ToSchema Account
+instance ToSchema AccountDeclarationInfo
 -- instance ToSchema AccountTransactionsReport
diff --git a/hledger-api.info b/hledger-api.info
--- a/hledger-api.info
+++ b/hledger-api.info
@@ -3,7 +3,7 @@
 
 File: hledger-api.info,  Node: Top,  Next: OPTIONS,  Up: (dir)
 
-hledger-api(1) hledger-api 1.12
+hledger-api(1) hledger-api 1.13
 *******************************
 
 hledger-api is a simple web API server, intended to support client-side
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.12                 December 2018                  hledger-api(1)
+hledger-api 1.13                 February 2019                  hledger-api(1)
