+type inv_accnts struct {
+ id string
+ taxval int
+ tax bool
+ buy bool
+}
+
+//
+// account data --- add accounts to consider here!
+//
+var iaa []inv_accnts = []inv_accnts{
+// wareneingang 19% and 7% (note: pids!)
+ { "8e3b7c42e3173ed85f3d4736e82afb4d",19,false,true },
+ { "0cfd2ceb45fff89b9d1b7ce3af66cdf3", 7,false,true },
+ { "e3acc2865dbf931e41cf2b90240de5c2",19,false,true },
+ { "b1d04ad157cac569f4299d4ddf94ed6f",19,false,true },
+ { "4394ed4ffa7266f8f8731080926a7a61",19,false,true },
+ { "4196ee026d1bdb785df2c975fca91ae0",19,false,true },
+// aids ...
+ { "cb67d346eac01c2b66e2394df4e8d6e8",19,false,true },
+// abziehbare vst 19% and 7%
+ { "7c449e13125d6b93043f963628106db2",19,true,true },
+ { "006643c1c0a91f2b40614c75a49c6295", 7,true,true },
+// --- sales
+// receipts
+ { "f3e905732b729ba096a50dab60559ce7",19,false,false },
+ { "66c1b04bd897766cb2be538094e1db6a", 7,false,false },
+ { "1d20024badc11a99a8e1cf3a9a64a501",19,false,false },
+ { "9772f4e231f6f5e3100132cc53eb3447",19,false,false },
+// ust
+ { "e4bd6ff52408be8076f24aeb105893d9",19,true,false },
+ { "38bf40d16529f2a1e611c073c6c1dc9c", 7,true,false },
+}
+
+//
+// account exceptions
+//
+// account exceptions: nineteen to seven
+var n2s_exc = []string{
+}
+// account exceptions: nineteen to zero
+var n2z_exc = []string{
+ "4970 Nebenkosten des",
+ "4910 Porto",
+}
+// transaction exceptions: nineteen to seven
+var n2s_exc_ta = []string{
+ "GEMA",
+}
+// transaction exceptions: nineteen to zero
+var n2z_exc_ta = []string{
+ "Deutsche Post",
+ "gesetz IHK",
+ "Gesundheitsbelehrung",
+ "Gewerbezentralregister",
+ "Entgeltabrechnung siehe Anlage",
+ "ENTGELT SPK",
+ "ttenrecht und F",
+ "Unterrichtung Gastst",
+}
+
+// transacion exception list --- the rest, required?
+var trn_exc = []string{
+}
+
+// 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
+}
+
+// xml