 
 (def ^:private accounts-with-commodities
   (-> accounts
-      (concat [{:id "fc053b4fc6b94898a5d6fa53ed203bd0"
+      (concat [{:id (:401k ids)
                 :parent-id "d005a139a1aaab6899867923509b96ca"
                 :name "401k"
                 :type :asset
                 :commodity {:exchange :iso4217
                             :symbol "USD"}}
-               {:id "77bfb9a7eb53ebfd5dd13b22476f58dd"
-                :parent-id "fc053b4fc6b94898a5d6fa53ed203bd0"
+               {:id (:apple-401k ids)
+                :parent-id (:401k ids)
                 :name "Apple, Inc"
                 :type :asset
                 :commodity {:exchange :nasdaq

    :start-date (t/local-date 2017 1 1)
    :period :month
    :period-count 12
    :items [{:account-id "1b71fd298aeca1a18d35b04a7618e76e"
             :periods #{{:index 0
                         :amount 1000M}
                        {:index 1

(def ^:private input
  (io/input-stream "resources/fixtures/budget_sample.gnucash"))

(def ids
  {:checking    "ed92489659ab879fb9354a3a050fb65d"
   :salary      "1b71fd298aeca1a18d35b04a7618e76e"
   :groceries   "835bfe9b2728976d06e63b90aea8c090"
   :credit-card "337685830c05f47b2b09734a05a7c1a2"
   :401k        "fc053b4fc6b94898a5d6fa53ed203bd0"
   :apple-401k  "77bfb9a7eb53ebfd5dd13b22476f58dd"
   :ira         "294fd407b010e07e8fb54a4cab3fbd8c"
   :apple-ira   "d65092fee5cfdacab77e7b37942675bb"
   :other-inc   "8c62d43a4feee76da698912d7ff3a6ca"})

(def ^:private declarations
  [{:record-type :commodity
    :record-count 2}
