+//
+// hardcoded account ids we have to look at
+//
+// --- buy
+// wareneingang 19% and 7%
+const pid_buy_n = string("8e3b7c42e3173ed85f3d4736e82afb4d")
+const pid_buy_s = string("0cfd2ceb45fff89b9d1b7ce3af66cdf3")
+const pid_misc = string("e3acc2865dbf931e41cf2b90240de5c2")
+const pid_rep = string("b1d04ad157cac569f4299d4ddf94ed6f")
+const pid_room = string("4394ed4ffa7266f8f8731080926a7a61")
+const pid_cap = string("4196ee026d1bdb785df2c975fca91ae0")
+// abziehbare vst 19% and 7%
+const aid_vst_n = string("7c449e13125d6b93043f963628106db2")
+const aid_vst_s = string("006643c1c0a91f2b40614c75a49c6295")
+// --- sales
+// receipts
+const aid_rec_n = string("f3e905732b729ba096a50dab60559ce7")
+const aid_rec_s = string("66c1b04bd897766cb2be538094e1db6a")
+const aid_tip = string("1d20024badc11a99a8e1cf3a9a64a501")
+const aid_dep = string("9772f4e231f6f5e3100132cc53eb3447")
+// ust
+const aid_ust_n = string("e4bd6ff52408be8076f24aeb105893d9")
+const aid_ust_s = string("38bf40d16529f2a1e611c073c6c1dc9c")
+
+// account maps
+type amap struct {
+ pid string // parent id
+ num int // account number
+ taxval int // 7 or 19
+ buy bool // buy or sales
+ tax bool // tax or non-tax(=goods) account
+ rid []string // required transaction account(s)
+}
+
+// xml