epic-s6ts
[kivitendo-erp.git] / Test / etc / firma-3.6.1.dump
1 --
2 -- PostgreSQL database dump
3 --
4
5 -- Dumped from database version 13.13 (Debian 13.13-0+deb11u1)
6 -- Dumped by pg_dump version 13.13 (Debian 13.13-0+deb11u1)
7
8 SET statement_timeout = 0;
9 SET lock_timeout = 0;
10 SET idle_in_transaction_session_timeout = 0;
11 SET client_encoding = 'UTF8';
12 SET standard_conforming_strings = on;
13 SELECT pg_catalog.set_config('search_path', '', false);
14 SET check_function_bodies = false;
15 SET xmloption = content;
16 SET client_min_messages = warning;
17 SET row_security = off;
18
19 --
20 -- Name: tax; Type: SCHEMA; Schema: -; Owner: kivitendo
21 --
22
23 CREATE SCHEMA tax;
24
25
26 ALTER SCHEMA tax OWNER TO kivitendo;
27
28 --
29 -- Name: pg_trgm; Type: EXTENSION; Schema: -; Owner: -
30 --
31
32 CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public;
33
34
35 --
36 -- Name: EXTENSION pg_trgm; Type: COMMENT; Schema: -; Owner: 
37 --
38
39 COMMENT ON EXTENSION pg_trgm IS 'text similarity measurement and index searching based on trigrams';
40
41
42 --
43 -- Name: custom_data_export_query_parameter_default_value_type_enum; Type: TYPE; Schema: public; Owner: kivitendo
44 --
45
46 CREATE TYPE public.custom_data_export_query_parameter_default_value_type_enum AS ENUM (
47     'none',
48     'current_user_login',
49     'sql_query',
50     'fixed_value'
51 );
52
53
54 ALTER TYPE public.custom_data_export_query_parameter_default_value_type_enum OWNER TO kivitendo;
55
56 --
57 -- Name: custom_data_export_query_parameter_type_enum; Type: TYPE; Schema: public; Owner: kivitendo
58 --
59
60 CREATE TYPE public.custom_data_export_query_parameter_type_enum AS ENUM (
61     'text',
62     'number',
63     'date',
64     'timestamp'
65 );
66
67
68 ALTER TYPE public.custom_data_export_query_parameter_type_enum OWNER TO kivitendo;
69
70 --
71 -- Name: datev_export_format_enum; Type: TYPE; Schema: public; Owner: kivitendo
72 --
73
74 CREATE TYPE public.datev_export_format_enum AS ENUM (
75     'cp1252',
76     'cp1252-translit',
77     'utf-8'
78 );
79
80
81 ALTER TYPE public.datev_export_format_enum OWNER TO kivitendo;
82
83 --
84 -- Name: dunning_creator; Type: TYPE; Schema: public; Owner: kivitendo
85 --
86
87 CREATE TYPE public.dunning_creator AS ENUM (
88     'current_employee',
89     'invoice_employee'
90 );
91
92
93 ALTER TYPE public.dunning_creator OWNER TO kivitendo;
94
95 --
96 -- Name: invoice_mail_settings; Type: TYPE; Schema: public; Owner: kivitendo
97 --
98
99 CREATE TYPE public.invoice_mail_settings AS ENUM (
100     'cp',
101     'invoice_mail',
102     'invoice_mail_cc_cp'
103 );
104
105
106 ALTER TYPE public.invoice_mail_settings OWNER TO kivitendo;
107
108 --
109 -- Name: part_type_enum; Type: TYPE; Schema: public; Owner: kivitendo
110 --
111
112 CREATE TYPE public.part_type_enum AS ENUM (
113     'part',
114     'service',
115     'assembly',
116     'assortment'
117 );
118
119
120 ALTER TYPE public.part_type_enum OWNER TO kivitendo;
121
122 --
123 -- Name: record_template_type; Type: TYPE; Schema: public; Owner: kivitendo
124 --
125
126 CREATE TYPE public.record_template_type AS ENUM (
127     'ar_transaction',
128     'ap_transaction',
129     'gl_transaction'
130 );
131
132
133 ALTER TYPE public.record_template_type OWNER TO kivitendo;
134
135 --
136 -- Name: add_parts_price_history_entry(); Type: FUNCTION; Schema: public; Owner: kivitendo
137 --
138
139 CREATE FUNCTION public.add_parts_price_history_entry() RETURNS trigger
140     LANGUAGE plpgsql
141     AS $$
142   BEGIN
143     IF      (TG_OP = 'UPDATE')
144         AND ((OLD.lastcost  IS NULL AND NEW.lastcost  IS NULL) OR (OLD.lastcost  = NEW.lastcost))
145         AND ((OLD.listprice IS NULL AND NEW.listprice IS NULL) OR (OLD.listprice = NEW.listprice))
146         AND ((OLD.sellprice IS NULL AND NEW.sellprice IS NULL) OR (OLD.sellprice = NEW.sellprice)) THEN
147       RETURN NEW;
148     END IF;
149
150     INSERT INTO parts_price_history (part_id, lastcost, listprice, sellprice, valid_from)
151     VALUES (NEW.id, NEW.lastcost, NEW.listprice, NEW.sellprice, now());
152
153     RETURN NEW;
154   END;
155 $$;
156
157
158 ALTER FUNCTION public.add_parts_price_history_entry() OWNER TO kivitendo;
159
160 --
161 -- Name: chart_category_to_sgn(character); Type: FUNCTION; Schema: public; Owner: kivitendo
162 --
163
164 CREATE FUNCTION public.chart_category_to_sgn(character) RETURNS integer
165     LANGUAGE sql
166     AS $_$SELECT  1 WHERE $1 IN ('I', 'L', 'Q')
167       UNION 
168     SELECT -1 WHERE $1 IN ('E', 'A')$_$;
169
170
171 ALTER FUNCTION public.chart_category_to_sgn(character) OWNER TO kivitendo;
172
173 --
174 -- Name: check_bin_belongs_to_wh(); Type: FUNCTION; Schema: public; Owner: kivitendo
175 --
176
177 CREATE FUNCTION public.check_bin_belongs_to_wh() RETURNS trigger
178     LANGUAGE plpgsql
179     AS $$BEGIN
180         IF NEW.bin_id IS NULL AND NEW.warehouse_id IS NULL THEN
181           RETURN NEW;
182         END IF;
183         IF NEW.bin_id IN (SELECT id FROM bin WHERE warehouse_id = NEW.warehouse_id) THEN
184           RETURN NEW;
185         ELSE
186           RAISE EXCEPTION 'bin (id=%) does not belong to warehouse (id=%).', NEW.bin_id, NEW.warehouse_id;
187           RETURN NULL;
188         END IF;
189       END;$$;
190
191
192 ALTER FUNCTION public.check_bin_belongs_to_wh() OWNER TO kivitendo;
193
194 --
195 -- Name: clean_up_acc_trans_after_ar_ap_gl_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
196 --
197
198 CREATE FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete() RETURNS trigger
199     LANGUAGE plpgsql
200     AS $$
201   BEGIN
202     DELETE FROM acc_trans WHERE trans_id = OLD.id;
203     RETURN OLD;
204   END;
205 $$;
206
207
208 ALTER FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete() OWNER TO kivitendo;
209
210 --
211 -- Name: clean_up_after_customer_vendor_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
212 --
213
214 CREATE FUNCTION public.clean_up_after_customer_vendor_delete() RETURNS trigger
215     LANGUAGE plpgsql
216     AS $$
217   BEGIN
218     DELETE FROM contacts
219     WHERE cp_cv_id = OLD.id;
220
221     DELETE FROM shipto
222     WHERE (trans_id = OLD.id)
223       AND (module   = 'CT');
224
225     RETURN OLD;
226   END;
227 $$;
228
229
230 ALTER FUNCTION public.clean_up_after_customer_vendor_delete() OWNER TO kivitendo;
231
232 --
233 -- Name: clean_up_record_links_before_ap_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
234 --
235
236 CREATE FUNCTION public.clean_up_record_links_before_ap_delete() RETURNS trigger
237     LANGUAGE plpgsql
238     AS $$
239   BEGIN
240     DELETE FROM record_links
241       WHERE (from_table = 'ap' AND from_id = OLD.id)
242          OR (to_table   = 'ap' AND to_id   = OLD.id);
243     RETURN OLD;
244   END;
245 $$;
246
247
248 ALTER FUNCTION public.clean_up_record_links_before_ap_delete() OWNER TO kivitendo;
249
250 --
251 -- Name: clean_up_record_links_before_ar_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
252 --
253
254 CREATE FUNCTION public.clean_up_record_links_before_ar_delete() RETURNS trigger
255     LANGUAGE plpgsql
256     AS $$
257   BEGIN
258     DELETE FROM record_links
259       WHERE (from_table = 'ar' AND from_id = OLD.id)
260          OR (to_table   = 'ar' AND to_id   = OLD.id);
261     RETURN OLD;
262   END;
263 $$;
264
265
266 ALTER FUNCTION public.clean_up_record_links_before_ar_delete() OWNER TO kivitendo;
267
268 --
269 -- Name: clean_up_record_links_before_delivery_order_items_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
270 --
271
272 CREATE FUNCTION public.clean_up_record_links_before_delivery_order_items_delete() RETURNS trigger
273     LANGUAGE plpgsql
274     AS $$
275   BEGIN
276     DELETE FROM record_links
277       WHERE (from_table = 'delivery_order_items' AND from_id = OLD.id)
278          OR (to_table   = 'delivery_order_items' AND to_id   = OLD.id);
279     RETURN OLD;
280   END;
281 $$;
282
283
284 ALTER FUNCTION public.clean_up_record_links_before_delivery_order_items_delete() OWNER TO kivitendo;
285
286 --
287 -- Name: clean_up_record_links_before_delivery_orders_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
288 --
289
290 CREATE FUNCTION public.clean_up_record_links_before_delivery_orders_delete() RETURNS trigger
291     LANGUAGE plpgsql
292     AS $$
293   BEGIN
294     DELETE FROM record_links
295       WHERE (from_table = 'delivery_orders' AND from_id = OLD.id)
296          OR (to_table   = 'delivery_orders' AND to_id   = OLD.id);
297     RETURN OLD;
298   END;
299 $$;
300
301
302 ALTER FUNCTION public.clean_up_record_links_before_delivery_orders_delete() OWNER TO kivitendo;
303
304 --
305 -- Name: clean_up_record_links_before_dunning_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
306 --
307
308 CREATE FUNCTION public.clean_up_record_links_before_dunning_delete() RETURNS trigger
309     LANGUAGE plpgsql
310     AS $$
311   BEGIN
312     DELETE FROM record_links
313       WHERE (from_table = 'dunning' AND from_id = OLD.id)
314          OR (to_table   = 'dunning' AND to_id   = OLD.id);
315     RETURN OLD;
316   END;
317 $$;
318
319
320 ALTER FUNCTION public.clean_up_record_links_before_dunning_delete() OWNER TO kivitendo;
321
322 --
323 -- Name: clean_up_record_links_before_gl_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
324 --
325
326 CREATE FUNCTION public.clean_up_record_links_before_gl_delete() RETURNS trigger
327     LANGUAGE plpgsql
328     AS $$
329   BEGIN
330     DELETE FROM record_links
331       WHERE (from_table = 'gl' AND from_id = OLD.id)
332          OR (to_table   = 'gl' AND to_id   = OLD.id);
333     RETURN OLD;
334   END;
335 $$;
336
337
338 ALTER FUNCTION public.clean_up_record_links_before_gl_delete() OWNER TO kivitendo;
339
340 --
341 -- Name: clean_up_record_links_before_invoice_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
342 --
343
344 CREATE FUNCTION public.clean_up_record_links_before_invoice_delete() RETURNS trigger
345     LANGUAGE plpgsql
346     AS $$
347   BEGIN
348     DELETE FROM record_links
349       WHERE (from_table = 'invoice' AND from_id = OLD.id)
350          OR (to_table   = 'invoice' AND to_id   = OLD.id);
351     RETURN OLD;
352   END;
353 $$;
354
355
356 ALTER FUNCTION public.clean_up_record_links_before_invoice_delete() OWNER TO kivitendo;
357
358 --
359 -- Name: clean_up_record_links_before_letter_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
360 --
361
362 CREATE FUNCTION public.clean_up_record_links_before_letter_delete() RETURNS trigger
363     LANGUAGE plpgsql
364     AS $$
365   BEGIN
366     DELETE FROM record_links
367       WHERE (from_table = 'letter' AND from_id = OLD.id)
368          OR (to_table   = 'letter' AND to_id   = OLD.id);
369     RETURN OLD;
370   END;
371 $$;
372
373
374 ALTER FUNCTION public.clean_up_record_links_before_letter_delete() OWNER TO kivitendo;
375
376 --
377 -- Name: clean_up_record_links_before_oe_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
378 --
379
380 CREATE FUNCTION public.clean_up_record_links_before_oe_delete() RETURNS trigger
381     LANGUAGE plpgsql
382     AS $$
383   BEGIN
384     DELETE FROM record_links
385       WHERE (from_table = 'oe' AND from_id = OLD.id)
386          OR (to_table   = 'oe' AND to_id   = OLD.id);
387     RETURN OLD;
388   END;
389 $$;
390
391
392 ALTER FUNCTION public.clean_up_record_links_before_oe_delete() OWNER TO kivitendo;
393
394 --
395 -- Name: clean_up_record_links_before_orderitems_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
396 --
397
398 CREATE FUNCTION public.clean_up_record_links_before_orderitems_delete() RETURNS trigger
399     LANGUAGE plpgsql
400     AS $$
401   BEGIN
402     DELETE FROM record_links
403       WHERE (from_table = 'orderitems' AND from_id = OLD.id)
404          OR (to_table   = 'orderitems' AND to_id   = OLD.id);
405     RETURN OLD;
406   END;
407 $$;
408
409
410 ALTER FUNCTION public.clean_up_record_links_before_orderitems_delete() OWNER TO kivitendo;
411
412 --
413 -- Name: delete_custom_variables_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
414 --
415
416 CREATE FUNCTION public.delete_custom_variables_trigger() RETURNS trigger
417     LANGUAGE plpgsql
418     AS $$
419   BEGIN
420     IF (TG_TABLE_NAME IN ('orderitems', 'delivery_order_items', 'invoice')) THEN
421       PERFORM delete_custom_variables_with_sub_module('IC', TG_TABLE_NAME, old.id);
422     END IF;
423
424     IF (TG_TABLE_NAME = 'parts') THEN
425       PERFORM delete_custom_variables_with_sub_module('IC', '', old.id);
426     END IF;
427
428     IF (TG_TABLE_NAME IN ('customer', 'vendor')) THEN
429       PERFORM delete_custom_variables_with_sub_module('CT', '', old.id);
430     END IF;
431
432     IF (TG_TABLE_NAME = 'contacts') THEN
433       PERFORM delete_custom_variables_with_sub_module('Contacts', '', old.cp_id);
434     END IF;
435
436     IF (TG_TABLE_NAME = 'project') THEN
437       PERFORM delete_custom_variables_with_sub_module('Projects', '', old.id);
438     END IF;
439
440     IF (TG_TABLE_NAME = 'shipto') THEN
441       PERFORM delete_custom_variables_with_sub_module('ShipTo', '', old.shipto_id);
442     END IF;
443
444     RETURN old;
445   END;
446 $$;
447
448
449 ALTER FUNCTION public.delete_custom_variables_trigger() OWNER TO kivitendo;
450
451 --
452 -- Name: delete_custom_variables_with_sub_module(text, text, integer); Type: FUNCTION; Schema: public; Owner: kivitendo
453 --
454
455 CREATE FUNCTION public.delete_custom_variables_with_sub_module(config_module text, cvar_sub_module text, old_id integer) RETURNS boolean
456     LANGUAGE plpgsql
457     AS $$
458   BEGIN
459     DELETE FROM custom_variables
460     WHERE EXISTS (SELECT id FROM custom_variable_configs cfg WHERE (cfg.module = config_module) AND (custom_variables.config_id = cfg.id))
461       AND (COALESCE(sub_module, '') = cvar_sub_module)
462       AND (trans_id                 = old_id);
463
464     RETURN TRUE;
465   END;
466 $$;
467
468
469 ALTER FUNCTION public.delete_custom_variables_with_sub_module(config_module text, cvar_sub_module text, old_id integer) OWNER TO kivitendo;
470
471 --
472 -- Name: delete_requirement_spec_custom_variables_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
473 --
474
475 CREATE FUNCTION public.delete_requirement_spec_custom_variables_trigger() RETURNS trigger
476     LANGUAGE plpgsql
477     AS $$
478   BEGIN
479     DELETE FROM custom_variables WHERE (sub_module = '' OR sub_module IS NULL)
480                                    AND trans_id = OLD.id
481                                    AND (SELECT module FROM custom_variable_configs WHERE id = config_id) = 'RequirementSpecs';
482
483     RETURN OLD;
484   END;
485 $$;
486
487
488 ALTER FUNCTION public.delete_requirement_spec_custom_variables_trigger() OWNER TO kivitendo;
489
490 --
491 -- Name: delivery_orders_before_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
492 --
493
494 CREATE FUNCTION public.delivery_orders_before_delete_trigger() RETURNS trigger
495     LANGUAGE plpgsql
496     AS $$
497         BEGIN
498           DELETE FROM status                     WHERE trans_id = OLD.id;
499           DELETE FROM delivery_order_items_stock WHERE delivery_order_item_id IN (SELECT id FROM delivery_order_items WHERE delivery_order_id = OLD.id);
500           DELETE FROM shipto                     WHERE (trans_id = OLD.id) AND (module = 'OE');
501
502           RETURN OLD;
503         END;
504       $$;
505
506
507 ALTER FUNCTION public.delivery_orders_before_delete_trigger() OWNER TO kivitendo;
508
509 --
510 -- Name: first_agg(anyelement, anyelement); Type: FUNCTION; Schema: public; Owner: kivitendo
511 --
512
513 CREATE FUNCTION public.first_agg(anyelement, anyelement) RETURNS anyelement
514     LANGUAGE sql IMMUTABLE STRICT
515     AS $_$
516   SELECT $1;
517 $_$;
518
519
520 ALTER FUNCTION public.first_agg(anyelement, anyelement) OWNER TO kivitendo;
521
522 --
523 -- Name: follow_up_close_when_oe_closed_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
524 --
525
526 CREATE FUNCTION public.follow_up_close_when_oe_closed_trigger() RETURNS trigger
527     LANGUAGE plpgsql
528     AS $$
529   BEGIN
530     IF COALESCE(NEW.closed, FALSE) AND NOT COALESCE(OLD.closed, FALSE) THEN
531       UPDATE follow_ups
532       SET done = TRUE
533       WHERE id IN (
534         SELECT follow_up_id
535         FROM follow_up_links
536         WHERE (trans_id   = NEW.id)
537           AND (trans_type IN ('sales_quotation',   'sales_order',    'sales_delivery_order',
538                               'request_quotation', 'purchase_order', 'purchase_delivery_order'))
539       );
540     END IF;
541
542     RETURN NEW;
543   END;
544 $$;
545
546
547 ALTER FUNCTION public.follow_up_close_when_oe_closed_trigger() OWNER TO kivitendo;
548
549 --
550 -- Name: follow_up_delete_notes_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
551 --
552
553 CREATE FUNCTION public.follow_up_delete_notes_trigger() RETURNS trigger
554     LANGUAGE plpgsql
555     AS $$
556   BEGIN
557     DELETE FROM notes
558     WHERE (trans_id     = OLD.id)
559       AND (trans_module = 'fu');
560     RETURN OLD;
561   END;
562 $$;
563
564
565 ALTER FUNCTION public.follow_up_delete_notes_trigger() OWNER TO kivitendo;
566
567 --
568 -- Name: follow_up_delete_when_customer_vendor_is_deleted_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
569 --
570
571 CREATE FUNCTION public.follow_up_delete_when_customer_vendor_is_deleted_trigger() RETURNS trigger
572     LANGUAGE plpgsql
573     AS $$
574   BEGIN
575     DELETE FROM follow_ups
576     WHERE id IN (
577       SELECT follow_up_id
578       FROM follow_up_links
579       WHERE (trans_id   = OLD.id)
580         AND (trans_type IN ('customer', 'vendor'))
581     );
582
583     DELETE FROM notes
584     WHERE (trans_id     = OLD.id)
585       AND (trans_module = 'ct');
586
587     RETURN OLD;
588   END;
589 $$;
590
591
592 ALTER FUNCTION public.follow_up_delete_when_customer_vendor_is_deleted_trigger() OWNER TO kivitendo;
593
594 --
595 -- Name: follow_up_delete_when_oe_is_deleted_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
596 --
597
598 CREATE FUNCTION public.follow_up_delete_when_oe_is_deleted_trigger() RETURNS trigger
599     LANGUAGE plpgsql
600     AS $$
601   BEGIN
602     DELETE FROM follow_ups
603     WHERE id IN (
604       SELECT follow_up_id
605       FROM follow_up_links
606       WHERE (trans_id   = OLD.id)
607         AND (trans_type IN ('sales_quotation',   'sales_order',    'sales_delivery_order',    'sales_invoice',
608                             'request_quotation', 'purchase_order', 'purchase_delivery_order', 'purchase_invoice'))
609     );
610
611     RETURN OLD;
612   END;
613 $$;
614
615
616 ALTER FUNCTION public.follow_up_delete_when_oe_is_deleted_trigger() OWNER TO kivitendo;
617
618 --
619 -- Name: generic_translations_delete_on_delivery_terms_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
620 --
621
622 CREATE FUNCTION public.generic_translations_delete_on_delivery_terms_delete_trigger() RETURNS trigger
623     LANGUAGE plpgsql
624     AS $$
625   BEGIN
626     DELETE FROM generic_translations
627       WHERE translation_id = OLD.id AND translation_type LIKE 'SL::DB::DeliveryTerm/description_long';
628     RETURN OLD;
629   END;
630 $$;
631
632
633 ALTER FUNCTION public.generic_translations_delete_on_delivery_terms_delete_trigger() OWNER TO kivitendo;
634
635 --
636 -- Name: generic_translations_delete_on_payment_terms_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
637 --
638
639 CREATE FUNCTION public.generic_translations_delete_on_payment_terms_delete_trigger() RETURNS trigger
640     LANGUAGE plpgsql
641     AS $$
642   BEGIN
643     DELETE FROM generic_translations
644     WHERE (translation_id = OLD.id)
645       AND (translation_type IN ('SL::DB::PaymentTerm/description_long', 'SL::DB::PaymentTerm/description_long_invoice'));
646     RETURN OLD;
647   END;
648 $$;
649
650
651 ALTER FUNCTION public.generic_translations_delete_on_payment_terms_delete_trigger() OWNER TO kivitendo;
652
653 --
654 -- Name: generic_translations_delete_on_tax_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
655 --
656
657 CREATE FUNCTION public.generic_translations_delete_on_tax_delete_trigger() RETURNS trigger
658     LANGUAGE plpgsql
659     AS $$
660   BEGIN
661     DELETE FROM generic_translations
662       WHERE translation_id = OLD.id AND translation_type LIKE 'SL::DB::Tax/taxdescription';
663     RETURN OLD;
664   END;
665 $$;
666
667
668 ALTER FUNCTION public.generic_translations_delete_on_tax_delete_trigger() OWNER TO kivitendo;
669
670 --
671 -- Name: oe_before_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
672 --
673
674 CREATE FUNCTION public.oe_before_delete_trigger() RETURNS trigger
675     LANGUAGE plpgsql
676     AS $$
677         BEGIN
678           DELETE FROM status WHERE trans_id = OLD.id;
679           DELETE FROM shipto WHERE (trans_id = OLD.id) AND (module = 'OE');
680
681           RETURN OLD;
682         END;
683       $$;
684
685
686 ALTER FUNCTION public.oe_before_delete_trigger() OWNER TO kivitendo;
687
688 --
689 -- Name: recalculate_all_spec_item_time_estimations(); Type: FUNCTION; Schema: public; Owner: kivitendo
690 --
691
692 CREATE FUNCTION public.recalculate_all_spec_item_time_estimations() RETURNS boolean
693     LANGUAGE plpgsql
694     AS $$
695   DECLARE
696     rspec RECORD;
697   BEGIN
698     FOR rspec IN SELECT id FROM requirement_specs LOOP
699       PERFORM recalculate_spec_item_time_estimation(rspec.id);
700     END LOOP;
701
702     RETURN TRUE;
703   END;
704 $$;
705
706
707 ALTER FUNCTION public.recalculate_all_spec_item_time_estimations() OWNER TO kivitendo;
708
709 --
710 -- Name: recalculate_spec_item_time_estimation(integer); Type: FUNCTION; Schema: public; Owner: kivitendo
711 --
712
713 CREATE FUNCTION public.recalculate_spec_item_time_estimation(the_requirement_spec_id integer) RETURNS boolean
714     LANGUAGE plpgsql
715     AS $$
716   DECLARE
717     item RECORD;
718   BEGIN
719     FOR item IN
720       SELECT DISTINCT parent_id
721       FROM requirement_spec_items
722       WHERE (requirement_spec_id = the_requirement_spec_id)
723         AND (item_type           = 'sub-function-block')
724     LOOP
725       RAISE DEBUG 'hmm function-block with sub: %', item.parent_id;
726       PERFORM update_requirement_spec_item_time_estimation(item.parent_id, the_requirement_spec_id);
727     END LOOP;
728
729     FOR item IN
730       SELECT DISTINCT parent_id
731       FROM requirement_spec_items
732       WHERE (requirement_spec_id = the_requirement_spec_id)
733         AND (item_type           = 'function-block')
734         AND (id NOT IN (
735           SELECT parent_id
736           FROM requirement_spec_items
737           WHERE (requirement_spec_id = the_requirement_spec_id)
738             AND (item_type           = 'sub-function-block')
739         ))
740     LOOP
741       RAISE DEBUG 'hmm section with function-block: %', item.parent_id;
742       PERFORM update_requirement_spec_item_time_estimation(item.parent_id, the_requirement_spec_id);
743     END LOOP;
744
745     PERFORM update_requirement_spec_item_time_estimation(NULL, the_requirement_spec_id);
746
747     RETURN TRUE;
748   END;
749 $$;
750
751
752 ALTER FUNCTION public.recalculate_spec_item_time_estimation(the_requirement_spec_id integer) OWNER TO kivitendo;
753
754 --
755 -- Name: requirement_spec_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
756 --
757
758 CREATE FUNCTION public.requirement_spec_delete_trigger() RETURNS trigger
759     LANGUAGE plpgsql
760     AS $$
761   BEGIN
762     IF TG_WHEN = 'AFTER' THEN
763       DELETE FROM trigger_information WHERE (key = 'deleting_requirement_spec') AND (value = CAST(OLD.id AS TEXT));
764
765       RETURN OLD;
766     END IF;
767
768     RAISE DEBUG 'before delete trigger on %', OLD.id;
769
770     INSERT INTO trigger_information (key, value) VALUES ('deleting_requirement_spec', CAST(OLD.id AS TEXT));
771
772     RAISE DEBUG '  Converting items into sections items for %', OLD.id;
773     UPDATE requirement_spec_items SET item_type  = 'section', parent_id = NULL WHERE requirement_spec_id = OLD.id;
774
775     RAISE DEBUG '  And we out for %', OLD.id;
776
777     RETURN OLD;
778   END;
779 $$;
780
781
782 ALTER FUNCTION public.requirement_spec_delete_trigger() OWNER TO kivitendo;
783
784 --
785 -- Name: requirement_spec_item_before_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
786 --
787
788 CREATE FUNCTION public.requirement_spec_item_before_delete_trigger() RETURNS trigger
789     LANGUAGE plpgsql
790     AS $$
791   BEGIN
792     RAISE DEBUG 'delete trig RSitem old id %', OLD.id;
793     INSERT INTO trigger_information (key, value) VALUES ('deleting_requirement_spec_item', CAST(OLD.id AS TEXT));
794     DELETE FROM requirement_spec_items WHERE (parent_id         = OLD.id);
795     DELETE FROM trigger_information    WHERE (key = 'deleting_requirement_spec_item') AND (value = CAST(OLD.id AS TEXT));
796     RAISE DEBUG 'delete trig END %', OLD.id;
797     RETURN OLD;
798   END;
799 $$;
800
801
802 ALTER FUNCTION public.requirement_spec_item_before_delete_trigger() OWNER TO kivitendo;
803
804 --
805 -- Name: requirement_spec_item_time_estimation_updater_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
806 --
807
808 CREATE FUNCTION public.requirement_spec_item_time_estimation_updater_trigger() RETURNS trigger
809     LANGUAGE plpgsql
810     AS $$
811   DECLARE
812     do_new BOOLEAN;
813   BEGIN
814     RAISE DEBUG 'updateRSITE op %', TG_OP;
815     IF ((TG_OP = 'UPDATE') OR (TG_OP = 'DELETE')) THEN
816       RAISE DEBUG 'UPDATE trigg op % OLD.id % OLD.parent_id %', TG_OP, OLD.id, OLD.parent_id;
817       PERFORM update_requirement_spec_item_time_estimation(OLD.parent_id, OLD.requirement_spec_id);
818       RAISE DEBUG 'UPDATE trigg op % END %', TG_OP, OLD.id;
819     END IF;
820     do_new = FALSE;
821
822     IF (TG_OP = 'UPDATE') THEN
823       do_new = OLD.parent_id <> NEW.parent_id;
824     END IF;
825
826     IF (do_new OR (TG_OP = 'INSERT')) THEN
827       RAISE DEBUG 'UPDATE trigg op % NEW.id % NEW.parent_id %', TG_OP, NEW.id, NEW.parent_id;
828       PERFORM update_requirement_spec_item_time_estimation(NEW.parent_id, NEW.requirement_spec_id);
829       RAISE DEBUG 'UPDATE trigg op % END %', TG_OP, NEW.id;
830     END IF;
831
832     RETURN NULL;
833   END;
834 $$;
835
836
837 ALTER FUNCTION public.requirement_spec_item_time_estimation_updater_trigger() OWNER TO kivitendo;
838
839 --
840 -- Name: set_mtime(); Type: FUNCTION; Schema: public; Owner: kivitendo
841 --
842
843 CREATE FUNCTION public.set_mtime() RETURNS trigger
844     LANGUAGE plpgsql
845     AS $$    BEGIN        NEW.mtime := 'now';        RETURN NEW;    END;$$;
846
847
848 ALTER FUNCTION public.set_mtime() OWNER TO kivitendo;
849
850 --
851 -- Name: set_priceupdate_parts(); Type: FUNCTION; Schema: public; Owner: kivitendo
852 --
853
854 CREATE FUNCTION public.set_priceupdate_parts() RETURNS trigger
855     LANGUAGE plpgsql
856     AS $$    BEGIN        NEW.priceupdate := 'now';        RETURN NEW;    END;$$;
857
858
859 ALTER FUNCTION public.set_priceupdate_parts() OWNER TO kivitendo;
860
861 --
862 -- Name: time_recordings_set_date_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
863 --
864
865 CREATE FUNCTION public.time_recordings_set_date_trigger() RETURNS trigger
866     LANGUAGE plpgsql
867     AS $$
868   BEGIN
869     IF NEW.start_time IS NOT NULL THEN
870       NEW.date = NEW.start_time::DATE;
871     END IF;
872     RETURN NEW;
873   END;
874 $$;
875
876
877 ALTER FUNCTION public.time_recordings_set_date_trigger() OWNER TO kivitendo;
878
879 --
880 -- Name: time_recordings_set_duration_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
881 --
882
883 CREATE FUNCTION public.time_recordings_set_duration_trigger() RETURNS trigger
884     LANGUAGE plpgsql
885     AS $$
886   BEGIN
887     IF NEW.start_time IS NOT NULL AND NEW.end_time IS NOT NULL THEN
888       NEW.duration = EXTRACT(EPOCH FROM (NEW.end_time - NEW.start_time))/60;
889     END IF;
890     RETURN NEW;
891   END;
892 $$;
893
894
895 ALTER FUNCTION public.time_recordings_set_duration_trigger() OWNER TO kivitendo;
896
897 --
898 -- Name: update_onhand(); Type: FUNCTION; Schema: public; Owner: kivitendo
899 --
900
901 CREATE FUNCTION public.update_onhand() RETURNS trigger
902     LANGUAGE plpgsql
903     AS $$
904 BEGIN
905   IF tg_op = 'INSERT' THEN
906     UPDATE parts SET onhand = COALESCE(onhand, 0) + new.qty WHERE id = new.parts_id;
907     RETURN new;
908   ELSIF tg_op = 'DELETE' THEN
909     UPDATE parts SET onhand = COALESCE(onhand, 0) - old.qty WHERE id = old.parts_id;
910     RETURN old;
911   ELSE
912     UPDATE parts SET onhand = COALESCE(onhand, 0) - old.qty + new.qty WHERE id = old.parts_id;
913     RETURN new;
914   END IF;
915 END;
916 $$;
917
918
919 ALTER FUNCTION public.update_onhand() OWNER TO kivitendo;
920
921 --
922 -- Name: update_purchase_price(); Type: FUNCTION; Schema: public; Owner: kivitendo
923 --
924
925 CREATE FUNCTION public.update_purchase_price() RETURNS trigger
926     LANGUAGE plpgsql
927     AS $$
928 BEGIN
929   if tg_op = 'DELETE' THEN
930     UPDATE parts SET lastcost = COALESCE((select sum ((a.qty * (p.lastcost / COALESCE(pf.factor,
931     1)))) as summe from assembly a left join parts p on (p.id = a.parts_id)
932     LEFT JOIN price_factors pf on (p.price_factor_id = pf.id) where a.id = parts.id),0)
933     WHERE part_type = 'assembly' and id = old.id;
934     return old; -- old ist eine referenz auf die geloeschte reihe
935   ELSE
936     UPDATE parts SET lastcost = COALESCE((select sum ((a.qty * (p.lastcost / COALESCE(pf.factor,
937     1)))) as summe from assembly a left join parts p on (p.id = a.parts_id)
938     LEFT JOIN price_factors pf on (p.price_factor_id = pf.id)
939     WHERE a.id = parts.id),0) where part_type = 'assembly' and id = new.id;
940     return new; -- entsprechend new, wird wahrscheinlich benoetigt, um den korrekten Eintrag
941                 -- zu filtern bzw. dann zu aktualisieren
942   END IF;
943 END;
944 $$;
945
946
947 ALTER FUNCTION public.update_purchase_price() OWNER TO kivitendo;
948
949 --
950 -- Name: update_requirement_spec_item_time_estimation(integer, integer); Type: FUNCTION; Schema: public; Owner: kivitendo
951 --
952
953 CREATE FUNCTION public.update_requirement_spec_item_time_estimation(item_id integer, item_requirement_spec_id integer) RETURNS boolean
954     LANGUAGE plpgsql
955     AS $$
956   DECLARE
957     current_row RECORD;
958     new_row     RECORD;
959   BEGIN
960     IF EXISTS(
961       SELECT *
962       FROM trigger_information
963       WHERE ((key = 'deleting_requirement_spec_item') AND (value = CAST(item_id                  AS TEXT)))
964          OR ((key = 'deleting_requirement_spec')      AND (value = CAST(item_requirement_spec_id AS TEXT)))
965       LIMIT 1
966     ) THEN
967       RAISE DEBUG 'updateRSIE: item_id % or requirement_spec_id % is about to be deleted; do not update', item_id, item_requirement_spec_id;
968       RETURN FALSE;
969     END IF;
970
971     -- item_id IS NULL means that a section has been updated. The
972     -- requirement spec itself must therefore be updated.
973     IF item_id IS NULL THEN
974       SELECT COALESCE(time_estimation, 0) AS time_estimation
975       INTO current_row
976       FROM requirement_specs
977       WHERE id = item_requirement_spec_id;
978
979       SELECT COALESCE(SUM(time_estimation), 0) AS time_estimation
980       INTO new_row
981       FROM requirement_spec_items
982       WHERE (parent_id IS NULL)
983         AND (requirement_spec_id = item_requirement_spec_id);
984
985       IF current_row.time_estimation <> new_row.time_estimation THEN
986         RAISE DEBUG 'updateRSIE: updating requirement_spec % itself: old estimation % new %.', item_requirement_spec_id, current_row.time_estimation, new_row.time_estimation;
987
988         UPDATE requirement_specs
989         SET time_estimation = new_row.time_estimation
990         WHERE id = item_requirement_spec_id;
991       END IF;
992
993       RETURN TRUE;
994     END IF;
995
996     -- If we're here it means that either a sub-function-block or a
997     -- function-block has been updated. item_id is the parent's ID of
998     -- the updated item -- meaning the ID of the item that needs to be
999     -- updated now.
1000
1001     SELECT COALESCE(time_estimation, 0) AS time_estimation
1002     INTO current_row
1003     FROM requirement_spec_items
1004     WHERE id = item_id;
1005
1006     SELECT COALESCE(SUM(time_estimation), 0) AS time_estimation
1007     INTO new_row
1008     FROM requirement_spec_items
1009     WHERE (parent_id = item_id);
1010
1011     IF current_row.time_estimation = new_row.time_estimation THEN
1012       RAISE DEBUG 'updateRSIE: item %: nothing to do', item_id;
1013       RETURN TRUE;
1014     END IF;
1015
1016     RAISE DEBUG 'updateRSIE: updating item %: old estimation % new %.', item_id, current_row.time_estimation, new_row.time_estimation;
1017
1018     UPDATE requirement_spec_items
1019     SET time_estimation = new_row.time_estimation
1020     WHERE id = item_id;
1021
1022     RETURN TRUE;
1023   END;
1024 $$;
1025
1026
1027 ALTER FUNCTION public.update_requirement_spec_item_time_estimation(item_id integer, item_requirement_spec_id integer) OWNER TO kivitendo;
1028
1029 --
1030 -- Name: first(anyelement); Type: AGGREGATE; Schema: public; Owner: kivitendo
1031 --
1032
1033 CREATE AGGREGATE public.first(anyelement) (
1034     SFUNC = public.first_agg,
1035     STYPE = anyelement
1036 );
1037
1038
1039 ALTER AGGREGATE public.first(anyelement) OWNER TO kivitendo;
1040
1041 --
1042 -- Name: acc_trans_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1043 --
1044
1045 CREATE SEQUENCE public.acc_trans_id_seq
1046     START WITH 1
1047     INCREMENT BY 1
1048     NO MINVALUE
1049     NO MAXVALUE
1050     CACHE 1;
1051
1052
1053 ALTER TABLE public.acc_trans_id_seq OWNER TO kivitendo;
1054
1055 SET default_tablespace = '';
1056
1057 SET default_table_access_method = heap;
1058
1059 --
1060 -- Name: acc_trans; Type: TABLE; Schema: public; Owner: kivitendo
1061 --
1062
1063 CREATE TABLE public.acc_trans (
1064     acc_trans_id bigint DEFAULT nextval('public.acc_trans_id_seq'::regclass) NOT NULL,
1065     trans_id integer NOT NULL,
1066     chart_id integer NOT NULL,
1067     amount numeric(15,5),
1068     transdate date DEFAULT ('now'::text)::date,
1069     gldate date DEFAULT ('now'::text)::date,
1070     source text,
1071     cleared boolean DEFAULT false NOT NULL,
1072     fx_transaction boolean DEFAULT false NOT NULL,
1073     ob_transaction boolean DEFAULT false NOT NULL,
1074     cb_transaction boolean DEFAULT false NOT NULL,
1075     project_id integer,
1076     memo text,
1077     taxkey integer,
1078     itime timestamp without time zone DEFAULT now(),
1079     mtime timestamp without time zone,
1080     chart_link text NOT NULL,
1081     tax_id integer NOT NULL
1082 );
1083
1084
1085 ALTER TABLE public.acc_trans OWNER TO kivitendo;
1086
1087 --
1088 -- Name: additional_billing_addresses; Type: TABLE; Schema: public; Owner: kivitendo
1089 --
1090
1091 CREATE TABLE public.additional_billing_addresses (
1092     id integer NOT NULL,
1093     customer_id integer,
1094     name text,
1095     department_1 text,
1096     department_2 text,
1097     contact text,
1098     street text,
1099     zipcode text,
1100     city text,
1101     country text,
1102     gln text,
1103     email text,
1104     phone text,
1105     fax text,
1106     default_address boolean DEFAULT false NOT NULL,
1107     itime timestamp without time zone DEFAULT now() NOT NULL,
1108     mtime timestamp without time zone DEFAULT now() NOT NULL
1109 );
1110
1111
1112 ALTER TABLE public.additional_billing_addresses OWNER TO kivitendo;
1113
1114 --
1115 -- Name: additional_billing_addresses_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1116 --
1117
1118 CREATE SEQUENCE public.additional_billing_addresses_id_seq
1119     AS integer
1120     START WITH 1
1121     INCREMENT BY 1
1122     NO MINVALUE
1123     NO MAXVALUE
1124     CACHE 1;
1125
1126
1127 ALTER TABLE public.additional_billing_addresses_id_seq OWNER TO kivitendo;
1128
1129 --
1130 -- Name: additional_billing_addresses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1131 --
1132
1133 ALTER SEQUENCE public.additional_billing_addresses_id_seq OWNED BY public.additional_billing_addresses.id;
1134
1135
1136 --
1137 -- Name: ap; Type: TABLE; Schema: public; Owner: kivitendo
1138 --
1139
1140 CREATE TABLE public.ap (
1141     id integer DEFAULT nextval(('glid'::text)::regclass) NOT NULL,
1142     invnumber text NOT NULL,
1143     transdate date DEFAULT ('now'::text)::date,
1144     gldate date DEFAULT ('now'::text)::date,
1145     vendor_id integer,
1146     taxincluded boolean DEFAULT false,
1147     amount numeric(15,5) DEFAULT 0 NOT NULL,
1148     netamount numeric(15,5) DEFAULT 0 NOT NULL,
1149     paid numeric(15,5) DEFAULT 0 NOT NULL,
1150     datepaid date,
1151     duedate date,
1152     invoice boolean DEFAULT false,
1153     ordnumber text,
1154     notes text,
1155     employee_id integer,
1156     quonumber text,
1157     intnotes text,
1158     department_id integer,
1159     itime timestamp without time zone DEFAULT now(),
1160     mtime timestamp without time zone,
1161     shipvia text,
1162     cp_id integer,
1163     language_id integer,
1164     payment_id integer,
1165     storno boolean DEFAULT false,
1166     taxzone_id integer NOT NULL,
1167     type text,
1168     orddate date,
1169     quodate date,
1170     globalproject_id integer,
1171     storno_id integer,
1172     transaction_description text,
1173     direct_debit boolean DEFAULT false,
1174     deliverydate date,
1175     delivery_term_id integer,
1176     currency_id integer NOT NULL,
1177     tax_point date
1178 );
1179
1180
1181 ALTER TABLE public.ap OWNER TO kivitendo;
1182
1183 --
1184 -- Name: ap_gl; Type: TABLE; Schema: public; Owner: kivitendo
1185 --
1186
1187 CREATE TABLE public.ap_gl (
1188     ap_id integer NOT NULL,
1189     gl_id integer NOT NULL,
1190     itime timestamp without time zone DEFAULT now(),
1191     mtime timestamp without time zone
1192 );
1193
1194
1195 ALTER TABLE public.ap_gl OWNER TO kivitendo;
1196
1197 --
1198 -- Name: ar; Type: TABLE; Schema: public; Owner: kivitendo
1199 --
1200
1201 CREATE TABLE public.ar (
1202     id integer DEFAULT nextval(('glid'::text)::regclass) NOT NULL,
1203     invnumber text NOT NULL,
1204     transdate date DEFAULT ('now'::text)::date,
1205     gldate date DEFAULT ('now'::text)::date,
1206     customer_id integer,
1207     taxincluded boolean,
1208     amount numeric(15,5) DEFAULT 0 NOT NULL,
1209     netamount numeric(15,5) DEFAULT 0 NOT NULL,
1210     paid numeric(15,5) DEFAULT 0 NOT NULL,
1211     datepaid date,
1212     duedate date,
1213     deliverydate date,
1214     invoice boolean DEFAULT false,
1215     shippingpoint text,
1216     notes text,
1217     ordnumber text,
1218     employee_id integer,
1219     quonumber text,
1220     cusordnumber text,
1221     intnotes text,
1222     department_id integer,
1223     shipvia text,
1224     itime timestamp without time zone DEFAULT now(),
1225     mtime timestamp without time zone,
1226     cp_id integer,
1227     language_id integer,
1228     payment_id integer,
1229     delivery_customer_id integer,
1230     delivery_vendor_id integer,
1231     storno boolean DEFAULT false,
1232     taxzone_id integer NOT NULL,
1233     shipto_id integer,
1234     type text,
1235     dunning_config_id integer,
1236     orddate date,
1237     quodate date,
1238     globalproject_id integer,
1239     salesman_id integer,
1240     marge_total numeric(15,5),
1241     marge_percent numeric(15,5),
1242     storno_id integer,
1243     transaction_description text,
1244     donumber text,
1245     invnumber_for_credit_note text,
1246     direct_debit boolean DEFAULT false,
1247     delivery_term_id integer,
1248     currency_id integer NOT NULL,
1249     tax_point date,
1250     qrbill_without_amount boolean DEFAULT false,
1251     billing_address_id integer
1252 );
1253
1254
1255 ALTER TABLE public.ar OWNER TO kivitendo;
1256
1257 --
1258 -- Name: assembly_assembly_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1259 --
1260
1261 CREATE SEQUENCE public.assembly_assembly_id_seq
1262     START WITH 1
1263     INCREMENT BY 1
1264     NO MINVALUE
1265     NO MAXVALUE
1266     CACHE 1;
1267
1268
1269 ALTER TABLE public.assembly_assembly_id_seq OWNER TO kivitendo;
1270
1271 --
1272 -- Name: assembly; Type: TABLE; Schema: public; Owner: kivitendo
1273 --
1274
1275 CREATE TABLE public.assembly (
1276     id integer NOT NULL,
1277     parts_id integer NOT NULL,
1278     qty real,
1279     bom boolean,
1280     itime timestamp without time zone DEFAULT now(),
1281     mtime timestamp without time zone,
1282     assembly_id integer DEFAULT nextval('public.assembly_assembly_id_seq'::regclass) NOT NULL,
1283     "position" integer
1284 );
1285
1286
1287 ALTER TABLE public.assembly OWNER TO kivitendo;
1288
1289 --
1290 -- Name: assortment_items; Type: TABLE; Schema: public; Owner: kivitendo
1291 --
1292
1293 CREATE TABLE public.assortment_items (
1294     assortment_id integer NOT NULL,
1295     parts_id integer NOT NULL,
1296     itime timestamp without time zone DEFAULT now(),
1297     mtime timestamp without time zone,
1298     qty real NOT NULL,
1299     "position" integer NOT NULL,
1300     unit character varying(20) NOT NULL,
1301     charge boolean DEFAULT true
1302 );
1303
1304
1305 ALTER TABLE public.assortment_items OWNER TO kivitendo;
1306
1307 --
1308 -- Name: background_job_histories; Type: TABLE; Schema: public; Owner: kivitendo
1309 --
1310
1311 CREATE TABLE public.background_job_histories (
1312     id integer NOT NULL,
1313     package_name character varying(255),
1314     run_at timestamp without time zone,
1315     status character varying(255),
1316     result text,
1317     error text,
1318     data text
1319 );
1320
1321
1322 ALTER TABLE public.background_job_histories OWNER TO kivitendo;
1323
1324 --
1325 -- Name: background_job_histories_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1326 --
1327
1328 CREATE SEQUENCE public.background_job_histories_id_seq
1329     START WITH 1
1330     INCREMENT BY 1
1331     NO MINVALUE
1332     NO MAXVALUE
1333     CACHE 1;
1334
1335
1336 ALTER TABLE public.background_job_histories_id_seq OWNER TO kivitendo;
1337
1338 --
1339 -- Name: background_job_histories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1340 --
1341
1342 ALTER SEQUENCE public.background_job_histories_id_seq OWNED BY public.background_job_histories.id;
1343
1344
1345 --
1346 -- Name: background_jobs; Type: TABLE; Schema: public; Owner: kivitendo
1347 --
1348
1349 CREATE TABLE public.background_jobs (
1350     id integer NOT NULL,
1351     type character varying(255),
1352     package_name character varying(255),
1353     last_run_at timestamp without time zone,
1354     next_run_at timestamp without time zone,
1355     data text,
1356     active boolean,
1357     cron_spec character varying(255),
1358     node_id text
1359 );
1360
1361
1362 ALTER TABLE public.background_jobs OWNER TO kivitendo;
1363
1364 --
1365 -- Name: background_jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1366 --
1367
1368 CREATE SEQUENCE public.background_jobs_id_seq
1369     START WITH 1
1370     INCREMENT BY 1
1371     NO MINVALUE
1372     NO MAXVALUE
1373     CACHE 1;
1374
1375
1376 ALTER TABLE public.background_jobs_id_seq OWNER TO kivitendo;
1377
1378 --
1379 -- Name: background_jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1380 --
1381
1382 ALTER SEQUENCE public.background_jobs_id_seq OWNED BY public.background_jobs.id;
1383
1384
1385 --
1386 -- Name: id; Type: SEQUENCE; Schema: public; Owner: kivitendo
1387 --
1388
1389 CREATE SEQUENCE public.id
1390     START WITH 1
1391     INCREMENT BY 1
1392     NO MINVALUE
1393     MAXVALUE 2147483647
1394     CACHE 1;
1395
1396
1397 ALTER TABLE public.id OWNER TO kivitendo;
1398
1399 --
1400 -- Name: bank_accounts; Type: TABLE; Schema: public; Owner: kivitendo
1401 --
1402
1403 CREATE TABLE public.bank_accounts (
1404     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
1405     account_number character varying(100),
1406     bank_code character varying(100),
1407     iban character varying(100),
1408     bic character varying(100),
1409     bank text,
1410     chart_id integer NOT NULL,
1411     name text,
1412     reconciliation_starting_date date,
1413     reconciliation_starting_balance numeric(15,5),
1414     obsolete boolean DEFAULT false NOT NULL,
1415     sortkey integer NOT NULL,
1416     use_for_zugferd boolean DEFAULT false NOT NULL,
1417     use_for_qrbill boolean DEFAULT false NOT NULL,
1418     bank_account_id character varying
1419 );
1420
1421
1422 ALTER TABLE public.bank_accounts OWNER TO kivitendo;
1423
1424 --
1425 -- Name: bank_transaction_acc_trans; Type: TABLE; Schema: public; Owner: kivitendo
1426 --
1427
1428 CREATE TABLE public.bank_transaction_acc_trans (
1429     bank_transaction_id integer NOT NULL,
1430     acc_trans_id bigint NOT NULL,
1431     ar_id integer,
1432     ap_id integer,
1433     gl_id integer,
1434     itime timestamp without time zone DEFAULT now(),
1435     mtime timestamp without time zone
1436 );
1437
1438
1439 ALTER TABLE public.bank_transaction_acc_trans OWNER TO kivitendo;
1440
1441 --
1442 -- Name: bank_transaction_acc_trans_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1443 --
1444
1445 CREATE SEQUENCE public.bank_transaction_acc_trans_id_seq
1446     START WITH 1
1447     INCREMENT BY 1
1448     NO MINVALUE
1449     NO MAXVALUE
1450     CACHE 1;
1451
1452
1453 ALTER TABLE public.bank_transaction_acc_trans_id_seq OWNER TO kivitendo;
1454
1455 --
1456 -- Name: bank_transactions; Type: TABLE; Schema: public; Owner: kivitendo
1457 --
1458
1459 CREATE TABLE public.bank_transactions (
1460     id integer NOT NULL,
1461     transaction_id integer,
1462     remote_bank_code text,
1463     remote_account_number text,
1464     transdate date NOT NULL,
1465     valutadate date NOT NULL,
1466     amount numeric(15,5) NOT NULL,
1467     remote_name text,
1468     purpose text,
1469     invoice_amount numeric(15,5) DEFAULT 0,
1470     local_bank_account_id integer NOT NULL,
1471     currency_id integer NOT NULL,
1472     cleared boolean DEFAULT false NOT NULL,
1473     itime timestamp without time zone DEFAULT now(),
1474     transaction_code text,
1475     transaction_text text,
1476     CONSTRAINT bank_transactions_check CHECK ((abs(invoice_amount) <= abs(amount)))
1477 );
1478
1479
1480 ALTER TABLE public.bank_transactions OWNER TO kivitendo;
1481
1482 --
1483 -- Name: bank_transactions_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1484 --
1485
1486 CREATE SEQUENCE public.bank_transactions_id_seq
1487     START WITH 1
1488     INCREMENT BY 1
1489     NO MINVALUE
1490     NO MAXVALUE
1491     CACHE 1;
1492
1493
1494 ALTER TABLE public.bank_transactions_id_seq OWNER TO kivitendo;
1495
1496 --
1497 -- Name: bank_transactions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1498 --
1499
1500 ALTER SEQUENCE public.bank_transactions_id_seq OWNED BY public.bank_transactions.id;
1501
1502
1503 --
1504 -- Name: bin; Type: TABLE; Schema: public; Owner: kivitendo
1505 --
1506
1507 CREATE TABLE public.bin (
1508     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
1509     warehouse_id integer NOT NULL,
1510     description text,
1511     itime timestamp without time zone DEFAULT now(),
1512     mtime timestamp without time zone
1513 );
1514
1515
1516 ALTER TABLE public.bin OWNER TO kivitendo;
1517
1518 --
1519 -- Name: buchungsgruppen; Type: TABLE; Schema: public; Owner: kivitendo
1520 --
1521
1522 CREATE TABLE public.buchungsgruppen (
1523     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
1524     description text,
1525     inventory_accno_id integer NOT NULL,
1526     sortkey integer NOT NULL
1527 );
1528
1529
1530 ALTER TABLE public.buchungsgruppen OWNER TO kivitendo;
1531
1532 --
1533 -- Name: business; Type: TABLE; Schema: public; Owner: kivitendo
1534 --
1535
1536 CREATE TABLE public.business (
1537     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
1538     description text,
1539     discount real,
1540     customernumberinit text,
1541     salesman boolean DEFAULT false,
1542     itime timestamp without time zone DEFAULT now(),
1543     mtime timestamp without time zone
1544 );
1545
1546
1547 ALTER TABLE public.business OWNER TO kivitendo;
1548
1549 --
1550 -- Name: bwa_categories; Type: VIEW; Schema: public; Owner: kivitendo
1551 --
1552
1553 CREATE VIEW public.bwa_categories AS
1554  SELECT "*VALUES*".column1 AS id,
1555     "*VALUES*".column2 AS description
1556    FROM ( VALUES (1,'Umsatzerlöse'::text), (2,'Best.Verdg.FE/UE'::text), (3,'Aktiv.Eigenleistung'::text), (4,'Mat./Wareneinkauf'::text), (5,'So.betr.Erlöse'::text), (10,'Personalkosten'::text), (11,'Raumkosten'::text), (12,'Betriebl.Steuern'::text), (13,'Vers./Beiträge'::text), (14,'Kfz.Kosten o.St.'::text), (15,'Werbe-Reisek.'::text), (16,'Kosten Warenabgabe'::text), (17,'Abschreibungen'::text), (18,'Rep./instandhlt.'::text), (19,'Ãœbrige Steuern'::text), (20,'Sonst.Kosten'::text), (30,'Zinsaufwand'::text), (31,'Sonst.neutr.Aufw.'::text), (32,'Zinserträge'::text), (33,'Sonst.neutr.Ertrag'::text), (34,'Verr.kalk.Kosten'::text), (35,'Steuern Eink.u.Ertr.'::text)) "*VALUES*";
1557
1558
1559 ALTER TABLE public.bwa_categories OWNER TO kivitendo;
1560
1561 --
1562 -- Name: chart; Type: TABLE; Schema: public; Owner: kivitendo
1563 --
1564
1565 CREATE TABLE public.chart (
1566     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
1567     accno text NOT NULL,
1568     description text,
1569     charttype character(1) DEFAULT 'A'::bpchar,
1570     category character(1),
1571     link text NOT NULL,
1572     taxkey_id integer,
1573     pos_bwa integer,
1574     pos_bilanz integer,
1575     pos_eur integer,
1576     datevautomatik boolean DEFAULT false,
1577     itime timestamp without time zone DEFAULT now(),
1578     mtime timestamp without time zone,
1579     new_chart_id integer,
1580     valid_from date,
1581     pos_er integer
1582 );
1583
1584
1585 ALTER TABLE public.chart OWNER TO kivitendo;
1586
1587 --
1588 -- Name: contact_departments; Type: TABLE; Schema: public; Owner: kivitendo
1589 --
1590
1591 CREATE TABLE public.contact_departments (
1592     id integer NOT NULL,
1593     description text NOT NULL
1594 );
1595
1596
1597 ALTER TABLE public.contact_departments OWNER TO kivitendo;
1598
1599 --
1600 -- Name: contact_departments_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1601 --
1602
1603 CREATE SEQUENCE public.contact_departments_id_seq
1604     START WITH 1
1605     INCREMENT BY 1
1606     NO MINVALUE
1607     NO MAXVALUE
1608     CACHE 1;
1609
1610
1611 ALTER TABLE public.contact_departments_id_seq OWNER TO kivitendo;
1612
1613 --
1614 -- Name: contact_departments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1615 --
1616
1617 ALTER SEQUENCE public.contact_departments_id_seq OWNED BY public.contact_departments.id;
1618
1619
1620 --
1621 -- Name: contact_titles; Type: TABLE; Schema: public; Owner: kivitendo
1622 --
1623
1624 CREATE TABLE public.contact_titles (
1625     id integer NOT NULL,
1626     description text NOT NULL
1627 );
1628
1629
1630 ALTER TABLE public.contact_titles OWNER TO kivitendo;
1631
1632 --
1633 -- Name: contact_titles_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1634 --
1635
1636 CREATE SEQUENCE public.contact_titles_id_seq
1637     START WITH 1
1638     INCREMENT BY 1
1639     NO MINVALUE
1640     NO MAXVALUE
1641     CACHE 1;
1642
1643
1644 ALTER TABLE public.contact_titles_id_seq OWNER TO kivitendo;
1645
1646 --
1647 -- Name: contact_titles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1648 --
1649
1650 ALTER SEQUENCE public.contact_titles_id_seq OWNED BY public.contact_titles.id;
1651
1652
1653 --
1654 -- Name: contacts; Type: TABLE; Schema: public; Owner: kivitendo
1655 --
1656
1657 CREATE TABLE public.contacts (
1658     cp_id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
1659     cp_cv_id integer,
1660     cp_title text,
1661     cp_givenname text,
1662     cp_name text,
1663     cp_email text,
1664     cp_phone1 text,
1665     cp_phone2 text,
1666     itime timestamp without time zone DEFAULT now(),
1667     mtime timestamp without time zone,
1668     cp_fax text,
1669     cp_mobile1 text,
1670     cp_mobile2 text,
1671     cp_satphone text,
1672     cp_satfax text,
1673     cp_project text,
1674     cp_privatphone text,
1675     cp_privatemail text,
1676     cp_abteilung text,
1677     cp_gender character(1),
1678     cp_street text,
1679     cp_zipcode text,
1680     cp_city text,
1681     cp_birthday date,
1682     cp_position text,
1683     cp_main boolean DEFAULT false
1684 );
1685
1686
1687 ALTER TABLE public.contacts OWNER TO kivitendo;
1688
1689 --
1690 -- Name: csv_import_profile_settings; Type: TABLE; Schema: public; Owner: kivitendo
1691 --
1692
1693 CREATE TABLE public.csv_import_profile_settings (
1694     id integer NOT NULL,
1695     csv_import_profile_id integer NOT NULL,
1696     key text NOT NULL,
1697     value text
1698 );
1699
1700
1701 ALTER TABLE public.csv_import_profile_settings OWNER TO kivitendo;
1702
1703 --
1704 -- Name: csv_import_profile_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1705 --
1706
1707 CREATE SEQUENCE public.csv_import_profile_settings_id_seq
1708     START WITH 1
1709     INCREMENT BY 1
1710     NO MINVALUE
1711     NO MAXVALUE
1712     CACHE 1;
1713
1714
1715 ALTER TABLE public.csv_import_profile_settings_id_seq OWNER TO kivitendo;
1716
1717 --
1718 -- Name: csv_import_profile_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1719 --
1720
1721 ALTER SEQUENCE public.csv_import_profile_settings_id_seq OWNED BY public.csv_import_profile_settings.id;
1722
1723
1724 --
1725 -- Name: csv_import_profiles; Type: TABLE; Schema: public; Owner: kivitendo
1726 --
1727
1728 CREATE TABLE public.csv_import_profiles (
1729     id integer NOT NULL,
1730     name text NOT NULL,
1731     type character varying(20) NOT NULL,
1732     is_default boolean DEFAULT false,
1733     login text
1734 );
1735
1736
1737 ALTER TABLE public.csv_import_profiles OWNER TO kivitendo;
1738
1739 --
1740 -- Name: csv_import_profiles_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1741 --
1742
1743 CREATE SEQUENCE public.csv_import_profiles_id_seq
1744     START WITH 1
1745     INCREMENT BY 1
1746     NO MINVALUE
1747     NO MAXVALUE
1748     CACHE 1;
1749
1750
1751 ALTER TABLE public.csv_import_profiles_id_seq OWNER TO kivitendo;
1752
1753 --
1754 -- Name: csv_import_profiles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1755 --
1756
1757 ALTER SEQUENCE public.csv_import_profiles_id_seq OWNED BY public.csv_import_profiles.id;
1758
1759
1760 --
1761 -- Name: csv_import_report_rows; Type: TABLE; Schema: public; Owner: kivitendo
1762 --
1763
1764 CREATE TABLE public.csv_import_report_rows (
1765     id integer NOT NULL,
1766     csv_import_report_id integer NOT NULL,
1767     col integer NOT NULL,
1768     "row" integer NOT NULL,
1769     value text
1770 );
1771
1772
1773 ALTER TABLE public.csv_import_report_rows OWNER TO kivitendo;
1774
1775 --
1776 -- Name: csv_import_report_rows_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1777 --
1778
1779 CREATE SEQUENCE public.csv_import_report_rows_id_seq
1780     START WITH 1
1781     INCREMENT BY 1
1782     NO MINVALUE
1783     NO MAXVALUE
1784     CACHE 1;
1785
1786
1787 ALTER TABLE public.csv_import_report_rows_id_seq OWNER TO kivitendo;
1788
1789 --
1790 -- Name: csv_import_report_rows_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1791 --
1792
1793 ALTER SEQUENCE public.csv_import_report_rows_id_seq OWNED BY public.csv_import_report_rows.id;
1794
1795
1796 --
1797 -- Name: csv_import_report_status; Type: TABLE; Schema: public; Owner: kivitendo
1798 --
1799
1800 CREATE TABLE public.csv_import_report_status (
1801     id integer NOT NULL,
1802     csv_import_report_id integer NOT NULL,
1803     "row" integer NOT NULL,
1804     type text NOT NULL,
1805     value text
1806 );
1807
1808
1809 ALTER TABLE public.csv_import_report_status OWNER TO kivitendo;
1810
1811 --
1812 -- Name: csv_import_report_status_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1813 --
1814
1815 CREATE SEQUENCE public.csv_import_report_status_id_seq
1816     START WITH 1
1817     INCREMENT BY 1
1818     NO MINVALUE
1819     NO MAXVALUE
1820     CACHE 1;
1821
1822
1823 ALTER TABLE public.csv_import_report_status_id_seq OWNER TO kivitendo;
1824
1825 --
1826 -- Name: csv_import_report_status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1827 --
1828
1829 ALTER SEQUENCE public.csv_import_report_status_id_seq OWNED BY public.csv_import_report_status.id;
1830
1831
1832 --
1833 -- Name: csv_import_reports; Type: TABLE; Schema: public; Owner: kivitendo
1834 --
1835
1836 CREATE TABLE public.csv_import_reports (
1837     id integer NOT NULL,
1838     session_id text NOT NULL,
1839     profile_id integer NOT NULL,
1840     type text NOT NULL,
1841     file text NOT NULL,
1842     numrows integer NOT NULL,
1843     numheaders integer NOT NULL,
1844     test_mode boolean NOT NULL
1845 );
1846
1847
1848 ALTER TABLE public.csv_import_reports OWNER TO kivitendo;
1849
1850 --
1851 -- Name: csv_import_reports_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1852 --
1853
1854 CREATE SEQUENCE public.csv_import_reports_id_seq
1855     START WITH 1
1856     INCREMENT BY 1
1857     NO MINVALUE
1858     NO MAXVALUE
1859     CACHE 1;
1860
1861
1862 ALTER TABLE public.csv_import_reports_id_seq OWNER TO kivitendo;
1863
1864 --
1865 -- Name: csv_import_reports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1866 --
1867
1868 ALTER SEQUENCE public.csv_import_reports_id_seq OWNED BY public.csv_import_reports.id;
1869
1870
1871 --
1872 -- Name: currencies; Type: TABLE; Schema: public; Owner: kivitendo
1873 --
1874
1875 CREATE TABLE public.currencies (
1876     id integer NOT NULL,
1877     name text NOT NULL
1878 );
1879
1880
1881 ALTER TABLE public.currencies OWNER TO kivitendo;
1882
1883 --
1884 -- Name: currencies_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1885 --
1886
1887 CREATE SEQUENCE public.currencies_id_seq
1888     START WITH 1
1889     INCREMENT BY 1
1890     NO MINVALUE
1891     NO MAXVALUE
1892     CACHE 1;
1893
1894
1895 ALTER TABLE public.currencies_id_seq OWNER TO kivitendo;
1896
1897 --
1898 -- Name: currencies_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1899 --
1900
1901 ALTER SEQUENCE public.currencies_id_seq OWNED BY public.currencies.id;
1902
1903
1904 --
1905 -- Name: custom_data_export_queries; Type: TABLE; Schema: public; Owner: kivitendo
1906 --
1907
1908 CREATE TABLE public.custom_data_export_queries (
1909     id integer NOT NULL,
1910     name text NOT NULL,
1911     description text NOT NULL,
1912     sql_query text NOT NULL,
1913     access_right text,
1914     itime timestamp without time zone DEFAULT now() NOT NULL,
1915     mtime timestamp without time zone DEFAULT now() NOT NULL
1916 );
1917
1918
1919 ALTER TABLE public.custom_data_export_queries OWNER TO kivitendo;
1920
1921 --
1922 -- Name: custom_data_export_queries_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1923 --
1924
1925 CREATE SEQUENCE public.custom_data_export_queries_id_seq
1926     START WITH 1
1927     INCREMENT BY 1
1928     NO MINVALUE
1929     NO MAXVALUE
1930     CACHE 1;
1931
1932
1933 ALTER TABLE public.custom_data_export_queries_id_seq OWNER TO kivitendo;
1934
1935 --
1936 -- Name: custom_data_export_queries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1937 --
1938
1939 ALTER SEQUENCE public.custom_data_export_queries_id_seq OWNED BY public.custom_data_export_queries.id;
1940
1941
1942 --
1943 -- Name: custom_data_export_query_parameters; Type: TABLE; Schema: public; Owner: kivitendo
1944 --
1945
1946 CREATE TABLE public.custom_data_export_query_parameters (
1947     id integer NOT NULL,
1948     query_id integer NOT NULL,
1949     name text NOT NULL,
1950     description text,
1951     parameter_type public.custom_data_export_query_parameter_type_enum NOT NULL,
1952     itime timestamp without time zone DEFAULT now() NOT NULL,
1953     mtime timestamp without time zone DEFAULT now() NOT NULL,
1954     default_value_type public.custom_data_export_query_parameter_default_value_type_enum NOT NULL,
1955     default_value text
1956 );
1957
1958
1959 ALTER TABLE public.custom_data_export_query_parameters OWNER TO kivitendo;
1960
1961 --
1962 -- Name: custom_data_export_query_parameters_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1963 --
1964
1965 CREATE SEQUENCE public.custom_data_export_query_parameters_id_seq
1966     START WITH 1
1967     INCREMENT BY 1
1968     NO MINVALUE
1969     NO MAXVALUE
1970     CACHE 1;
1971
1972
1973 ALTER TABLE public.custom_data_export_query_parameters_id_seq OWNER TO kivitendo;
1974
1975 --
1976 -- Name: custom_data_export_query_parameters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1977 --
1978
1979 ALTER SEQUENCE public.custom_data_export_query_parameters_id_seq OWNED BY public.custom_data_export_query_parameters.id;
1980
1981
1982 --
1983 -- Name: custom_variable_config_partsgroups; Type: TABLE; Schema: public; Owner: kivitendo
1984 --
1985
1986 CREATE TABLE public.custom_variable_config_partsgroups (
1987     custom_variable_config_id integer NOT NULL,
1988     partsgroup_id integer NOT NULL,
1989     itime timestamp without time zone DEFAULT now(),
1990     mtime timestamp without time zone
1991 );
1992
1993
1994 ALTER TABLE public.custom_variable_config_partsgroups OWNER TO kivitendo;
1995
1996 --
1997 -- Name: custom_variable_configs_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
1998 --
1999
2000 CREATE SEQUENCE public.custom_variable_configs_id
2001     START WITH 1
2002     INCREMENT BY 1
2003     NO MINVALUE
2004     NO MAXVALUE
2005     CACHE 1;
2006
2007
2008 ALTER TABLE public.custom_variable_configs_id OWNER TO kivitendo;
2009
2010 --
2011 -- Name: custom_variable_configs; Type: TABLE; Schema: public; Owner: kivitendo
2012 --
2013
2014 CREATE TABLE public.custom_variable_configs (
2015     id integer DEFAULT nextval('public.custom_variable_configs_id'::regclass) NOT NULL,
2016     name text NOT NULL,
2017     description text NOT NULL,
2018     type text NOT NULL,
2019     module text NOT NULL,
2020     default_value text,
2021     options text,
2022     searchable boolean NOT NULL,
2023     includeable boolean NOT NULL,
2024     included_by_default boolean NOT NULL,
2025     sortkey integer NOT NULL,
2026     itime timestamp without time zone DEFAULT now(),
2027     mtime timestamp without time zone,
2028     flags text,
2029     first_tab boolean DEFAULT false NOT NULL,
2030     CONSTRAINT custom_variable_configs_name_description_type_module_not_empty CHECK (((type <> ''::text) AND (module <> ''::text) AND (name <> ''::text) AND (description <> ''::text))),
2031     CONSTRAINT custom_variable_configs_options_not_empty_for_select CHECK (((type <> 'select'::text) OR (COALESCE(options, ''::text) <> ''::text)))
2032 );
2033
2034
2035 ALTER TABLE public.custom_variable_configs OWNER TO kivitendo;
2036
2037 --
2038 -- Name: custom_variables_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
2039 --
2040
2041 CREATE SEQUENCE public.custom_variables_id
2042     START WITH 1
2043     INCREMENT BY 1
2044     NO MINVALUE
2045     NO MAXVALUE
2046     CACHE 1;
2047
2048
2049 ALTER TABLE public.custom_variables_id OWNER TO kivitendo;
2050
2051 --
2052 -- Name: custom_variables; Type: TABLE; Schema: public; Owner: kivitendo
2053 --
2054
2055 CREATE TABLE public.custom_variables (
2056     id integer DEFAULT nextval('public.custom_variables_id'::regclass) NOT NULL,
2057     config_id integer NOT NULL,
2058     trans_id integer NOT NULL,
2059     bool_value boolean,
2060     timestamp_value timestamp without time zone,
2061     text_value text,
2062     number_value numeric(25,5),
2063     itime timestamp without time zone DEFAULT now(),
2064     mtime timestamp without time zone,
2065     sub_module text DEFAULT ''::text NOT NULL
2066 );
2067
2068
2069 ALTER TABLE public.custom_variables OWNER TO kivitendo;
2070
2071 --
2072 -- Name: custom_variables_validity; Type: TABLE; Schema: public; Owner: kivitendo
2073 --
2074
2075 CREATE TABLE public.custom_variables_validity (
2076     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2077     config_id integer NOT NULL,
2078     trans_id integer NOT NULL,
2079     itime timestamp without time zone DEFAULT now()
2080 );
2081
2082
2083 ALTER TABLE public.custom_variables_validity OWNER TO kivitendo;
2084
2085 --
2086 -- Name: customer; Type: TABLE; Schema: public; Owner: kivitendo
2087 --
2088
2089 CREATE TABLE public.customer (
2090     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2091     name text NOT NULL,
2092     department_1 text,
2093     department_2 text,
2094     street text,
2095     zipcode text,
2096     city text,
2097     country text,
2098     contact text,
2099     phone text,
2100     fax text,
2101     homepage text,
2102     email text,
2103     notes text,
2104     discount real,
2105     taxincluded boolean,
2106     creditlimit numeric(15,5) DEFAULT 0,
2107     customernumber text,
2108     cc text,
2109     bcc text,
2110     business_id integer,
2111     taxnumber text,
2112     account_number text,
2113     bank_code text,
2114     bank text,
2115     language text,
2116     itime timestamp without time zone DEFAULT now(),
2117     mtime timestamp without time zone,
2118     obsolete boolean DEFAULT false,
2119     username text,
2120     user_password text,
2121     salesman_id integer,
2122     c_vendor_id text,
2123     language_id integer,
2124     payment_id integer,
2125     taxzone_id integer NOT NULL,
2126     greeting text,
2127     ustid text,
2128     iban text,
2129     bic text,
2130     direct_debit boolean DEFAULT false,
2131     depositor text,
2132     taxincluded_checked boolean,
2133     mandator_id text,
2134     mandate_date_of_signature date,
2135     delivery_term_id integer,
2136     hourly_rate numeric(8,2),
2137     currency_id integer NOT NULL,
2138     gln text,
2139     pricegroup_id integer,
2140     order_lock boolean DEFAULT false,
2141     commercial_court text,
2142     invoice_mail text,
2143     contact_origin text,
2144     delivery_order_mail text,
2145     create_zugferd_invoices integer DEFAULT '-1'::integer NOT NULL,
2146     natural_person boolean DEFAULT false,
2147     c_vendor_routing_id text,
2148     postal_invoice boolean DEFAULT false
2149 );
2150
2151
2152 ALTER TABLE public.customer OWNER TO kivitendo;
2153
2154 --
2155 -- Name: datev; Type: TABLE; Schema: public; Owner: kivitendo
2156 --
2157
2158 CREATE TABLE public.datev (
2159     beraternr character varying(7),
2160     beratername character varying(9),
2161     mandantennr character varying(5),
2162     dfvkz character varying(2),
2163     datentraegernr character varying(3),
2164     abrechnungsnr character varying(6),
2165     itime timestamp without time zone DEFAULT now(),
2166     mtime timestamp without time zone,
2167     id integer NOT NULL
2168 );
2169
2170
2171 ALTER TABLE public.datev OWNER TO kivitendo;
2172
2173 --
2174 -- Name: datev_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2175 --
2176
2177 CREATE SEQUENCE public.datev_id_seq
2178     START WITH 1
2179     INCREMENT BY 1
2180     NO MINVALUE
2181     NO MAXVALUE
2182     CACHE 1;
2183
2184
2185 ALTER TABLE public.datev_id_seq OWNER TO kivitendo;
2186
2187 --
2188 -- Name: datev_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2189 --
2190
2191 ALTER SEQUENCE public.datev_id_seq OWNED BY public.datev.id;
2192
2193
2194 --
2195 -- Name: defaults; Type: TABLE; Schema: public; Owner: kivitendo
2196 --
2197
2198 CREATE TABLE public.defaults (
2199     inventory_accno_id integer,
2200     income_accno_id integer,
2201     expense_accno_id integer,
2202     fxgain_accno_id integer,
2203     fxloss_accno_id integer,
2204     invnumber text,
2205     sonumber text,
2206     weightunit character varying(5),
2207     businessnumber text,
2208     version character varying(8),
2209     closedto date,
2210     revtrans boolean DEFAULT false,
2211     ponumber text,
2212     sqnumber text,
2213     rfqnumber text,
2214     customernumber text,
2215     vendornumber text,
2216     articlenumber text,
2217     servicenumber text,
2218     coa text,
2219     itime timestamp without time zone DEFAULT now(),
2220     mtime timestamp without time zone,
2221     rmanumber text,
2222     cnnumber text,
2223     accounting_method text,
2224     inventory_system text,
2225     profit_determination text,
2226     dunning_ar_amount_fee integer,
2227     dunning_ar_amount_interest integer,
2228     dunning_ar integer,
2229     pdonumber text,
2230     sdonumber text,
2231     ar_paid_accno_id integer,
2232     id integer NOT NULL,
2233     language_id integer,
2234     datev_check_on_sales_invoice boolean DEFAULT true,
2235     datev_check_on_purchase_invoice boolean DEFAULT true,
2236     datev_check_on_ar_transaction boolean DEFAULT true,
2237     datev_check_on_ap_transaction boolean DEFAULT true,
2238     datev_check_on_gl_transaction boolean DEFAULT true,
2239     payments_changeable integer DEFAULT 0 NOT NULL,
2240     is_changeable integer DEFAULT 2 NOT NULL,
2241     ir_changeable integer DEFAULT 2 NOT NULL,
2242     ar_changeable integer DEFAULT 2 NOT NULL,
2243     ap_changeable integer DEFAULT 2 NOT NULL,
2244     gl_changeable integer DEFAULT 2 NOT NULL,
2245     show_bestbefore boolean DEFAULT false,
2246     sales_order_show_delete boolean DEFAULT true,
2247     purchase_order_show_delete boolean DEFAULT true,
2248     sales_delivery_order_show_delete boolean DEFAULT true,
2249     purchase_delivery_order_show_delete boolean DEFAULT true,
2250     is_show_mark_as_paid boolean DEFAULT true,
2251     ir_show_mark_as_paid boolean DEFAULT true,
2252     ar_show_mark_as_paid boolean DEFAULT true,
2253     ap_show_mark_as_paid boolean DEFAULT true,
2254     warehouse_id integer,
2255     bin_id integer,
2256     company text,
2257     taxnumber text,
2258     co_ustid text,
2259     duns text,
2260     sepa_creditor_id text,
2261     templates text,
2262     max_future_booking_interval integer DEFAULT 360,
2263     "precision" numeric(15,5) DEFAULT 0.01 NOT NULL,
2264     webdav boolean DEFAULT false,
2265     webdav_documents boolean DEFAULT false,
2266     vertreter boolean DEFAULT false,
2267     parts_show_image boolean DEFAULT true,
2268     parts_listing_image boolean DEFAULT true,
2269     parts_image_css text DEFAULT 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;'::text,
2270     normalize_vc_names boolean DEFAULT true,
2271     normalize_part_descriptions boolean DEFAULT true,
2272     assemblynumber text,
2273     show_weight boolean DEFAULT false NOT NULL,
2274     transfer_default boolean DEFAULT true,
2275     transfer_default_use_master_default_bin boolean DEFAULT false,
2276     transfer_default_ignore_onhand boolean DEFAULT false,
2277     warehouse_id_ignore_onhand integer,
2278     bin_id_ignore_onhand integer,
2279     balance_startdate_method text,
2280     currency_id integer NOT NULL,
2281     customer_hourly_rate numeric(8,2),
2282     signature text,
2283     requirement_spec_section_order_part_id integer,
2284     transfer_default_services boolean DEFAULT true,
2285     rndgain_accno_id integer,
2286     rndloss_accno_id integer,
2287     global_bcc text DEFAULT ''::text,
2288     customer_projects_only_in_sales boolean DEFAULT false NOT NULL,
2289     reqdate_interval integer DEFAULT 0,
2290     require_transaction_description_ps boolean DEFAULT false NOT NULL,
2291     sales_purchase_order_ship_missing_column boolean DEFAULT false,
2292     allow_sales_invoice_from_sales_quotation boolean DEFAULT true NOT NULL,
2293     allow_sales_invoice_from_sales_order boolean DEFAULT true NOT NULL,
2294     allow_new_purchase_delivery_order boolean DEFAULT true NOT NULL,
2295     allow_new_purchase_invoice boolean DEFAULT true NOT NULL,
2296     disabled_price_sources text[],
2297     transport_cost_reminder_article_number_id integer,
2298     is_transfer_out boolean DEFAULT false NOT NULL,
2299     ap_chart_id integer,
2300     ar_chart_id integer,
2301     letternumber integer,
2302     order_always_project boolean DEFAULT false,
2303     project_status_id integer,
2304     project_type_id integer,
2305     feature_balance boolean DEFAULT true NOT NULL,
2306     feature_datev boolean DEFAULT true NOT NULL,
2307     feature_erfolgsrechnung boolean DEFAULT false NOT NULL,
2308     feature_eurechnung boolean DEFAULT true NOT NULL,
2309     feature_ustva boolean DEFAULT true NOT NULL,
2310     order_warn_duplicate_parts boolean DEFAULT true,
2311     show_longdescription_select_item boolean DEFAULT false,
2312     email_journal integer DEFAULT 2,
2313     quick_search_modules text[],
2314     stocktaking_warehouse_id integer,
2315     stocktaking_bin_id integer,
2316     stocktaking_cutoff_date date,
2317     stocktaking_qty_threshold numeric(25,5) DEFAULT 0,
2318     bcc_to_login boolean DEFAULT false NOT NULL,
2319     create_part_if_not_found boolean DEFAULT false,
2320     feature_experimental_order boolean DEFAULT true NOT NULL,
2321     fa_bufa_nr text,
2322     fa_dauerfrist text,
2323     fa_steuerberater_city text,
2324     fa_steuerberater_name text,
2325     fa_steuerberater_street text,
2326     fa_steuerberater_tel text,
2327     fa_voranmeld text,
2328     doc_delete_printfiles boolean DEFAULT false,
2329     doc_max_filesize integer DEFAULT 10000000,
2330     doc_storage boolean DEFAULT false,
2331     doc_storage_for_documents text DEFAULT 'Filesystem'::text,
2332     doc_storage_for_attachments text DEFAULT 'Filesystem'::text,
2333     doc_storage_for_images text DEFAULT 'Filesystem'::text,
2334     doc_files boolean DEFAULT false,
2335     doc_files_rootpath text DEFAULT './documents'::text,
2336     doc_webdav boolean DEFAULT false,
2337     shipped_qty_require_stock_out boolean DEFAULT false NOT NULL,
2338     sepa_reference_add_vc_vc_id boolean DEFAULT false,
2339     assortmentnumber text,
2340     feature_experimental_assortment boolean DEFAULT true NOT NULL,
2341     doc_storage_for_shopimages text DEFAULT 'Filesystem'::text,
2342     datev_export_format public.datev_export_format_enum DEFAULT 'cp1252-translit'::public.datev_export_format_enum,
2343     order_warn_no_deliverydate boolean DEFAULT true,
2344     sepa_set_duedate_as_default_exec_date boolean DEFAULT false,
2345     sepa_set_skonto_date_as_default_exec_date boolean DEFAULT false,
2346     sepa_set_skonto_date_buffer_in_days integer DEFAULT 0,
2347     delivery_date_interval integer DEFAULT 0,
2348     email_attachment_vc_files_checked boolean DEFAULT true,
2349     email_attachment_part_files_checked boolean DEFAULT true,
2350     email_attachment_record_files_checked boolean DEFAULT true,
2351     invoice_mail_settings public.invoice_mail_settings DEFAULT 'cp'::public.invoice_mail_settings,
2352     dunning_creator public.dunning_creator DEFAULT 'current_employee'::public.dunning_creator,
2353     address_street1 text,
2354     address_street2 text,
2355     address_zipcode text,
2356     address_city text,
2357     address_country text,
2358     workflow_po_ap_chart_id integer,
2359     carry_over_account_chart_id integer,
2360     profit_carried_forward_chart_id integer,
2361     loss_carried_forward_chart_id integer,
2362     contact_departments_use_textfield boolean,
2363     contact_titles_use_textfield boolean,
2364     create_zugferd_invoices integer,
2365     vc_greetings_use_textfield boolean,
2366     sales_serial_eq_charge boolean DEFAULT false NOT NULL,
2367     undo_transfer_interval integer DEFAULT 7,
2368     create_qrbill_invoices integer,
2369     customer_ustid_taxnummer_unique boolean DEFAULT false,
2370     vendor_ustid_taxnummer_unique boolean DEFAULT false,
2371     sales_delivery_order_check_stocked boolean DEFAULT false,
2372     purchase_delivery_order_check_stocked boolean DEFAULT false,
2373     ir_add_doc boolean DEFAULT false NOT NULL,
2374     ar_add_doc boolean DEFAULT false NOT NULL,
2375     ap_add_doc boolean DEFAULT false NOT NULL,
2376     gl_add_doc boolean DEFAULT false NOT NULL,
2377     reqdate_on boolean DEFAULT true,
2378     deliverydate_on boolean DEFAULT true,
2379     sales_delivery_order_check_service boolean DEFAULT true,
2380     purchase_delivery_order_check_service boolean DEFAULT true,
2381     produce_assembly_same_warehouse boolean DEFAULT true,
2382     produce_assembly_transfer_service boolean DEFAULT false,
2383     warn_no_delivery_order_for_invoice boolean DEFAULT false,
2384     order_warn_no_cusordnumber boolean DEFAULT false,
2385     partsgroup_required boolean DEFAULT false NOT NULL,
2386     print_interpolate_variables_in_positions boolean DEFAULT true NOT NULL,
2387     sales_purchase_record_numbers_changeable boolean DEFAULT false NOT NULL,
2388     always_record_links_from_order boolean DEFAULT false,
2389     sudonumber text,
2390     rdonumber text,
2391     advance_payment_clearing_chart_id integer,
2392     advance_payment_taxable_19_id integer,
2393     advance_payment_taxable_7_id integer,
2394     invoice_prevent_browser_back boolean DEFAULT false NOT NULL
2395 );
2396
2397
2398 ALTER TABLE public.defaults OWNER TO kivitendo;
2399
2400 --
2401 -- Name: defaults_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2402 --
2403
2404 CREATE SEQUENCE public.defaults_id_seq
2405     START WITH 1
2406     INCREMENT BY 1
2407     NO MINVALUE
2408     NO MAXVALUE
2409     CACHE 1;
2410
2411
2412 ALTER TABLE public.defaults_id_seq OWNER TO kivitendo;
2413
2414 --
2415 -- Name: defaults_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2416 --
2417
2418 ALTER SEQUENCE public.defaults_id_seq OWNED BY public.defaults.id;
2419
2420
2421 --
2422 -- Name: delivery_order_items_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
2423 --
2424
2425 CREATE SEQUENCE public.delivery_order_items_id
2426     START WITH 1
2427     INCREMENT BY 1
2428     NO MINVALUE
2429     NO MAXVALUE
2430     CACHE 1;
2431
2432
2433 ALTER TABLE public.delivery_order_items_id OWNER TO kivitendo;
2434
2435 --
2436 -- Name: delivery_order_items; Type: TABLE; Schema: public; Owner: kivitendo
2437 --
2438
2439 CREATE TABLE public.delivery_order_items (
2440     id integer DEFAULT nextval('public.delivery_order_items_id'::regclass) NOT NULL,
2441     delivery_order_id integer NOT NULL,
2442     parts_id integer NOT NULL,
2443     description text,
2444     qty numeric(25,5),
2445     sellprice numeric(15,5),
2446     discount real,
2447     project_id integer,
2448     reqdate date,
2449     serialnumber text,
2450     ordnumber text,
2451     transdate text,
2452     cusordnumber text,
2453     unit character varying(20),
2454     base_qty real,
2455     longdescription text,
2456     lastcost numeric(15,5),
2457     price_factor_id integer,
2458     price_factor numeric(15,5) DEFAULT 1,
2459     marge_price_factor numeric(15,5) DEFAULT 1,
2460     itime timestamp without time zone DEFAULT now(),
2461     mtime timestamp without time zone,
2462     pricegroup_id integer,
2463     "position" integer NOT NULL,
2464     active_price_source text DEFAULT ''::text NOT NULL,
2465     active_discount_source text DEFAULT ''::text NOT NULL
2466 );
2467
2468
2469 ALTER TABLE public.delivery_order_items OWNER TO kivitendo;
2470
2471 --
2472 -- Name: delivery_order_items_stock; Type: TABLE; Schema: public; Owner: kivitendo
2473 --
2474
2475 CREATE TABLE public.delivery_order_items_stock (
2476     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
2477     delivery_order_item_id integer NOT NULL,
2478     qty numeric(15,5) NOT NULL,
2479     unit character varying(20) NOT NULL,
2480     warehouse_id integer NOT NULL,
2481     bin_id integer NOT NULL,
2482     chargenumber text,
2483     itime timestamp without time zone DEFAULT now(),
2484     mtime timestamp without time zone,
2485     bestbefore date
2486 );
2487
2488
2489 ALTER TABLE public.delivery_order_items_stock OWNER TO kivitendo;
2490
2491 --
2492 -- Name: delivery_orders; Type: TABLE; Schema: public; Owner: kivitendo
2493 --
2494
2495 CREATE TABLE public.delivery_orders (
2496     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
2497     donumber text NOT NULL,
2498     ordnumber text,
2499     transdate date DEFAULT now(),
2500     vendor_id integer,
2501     customer_id integer,
2502     reqdate date,
2503     shippingpoint text,
2504     notes text,
2505     intnotes text,
2506     employee_id integer,
2507     closed boolean DEFAULT false,
2508     delivered boolean DEFAULT false,
2509     cusordnumber text,
2510     oreqnumber text,
2511     department_id integer,
2512     shipvia text,
2513     cp_id integer,
2514     language_id integer,
2515     shipto_id integer,
2516     globalproject_id integer,
2517     salesman_id integer,
2518     transaction_description text,
2519     is_sales boolean,
2520     itime timestamp without time zone DEFAULT now(),
2521     mtime timestamp without time zone,
2522     taxzone_id integer NOT NULL,
2523     taxincluded boolean,
2524     delivery_term_id integer,
2525     currency_id integer NOT NULL,
2526     payment_id integer,
2527     tax_point date,
2528     billing_address_id integer,
2529     order_type text NOT NULL
2530 );
2531
2532
2533 ALTER TABLE public.delivery_orders OWNER TO kivitendo;
2534
2535 --
2536 -- Name: delivery_terms; Type: TABLE; Schema: public; Owner: kivitendo
2537 --
2538
2539 CREATE TABLE public.delivery_terms (
2540     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
2541     description text,
2542     description_long text,
2543     sortkey integer NOT NULL,
2544     itime timestamp without time zone DEFAULT now(),
2545     mtime timestamp without time zone
2546 );
2547
2548
2549 ALTER TABLE public.delivery_terms OWNER TO kivitendo;
2550
2551 --
2552 -- Name: department; Type: TABLE; Schema: public; Owner: kivitendo
2553 --
2554
2555 CREATE TABLE public.department (
2556     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2557     description text,
2558     itime timestamp without time zone DEFAULT now(),
2559     mtime timestamp without time zone
2560 );
2561
2562
2563 ALTER TABLE public.department OWNER TO kivitendo;
2564
2565 --
2566 -- Name: drafts; Type: TABLE; Schema: public; Owner: kivitendo
2567 --
2568
2569 CREATE TABLE public.drafts (
2570     id character varying(50) NOT NULL,
2571     module character varying(50) NOT NULL,
2572     submodule character varying(50) NOT NULL,
2573     description text,
2574     itime timestamp without time zone DEFAULT now(),
2575     form text,
2576     employee_id integer
2577 );
2578
2579
2580 ALTER TABLE public.drafts OWNER TO kivitendo;
2581
2582 --
2583 -- Name: dunning; Type: TABLE; Schema: public; Owner: kivitendo
2584 --
2585
2586 CREATE TABLE public.dunning (
2587     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2588     trans_id integer,
2589     dunning_id integer,
2590     dunning_level integer,
2591     transdate date,
2592     duedate date,
2593     fee numeric(15,5),
2594     interest numeric(15,5),
2595     dunning_config_id integer,
2596     itime timestamp without time zone DEFAULT now(),
2597     mtime timestamp without time zone,
2598     fee_interest_ar_id integer,
2599     original_invoice_printed boolean DEFAULT false
2600 );
2601
2602
2603 ALTER TABLE public.dunning OWNER TO kivitendo;
2604
2605 --
2606 -- Name: dunning_config; Type: TABLE; Schema: public; Owner: kivitendo
2607 --
2608
2609 CREATE TABLE public.dunning_config (
2610     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2611     dunning_level integer,
2612     dunning_description text,
2613     active boolean,
2614     auto boolean,
2615     email boolean,
2616     terms integer,
2617     payment_terms integer,
2618     fee numeric(15,5),
2619     interest_rate numeric(15,5),
2620     email_body text,
2621     email_subject text,
2622     email_attachment boolean,
2623     template text,
2624     create_invoices_for_fees boolean DEFAULT true,
2625     print_original_invoice boolean
2626 );
2627
2628
2629 ALTER TABLE public.dunning_config OWNER TO kivitendo;
2630
2631 --
2632 -- Name: email_journal; Type: TABLE; Schema: public; Owner: kivitendo
2633 --
2634
2635 CREATE TABLE public.email_journal (
2636     id integer NOT NULL,
2637     sender_id integer,
2638     "from" text NOT NULL,
2639     recipients text NOT NULL,
2640     sent_on timestamp without time zone DEFAULT now() NOT NULL,
2641     subject text NOT NULL,
2642     body text NOT NULL,
2643     headers text NOT NULL,
2644     status text NOT NULL,
2645     extended_status text NOT NULL,
2646     itime timestamp without time zone DEFAULT now() NOT NULL,
2647     mtime timestamp without time zone DEFAULT now() NOT NULL,
2648     CONSTRAINT valid_status CHECK ((status = ANY (ARRAY['ok'::text, 'failed'::text])))
2649 );
2650
2651
2652 ALTER TABLE public.email_journal OWNER TO kivitendo;
2653
2654 --
2655 -- Name: email_journal_attachments; Type: TABLE; Schema: public; Owner: kivitendo
2656 --
2657
2658 CREATE TABLE public.email_journal_attachments (
2659     id integer NOT NULL,
2660     "position" integer NOT NULL,
2661     email_journal_id integer NOT NULL,
2662     name text NOT NULL,
2663     mime_type text NOT NULL,
2664     content bytea NOT NULL,
2665     itime timestamp without time zone DEFAULT now() NOT NULL,
2666     mtime timestamp without time zone DEFAULT now() NOT NULL,
2667     file_id integer DEFAULT 0 NOT NULL
2668 );
2669
2670
2671 ALTER TABLE public.email_journal_attachments OWNER TO kivitendo;
2672
2673 --
2674 -- Name: email_journal_attachments_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2675 --
2676
2677 CREATE SEQUENCE public.email_journal_attachments_id_seq
2678     START WITH 1
2679     INCREMENT BY 1
2680     NO MINVALUE
2681     NO MAXVALUE
2682     CACHE 1;
2683
2684
2685 ALTER TABLE public.email_journal_attachments_id_seq OWNER TO kivitendo;
2686
2687 --
2688 -- Name: email_journal_attachments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2689 --
2690
2691 ALTER SEQUENCE public.email_journal_attachments_id_seq OWNED BY public.email_journal_attachments.id;
2692
2693
2694 --
2695 -- Name: email_journal_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2696 --
2697
2698 CREATE SEQUENCE public.email_journal_id_seq
2699     START WITH 1
2700     INCREMENT BY 1
2701     NO MINVALUE
2702     NO MAXVALUE
2703     CACHE 1;
2704
2705
2706 ALTER TABLE public.email_journal_id_seq OWNER TO kivitendo;
2707
2708 --
2709 -- Name: email_journal_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2710 --
2711
2712 ALTER SEQUENCE public.email_journal_id_seq OWNED BY public.email_journal.id;
2713
2714
2715 --
2716 -- Name: employee; Type: TABLE; Schema: public; Owner: kivitendo
2717 --
2718
2719 CREATE TABLE public.employee (
2720     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2721     login text,
2722     startdate date DEFAULT ('now'::text)::date,
2723     enddate date,
2724     sales boolean DEFAULT true,
2725     itime timestamp without time zone DEFAULT now(),
2726     mtime timestamp without time zone,
2727     name text,
2728     deleted boolean DEFAULT false,
2729     deleted_email text,
2730     deleted_signature text,
2731     deleted_tel text,
2732     deleted_fax text
2733 );
2734
2735
2736 ALTER TABLE public.employee OWNER TO kivitendo;
2737
2738 --
2739 -- Name: employee_project_invoices; Type: TABLE; Schema: public; Owner: kivitendo
2740 --
2741
2742 CREATE TABLE public.employee_project_invoices (
2743     employee_id integer NOT NULL,
2744     project_id integer NOT NULL
2745 );
2746
2747
2748 ALTER TABLE public.employee_project_invoices OWNER TO kivitendo;
2749
2750 --
2751 -- Name: eur_categories; Type: VIEW; Schema: public; Owner: kivitendo
2752 --
2753
2754 CREATE VIEW public.eur_categories AS
2755  SELECT "*VALUES*".column1 AS id,
2756     "*VALUES*".column2 AS description
2757    FROM ( VALUES (1,'Umsatzerlöse'::text), (2,'sonstige Erlöse'::text), (3,'Privatanteile'::text), (4,'Zinserträge'::text), (5,'Ausserordentliche Erträge'::text), (6,'Vereinnahmte Umsatzst.'::text), (7,'Umsatzsteuererstattungen'::text), (8,'Wareneingänge'::text), (9,'Löhne und Gehälter'::text), (10,'Gesetzl. sozialer Aufw.'::text), (11,'Mieten'::text), (12,'Gas, Strom, Wasser'::text), (13,'Instandhaltung'::text), (14,'Steuern, Versich., Beiträge'::text), (15,'Kfz-Steuern'::text), (16,'Kfz-Versicherungen'::text), (17,'Sonst. Fahrzeugkosten'::text), (18,'Werbe- und Reisekosten'::text), (19,'Instandhaltung u. Werkzeuge'::text), (20,'Fachzeitschriften, Bücher'::text), (21,'Miete für Einrichtungen'::text), (22,'Rechts- und Beratungskosten'::text), (23,'Bürobedarf, Porto, Telefon'::text), (24,'Sonstige Aufwendungen'::text), (25,'Abschreibungen auf Anlagever.'::text), (26,'Abschreibungen auf GWG'::text), (27,'Vorsteuer'::text), (28,'Umsatzsteuerzahlungen'::text), (29,'Zinsaufwand'::text), (30,'Ausserordentlicher Aufwand'::text), (31,'Betriebliche Steuern'::text)) "*VALUES*";
2758
2759
2760 ALTER TABLE public.eur_categories OWNER TO kivitendo;
2761
2762 --
2763 -- Name: exchangerate; Type: TABLE; Schema: public; Owner: kivitendo
2764 --
2765
2766 CREATE TABLE public.exchangerate (
2767     transdate date,
2768     buy numeric(15,5),
2769     sell numeric(15,5),
2770     itime timestamp without time zone DEFAULT now(),
2771     mtime timestamp without time zone,
2772     id integer NOT NULL,
2773     currency_id integer NOT NULL
2774 );
2775
2776
2777 ALTER TABLE public.exchangerate OWNER TO kivitendo;
2778
2779 --
2780 -- Name: exchangerate_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2781 --
2782
2783 CREATE SEQUENCE public.exchangerate_id_seq
2784     START WITH 1
2785     INCREMENT BY 1
2786     NO MINVALUE
2787     NO MAXVALUE
2788     CACHE 1;
2789
2790
2791 ALTER TABLE public.exchangerate_id_seq OWNER TO kivitendo;
2792
2793 --
2794 -- Name: exchangerate_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2795 --
2796
2797 ALTER SEQUENCE public.exchangerate_id_seq OWNED BY public.exchangerate.id;
2798
2799
2800 --
2801 -- Name: file_full_texts; Type: TABLE; Schema: public; Owner: kivitendo
2802 --
2803
2804 CREATE TABLE public.file_full_texts (
2805     id integer NOT NULL,
2806     file_id integer NOT NULL,
2807     full_text text NOT NULL,
2808     itime timestamp without time zone DEFAULT now() NOT NULL,
2809     mtime timestamp without time zone
2810 );
2811
2812
2813 ALTER TABLE public.file_full_texts OWNER TO kivitendo;
2814
2815 --
2816 -- Name: file_full_texts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2817 --
2818
2819 CREATE SEQUENCE public.file_full_texts_id_seq
2820     AS integer
2821     START WITH 1
2822     INCREMENT BY 1
2823     NO MINVALUE
2824     NO MAXVALUE
2825     CACHE 1;
2826
2827
2828 ALTER TABLE public.file_full_texts_id_seq OWNER TO kivitendo;
2829
2830 --
2831 -- Name: file_full_texts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2832 --
2833
2834 ALTER SEQUENCE public.file_full_texts_id_seq OWNED BY public.file_full_texts.id;
2835
2836
2837 --
2838 -- Name: files; Type: TABLE; Schema: public; Owner: kivitendo
2839 --
2840
2841 CREATE TABLE public.files (
2842     id integer NOT NULL,
2843     object_type text NOT NULL,
2844     object_id integer NOT NULL,
2845     file_name text NOT NULL,
2846     file_type text NOT NULL,
2847     mime_type text NOT NULL,
2848     source text NOT NULL,
2849     backend text,
2850     backend_data text,
2851     title character varying(45),
2852     description text,
2853     itime timestamp without time zone DEFAULT now(),
2854     mtime timestamp without time zone,
2855     print_variant text,
2856     CONSTRAINT valid_type CHECK (((object_type = 'credit_note'::text) OR (object_type = 'invoice'::text) OR (object_type = 'sales_order'::text) OR (object_type = 'sales_quotation'::text) OR (object_type = 'sales_delivery_order'::text) OR (object_type = 'request_quotation'::text) OR (object_type = 'purchase_order'::text) OR (object_type = 'purchase_delivery_order'::text) OR (object_type = 'purchase_invoice'::text) OR (object_type = 'vendor'::text) OR (object_type = 'customer'::text) OR (object_type = 'part'::text) OR (object_type = 'gl_transaction'::text) OR (object_type = 'dunning'::text) OR (object_type = 'dunning1'::text) OR (object_type = 'dunning2'::text) OR (object_type = 'dunning3'::text) OR (object_type = 'dunning_orig_invoice'::text) OR (object_type = 'dunning_invoice'::text) OR (object_type = 'draft'::text) OR (object_type = 'statement'::text) OR (object_type = 'shop_image'::text) OR (object_type = 'letter'::text) OR (object_type = 'project'::text) OR (object_type = 'invoice_for_advance_payment'::text) OR (object_type = 'final_invoice'::text)))
2857 );
2858
2859
2860 ALTER TABLE public.files OWNER TO kivitendo;
2861
2862 --
2863 -- Name: files_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2864 --
2865
2866 CREATE SEQUENCE public.files_id_seq
2867     START WITH 1
2868     INCREMENT BY 1
2869     NO MINVALUE
2870     NO MAXVALUE
2871     CACHE 1;
2872
2873
2874 ALTER TABLE public.files_id_seq OWNER TO kivitendo;
2875
2876 --
2877 -- Name: files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2878 --
2879
2880 ALTER SEQUENCE public.files_id_seq OWNED BY public.files.id;
2881
2882
2883 --
2884 -- Name: finanzamt; Type: TABLE; Schema: public; Owner: kivitendo
2885 --
2886
2887 CREATE TABLE public.finanzamt (
2888     fa_land_nr text,
2889     fa_bufa_nr text,
2890     fa_name text,
2891     fa_strasse text,
2892     fa_plz text,
2893     fa_ort text,
2894     fa_telefon text,
2895     fa_fax text,
2896     fa_plz_grosskunden text,
2897     fa_plz_postfach text,
2898     fa_postfach text,
2899     fa_blz_1 text,
2900     fa_kontonummer_1 text,
2901     fa_bankbezeichnung_1 text,
2902     fa_blz_2 text,
2903     fa_kontonummer_2 text,
2904     fa_bankbezeichnung_2 text,
2905     fa_oeffnungszeiten text,
2906     fa_email text,
2907     fa_internet text,
2908     id integer NOT NULL
2909 );
2910
2911
2912 ALTER TABLE public.finanzamt OWNER TO kivitendo;
2913
2914 --
2915 -- Name: finanzamt_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2916 --
2917
2918 CREATE SEQUENCE public.finanzamt_id_seq
2919     START WITH 1
2920     INCREMENT BY 1
2921     NO MINVALUE
2922     NO MAXVALUE
2923     CACHE 1;
2924
2925
2926 ALTER TABLE public.finanzamt_id_seq OWNER TO kivitendo;
2927
2928 --
2929 -- Name: finanzamt_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2930 --
2931
2932 ALTER SEQUENCE public.finanzamt_id_seq OWNED BY public.finanzamt.id;
2933
2934
2935 --
2936 -- Name: follow_up_access; Type: TABLE; Schema: public; Owner: kivitendo
2937 --
2938
2939 CREATE TABLE public.follow_up_access (
2940     who integer NOT NULL,
2941     what integer NOT NULL,
2942     id integer NOT NULL
2943 );
2944
2945
2946 ALTER TABLE public.follow_up_access OWNER TO kivitendo;
2947
2948 --
2949 -- Name: follow_up_access_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2950 --
2951
2952 CREATE SEQUENCE public.follow_up_access_id_seq
2953     START WITH 1
2954     INCREMENT BY 1
2955     NO MINVALUE
2956     NO MAXVALUE
2957     CACHE 1;
2958
2959
2960 ALTER TABLE public.follow_up_access_id_seq OWNER TO kivitendo;
2961
2962 --
2963 -- Name: follow_up_access_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2964 --
2965
2966 ALTER SEQUENCE public.follow_up_access_id_seq OWNED BY public.follow_up_access.id;
2967
2968
2969 --
2970 -- Name: follow_up_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
2971 --
2972
2973 CREATE SEQUENCE public.follow_up_id
2974     START WITH 1
2975     INCREMENT BY 1
2976     NO MINVALUE
2977     NO MAXVALUE
2978     CACHE 1;
2979
2980
2981 ALTER TABLE public.follow_up_id OWNER TO kivitendo;
2982
2983 --
2984 -- Name: follow_up_link_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
2985 --
2986
2987 CREATE SEQUENCE public.follow_up_link_id
2988     START WITH 1
2989     INCREMENT BY 1
2990     NO MINVALUE
2991     NO MAXVALUE
2992     CACHE 1;
2993
2994
2995 ALTER TABLE public.follow_up_link_id OWNER TO kivitendo;
2996
2997 --
2998 -- Name: follow_up_links; Type: TABLE; Schema: public; Owner: kivitendo
2999 --
3000
3001 CREATE TABLE public.follow_up_links (
3002     id integer DEFAULT nextval('public.follow_up_link_id'::regclass) NOT NULL,
3003     follow_up_id integer NOT NULL,
3004     trans_id integer NOT NULL,
3005     trans_type text NOT NULL,
3006     trans_info text,
3007     itime timestamp without time zone DEFAULT now(),
3008     mtime timestamp without time zone
3009 );
3010
3011
3012 ALTER TABLE public.follow_up_links OWNER TO kivitendo;
3013
3014 --
3015 -- Name: follow_ups; Type: TABLE; Schema: public; Owner: kivitendo
3016 --
3017
3018 CREATE TABLE public.follow_ups (
3019     id integer DEFAULT nextval('public.follow_up_id'::regclass) NOT NULL,
3020     follow_up_date date NOT NULL,
3021     created_for_user integer NOT NULL,
3022     done boolean DEFAULT false,
3023     note_id integer NOT NULL,
3024     created_by integer NOT NULL,
3025     itime timestamp without time zone DEFAULT now(),
3026     mtime timestamp without time zone
3027 );
3028
3029
3030 ALTER TABLE public.follow_ups OWNER TO kivitendo;
3031
3032 --
3033 -- Name: generic_translations; Type: TABLE; Schema: public; Owner: kivitendo
3034 --
3035
3036 CREATE TABLE public.generic_translations (
3037     id integer NOT NULL,
3038     language_id integer,
3039     translation_type character varying(100) NOT NULL,
3040     translation_id integer,
3041     translation text
3042 );
3043
3044
3045 ALTER TABLE public.generic_translations OWNER TO kivitendo;
3046
3047 --
3048 -- Name: generic_translations_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3049 --
3050
3051 CREATE SEQUENCE public.generic_translations_id_seq
3052     START WITH 1
3053     INCREMENT BY 1
3054     NO MINVALUE
3055     NO MAXVALUE
3056     CACHE 1;
3057
3058
3059 ALTER TABLE public.generic_translations_id_seq OWNER TO kivitendo;
3060
3061 --
3062 -- Name: generic_translations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3063 --
3064
3065 ALTER SEQUENCE public.generic_translations_id_seq OWNED BY public.generic_translations.id;
3066
3067
3068 --
3069 -- Name: gl; Type: TABLE; Schema: public; Owner: kivitendo
3070 --
3071
3072 CREATE TABLE public.gl (
3073     id integer DEFAULT nextval(('glid'::text)::regclass) NOT NULL,
3074     reference text,
3075     description text,
3076     transdate date DEFAULT ('now'::text)::date,
3077     gldate date DEFAULT ('now'::text)::date,
3078     employee_id integer,
3079     notes text,
3080     department_id integer,
3081     taxincluded boolean,
3082     itime timestamp without time zone DEFAULT now(),
3083     mtime timestamp without time zone,
3084     type text,
3085     ob_transaction boolean,
3086     cb_transaction boolean,
3087     storno boolean DEFAULT false,
3088     storno_id integer,
3089     deliverydate date,
3090     imported boolean DEFAULT false,
3091     tax_point date,
3092     transaction_description text
3093 );
3094
3095
3096 ALTER TABLE public.gl OWNER TO kivitendo;
3097
3098 --
3099 -- Name: glid; Type: SEQUENCE; Schema: public; Owner: kivitendo
3100 --
3101
3102 CREATE SEQUENCE public.glid
3103     START WITH 1
3104     INCREMENT BY 1
3105     NO MINVALUE
3106     MAXVALUE 2147483647
3107     CACHE 1;
3108
3109
3110 ALTER TABLE public.glid OWNER TO kivitendo;
3111
3112 --
3113 -- Name: greetings; Type: TABLE; Schema: public; Owner: kivitendo
3114 --
3115
3116 CREATE TABLE public.greetings (
3117     id integer NOT NULL,
3118     description text NOT NULL
3119 );
3120
3121
3122 ALTER TABLE public.greetings OWNER TO kivitendo;
3123
3124 --
3125 -- Name: greetings_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3126 --
3127
3128 CREATE SEQUENCE public.greetings_id_seq
3129     START WITH 1
3130     INCREMENT BY 1
3131     NO MINVALUE
3132     NO MAXVALUE
3133     CACHE 1;
3134
3135
3136 ALTER TABLE public.greetings_id_seq OWNER TO kivitendo;
3137
3138 --
3139 -- Name: greetings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3140 --
3141
3142 ALTER SEQUENCE public.greetings_id_seq OWNED BY public.greetings.id;
3143
3144
3145 --
3146 -- Name: history_erp; Type: TABLE; Schema: public; Owner: kivitendo
3147 --
3148
3149 CREATE TABLE public.history_erp (
3150     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
3151     trans_id integer,
3152     employee_id integer,
3153     addition text,
3154     what_done text,
3155     itime timestamp without time zone DEFAULT now(),
3156     snumbers text
3157 );
3158
3159
3160 ALTER TABLE public.history_erp OWNER TO kivitendo;
3161
3162 --
3163 -- Name: inventory; Type: TABLE; Schema: public; Owner: kivitendo
3164 --
3165
3166 CREATE TABLE public.inventory (
3167     warehouse_id integer NOT NULL,
3168     parts_id integer NOT NULL,
3169     oe_id integer,
3170     delivery_order_items_stock_id integer,
3171     shippingdate date NOT NULL,
3172     employee_id integer NOT NULL,
3173     itime timestamp without time zone DEFAULT now(),
3174     mtime timestamp without time zone,
3175     bin_id integer NOT NULL,
3176     qty numeric(25,5),
3177     trans_id integer NOT NULL,
3178     trans_type_id integer NOT NULL,
3179     project_id integer,
3180     chargenumber text DEFAULT ''::text NOT NULL,
3181     comment text,
3182     bestbefore date,
3183     id integer NOT NULL,
3184     invoice_id integer
3185 );
3186
3187
3188 ALTER TABLE public.inventory OWNER TO kivitendo;
3189
3190 --
3191 -- Name: inventory_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3192 --
3193
3194 CREATE SEQUENCE public.inventory_id_seq
3195     START WITH 1
3196     INCREMENT BY 1
3197     NO MINVALUE
3198     NO MAXVALUE
3199     CACHE 1;
3200
3201
3202 ALTER TABLE public.inventory_id_seq OWNER TO kivitendo;
3203
3204 --
3205 -- Name: inventory_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3206 --
3207
3208 ALTER SEQUENCE public.inventory_id_seq OWNED BY public.inventory.id;
3209
3210
3211 --
3212 -- Name: invoice; Type: TABLE; Schema: public; Owner: kivitendo
3213 --
3214
3215 CREATE TABLE public.invoice (
3216     id integer DEFAULT nextval(('invoiceid'::text)::regclass) NOT NULL,
3217     trans_id integer,
3218     parts_id integer,
3219     description text,
3220     qty numeric(25,5),
3221     allocated real,
3222     sellprice numeric(15,5),
3223     fxsellprice numeric(15,5),
3224     discount real,
3225     assemblyitem boolean DEFAULT false,
3226     project_id integer,
3227     deliverydate date,
3228     serialnumber text,
3229     itime timestamp without time zone DEFAULT now(),
3230     mtime timestamp without time zone,
3231     pricegroup_id integer,
3232     ordnumber text,
3233     transdate text,
3234     cusordnumber text,
3235     unit character varying(20),
3236     base_qty real,
3237     subtotal boolean DEFAULT false,
3238     longdescription text,
3239     marge_total numeric(15,5),
3240     marge_percent numeric(15,5),
3241     lastcost numeric(15,5),
3242     price_factor_id integer,
3243     price_factor numeric(15,5) DEFAULT 1,
3244     marge_price_factor numeric(15,5) DEFAULT 1,
3245     donumber text,
3246     "position" integer NOT NULL,
3247     active_price_source text DEFAULT ''::text NOT NULL,
3248     active_discount_source text DEFAULT ''::text NOT NULL
3249 );
3250
3251
3252 ALTER TABLE public.invoice OWNER TO kivitendo;
3253
3254 --
3255 -- Name: invoiceid; Type: SEQUENCE; Schema: public; Owner: kivitendo
3256 --
3257
3258 CREATE SEQUENCE public.invoiceid
3259     START WITH 1
3260     INCREMENT BY 1
3261     NO MINVALUE
3262     MAXVALUE 2147483647
3263     CACHE 1;
3264
3265
3266 ALTER TABLE public.invoiceid OWNER TO kivitendo;
3267
3268 --
3269 -- Name: language; Type: TABLE; Schema: public; Owner: kivitendo
3270 --
3271
3272 CREATE TABLE public.language (
3273     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3274     description text,
3275     template_code text,
3276     article_code text,
3277     itime timestamp without time zone DEFAULT now(),
3278     mtime timestamp without time zone,
3279     output_numberformat text,
3280     output_dateformat text,
3281     output_longdates boolean,
3282     obsolete boolean DEFAULT false
3283 );
3284
3285
3286 ALTER TABLE public.language OWNER TO kivitendo;
3287
3288 --
3289 -- Name: leads; Type: TABLE; Schema: public; Owner: kivitendo
3290 --
3291
3292 CREATE TABLE public.leads (
3293     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3294     lead character varying(50)
3295 );
3296
3297
3298 ALTER TABLE public.leads OWNER TO kivitendo;
3299
3300 --
3301 -- Name: letter; Type: TABLE; Schema: public; Owner: kivitendo
3302 --
3303
3304 CREATE TABLE public.letter (
3305     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
3306     customer_id integer,
3307     letternumber text,
3308     subject text,
3309     greeting text,
3310     body text,
3311     employee_id integer,
3312     salesman_id integer,
3313     itime timestamp without time zone DEFAULT now(),
3314     mtime timestamp without time zone,
3315     date date,
3316     reference text,
3317     intnotes text,
3318     cp_id integer,
3319     vendor_id integer
3320 );
3321
3322
3323 ALTER TABLE public.letter OWNER TO kivitendo;
3324
3325 --
3326 -- Name: letter_draft; Type: TABLE; Schema: public; Owner: kivitendo
3327 --
3328
3329 CREATE TABLE public.letter_draft (
3330     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
3331     customer_id integer,
3332     cp_id integer,
3333     letternumber text,
3334     date date,
3335     intnotes text,
3336     reference text,
3337     subject text,
3338     greeting text,
3339     body text,
3340     employee_id integer,
3341     salesman_id integer,
3342     itime timestamp without time zone DEFAULT now(),
3343     mtime timestamp without time zone,
3344     vendor_id integer
3345 );
3346
3347
3348 ALTER TABLE public.letter_draft OWNER TO kivitendo;
3349
3350 --
3351 -- Name: makemodel_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3352 --
3353
3354 CREATE SEQUENCE public.makemodel_id_seq
3355     START WITH 1
3356     INCREMENT BY 1
3357     NO MINVALUE
3358     NO MAXVALUE
3359     CACHE 1;
3360
3361
3362 ALTER TABLE public.makemodel_id_seq OWNER TO kivitendo;
3363
3364 --
3365 -- Name: makemodel; Type: TABLE; Schema: public; Owner: kivitendo
3366 --
3367
3368 CREATE TABLE public.makemodel (
3369     parts_id integer,
3370     model text,
3371     itime timestamp without time zone DEFAULT now(),
3372     mtime timestamp without time zone,
3373     lastcost numeric(15,5),
3374     lastupdate date,
3375     sortorder integer,
3376     make integer,
3377     id integer DEFAULT nextval('public.makemodel_id_seq'::regclass) NOT NULL
3378 );
3379
3380
3381 ALTER TABLE public.makemodel OWNER TO kivitendo;
3382
3383 --
3384 -- Name: note_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
3385 --
3386
3387 CREATE SEQUENCE public.note_id
3388     START WITH 1
3389     INCREMENT BY 1
3390     NO MINVALUE
3391     NO MAXVALUE
3392     CACHE 1;
3393
3394
3395 ALTER TABLE public.note_id OWNER TO kivitendo;
3396
3397 --
3398 -- Name: notes; Type: TABLE; Schema: public; Owner: kivitendo
3399 --
3400
3401 CREATE TABLE public.notes (
3402     id integer DEFAULT nextval('public.note_id'::regclass) NOT NULL,
3403     subject text,
3404     body text,
3405     created_by integer NOT NULL,
3406     trans_id integer,
3407     trans_module character varying(10),
3408     itime timestamp without time zone DEFAULT now(),
3409     mtime timestamp without time zone
3410 );
3411
3412
3413 ALTER TABLE public.notes OWNER TO kivitendo;
3414
3415 --
3416 -- Name: oe; Type: TABLE; Schema: public; Owner: kivitendo
3417 --
3418
3419 CREATE TABLE public.oe (
3420     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3421     ordnumber text NOT NULL,
3422     transdate date DEFAULT ('now'::text)::date,
3423     vendor_id integer,
3424     customer_id integer,
3425     amount numeric(15,5),
3426     netamount numeric(15,5),
3427     reqdate date,
3428     taxincluded boolean,
3429     shippingpoint text,
3430     notes text,
3431     employee_id integer,
3432     closed boolean DEFAULT false,
3433     quotation boolean DEFAULT false,
3434     quonumber text,
3435     cusordnumber text,
3436     intnotes text,
3437     department_id integer,
3438     itime timestamp without time zone DEFAULT now(),
3439     mtime timestamp without time zone,
3440     shipvia text,
3441     cp_id integer,
3442     language_id integer,
3443     payment_id integer,
3444     delivery_customer_id integer,
3445     delivery_vendor_id integer,
3446     taxzone_id integer NOT NULL,
3447     proforma boolean DEFAULT false,
3448     shipto_id integer,
3449     order_probability integer DEFAULT 0 NOT NULL,
3450     expected_billing_date date,
3451     globalproject_id integer,
3452     delivered boolean DEFAULT false,
3453     salesman_id integer,
3454     marge_total numeric(15,5),
3455     marge_percent numeric(15,5),
3456     transaction_description text,
3457     delivery_term_id integer,
3458     currency_id integer NOT NULL,
3459     exchangerate numeric(15,5),
3460     tax_point date,
3461     billing_address_id integer
3462 );
3463
3464
3465 ALTER TABLE public.oe OWNER TO kivitendo;
3466
3467 --
3468 -- Name: orderitems; Type: TABLE; Schema: public; Owner: kivitendo
3469 --
3470
3471 CREATE TABLE public.orderitems (
3472     trans_id integer,
3473     parts_id integer,
3474     description text,
3475     qty numeric(25,5),
3476     sellprice numeric(15,5),
3477     discount real,
3478     project_id integer,
3479     reqdate date,
3480     ship real,
3481     serialnumber text,
3482     id integer DEFAULT nextval(('orderitemsid'::text)::regclass) NOT NULL,
3483     itime timestamp without time zone DEFAULT now(),
3484     mtime timestamp without time zone,
3485     pricegroup_id integer,
3486     ordnumber text,
3487     transdate text,
3488     cusordnumber text,
3489     unit character varying(20),
3490     base_qty real,
3491     subtotal boolean DEFAULT false,
3492     longdescription text,
3493     marge_total numeric(15,5),
3494     marge_percent numeric(15,5),
3495     lastcost numeric(15,5),
3496     price_factor_id integer,
3497     price_factor numeric(15,5) DEFAULT 1,
3498     marge_price_factor numeric(15,5) DEFAULT 1,
3499     "position" integer NOT NULL,
3500     active_price_source text DEFAULT ''::text NOT NULL,
3501     active_discount_source text DEFAULT ''::text NOT NULL,
3502     optional boolean DEFAULT false
3503 );
3504
3505
3506 ALTER TABLE public.orderitems OWNER TO kivitendo;
3507
3508 --
3509 -- Name: orderitemsid; Type: SEQUENCE; Schema: public; Owner: kivitendo
3510 --
3511
3512 CREATE SEQUENCE public.orderitemsid
3513     START WITH 1
3514     INCREMENT BY 1
3515     NO MINVALUE
3516     MAXVALUE 2147483647
3517     CACHE 1
3518     CYCLE;
3519
3520
3521 ALTER TABLE public.orderitemsid OWNER TO kivitendo;
3522
3523 --
3524 -- Name: part_classifications; Type: TABLE; Schema: public; Owner: kivitendo
3525 --
3526
3527 CREATE TABLE public.part_classifications (
3528     id integer NOT NULL,
3529     description text,
3530     abbreviation text,
3531     used_for_purchase boolean DEFAULT true NOT NULL,
3532     used_for_sale boolean DEFAULT true NOT NULL,
3533     report_separate boolean DEFAULT false NOT NULL
3534 );
3535
3536
3537 ALTER TABLE public.part_classifications OWNER TO kivitendo;
3538
3539 --
3540 -- Name: part_classifications_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3541 --
3542
3543 CREATE SEQUENCE public.part_classifications_id_seq
3544     START WITH 1
3545     INCREMENT BY 1
3546     NO MINVALUE
3547     NO MAXVALUE
3548     CACHE 1;
3549
3550
3551 ALTER TABLE public.part_classifications_id_seq OWNER TO kivitendo;
3552
3553 --
3554 -- Name: part_classifications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3555 --
3556
3557 ALTER SEQUENCE public.part_classifications_id_seq OWNED BY public.part_classifications.id;
3558
3559
3560 --
3561 -- Name: part_customer_prices; Type: TABLE; Schema: public; Owner: kivitendo
3562 --
3563
3564 CREATE TABLE public.part_customer_prices (
3565     id integer NOT NULL,
3566     parts_id integer NOT NULL,
3567     customer_id integer NOT NULL,
3568     customer_partnumber text DEFAULT ''::text,
3569     price numeric(15,5) DEFAULT 0,
3570     sortorder integer DEFAULT 0,
3571     lastupdate date DEFAULT now()
3572 );
3573
3574
3575 ALTER TABLE public.part_customer_prices OWNER TO kivitendo;
3576
3577 --
3578 -- Name: part_customer_prices_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3579 --
3580
3581 CREATE SEQUENCE public.part_customer_prices_id_seq
3582     START WITH 1
3583     INCREMENT BY 1
3584     NO MINVALUE
3585     NO MAXVALUE
3586     CACHE 1;
3587
3588
3589 ALTER TABLE public.part_customer_prices_id_seq OWNER TO kivitendo;
3590
3591 --
3592 -- Name: part_customer_prices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3593 --
3594
3595 ALTER SEQUENCE public.part_customer_prices_id_seq OWNED BY public.part_customer_prices.id;
3596
3597
3598 --
3599 -- Name: parts; Type: TABLE; Schema: public; Owner: kivitendo
3600 --
3601
3602 CREATE TABLE public.parts (
3603     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3604     partnumber text NOT NULL,
3605     description text,
3606     listprice numeric(15,5),
3607     sellprice numeric(15,5),
3608     lastcost numeric(15,5),
3609     priceupdate date DEFAULT ('now'::text)::date,
3610     weight real,
3611     notes text,
3612     makemodel boolean DEFAULT false,
3613     rop real,
3614     shop boolean DEFAULT false,
3615     obsolete boolean DEFAULT false,
3616     bom boolean DEFAULT false,
3617     image text,
3618     drawing text,
3619     microfiche text,
3620     partsgroup_id integer,
3621     ve integer,
3622     gv numeric(15,5),
3623     itime timestamp without time zone DEFAULT now(),
3624     mtime timestamp without time zone,
3625     unit character varying(20) NOT NULL,
3626     formel text,
3627     not_discountable boolean DEFAULT false,
3628     buchungsgruppen_id integer,
3629     payment_id integer,
3630     ean text,
3631     price_factor_id integer,
3632     onhand numeric(25,5) DEFAULT 0,
3633     stockable boolean DEFAULT false,
3634     has_sernumber boolean DEFAULT false,
3635     warehouse_id integer,
3636     bin_id integer,
3637     classification_id integer DEFAULT 0,
3638     part_type public.part_type_enum NOT NULL
3639 );
3640
3641
3642 ALTER TABLE public.parts OWNER TO kivitendo;
3643
3644 --
3645 -- Name: parts_price_history; Type: TABLE; Schema: public; Owner: kivitendo
3646 --
3647
3648 CREATE TABLE public.parts_price_history (
3649     id integer NOT NULL,
3650     part_id integer NOT NULL,
3651     valid_from timestamp without time zone NOT NULL,
3652     lastcost numeric(15,5),
3653     listprice numeric(15,5),
3654     sellprice numeric(15,5)
3655 );
3656
3657
3658 ALTER TABLE public.parts_price_history OWNER TO kivitendo;
3659
3660 --
3661 -- Name: parts_price_history_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3662 --
3663
3664 CREATE SEQUENCE public.parts_price_history_id_seq
3665     START WITH 1
3666     INCREMENT BY 1
3667     NO MINVALUE
3668     NO MAXVALUE
3669     CACHE 1;
3670
3671
3672 ALTER TABLE public.parts_price_history_id_seq OWNER TO kivitendo;
3673
3674 --
3675 -- Name: parts_price_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3676 --
3677
3678 ALTER SEQUENCE public.parts_price_history_id_seq OWNED BY public.parts_price_history.id;
3679
3680
3681 --
3682 -- Name: partsgroup; Type: TABLE; Schema: public; Owner: kivitendo
3683 --
3684
3685 CREATE TABLE public.partsgroup (
3686     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3687     partsgroup text,
3688     itime timestamp without time zone DEFAULT now(),
3689     mtime timestamp without time zone,
3690     obsolete boolean DEFAULT false,
3691     sortkey integer NOT NULL
3692 );
3693
3694
3695 ALTER TABLE public.partsgroup OWNER TO kivitendo;
3696
3697 --
3698 -- Name: payment_terms; Type: TABLE; Schema: public; Owner: kivitendo
3699 --
3700
3701 CREATE TABLE public.payment_terms (
3702     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3703     description text,
3704     description_long text,
3705     terms_netto integer,
3706     terms_skonto integer,
3707     percent_skonto real,
3708     itime timestamp without time zone DEFAULT now(),
3709     mtime timestamp without time zone,
3710     sortkey integer NOT NULL,
3711     auto_calculation boolean NOT NULL,
3712     description_long_invoice text,
3713     obsolete boolean DEFAULT false
3714 );
3715
3716
3717 ALTER TABLE public.payment_terms OWNER TO kivitendo;
3718
3719 --
3720 -- Name: periodic_invoices; Type: TABLE; Schema: public; Owner: kivitendo
3721 --
3722
3723 CREATE TABLE public.periodic_invoices (
3724     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
3725     config_id integer NOT NULL,
3726     ar_id integer NOT NULL,
3727     period_start_date date NOT NULL,
3728     itime timestamp without time zone DEFAULT now()
3729 );
3730
3731
3732 ALTER TABLE public.periodic_invoices OWNER TO kivitendo;
3733
3734 --
3735 -- Name: periodic_invoices_configs; Type: TABLE; Schema: public; Owner: kivitendo
3736 --
3737
3738 CREATE TABLE public.periodic_invoices_configs (
3739     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
3740     oe_id integer NOT NULL,
3741     periodicity character varying(1) NOT NULL,
3742     print boolean DEFAULT false,
3743     printer_id integer,
3744     copies integer,
3745     active boolean DEFAULT true,
3746     terminated boolean DEFAULT false,
3747     start_date date,
3748     end_date date,
3749     ar_chart_id integer NOT NULL,
3750     extend_automatically_by integer,
3751     first_billing_date date,
3752     order_value_periodicity character varying(1) NOT NULL,
3753     direct_debit boolean DEFAULT false NOT NULL,
3754     send_email boolean DEFAULT false NOT NULL,
3755     email_recipient_contact_id integer,
3756     email_recipient_address text,
3757     email_sender text,
3758     email_subject text,
3759     email_body text,
3760     CONSTRAINT periodic_invoices_configs_valid_order_value_periodicity CHECK (((order_value_periodicity)::text = ANY (ARRAY[('p'::character varying)::text, ('m'::character varying)::text, ('q'::character varying)::text, ('b'::character varying)::text, ('y'::character varying)::text, ('2'::character varying)::text, ('3'::character varying)::text, ('4'::character varying)::text, ('5'::character varying)::text]))),
3761     CONSTRAINT periodic_invoices_configs_valid_periodicity CHECK (((periodicity)::text = ANY (ARRAY[('o'::character varying)::text, ('m'::character varying)::text, ('q'::character varying)::text, ('b'::character varying)::text, ('y'::character varying)::text])))
3762 );
3763
3764
3765 ALTER TABLE public.periodic_invoices_configs OWNER TO kivitendo;
3766
3767 --
3768 -- Name: price_factors; Type: TABLE; Schema: public; Owner: kivitendo
3769 --
3770
3771 CREATE TABLE public.price_factors (
3772     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3773     description text,
3774     factor numeric(15,5),
3775     sortkey integer
3776 );
3777
3778
3779 ALTER TABLE public.price_factors OWNER TO kivitendo;
3780
3781 --
3782 -- Name: price_rule_items; Type: TABLE; Schema: public; Owner: kivitendo
3783 --
3784
3785 CREATE TABLE public.price_rule_items (
3786     id integer NOT NULL,
3787     price_rules_id integer NOT NULL,
3788     type text,
3789     op text,
3790     custom_variable_configs_id integer,
3791     value_text text,
3792     value_int integer,
3793     value_date date,
3794     value_num numeric(15,5),
3795     itime timestamp without time zone,
3796     mtime timestamp without time zone
3797 );
3798
3799
3800 ALTER TABLE public.price_rule_items OWNER TO kivitendo;
3801
3802 --
3803 -- Name: price_rule_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3804 --
3805
3806 CREATE SEQUENCE public.price_rule_items_id_seq
3807     START WITH 1
3808     INCREMENT BY 1
3809     NO MINVALUE
3810     NO MAXVALUE
3811     CACHE 1;
3812
3813
3814 ALTER TABLE public.price_rule_items_id_seq OWNER TO kivitendo;
3815
3816 --
3817 -- Name: price_rule_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3818 --
3819
3820 ALTER SEQUENCE public.price_rule_items_id_seq OWNED BY public.price_rule_items.id;
3821
3822
3823 --
3824 -- Name: price_rules; Type: TABLE; Schema: public; Owner: kivitendo
3825 --
3826
3827 CREATE TABLE public.price_rules (
3828     id integer NOT NULL,
3829     name text,
3830     type text,
3831     priority integer DEFAULT 3 NOT NULL,
3832     price numeric(15,5),
3833     reduction numeric(15,5),
3834     obsolete boolean DEFAULT false NOT NULL,
3835     itime timestamp without time zone,
3836     mtime timestamp without time zone,
3837     discount numeric(15,5)
3838 );
3839
3840
3841 ALTER TABLE public.price_rules OWNER TO kivitendo;
3842
3843 --
3844 -- Name: price_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3845 --
3846
3847 CREATE SEQUENCE public.price_rules_id_seq
3848     START WITH 1
3849     INCREMENT BY 1
3850     NO MINVALUE
3851     NO MAXVALUE
3852     CACHE 1;
3853
3854
3855 ALTER TABLE public.price_rules_id_seq OWNER TO kivitendo;
3856
3857 --
3858 -- Name: price_rules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3859 --
3860
3861 ALTER SEQUENCE public.price_rules_id_seq OWNED BY public.price_rules.id;
3862
3863
3864 --
3865 -- Name: pricegroup; Type: TABLE; Schema: public; Owner: kivitendo
3866 --
3867
3868 CREATE TABLE public.pricegroup (
3869     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3870     pricegroup text NOT NULL,
3871     obsolete boolean DEFAULT false,
3872     sortkey integer NOT NULL
3873 );
3874
3875
3876 ALTER TABLE public.pricegroup OWNER TO kivitendo;
3877
3878 --
3879 -- Name: prices; Type: TABLE; Schema: public; Owner: kivitendo
3880 --
3881
3882 CREATE TABLE public.prices (
3883     parts_id integer NOT NULL,
3884     pricegroup_id integer NOT NULL,
3885     price numeric(15,5),
3886     id integer NOT NULL
3887 );
3888
3889
3890 ALTER TABLE public.prices OWNER TO kivitendo;
3891
3892 --
3893 -- Name: prices_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3894 --
3895
3896 CREATE SEQUENCE public.prices_id_seq
3897     START WITH 1
3898     INCREMENT BY 1
3899     NO MINVALUE
3900     NO MAXVALUE
3901     CACHE 1;
3902
3903
3904 ALTER TABLE public.prices_id_seq OWNER TO kivitendo;
3905
3906 --
3907 -- Name: prices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3908 --
3909
3910 ALTER SEQUENCE public.prices_id_seq OWNED BY public.prices.id;
3911
3912
3913 --
3914 -- Name: printers; Type: TABLE; Schema: public; Owner: kivitendo
3915 --
3916
3917 CREATE TABLE public.printers (
3918     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3919     printer_description text NOT NULL,
3920     printer_command text,
3921     template_code text
3922 );
3923
3924
3925 ALTER TABLE public.printers OWNER TO kivitendo;
3926
3927 --
3928 -- Name: project; Type: TABLE; Schema: public; Owner: kivitendo
3929 --
3930
3931 CREATE TABLE public.project (
3932     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3933     projectnumber text,
3934     description text,
3935     itime timestamp without time zone DEFAULT now(),
3936     mtime timestamp without time zone,
3937     active boolean DEFAULT true,
3938     customer_id integer,
3939     valid boolean DEFAULT true,
3940     project_type_id integer NOT NULL,
3941     start_date date,
3942     end_date date,
3943     billable_customer_id integer,
3944     budget_cost numeric(15,5) DEFAULT 0 NOT NULL,
3945     order_value numeric(15,5) DEFAULT 0 NOT NULL,
3946     budget_minutes integer DEFAULT 0 NOT NULL,
3947     timeframe boolean DEFAULT false NOT NULL,
3948     project_status_id integer NOT NULL
3949 );
3950
3951
3952 ALTER TABLE public.project OWNER TO kivitendo;
3953
3954 --
3955 -- Name: project_participants; Type: TABLE; Schema: public; Owner: kivitendo
3956 --
3957
3958 CREATE TABLE public.project_participants (
3959     id integer NOT NULL,
3960     project_id integer NOT NULL,
3961     employee_id integer NOT NULL,
3962     project_role_id integer NOT NULL,
3963     minutes integer DEFAULT 0 NOT NULL,
3964     cost_per_hour numeric(15,5),
3965     itime timestamp without time zone DEFAULT now(),
3966     mtime timestamp without time zone
3967 );
3968
3969
3970 ALTER TABLE public.project_participants OWNER TO kivitendo;
3971
3972 --
3973 -- Name: project_participants_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3974 --
3975
3976 CREATE SEQUENCE public.project_participants_id_seq
3977     START WITH 1
3978     INCREMENT BY 1
3979     NO MINVALUE
3980     NO MAXVALUE
3981     CACHE 1;
3982
3983
3984 ALTER TABLE public.project_participants_id_seq OWNER TO kivitendo;
3985
3986 --
3987 -- Name: project_participants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3988 --
3989
3990 ALTER SEQUENCE public.project_participants_id_seq OWNED BY public.project_participants.id;
3991
3992
3993 --
3994 -- Name: project_phase_participants; Type: TABLE; Schema: public; Owner: kivitendo
3995 --
3996
3997 CREATE TABLE public.project_phase_participants (
3998     id integer NOT NULL,
3999     project_phase_id integer NOT NULL,
4000     employee_id integer NOT NULL,
4001     project_role_id integer NOT NULL,
4002     minutes integer DEFAULT 0 NOT NULL,
4003     cost_per_hour numeric(15,5),
4004     itime timestamp without time zone DEFAULT now(),
4005     mtime timestamp without time zone
4006 );
4007
4008
4009 ALTER TABLE public.project_phase_participants OWNER TO kivitendo;
4010
4011 --
4012 -- Name: project_phase_participants_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4013 --
4014
4015 CREATE SEQUENCE public.project_phase_participants_id_seq
4016     START WITH 1
4017     INCREMENT BY 1
4018     NO MINVALUE
4019     NO MAXVALUE
4020     CACHE 1;
4021
4022
4023 ALTER TABLE public.project_phase_participants_id_seq OWNER TO kivitendo;
4024
4025 --
4026 -- Name: project_phase_participants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4027 --
4028
4029 ALTER SEQUENCE public.project_phase_participants_id_seq OWNED BY public.project_phase_participants.id;
4030
4031
4032 --
4033 -- Name: project_phases; Type: TABLE; Schema: public; Owner: kivitendo
4034 --
4035
4036 CREATE TABLE public.project_phases (
4037     id integer NOT NULL,
4038     project_id integer,
4039     start_date date,
4040     end_date date,
4041     name text NOT NULL,
4042     description text NOT NULL,
4043     budget_minutes integer DEFAULT 0 NOT NULL,
4044     budget_cost numeric(15,5) DEFAULT 0 NOT NULL,
4045     general_minutes integer DEFAULT 0 NOT NULL,
4046     general_cost_per_hour numeric(15,5) DEFAULT 0 NOT NULL,
4047     itime timestamp without time zone DEFAULT now(),
4048     mtime timestamp without time zone
4049 );
4050
4051
4052 ALTER TABLE public.project_phases OWNER TO kivitendo;
4053
4054 --
4055 -- Name: project_phases_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4056 --
4057
4058 CREATE SEQUENCE public.project_phases_id_seq
4059     START WITH 1
4060     INCREMENT BY 1
4061     NO MINVALUE
4062     NO MAXVALUE
4063     CACHE 1;
4064
4065
4066 ALTER TABLE public.project_phases_id_seq OWNER TO kivitendo;
4067
4068 --
4069 -- Name: project_phases_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4070 --
4071
4072 ALTER SEQUENCE public.project_phases_id_seq OWNED BY public.project_phases.id;
4073
4074
4075 --
4076 -- Name: project_roles; Type: TABLE; Schema: public; Owner: kivitendo
4077 --
4078
4079 CREATE TABLE public.project_roles (
4080     id integer NOT NULL,
4081     name text NOT NULL,
4082     description text NOT NULL,
4083     "position" integer NOT NULL,
4084     itime timestamp without time zone DEFAULT now(),
4085     mtime timestamp without time zone
4086 );
4087
4088
4089 ALTER TABLE public.project_roles OWNER TO kivitendo;
4090
4091 --
4092 -- Name: project_roles_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4093 --
4094
4095 CREATE SEQUENCE public.project_roles_id_seq
4096     START WITH 1
4097     INCREMENT BY 1
4098     NO MINVALUE
4099     NO MAXVALUE
4100     CACHE 1;
4101
4102
4103 ALTER TABLE public.project_roles_id_seq OWNER TO kivitendo;
4104
4105 --
4106 -- Name: project_roles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4107 --
4108
4109 ALTER SEQUENCE public.project_roles_id_seq OWNED BY public.project_roles.id;
4110
4111
4112 --
4113 -- Name: project_statuses; Type: TABLE; Schema: public; Owner: kivitendo
4114 --
4115
4116 CREATE TABLE public.project_statuses (
4117     id integer NOT NULL,
4118     name text NOT NULL,
4119     description text NOT NULL,
4120     "position" integer NOT NULL,
4121     itime timestamp without time zone DEFAULT now(),
4122     mtime timestamp without time zone
4123 );
4124
4125
4126 ALTER TABLE public.project_statuses OWNER TO kivitendo;
4127
4128 --
4129 -- Name: project_status_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4130 --
4131
4132 CREATE SEQUENCE public.project_status_id_seq
4133     START WITH 1
4134     INCREMENT BY 1
4135     NO MINVALUE
4136     NO MAXVALUE
4137     CACHE 1;
4138
4139
4140 ALTER TABLE public.project_status_id_seq OWNER TO kivitendo;
4141
4142 --
4143 -- Name: project_status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4144 --
4145
4146 ALTER SEQUENCE public.project_status_id_seq OWNED BY public.project_statuses.id;
4147
4148
4149 --
4150 -- Name: project_types; Type: TABLE; Schema: public; Owner: kivitendo
4151 --
4152
4153 CREATE TABLE public.project_types (
4154     id integer NOT NULL,
4155     "position" integer NOT NULL,
4156     description text,
4157     internal boolean DEFAULT false NOT NULL
4158 );
4159
4160
4161 ALTER TABLE public.project_types OWNER TO kivitendo;
4162
4163 --
4164 -- Name: project_types_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4165 --
4166
4167 CREATE SEQUENCE public.project_types_id_seq
4168     START WITH 1
4169     INCREMENT BY 1
4170     NO MINVALUE
4171     NO MAXVALUE
4172     CACHE 1;
4173
4174
4175 ALTER TABLE public.project_types_id_seq OWNER TO kivitendo;
4176
4177 --
4178 -- Name: project_types_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4179 --
4180
4181 ALTER SEQUENCE public.project_types_id_seq OWNED BY public.project_types.id;
4182
4183
4184 --
4185 -- Name: reconciliation_links; Type: TABLE; Schema: public; Owner: kivitendo
4186 --
4187
4188 CREATE TABLE public.reconciliation_links (
4189     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
4190     bank_transaction_id integer NOT NULL,
4191     acc_trans_id bigint NOT NULL,
4192     rec_group integer NOT NULL
4193 );
4194
4195
4196 ALTER TABLE public.reconciliation_links OWNER TO kivitendo;
4197
4198 --
4199 -- Name: record_links; Type: TABLE; Schema: public; Owner: kivitendo
4200 --
4201
4202 CREATE TABLE public.record_links (
4203     from_table character varying(50) NOT NULL,
4204     from_id integer NOT NULL,
4205     to_table character varying(50) NOT NULL,
4206     to_id integer NOT NULL,
4207     itime timestamp without time zone DEFAULT now(),
4208     id integer NOT NULL
4209 );
4210
4211
4212 ALTER TABLE public.record_links OWNER TO kivitendo;
4213
4214 --
4215 -- Name: record_links_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4216 --
4217
4218 CREATE SEQUENCE public.record_links_id_seq
4219     START WITH 1
4220     INCREMENT BY 1
4221     NO MINVALUE
4222     NO MAXVALUE
4223     CACHE 1;
4224
4225
4226 ALTER TABLE public.record_links_id_seq OWNER TO kivitendo;
4227
4228 --
4229 -- Name: record_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4230 --
4231
4232 ALTER SEQUENCE public.record_links_id_seq OWNED BY public.record_links.id;
4233
4234
4235 --
4236 -- Name: record_template_items; Type: TABLE; Schema: public; Owner: kivitendo
4237 --
4238
4239 CREATE TABLE public.record_template_items (
4240     id integer NOT NULL,
4241     record_template_id integer NOT NULL,
4242     chart_id integer NOT NULL,
4243     tax_id integer NOT NULL,
4244     project_id integer,
4245     amount1 numeric(15,5) NOT NULL,
4246     amount2 numeric(15,5),
4247     source text,
4248     memo text
4249 );
4250
4251
4252 ALTER TABLE public.record_template_items OWNER TO kivitendo;
4253
4254 --
4255 -- Name: record_template_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4256 --
4257
4258 CREATE SEQUENCE public.record_template_items_id_seq
4259     START WITH 1
4260     INCREMENT BY 1
4261     NO MINVALUE
4262     NO MAXVALUE
4263     CACHE 1;
4264
4265
4266 ALTER TABLE public.record_template_items_id_seq OWNER TO kivitendo;
4267
4268 --
4269 -- Name: record_template_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4270 --
4271
4272 ALTER SEQUENCE public.record_template_items_id_seq OWNED BY public.record_template_items.id;
4273
4274
4275 --
4276 -- Name: record_templates; Type: TABLE; Schema: public; Owner: kivitendo
4277 --
4278
4279 CREATE TABLE public.record_templates (
4280     id integer NOT NULL,
4281     template_name text NOT NULL,
4282     template_type public.record_template_type NOT NULL,
4283     customer_id integer,
4284     vendor_id integer,
4285     currency_id integer NOT NULL,
4286     department_id integer,
4287     project_id integer,
4288     employee_id integer,
4289     taxincluded boolean DEFAULT false NOT NULL,
4290     direct_debit boolean DEFAULT false NOT NULL,
4291     ob_transaction boolean DEFAULT false NOT NULL,
4292     cb_transaction boolean DEFAULT false NOT NULL,
4293     reference text,
4294     description text,
4295     ordnumber text,
4296     notes text,
4297     ar_ap_chart_id integer,
4298     itime timestamp without time zone DEFAULT now() NOT NULL,
4299     mtime timestamp without time zone DEFAULT now() NOT NULL,
4300     show_details boolean DEFAULT false NOT NULL,
4301     payment_id integer,
4302     transaction_description text
4303 );
4304
4305
4306 ALTER TABLE public.record_templates OWNER TO kivitendo;
4307
4308 --
4309 -- Name: record_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4310 --
4311
4312 CREATE SEQUENCE public.record_templates_id_seq
4313     START WITH 1
4314     INCREMENT BY 1
4315     NO MINVALUE
4316     NO MAXVALUE
4317     CACHE 1;
4318
4319
4320 ALTER TABLE public.record_templates_id_seq OWNER TO kivitendo;
4321
4322 --
4323 -- Name: record_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4324 --
4325
4326 ALTER SEQUENCE public.record_templates_id_seq OWNED BY public.record_templates.id;
4327
4328
4329 --
4330 -- Name: requirement_spec_acceptance_statuses; Type: TABLE; Schema: public; Owner: kivitendo
4331 --
4332
4333 CREATE TABLE public.requirement_spec_acceptance_statuses (
4334     id integer NOT NULL,
4335     name text NOT NULL,
4336     description text,
4337     "position" integer NOT NULL,
4338     itime timestamp without time zone DEFAULT now(),
4339     mtime timestamp without time zone
4340 );
4341
4342
4343 ALTER TABLE public.requirement_spec_acceptance_statuses OWNER TO kivitendo;
4344
4345 --
4346 -- Name: requirement_spec_acceptance_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4347 --
4348
4349 CREATE SEQUENCE public.requirement_spec_acceptance_statuses_id_seq
4350     START WITH 1
4351     INCREMENT BY 1
4352     NO MINVALUE
4353     NO MAXVALUE
4354     CACHE 1;
4355
4356
4357 ALTER TABLE public.requirement_spec_acceptance_statuses_id_seq OWNER TO kivitendo;
4358
4359 --
4360 -- Name: requirement_spec_acceptance_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4361 --
4362
4363 ALTER SEQUENCE public.requirement_spec_acceptance_statuses_id_seq OWNED BY public.requirement_spec_acceptance_statuses.id;
4364
4365
4366 --
4367 -- Name: requirement_spec_complexities; Type: TABLE; Schema: public; Owner: kivitendo
4368 --
4369
4370 CREATE TABLE public.requirement_spec_complexities (
4371     id integer NOT NULL,
4372     description text NOT NULL,
4373     "position" integer NOT NULL,
4374     itime timestamp without time zone DEFAULT now(),
4375     mtime timestamp without time zone
4376 );
4377
4378
4379 ALTER TABLE public.requirement_spec_complexities OWNER TO kivitendo;
4380
4381 --
4382 -- Name: requirement_spec_complexities_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4383 --
4384
4385 CREATE SEQUENCE public.requirement_spec_complexities_id_seq
4386     START WITH 1
4387     INCREMENT BY 1
4388     NO MINVALUE
4389     NO MAXVALUE
4390     CACHE 1;
4391
4392
4393 ALTER TABLE public.requirement_spec_complexities_id_seq OWNER TO kivitendo;
4394
4395 --
4396 -- Name: requirement_spec_complexities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4397 --
4398
4399 ALTER SEQUENCE public.requirement_spec_complexities_id_seq OWNED BY public.requirement_spec_complexities.id;
4400
4401
4402 --
4403 -- Name: requirement_spec_item_dependencies; Type: TABLE; Schema: public; Owner: kivitendo
4404 --
4405
4406 CREATE TABLE public.requirement_spec_item_dependencies (
4407     depending_item_id integer NOT NULL,
4408     depended_item_id integer NOT NULL
4409 );
4410
4411
4412 ALTER TABLE public.requirement_spec_item_dependencies OWNER TO kivitendo;
4413
4414 --
4415 -- Name: requirement_spec_items; Type: TABLE; Schema: public; Owner: kivitendo
4416 --
4417
4418 CREATE TABLE public.requirement_spec_items (
4419     id integer NOT NULL,
4420     requirement_spec_id integer NOT NULL,
4421     item_type text NOT NULL,
4422     parent_id integer,
4423     "position" integer NOT NULL,
4424     fb_number text NOT NULL,
4425     title text,
4426     description text,
4427     complexity_id integer,
4428     risk_id integer,
4429     time_estimation numeric(12,2) DEFAULT 0 NOT NULL,
4430     is_flagged boolean DEFAULT false NOT NULL,
4431     acceptance_status_id integer,
4432     acceptance_text text,
4433     itime timestamp without time zone DEFAULT now() NOT NULL,
4434     mtime timestamp without time zone,
4435     order_part_id integer,
4436     sellprice_factor numeric(10,5) DEFAULT 1,
4437     CONSTRAINT valid_item_type CHECK (((item_type = 'section'::text) OR (item_type = 'function-block'::text) OR (item_type = 'sub-function-block'::text))),
4438     CONSTRAINT valid_parent_id_for_item_type CHECK (
4439 CASE
4440     WHEN (item_type = 'section'::text) THEN (parent_id IS NULL)
4441     ELSE (parent_id IS NOT NULL)
4442 END)
4443 );
4444
4445
4446 ALTER TABLE public.requirement_spec_items OWNER TO kivitendo;
4447
4448 --
4449 -- Name: requirement_spec_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4450 --
4451
4452 CREATE SEQUENCE public.requirement_spec_items_id_seq
4453     START WITH 1
4454     INCREMENT BY 1
4455     NO MINVALUE
4456     NO MAXVALUE
4457     CACHE 1;
4458
4459
4460 ALTER TABLE public.requirement_spec_items_id_seq OWNER TO kivitendo;
4461
4462 --
4463 -- Name: requirement_spec_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4464 --
4465
4466 ALTER SEQUENCE public.requirement_spec_items_id_seq OWNED BY public.requirement_spec_items.id;
4467
4468
4469 --
4470 -- Name: requirement_spec_orders; Type: TABLE; Schema: public; Owner: kivitendo
4471 --
4472
4473 CREATE TABLE public.requirement_spec_orders (
4474     id integer NOT NULL,
4475     requirement_spec_id integer NOT NULL,
4476     order_id integer NOT NULL,
4477     version_id integer,
4478     itime timestamp without time zone DEFAULT now() NOT NULL,
4479     mtime timestamp without time zone DEFAULT now() NOT NULL
4480 );
4481
4482
4483 ALTER TABLE public.requirement_spec_orders OWNER TO kivitendo;
4484
4485 --
4486 -- Name: requirement_spec_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4487 --
4488
4489 CREATE SEQUENCE public.requirement_spec_orders_id_seq
4490     START WITH 1
4491     INCREMENT BY 1
4492     NO MINVALUE
4493     NO MAXVALUE
4494     CACHE 1;
4495
4496
4497 ALTER TABLE public.requirement_spec_orders_id_seq OWNER TO kivitendo;
4498
4499 --
4500 -- Name: requirement_spec_orders_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4501 --
4502
4503 ALTER SEQUENCE public.requirement_spec_orders_id_seq OWNED BY public.requirement_spec_orders.id;
4504
4505
4506 --
4507 -- Name: requirement_spec_parts; Type: TABLE; Schema: public; Owner: kivitendo
4508 --
4509
4510 CREATE TABLE public.requirement_spec_parts (
4511     id integer NOT NULL,
4512     requirement_spec_id integer NOT NULL,
4513     part_id integer NOT NULL,
4514     unit_id integer NOT NULL,
4515     qty numeric(15,5) NOT NULL,
4516     description text NOT NULL,
4517     "position" integer NOT NULL
4518 );
4519
4520
4521 ALTER TABLE public.requirement_spec_parts OWNER TO kivitendo;
4522
4523 --
4524 -- Name: requirement_spec_parts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4525 --
4526
4527 CREATE SEQUENCE public.requirement_spec_parts_id_seq
4528     START WITH 1
4529     INCREMENT BY 1
4530     NO MINVALUE
4531     NO MAXVALUE
4532     CACHE 1;
4533
4534
4535 ALTER TABLE public.requirement_spec_parts_id_seq OWNER TO kivitendo;
4536
4537 --
4538 -- Name: requirement_spec_parts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4539 --
4540
4541 ALTER SEQUENCE public.requirement_spec_parts_id_seq OWNED BY public.requirement_spec_parts.id;
4542
4543
4544 --
4545 -- Name: requirement_spec_pictures; Type: TABLE; Schema: public; Owner: kivitendo
4546 --
4547
4548 CREATE TABLE public.requirement_spec_pictures (
4549     id integer NOT NULL,
4550     requirement_spec_id integer NOT NULL,
4551     text_block_id integer NOT NULL,
4552     "position" integer NOT NULL,
4553     number text NOT NULL,
4554     description text,
4555     picture_file_name text NOT NULL,
4556     picture_content_type text NOT NULL,
4557     picture_mtime timestamp without time zone DEFAULT now() NOT NULL,
4558     picture_content bytea NOT NULL,
4559     picture_width integer NOT NULL,
4560     picture_height integer NOT NULL,
4561     thumbnail_content_type text NOT NULL,
4562     thumbnail_content bytea NOT NULL,
4563     thumbnail_width integer NOT NULL,
4564     thumbnail_height integer NOT NULL,
4565     itime timestamp without time zone DEFAULT now() NOT NULL,
4566     mtime timestamp without time zone
4567 );
4568
4569
4570 ALTER TABLE public.requirement_spec_pictures OWNER TO kivitendo;
4571
4572 --
4573 -- Name: requirement_spec_pictures_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4574 --
4575
4576 CREATE SEQUENCE public.requirement_spec_pictures_id_seq
4577     START WITH 1
4578     INCREMENT BY 1
4579     NO MINVALUE
4580     NO MAXVALUE
4581     CACHE 1;
4582
4583
4584 ALTER TABLE public.requirement_spec_pictures_id_seq OWNER TO kivitendo;
4585
4586 --
4587 -- Name: requirement_spec_pictures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4588 --
4589
4590 ALTER SEQUENCE public.requirement_spec_pictures_id_seq OWNED BY public.requirement_spec_pictures.id;
4591
4592
4593 --
4594 -- Name: requirement_spec_predefined_texts; Type: TABLE; Schema: public; Owner: kivitendo
4595 --
4596
4597 CREATE TABLE public.requirement_spec_predefined_texts (
4598     id integer NOT NULL,
4599     description text NOT NULL,
4600     title text NOT NULL,
4601     text text NOT NULL,
4602     "position" integer NOT NULL,
4603     itime timestamp without time zone DEFAULT now(),
4604     mtime timestamp without time zone,
4605     useable_for_text_blocks boolean DEFAULT false NOT NULL,
4606     useable_for_sections boolean DEFAULT false NOT NULL
4607 );
4608
4609
4610 ALTER TABLE public.requirement_spec_predefined_texts OWNER TO kivitendo;
4611
4612 --
4613 -- Name: requirement_spec_predefined_texts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4614 --
4615
4616 CREATE SEQUENCE public.requirement_spec_predefined_texts_id_seq
4617     START WITH 1
4618     INCREMENT BY 1
4619     NO MINVALUE
4620     NO MAXVALUE
4621     CACHE 1;
4622
4623
4624 ALTER TABLE public.requirement_spec_predefined_texts_id_seq OWNER TO kivitendo;
4625
4626 --
4627 -- Name: requirement_spec_predefined_texts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4628 --
4629
4630 ALTER SEQUENCE public.requirement_spec_predefined_texts_id_seq OWNED BY public.requirement_spec_predefined_texts.id;
4631
4632
4633 --
4634 -- Name: requirement_spec_risks; Type: TABLE; Schema: public; Owner: kivitendo
4635 --
4636
4637 CREATE TABLE public.requirement_spec_risks (
4638     id integer NOT NULL,
4639     description text NOT NULL,
4640     "position" integer NOT NULL,
4641     itime timestamp without time zone DEFAULT now(),
4642     mtime timestamp without time zone
4643 );
4644
4645
4646 ALTER TABLE public.requirement_spec_risks OWNER TO kivitendo;
4647
4648 --
4649 -- Name: requirement_spec_risks_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4650 --
4651
4652 CREATE SEQUENCE public.requirement_spec_risks_id_seq
4653     START WITH 1
4654     INCREMENT BY 1
4655     NO MINVALUE
4656     NO MAXVALUE
4657     CACHE 1;
4658
4659
4660 ALTER TABLE public.requirement_spec_risks_id_seq OWNER TO kivitendo;
4661
4662 --
4663 -- Name: requirement_spec_risks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4664 --
4665
4666 ALTER SEQUENCE public.requirement_spec_risks_id_seq OWNED BY public.requirement_spec_risks.id;
4667
4668
4669 --
4670 -- Name: requirement_spec_statuses; Type: TABLE; Schema: public; Owner: kivitendo
4671 --
4672
4673 CREATE TABLE public.requirement_spec_statuses (
4674     id integer NOT NULL,
4675     name text NOT NULL,
4676     description text NOT NULL,
4677     "position" integer NOT NULL,
4678     itime timestamp without time zone DEFAULT now(),
4679     mtime timestamp without time zone
4680 );
4681
4682
4683 ALTER TABLE public.requirement_spec_statuses OWNER TO kivitendo;
4684
4685 --
4686 -- Name: requirement_spec_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4687 --
4688
4689 CREATE SEQUENCE public.requirement_spec_statuses_id_seq
4690     START WITH 1
4691     INCREMENT BY 1
4692     NO MINVALUE
4693     NO MAXVALUE
4694     CACHE 1;
4695
4696
4697 ALTER TABLE public.requirement_spec_statuses_id_seq OWNER TO kivitendo;
4698
4699 --
4700 -- Name: requirement_spec_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4701 --
4702
4703 ALTER SEQUENCE public.requirement_spec_statuses_id_seq OWNED BY public.requirement_spec_statuses.id;
4704
4705
4706 --
4707 -- Name: requirement_spec_text_blocks; Type: TABLE; Schema: public; Owner: kivitendo
4708 --
4709
4710 CREATE TABLE public.requirement_spec_text_blocks (
4711     id integer NOT NULL,
4712     requirement_spec_id integer NOT NULL,
4713     title text NOT NULL,
4714     text text,
4715     "position" integer NOT NULL,
4716     output_position integer DEFAULT 1 NOT NULL,
4717     is_flagged boolean DEFAULT false NOT NULL,
4718     itime timestamp without time zone DEFAULT now() NOT NULL,
4719     mtime timestamp without time zone
4720 );
4721
4722
4723 ALTER TABLE public.requirement_spec_text_blocks OWNER TO kivitendo;
4724
4725 --
4726 -- Name: requirement_spec_text_blocks_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4727 --
4728
4729 CREATE SEQUENCE public.requirement_spec_text_blocks_id_seq
4730     START WITH 1
4731     INCREMENT BY 1
4732     NO MINVALUE
4733     NO MAXVALUE
4734     CACHE 1;
4735
4736
4737 ALTER TABLE public.requirement_spec_text_blocks_id_seq OWNER TO kivitendo;
4738
4739 --
4740 -- Name: requirement_spec_text_blocks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4741 --
4742
4743 ALTER SEQUENCE public.requirement_spec_text_blocks_id_seq OWNED BY public.requirement_spec_text_blocks.id;
4744
4745
4746 --
4747 -- Name: requirement_spec_types; Type: TABLE; Schema: public; Owner: kivitendo
4748 --
4749
4750 CREATE TABLE public.requirement_spec_types (
4751     id integer NOT NULL,
4752     description text NOT NULL,
4753     "position" integer NOT NULL,
4754     itime timestamp without time zone DEFAULT now(),
4755     mtime timestamp without time zone,
4756     section_number_format text DEFAULT 'A00'::text NOT NULL,
4757     function_block_number_format text DEFAULT 'FB000'::text NOT NULL,
4758     template_file_name text
4759 );
4760
4761
4762 ALTER TABLE public.requirement_spec_types OWNER TO kivitendo;
4763
4764 --
4765 -- Name: requirement_spec_types_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4766 --
4767
4768 CREATE SEQUENCE public.requirement_spec_types_id_seq
4769     START WITH 1
4770     INCREMENT BY 1
4771     NO MINVALUE
4772     NO MAXVALUE
4773     CACHE 1;
4774
4775
4776 ALTER TABLE public.requirement_spec_types_id_seq OWNER TO kivitendo;
4777
4778 --
4779 -- Name: requirement_spec_types_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4780 --
4781
4782 ALTER SEQUENCE public.requirement_spec_types_id_seq OWNED BY public.requirement_spec_types.id;
4783
4784
4785 --
4786 -- Name: requirement_spec_versions; Type: TABLE; Schema: public; Owner: kivitendo
4787 --
4788
4789 CREATE TABLE public.requirement_spec_versions (
4790     id integer NOT NULL,
4791     version_number integer,
4792     description text NOT NULL,
4793     comment text,
4794     itime timestamp without time zone DEFAULT now(),
4795     mtime timestamp without time zone,
4796     requirement_spec_id integer NOT NULL,
4797     working_copy_id integer
4798 );
4799
4800
4801 ALTER TABLE public.requirement_spec_versions OWNER TO kivitendo;
4802
4803 --
4804 -- Name: requirement_spec_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4805 --
4806
4807 CREATE SEQUENCE public.requirement_spec_versions_id_seq
4808     START WITH 1
4809     INCREMENT BY 1
4810     NO MINVALUE
4811     NO MAXVALUE
4812     CACHE 1;
4813
4814
4815 ALTER TABLE public.requirement_spec_versions_id_seq OWNER TO kivitendo;
4816
4817 --
4818 -- Name: requirement_spec_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4819 --
4820
4821 ALTER SEQUENCE public.requirement_spec_versions_id_seq OWNED BY public.requirement_spec_versions.id;
4822
4823
4824 --
4825 -- Name: requirement_specs; Type: TABLE; Schema: public; Owner: kivitendo
4826 --
4827
4828 CREATE TABLE public.requirement_specs (
4829     id integer NOT NULL,
4830     type_id integer NOT NULL,
4831     status_id integer,
4832     customer_id integer,
4833     project_id integer,
4834     title text NOT NULL,
4835     hourly_rate numeric(8,2) DEFAULT 0 NOT NULL,
4836     working_copy_id integer,
4837     previous_section_number integer NOT NULL,
4838     previous_fb_number integer NOT NULL,
4839     is_template boolean DEFAULT false,
4840     itime timestamp without time zone DEFAULT now(),
4841     mtime timestamp without time zone,
4842     time_estimation numeric(12,2) DEFAULT 0 NOT NULL,
4843     previous_picture_number integer DEFAULT 0 NOT NULL,
4844     CONSTRAINT requirement_specs_is_template_or_has_customer_status_type CHECK ((is_template OR ((type_id IS NOT NULL) AND (status_id IS NOT NULL) AND (customer_id IS NOT NULL))))
4845 );
4846
4847
4848 ALTER TABLE public.requirement_specs OWNER TO kivitendo;
4849
4850 --
4851 -- Name: requirement_specs_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4852 --
4853
4854 CREATE SEQUENCE public.requirement_specs_id_seq
4855     START WITH 1
4856     INCREMENT BY 1
4857     NO MINVALUE
4858     NO MAXVALUE
4859     CACHE 1;
4860
4861
4862 ALTER TABLE public.requirement_specs_id_seq OWNER TO kivitendo;
4863
4864 --
4865 -- Name: requirement_specs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4866 --
4867
4868 ALTER SEQUENCE public.requirement_specs_id_seq OWNED BY public.requirement_specs.id;
4869
4870
4871 --
4872 -- Name: schema_info; Type: TABLE; Schema: public; Owner: kivitendo
4873 --
4874
4875 CREATE TABLE public.schema_info (
4876     tag text NOT NULL,
4877     login text,
4878     itime timestamp without time zone DEFAULT now()
4879 );
4880
4881
4882 ALTER TABLE public.schema_info OWNER TO kivitendo;
4883
4884 --
4885 -- Name: sepa_export_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4886 --
4887
4888 CREATE SEQUENCE public.sepa_export_id_seq
4889     START WITH 1
4890     INCREMENT BY 1
4891     NO MINVALUE
4892     NO MAXVALUE
4893     CACHE 1;
4894
4895
4896 ALTER TABLE public.sepa_export_id_seq OWNER TO kivitendo;
4897
4898 --
4899 -- Name: sepa_export; Type: TABLE; Schema: public; Owner: kivitendo
4900 --
4901
4902 CREATE TABLE public.sepa_export (
4903     id integer DEFAULT nextval('public.sepa_export_id_seq'::regclass) NOT NULL,
4904     employee_id integer NOT NULL,
4905     executed boolean DEFAULT false,
4906     closed boolean DEFAULT false,
4907     itime timestamp without time zone DEFAULT now(),
4908     vc character varying(10)
4909 );
4910
4911
4912 ALTER TABLE public.sepa_export OWNER TO kivitendo;
4913
4914 --
4915 -- Name: sepa_export_items; Type: TABLE; Schema: public; Owner: kivitendo
4916 --
4917
4918 CREATE TABLE public.sepa_export_items (
4919     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
4920     sepa_export_id integer NOT NULL,
4921     ap_id integer,
4922     chart_id integer NOT NULL,
4923     amount numeric(25,5),
4924     reference character varying(140),
4925     requested_execution_date date,
4926     executed boolean DEFAULT false,
4927     execution_date date,
4928     our_iban character varying(100),
4929     our_bic character varying(100),
4930     vc_iban character varying(100),
4931     vc_bic character varying(100),
4932     end_to_end_id character varying(35),
4933     our_depositor text,
4934     vc_depositor text,
4935     ar_id integer,
4936     vc_mandator_id text,
4937     vc_mandate_date_of_signature date,
4938     payment_type text DEFAULT 'without_skonto'::text,
4939     skonto_amount numeric(25,5)
4940 );
4941
4942
4943 ALTER TABLE public.sepa_export_items OWNER TO kivitendo;
4944
4945 --
4946 -- Name: sepa_export_message_ids; Type: TABLE; Schema: public; Owner: kivitendo
4947 --
4948
4949 CREATE TABLE public.sepa_export_message_ids (
4950     id integer NOT NULL,
4951     sepa_export_id integer NOT NULL,
4952     message_id text NOT NULL
4953 );
4954
4955
4956 ALTER TABLE public.sepa_export_message_ids OWNER TO kivitendo;
4957
4958 --
4959 -- Name: sepa_export_message_ids_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4960 --
4961
4962 CREATE SEQUENCE public.sepa_export_message_ids_id_seq
4963     START WITH 1
4964     INCREMENT BY 1
4965     NO MINVALUE
4966     NO MAXVALUE
4967     CACHE 1;
4968
4969
4970 ALTER TABLE public.sepa_export_message_ids_id_seq OWNER TO kivitendo;
4971
4972 --
4973 -- Name: sepa_export_message_ids_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4974 --
4975
4976 ALTER SEQUENCE public.sepa_export_message_ids_id_seq OWNED BY public.sepa_export_message_ids.id;
4977
4978
4979 --
4980 -- Name: shipto; Type: TABLE; Schema: public; Owner: kivitendo
4981 --
4982
4983 CREATE TABLE public.shipto (
4984     trans_id integer,
4985     shiptoname text,
4986     shiptodepartment_1 text,
4987     shiptodepartment_2 text,
4988     shiptostreet text,
4989     shiptozipcode text,
4990     shiptocity text,
4991     shiptocountry text,
4992     shiptocontact text,
4993     shiptophone text,
4994     shiptofax text,
4995     shiptoemail text,
4996     itime timestamp without time zone DEFAULT now(),
4997     mtime timestamp without time zone,
4998     module text,
4999     shipto_id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
5000     shiptocp_gender text,
5001     shiptogln text
5002 );
5003
5004
5005 ALTER TABLE public.shipto OWNER TO kivitendo;
5006
5007 --
5008 -- Name: shop_images; Type: TABLE; Schema: public; Owner: kivitendo
5009 --
5010
5011 CREATE TABLE public.shop_images (
5012     id integer NOT NULL,
5013     file_id integer,
5014     "position" integer,
5015     thumbnail_content bytea,
5016     org_file_width integer,
5017     org_file_height integer,
5018     thumbnail_content_type text,
5019     itime timestamp without time zone DEFAULT now(),
5020     mtime timestamp without time zone,
5021     object_id text NOT NULL
5022 );
5023
5024
5025 ALTER TABLE public.shop_images OWNER TO kivitendo;
5026
5027 --
5028 -- Name: shop_images_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5029 --
5030
5031 CREATE SEQUENCE public.shop_images_id_seq
5032     START WITH 1
5033     INCREMENT BY 1
5034     NO MINVALUE
5035     NO MAXVALUE
5036     CACHE 1;
5037
5038
5039 ALTER TABLE public.shop_images_id_seq OWNER TO kivitendo;
5040
5041 --
5042 -- Name: shop_images_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5043 --
5044
5045 ALTER SEQUENCE public.shop_images_id_seq OWNED BY public.shop_images.id;
5046
5047
5048 --
5049 -- Name: shop_order_items; Type: TABLE; Schema: public; Owner: kivitendo
5050 --
5051
5052 CREATE TABLE public.shop_order_items (
5053     id integer NOT NULL,
5054     shop_trans_id text NOT NULL,
5055     shop_order_id integer,
5056     description text,
5057     partnumber text,
5058     "position" integer,
5059     tax_rate numeric(15,2),
5060     quantity numeric(25,5),
5061     price numeric(15,5),
5062     active_price_source text
5063 );
5064
5065
5066 ALTER TABLE public.shop_order_items OWNER TO kivitendo;
5067
5068 --
5069 -- Name: shop_order_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5070 --
5071
5072 CREATE SEQUENCE public.shop_order_items_id_seq
5073     START WITH 1
5074     INCREMENT BY 1
5075     NO MINVALUE
5076     NO MAXVALUE
5077     CACHE 1;
5078
5079
5080 ALTER TABLE public.shop_order_items_id_seq OWNER TO kivitendo;
5081
5082 --
5083 -- Name: shop_order_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5084 --
5085
5086 ALTER SEQUENCE public.shop_order_items_id_seq OWNED BY public.shop_order_items.id;
5087
5088
5089 --
5090 -- Name: shop_orders; Type: TABLE; Schema: public; Owner: kivitendo
5091 --
5092
5093 CREATE TABLE public.shop_orders (
5094     id integer NOT NULL,
5095     shop_trans_id text NOT NULL,
5096     shop_ordernumber text,
5097     shop_customer_comment text,
5098     amount numeric(15,5),
5099     netamount numeric(15,5),
5100     order_date timestamp without time zone,
5101     shipping_costs numeric(15,5),
5102     shipping_costs_net numeric(15,5),
5103     shipping_costs_id integer,
5104     tax_included boolean,
5105     payment_id integer,
5106     payment_description text,
5107     shop_id integer,
5108     host text,
5109     remote_ip text,
5110     transferred boolean DEFAULT false,
5111     transfer_date date,
5112     kivi_customer_id integer,
5113     shop_customer_id integer,
5114     shop_customer_number text,
5115     customer_lastname text,
5116     customer_firstname text,
5117     customer_company text,
5118     customer_street text,
5119     customer_zipcode text,
5120     customer_city text,
5121     customer_country text,
5122     customer_greeting text,
5123     customer_department text,
5124     customer_vat text,
5125     customer_phone text,
5126     customer_fax text,
5127     customer_email text,
5128     customer_newsletter boolean,
5129     shop_c_billing_id integer,
5130     shop_c_billing_number text,
5131     billing_lastname text,
5132     billing_firstname text,
5133     billing_company text,
5134     billing_street text,
5135     billing_zipcode text,
5136     billing_city text,
5137     billing_country text,
5138     billing_greeting text,
5139     billing_department text,
5140     billing_vat text,
5141     billing_phone text,
5142     billing_fax text,
5143     billing_email text,
5144     sepa_account_holder text,
5145     sepa_iban text,
5146     sepa_bic text,
5147     shop_c_delivery_id integer,
5148     shop_c_delivery_number text,
5149     delivery_lastname text,
5150     delivery_firstname text,
5151     delivery_company text,
5152     delivery_street text,
5153     delivery_zipcode text,
5154     delivery_city text,
5155     delivery_country text,
5156     delivery_greeting text,
5157     delivery_department text,
5158     delivery_vat text,
5159     delivery_phone text,
5160     delivery_fax text,
5161     delivery_email text,
5162     obsolete boolean DEFAULT false NOT NULL,
5163     positions integer,
5164     itime timestamp without time zone DEFAULT now(),
5165     mtime timestamp without time zone
5166 );
5167
5168
5169 ALTER TABLE public.shop_orders OWNER TO kivitendo;
5170
5171 --
5172 -- Name: shop_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5173 --
5174
5175 CREATE SEQUENCE public.shop_orders_id_seq
5176     START WITH 1
5177     INCREMENT BY 1
5178     NO MINVALUE
5179     NO MAXVALUE
5180     CACHE 1;
5181
5182
5183 ALTER TABLE public.shop_orders_id_seq OWNER TO kivitendo;
5184
5185 --
5186 -- Name: shop_orders_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5187 --
5188
5189 ALTER SEQUENCE public.shop_orders_id_seq OWNED BY public.shop_orders.id;
5190
5191
5192 --
5193 -- Name: shop_parts; Type: TABLE; Schema: public; Owner: kivitendo
5194 --
5195
5196 CREATE TABLE public.shop_parts (
5197     id integer NOT NULL,
5198     shop_id integer NOT NULL,
5199     part_id integer NOT NULL,
5200     shop_description text,
5201     itime timestamp without time zone DEFAULT now(),
5202     mtime timestamp without time zone,
5203     last_update timestamp without time zone,
5204     show_date date,
5205     sortorder integer,
5206     front_page boolean DEFAULT false NOT NULL,
5207     active boolean DEFAULT false NOT NULL,
5208     shop_category text[],
5209     active_price_source text,
5210     metatag_keywords text,
5211     metatag_description text,
5212     metatag_title text
5213 );
5214
5215
5216 ALTER TABLE public.shop_parts OWNER TO kivitendo;
5217
5218 --
5219 -- Name: shop_parts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5220 --
5221
5222 CREATE SEQUENCE public.shop_parts_id_seq
5223     START WITH 1
5224     INCREMENT BY 1
5225     NO MINVALUE
5226     NO MAXVALUE
5227     CACHE 1;
5228
5229
5230 ALTER TABLE public.shop_parts_id_seq OWNER TO kivitendo;
5231
5232 --
5233 -- Name: shop_parts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5234 --
5235
5236 ALTER SEQUENCE public.shop_parts_id_seq OWNED BY public.shop_parts.id;
5237
5238
5239 --
5240 -- Name: shops; Type: TABLE; Schema: public; Owner: kivitendo
5241 --
5242
5243 CREATE TABLE public.shops (
5244     id integer NOT NULL,
5245     description text,
5246     obsolete boolean DEFAULT false NOT NULL,
5247     sortkey integer,
5248     connector text,
5249     pricetype text,
5250     price_source text,
5251     taxzone_id integer,
5252     last_order_number integer,
5253     orders_to_fetch integer,
5254     server text,
5255     port integer,
5256     login text,
5257     password text,
5258     protocol text DEFAULT 'http'::text NOT NULL,
5259     path text DEFAULT '/'::text NOT NULL,
5260     realm text,
5261     transaction_description text,
5262     itime timestamp without time zone DEFAULT now(),
5263     mtime timestamp without time zone DEFAULT now(),
5264     shipping_costs_parts_id integer,
5265     use_part_longdescription boolean DEFAULT false,
5266     proxy text DEFAULT ''::text
5267 );
5268
5269
5270 ALTER TABLE public.shops OWNER TO kivitendo;
5271
5272 --
5273 -- Name: shops_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5274 --
5275
5276 CREATE SEQUENCE public.shops_id_seq
5277     START WITH 1
5278     INCREMENT BY 1
5279     NO MINVALUE
5280     NO MAXVALUE
5281     CACHE 1;
5282
5283
5284 ALTER TABLE public.shops_id_seq OWNER TO kivitendo;
5285
5286 --
5287 -- Name: shops_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5288 --
5289
5290 ALTER SEQUENCE public.shops_id_seq OWNED BY public.shops.id;
5291
5292
5293 --
5294 -- Name: status; Type: TABLE; Schema: public; Owner: kivitendo
5295 --
5296
5297 CREATE TABLE public.status (
5298     trans_id integer,
5299     formname text,
5300     printed boolean DEFAULT false,
5301     emailed boolean DEFAULT false,
5302     spoolfile text,
5303     chart_id integer,
5304     itime timestamp without time zone DEFAULT now(),
5305     mtime timestamp without time zone,
5306     id integer NOT NULL
5307 );
5308
5309
5310 ALTER TABLE public.status OWNER TO kivitendo;
5311
5312 --
5313 -- Name: status_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5314 --
5315
5316 CREATE SEQUENCE public.status_id_seq
5317     START WITH 1
5318     INCREMENT BY 1
5319     NO MINVALUE
5320     NO MAXVALUE
5321     CACHE 1;
5322
5323
5324 ALTER TABLE public.status_id_seq OWNER TO kivitendo;
5325
5326 --
5327 -- Name: status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5328 --
5329
5330 ALTER SEQUENCE public.status_id_seq OWNED BY public.status.id;
5331
5332
5333 --
5334 -- Name: stocktakings; Type: TABLE; Schema: public; Owner: kivitendo
5335 --
5336
5337 CREATE TABLE public.stocktakings (
5338     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
5339     inventory_id integer,
5340     warehouse_id integer NOT NULL,
5341     bin_id integer NOT NULL,
5342     parts_id integer NOT NULL,
5343     employee_id integer NOT NULL,
5344     qty numeric(25,5) NOT NULL,
5345     comment text,
5346     chargenumber text DEFAULT ''::text NOT NULL,
5347     bestbefore date,
5348     cutoff_date date NOT NULL,
5349     itime timestamp without time zone DEFAULT now(),
5350     mtime timestamp without time zone
5351 );
5352
5353
5354 ALTER TABLE public.stocktakings OWNER TO kivitendo;
5355
5356 --
5357 -- Name: tax; Type: TABLE; Schema: public; Owner: kivitendo
5358 --
5359
5360 CREATE TABLE public.tax (
5361     chart_id integer,
5362     rate numeric(15,5) DEFAULT 0 NOT NULL,
5363     taxkey integer NOT NULL,
5364     taxdescription text NOT NULL,
5365     itime timestamp without time zone DEFAULT now(),
5366     mtime timestamp without time zone,
5367     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
5368     chart_categories text NOT NULL,
5369     skonto_sales_chart_id integer,
5370     skonto_purchase_chart_id integer,
5371     reverse_charge_chart_id integer
5372 );
5373
5374
5375 ALTER TABLE public.tax OWNER TO kivitendo;
5376
5377 --
5378 -- Name: tax_zones; Type: TABLE; Schema: public; Owner: kivitendo
5379 --
5380
5381 CREATE TABLE public.tax_zones (
5382     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
5383     description text,
5384     sortkey integer NOT NULL,
5385     obsolete boolean DEFAULT false
5386 );
5387
5388
5389 ALTER TABLE public.tax_zones OWNER TO kivitendo;
5390
5391 --
5392 -- Name: taxkeys; Type: TABLE; Schema: public; Owner: kivitendo
5393 --
5394
5395 CREATE TABLE public.taxkeys (
5396     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
5397     chart_id integer NOT NULL,
5398     tax_id integer NOT NULL,
5399     taxkey_id integer NOT NULL,
5400     pos_ustva integer,
5401     startdate date NOT NULL
5402 );
5403
5404
5405 ALTER TABLE public.taxkeys OWNER TO kivitendo;
5406
5407 --
5408 -- Name: taxzone_charts; Type: TABLE; Schema: public; Owner: kivitendo
5409 --
5410
5411 CREATE TABLE public.taxzone_charts (
5412     id integer NOT NULL,
5413     taxzone_id integer NOT NULL,
5414     buchungsgruppen_id integer NOT NULL,
5415     income_accno_id integer NOT NULL,
5416     expense_accno_id integer NOT NULL,
5417     itime timestamp without time zone DEFAULT now()
5418 );
5419
5420
5421 ALTER TABLE public.taxzone_charts OWNER TO kivitendo;
5422
5423 --
5424 -- Name: taxzone_charts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5425 --
5426
5427 CREATE SEQUENCE public.taxzone_charts_id_seq
5428     START WITH 1
5429     INCREMENT BY 1
5430     NO MINVALUE
5431     NO MAXVALUE
5432     CACHE 1;
5433
5434
5435 ALTER TABLE public.taxzone_charts_id_seq OWNER TO kivitendo;
5436
5437 --
5438 -- Name: taxzone_charts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5439 --
5440
5441 ALTER SEQUENCE public.taxzone_charts_id_seq OWNED BY public.taxzone_charts.id;
5442
5443
5444 --
5445 -- Name: time_recording_articles; Type: TABLE; Schema: public; Owner: kivitendo
5446 --
5447
5448 CREATE TABLE public.time_recording_articles (
5449     id integer NOT NULL,
5450     part_id integer NOT NULL,
5451     "position" integer NOT NULL
5452 );
5453
5454
5455 ALTER TABLE public.time_recording_articles OWNER TO kivitendo;
5456
5457 --
5458 -- Name: time_recording_articles_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5459 --
5460
5461 CREATE SEQUENCE public.time_recording_articles_id_seq
5462     AS integer
5463     START WITH 1
5464     INCREMENT BY 1
5465     NO MINVALUE
5466     NO MAXVALUE
5467     CACHE 1;
5468
5469
5470 ALTER TABLE public.time_recording_articles_id_seq OWNER TO kivitendo;
5471
5472 --
5473 -- Name: time_recording_articles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5474 --
5475
5476 ALTER SEQUENCE public.time_recording_articles_id_seq OWNED BY public.time_recording_articles.id;
5477
5478
5479 --
5480 -- Name: time_recordings; Type: TABLE; Schema: public; Owner: kivitendo
5481 --
5482
5483 CREATE TABLE public.time_recordings (
5484     id integer NOT NULL,
5485     customer_id integer NOT NULL,
5486     project_id integer,
5487     start_time timestamp without time zone,
5488     end_time timestamp without time zone,
5489     description text NOT NULL,
5490     staff_member_id integer NOT NULL,
5491     employee_id integer NOT NULL,
5492     itime timestamp without time zone DEFAULT now() NOT NULL,
5493     mtime timestamp without time zone DEFAULT now() NOT NULL,
5494     booked boolean DEFAULT false,
5495     payroll boolean DEFAULT false,
5496     part_id integer,
5497     date date NOT NULL,
5498     duration integer,
5499     order_id integer
5500 );
5501
5502
5503 ALTER TABLE public.time_recordings OWNER TO kivitendo;
5504
5505 --
5506 -- Name: time_recordings_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5507 --
5508
5509 CREATE SEQUENCE public.time_recordings_id_seq
5510     AS integer
5511     START WITH 1
5512     INCREMENT BY 1
5513     NO MINVALUE
5514     NO MAXVALUE
5515     CACHE 1;
5516
5517
5518 ALTER TABLE public.time_recordings_id_seq OWNER TO kivitendo;
5519
5520 --
5521 -- Name: time_recordings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5522 --
5523
5524 ALTER SEQUENCE public.time_recordings_id_seq OWNED BY public.time_recordings.id;
5525
5526
5527 --
5528 -- Name: todo_user_config; Type: TABLE; Schema: public; Owner: kivitendo
5529 --
5530
5531 CREATE TABLE public.todo_user_config (
5532     employee_id integer NOT NULL,
5533     show_after_login boolean DEFAULT true,
5534     show_follow_ups boolean DEFAULT true,
5535     show_follow_ups_login boolean DEFAULT true,
5536     show_overdue_sales_quotations boolean DEFAULT true,
5537     show_overdue_sales_quotations_login boolean DEFAULT true,
5538     id integer NOT NULL
5539 );
5540
5541
5542 ALTER TABLE public.todo_user_config OWNER TO kivitendo;
5543
5544 --
5545 -- Name: todo_user_config_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5546 --
5547
5548 CREATE SEQUENCE public.todo_user_config_id_seq
5549     START WITH 1
5550     INCREMENT BY 1
5551     NO MINVALUE
5552     NO MAXVALUE
5553     CACHE 1;
5554
5555
5556 ALTER TABLE public.todo_user_config_id_seq OWNER TO kivitendo;
5557
5558 --
5559 -- Name: todo_user_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5560 --
5561
5562 ALTER SEQUENCE public.todo_user_config_id_seq OWNED BY public.todo_user_config.id;
5563
5564
5565 --
5566 -- Name: transfer_type; Type: TABLE; Schema: public; Owner: kivitendo
5567 --
5568
5569 CREATE TABLE public.transfer_type (
5570     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
5571     direction character varying(10) NOT NULL,
5572     description text,
5573     sortkey integer,
5574     itime timestamp without time zone DEFAULT now(),
5575     mtime timestamp without time zone
5576 );
5577
5578
5579 ALTER TABLE public.transfer_type OWNER TO kivitendo;
5580
5581 --
5582 -- Name: translation; Type: TABLE; Schema: public; Owner: kivitendo
5583 --
5584
5585 CREATE TABLE public.translation (
5586     parts_id integer,
5587     language_id integer,
5588     translation text,
5589     itime timestamp without time zone DEFAULT now(),
5590     mtime timestamp without time zone,
5591     longdescription text,
5592     id integer NOT NULL
5593 );
5594
5595
5596 ALTER TABLE public.translation OWNER TO kivitendo;
5597
5598 --
5599 -- Name: translation_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5600 --
5601
5602 CREATE SEQUENCE public.translation_id_seq
5603     START WITH 1
5604     INCREMENT BY 1
5605     NO MINVALUE
5606     NO MAXVALUE
5607     CACHE 1;
5608
5609
5610 ALTER TABLE public.translation_id_seq OWNER TO kivitendo;
5611
5612 --
5613 -- Name: translation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5614 --
5615
5616 ALTER SEQUENCE public.translation_id_seq OWNED BY public.translation.id;
5617
5618
5619 --
5620 -- Name: trigger_information; Type: TABLE; Schema: public; Owner: kivitendo
5621 --
5622
5623 CREATE TABLE public.trigger_information (
5624     id integer NOT NULL,
5625     key text NOT NULL,
5626     value text
5627 );
5628
5629
5630 ALTER TABLE public.trigger_information OWNER TO kivitendo;
5631
5632 --
5633 -- Name: trigger_information_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5634 --
5635
5636 CREATE SEQUENCE public.trigger_information_id_seq
5637     START WITH 1
5638     INCREMENT BY 1
5639     NO MINVALUE
5640     NO MAXVALUE
5641     CACHE 1;
5642
5643
5644 ALTER TABLE public.trigger_information_id_seq OWNER TO kivitendo;
5645
5646 --
5647 -- Name: trigger_information_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5648 --
5649
5650 ALTER SEQUENCE public.trigger_information_id_seq OWNED BY public.trigger_information.id;
5651
5652
5653 --
5654 -- Name: units; Type: TABLE; Schema: public; Owner: kivitendo
5655 --
5656
5657 CREATE TABLE public.units (
5658     name character varying(20) NOT NULL,
5659     base_unit character varying(20),
5660     factor numeric(20,5),
5661     type character varying(20),
5662     sortkey integer NOT NULL,
5663     id integer NOT NULL
5664 );
5665
5666
5667 ALTER TABLE public.units OWNER TO kivitendo;
5668
5669 --
5670 -- Name: units_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5671 --
5672
5673 CREATE SEQUENCE public.units_id_seq
5674     START WITH 1
5675     INCREMENT BY 1
5676     NO MINVALUE
5677     NO MAXVALUE
5678     CACHE 1;
5679
5680
5681 ALTER TABLE public.units_id_seq OWNER TO kivitendo;
5682
5683 --
5684 -- Name: units_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5685 --
5686
5687 ALTER SEQUENCE public.units_id_seq OWNED BY public.units.id;
5688
5689
5690 --
5691 -- Name: units_language; Type: TABLE; Schema: public; Owner: kivitendo
5692 --
5693
5694 CREATE TABLE public.units_language (
5695     unit character varying(20) NOT NULL,
5696     language_id integer NOT NULL,
5697     localized character varying(20),
5698     localized_plural character varying(20),
5699     id integer NOT NULL
5700 );
5701
5702
5703 ALTER TABLE public.units_language OWNER TO kivitendo;
5704
5705 --
5706 -- Name: units_language_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5707 --
5708
5709 CREATE SEQUENCE public.units_language_id_seq
5710     START WITH 1
5711     INCREMENT BY 1
5712     NO MINVALUE
5713     NO MAXVALUE
5714     CACHE 1;
5715
5716
5717 ALTER TABLE public.units_language_id_seq OWNER TO kivitendo;
5718
5719 --
5720 -- Name: units_language_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5721 --
5722
5723 ALTER SEQUENCE public.units_language_id_seq OWNED BY public.units_language.id;
5724
5725
5726 --
5727 -- Name: user_preferences; Type: TABLE; Schema: public; Owner: kivitendo
5728 --
5729
5730 CREATE TABLE public.user_preferences (
5731     id integer NOT NULL,
5732     login text NOT NULL,
5733     namespace text NOT NULL,
5734     version numeric(15,5),
5735     key text NOT NULL,
5736     value text
5737 );
5738
5739
5740 ALTER TABLE public.user_preferences OWNER TO kivitendo;
5741
5742 --
5743 -- Name: user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5744 --
5745
5746 CREATE SEQUENCE public.user_preferences_id_seq
5747     START WITH 1
5748     INCREMENT BY 1
5749     NO MINVALUE
5750     NO MAXVALUE
5751     CACHE 1;
5752
5753
5754 ALTER TABLE public.user_preferences_id_seq OWNER TO kivitendo;
5755
5756 --
5757 -- Name: user_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5758 --
5759
5760 ALTER SEQUENCE public.user_preferences_id_seq OWNED BY public.user_preferences.id;
5761
5762
5763 --
5764 -- Name: vendor; Type: TABLE; Schema: public; Owner: kivitendo
5765 --
5766
5767 CREATE TABLE public.vendor (
5768     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
5769     name text NOT NULL,
5770     department_1 text,
5771     department_2 text,
5772     street text,
5773     zipcode text,
5774     city text,
5775     country text,
5776     contact text,
5777     phone text,
5778     fax text,
5779     homepage text,
5780     email text,
5781     notes text,
5782     taxincluded boolean,
5783     vendornumber text,
5784     cc text,
5785     bcc text,
5786     business_id integer,
5787     taxnumber text,
5788     discount real,
5789     creditlimit numeric(15,5),
5790     account_number text,
5791     bank_code text,
5792     bank text,
5793     language text,
5794     itime timestamp without time zone DEFAULT now(),
5795     mtime timestamp without time zone,
5796     obsolete boolean DEFAULT false,
5797     username text,
5798     user_password text,
5799     salesman_id integer,
5800     v_customer_id text,
5801     language_id integer,
5802     payment_id integer,
5803     taxzone_id integer NOT NULL,
5804     greeting text,
5805     ustid text,
5806     iban text,
5807     bic text,
5808     direct_debit boolean DEFAULT false,
5809     depositor text,
5810     delivery_term_id integer,
5811     currency_id integer NOT NULL,
5812     gln text,
5813     natural_person boolean DEFAULT false
5814 );
5815
5816
5817 ALTER TABLE public.vendor OWNER TO kivitendo;
5818
5819 --
5820 -- Name: warehouse; Type: TABLE; Schema: public; Owner: kivitendo
5821 --
5822
5823 CREATE TABLE public.warehouse (
5824     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
5825     description text,
5826     itime timestamp without time zone DEFAULT now(),
5827     mtime timestamp without time zone,
5828     sortkey integer,
5829     invalid boolean
5830 );
5831
5832
5833 ALTER TABLE public.warehouse OWNER TO kivitendo;
5834
5835 --
5836 -- Name: report_categories; Type: TABLE; Schema: tax; Owner: kivitendo
5837 --
5838
5839 CREATE TABLE tax.report_categories (
5840     id integer NOT NULL,
5841     description text,
5842     subdescription text
5843 );
5844
5845
5846 ALTER TABLE tax.report_categories OWNER TO kivitendo;
5847
5848 --
5849 -- Name: report_headings; Type: TABLE; Schema: tax; Owner: kivitendo
5850 --
5851
5852 CREATE TABLE tax.report_headings (
5853     id integer NOT NULL,
5854     category_id integer NOT NULL,
5855     type text,
5856     description text,
5857     subdescription text
5858 );
5859
5860
5861 ALTER TABLE tax.report_headings OWNER TO kivitendo;
5862
5863 --
5864 -- Name: report_variables; Type: TABLE; Schema: tax; Owner: kivitendo
5865 --
5866
5867 CREATE TABLE tax.report_variables (
5868     id integer NOT NULL,
5869     "position" text NOT NULL,
5870     heading_id integer,
5871     description text,
5872     taxbase text,
5873     dec_places text,
5874     valid_from date
5875 );
5876
5877
5878 ALTER TABLE tax.report_variables OWNER TO kivitendo;
5879
5880 --
5881 -- Name: additional_billing_addresses id; Type: DEFAULT; Schema: public; Owner: kivitendo
5882 --
5883
5884 ALTER TABLE ONLY public.additional_billing_addresses ALTER COLUMN id SET DEFAULT nextval('public.additional_billing_addresses_id_seq'::regclass);
5885
5886
5887 --
5888 -- Name: background_job_histories id; Type: DEFAULT; Schema: public; Owner: kivitendo
5889 --
5890
5891 ALTER TABLE ONLY public.background_job_histories ALTER COLUMN id SET DEFAULT nextval('public.background_job_histories_id_seq'::regclass);
5892
5893
5894 --
5895 -- Name: background_jobs id; Type: DEFAULT; Schema: public; Owner: kivitendo
5896 --
5897
5898 ALTER TABLE ONLY public.background_jobs ALTER COLUMN id SET DEFAULT nextval('public.background_jobs_id_seq'::regclass);
5899
5900
5901 --
5902 -- Name: bank_transactions id; Type: DEFAULT; Schema: public; Owner: kivitendo
5903 --
5904
5905 ALTER TABLE ONLY public.bank_transactions ALTER COLUMN id SET DEFAULT nextval('public.bank_transactions_id_seq'::regclass);
5906
5907
5908 --
5909 -- Name: contact_departments id; Type: DEFAULT; Schema: public; Owner: kivitendo
5910 --
5911
5912 ALTER TABLE ONLY public.contact_departments ALTER COLUMN id SET DEFAULT nextval('public.contact_departments_id_seq'::regclass);
5913
5914
5915 --
5916 -- Name: contact_titles id; Type: DEFAULT; Schema: public; Owner: kivitendo
5917 --
5918
5919 ALTER TABLE ONLY public.contact_titles ALTER COLUMN id SET DEFAULT nextval('public.contact_titles_id_seq'::regclass);
5920
5921
5922 --
5923 -- Name: csv_import_profile_settings id; Type: DEFAULT; Schema: public; Owner: kivitendo
5924 --
5925
5926 ALTER TABLE ONLY public.csv_import_profile_settings ALTER COLUMN id SET DEFAULT nextval('public.csv_import_profile_settings_id_seq'::regclass);
5927
5928
5929 --
5930 -- Name: csv_import_profiles id; Type: DEFAULT; Schema: public; Owner: kivitendo
5931 --
5932
5933 ALTER TABLE ONLY public.csv_import_profiles ALTER COLUMN id SET DEFAULT nextval('public.csv_import_profiles_id_seq'::regclass);
5934
5935
5936 --
5937 -- Name: csv_import_report_rows id; Type: DEFAULT; Schema: public; Owner: kivitendo
5938 --
5939
5940 ALTER TABLE ONLY public.csv_import_report_rows ALTER COLUMN id SET DEFAULT nextval('public.csv_import_report_rows_id_seq'::regclass);
5941
5942
5943 --
5944 -- Name: csv_import_report_status id; Type: DEFAULT; Schema: public; Owner: kivitendo
5945 --
5946
5947 ALTER TABLE ONLY public.csv_import_report_status ALTER COLUMN id SET DEFAULT nextval('public.csv_import_report_status_id_seq'::regclass);
5948
5949
5950 --
5951 -- Name: csv_import_reports id; Type: DEFAULT; Schema: public; Owner: kivitendo
5952 --
5953
5954 ALTER TABLE ONLY public.csv_import_reports ALTER COLUMN id SET DEFAULT nextval('public.csv_import_reports_id_seq'::regclass);
5955
5956
5957 --
5958 -- Name: currencies id; Type: DEFAULT; Schema: public; Owner: kivitendo
5959 --
5960
5961 ALTER TABLE ONLY public.currencies ALTER COLUMN id SET DEFAULT nextval('public.currencies_id_seq'::regclass);
5962
5963
5964 --
5965 -- Name: custom_data_export_queries id; Type: DEFAULT; Schema: public; Owner: kivitendo
5966 --
5967
5968 ALTER TABLE ONLY public.custom_data_export_queries ALTER COLUMN id SET DEFAULT nextval('public.custom_data_export_queries_id_seq'::regclass);
5969
5970
5971 --
5972 -- Name: custom_data_export_query_parameters id; Type: DEFAULT; Schema: public; Owner: kivitendo
5973 --
5974
5975 ALTER TABLE ONLY public.custom_data_export_query_parameters ALTER COLUMN id SET DEFAULT nextval('public.custom_data_export_query_parameters_id_seq'::regclass);
5976
5977
5978 --
5979 -- Name: datev id; Type: DEFAULT; Schema: public; Owner: kivitendo
5980 --
5981
5982 ALTER TABLE ONLY public.datev ALTER COLUMN id SET DEFAULT nextval('public.datev_id_seq'::regclass);
5983
5984
5985 --
5986 -- Name: defaults id; Type: DEFAULT; Schema: public; Owner: kivitendo
5987 --
5988
5989 ALTER TABLE ONLY public.defaults ALTER COLUMN id SET DEFAULT nextval('public.defaults_id_seq'::regclass);
5990
5991
5992 --
5993 -- Name: email_journal id; Type: DEFAULT; Schema: public; Owner: kivitendo
5994 --
5995
5996 ALTER TABLE ONLY public.email_journal ALTER COLUMN id SET DEFAULT nextval('public.email_journal_id_seq'::regclass);
5997
5998
5999 --
6000 -- Name: email_journal_attachments id; Type: DEFAULT; Schema: public; Owner: kivitendo
6001 --
6002
6003 ALTER TABLE ONLY public.email_journal_attachments ALTER COLUMN id SET DEFAULT nextval('public.email_journal_attachments_id_seq'::regclass);
6004
6005
6006 --
6007 -- Name: exchangerate id; Type: DEFAULT; Schema: public; Owner: kivitendo
6008 --
6009
6010 ALTER TABLE ONLY public.exchangerate ALTER COLUMN id SET DEFAULT nextval('public.exchangerate_id_seq'::regclass);
6011
6012
6013 --
6014 -- Name: file_full_texts id; Type: DEFAULT; Schema: public; Owner: kivitendo
6015 --
6016
6017 ALTER TABLE ONLY public.file_full_texts ALTER COLUMN id SET DEFAULT nextval('public.file_full_texts_id_seq'::regclass);
6018
6019
6020 --
6021 -- Name: files id; Type: DEFAULT; Schema: public; Owner: kivitendo
6022 --
6023
6024 ALTER TABLE ONLY public.files ALTER COLUMN id SET DEFAULT nextval('public.files_id_seq'::regclass);
6025
6026
6027 --
6028 -- Name: finanzamt id; Type: DEFAULT; Schema: public; Owner: kivitendo
6029 --
6030
6031 ALTER TABLE ONLY public.finanzamt ALTER COLUMN id SET DEFAULT nextval('public.finanzamt_id_seq'::regclass);
6032
6033
6034 --
6035 -- Name: follow_up_access id; Type: DEFAULT; Schema: public; Owner: kivitendo
6036 --
6037
6038 ALTER TABLE ONLY public.follow_up_access ALTER COLUMN id SET DEFAULT nextval('public.follow_up_access_id_seq'::regclass);
6039
6040
6041 --
6042 -- Name: generic_translations id; Type: DEFAULT; Schema: public; Owner: kivitendo
6043 --
6044
6045 ALTER TABLE ONLY public.generic_translations ALTER COLUMN id SET DEFAULT nextval('public.generic_translations_id_seq'::regclass);
6046
6047
6048 --
6049 -- Name: greetings id; Type: DEFAULT; Schema: public; Owner: kivitendo
6050 --
6051
6052 ALTER TABLE ONLY public.greetings ALTER COLUMN id SET DEFAULT nextval('public.greetings_id_seq'::regclass);
6053
6054
6055 --
6056 -- Name: inventory id; Type: DEFAULT; Schema: public; Owner: kivitendo
6057 --
6058
6059 ALTER TABLE ONLY public.inventory ALTER COLUMN id SET DEFAULT nextval('public.inventory_id_seq'::regclass);
6060
6061
6062 --
6063 -- Name: part_classifications id; Type: DEFAULT; Schema: public; Owner: kivitendo
6064 --
6065
6066 ALTER TABLE ONLY public.part_classifications ALTER COLUMN id SET DEFAULT nextval('public.part_classifications_id_seq'::regclass);
6067
6068
6069 --
6070 -- Name: part_customer_prices id; Type: DEFAULT; Schema: public; Owner: kivitendo
6071 --
6072
6073 ALTER TABLE ONLY public.part_customer_prices ALTER COLUMN id SET DEFAULT nextval('public.part_customer_prices_id_seq'::regclass);
6074
6075
6076 --
6077 -- Name: parts_price_history id; Type: DEFAULT; Schema: public; Owner: kivitendo
6078 --
6079
6080 ALTER TABLE ONLY public.parts_price_history ALTER COLUMN id SET DEFAULT nextval('public.parts_price_history_id_seq'::regclass);
6081
6082
6083 --
6084 -- Name: price_rule_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6085 --
6086
6087 ALTER TABLE ONLY public.price_rule_items ALTER COLUMN id SET DEFAULT nextval('public.price_rule_items_id_seq'::regclass);
6088
6089
6090 --
6091 -- Name: price_rules id; Type: DEFAULT; Schema: public; Owner: kivitendo
6092 --
6093
6094 ALTER TABLE ONLY public.price_rules ALTER COLUMN id SET DEFAULT nextval('public.price_rules_id_seq'::regclass);
6095
6096
6097 --
6098 -- Name: prices id; Type: DEFAULT; Schema: public; Owner: kivitendo
6099 --
6100
6101 ALTER TABLE ONLY public.prices ALTER COLUMN id SET DEFAULT nextval('public.prices_id_seq'::regclass);
6102
6103
6104 --
6105 -- Name: project_participants id; Type: DEFAULT; Schema: public; Owner: kivitendo
6106 --
6107
6108 ALTER TABLE ONLY public.project_participants ALTER COLUMN id SET DEFAULT nextval('public.project_participants_id_seq'::regclass);
6109
6110
6111 --
6112 -- Name: project_phase_participants id; Type: DEFAULT; Schema: public; Owner: kivitendo
6113 --
6114
6115 ALTER TABLE ONLY public.project_phase_participants ALTER COLUMN id SET DEFAULT nextval('public.project_phase_participants_id_seq'::regclass);
6116
6117
6118 --
6119 -- Name: project_phases id; Type: DEFAULT; Schema: public; Owner: kivitendo
6120 --
6121
6122 ALTER TABLE ONLY public.project_phases ALTER COLUMN id SET DEFAULT nextval('public.project_phases_id_seq'::regclass);
6123
6124
6125 --
6126 -- Name: project_roles id; Type: DEFAULT; Schema: public; Owner: kivitendo
6127 --
6128
6129 ALTER TABLE ONLY public.project_roles ALTER COLUMN id SET DEFAULT nextval('public.project_roles_id_seq'::regclass);
6130
6131
6132 --
6133 -- Name: project_statuses id; Type: DEFAULT; Schema: public; Owner: kivitendo
6134 --
6135
6136 ALTER TABLE ONLY public.project_statuses ALTER COLUMN id SET DEFAULT nextval('public.project_status_id_seq'::regclass);
6137
6138
6139 --
6140 -- Name: project_types id; Type: DEFAULT; Schema: public; Owner: kivitendo
6141 --
6142
6143 ALTER TABLE ONLY public.project_types ALTER COLUMN id SET DEFAULT nextval('public.project_types_id_seq'::regclass);
6144
6145
6146 --
6147 -- Name: record_links id; Type: DEFAULT; Schema: public; Owner: kivitendo
6148 --
6149
6150 ALTER TABLE ONLY public.record_links ALTER COLUMN id SET DEFAULT nextval('public.record_links_id_seq'::regclass);
6151
6152
6153 --
6154 -- Name: record_template_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6155 --
6156
6157 ALTER TABLE ONLY public.record_template_items ALTER COLUMN id SET DEFAULT nextval('public.record_template_items_id_seq'::regclass);
6158
6159
6160 --
6161 -- Name: record_templates id; Type: DEFAULT; Schema: public; Owner: kivitendo
6162 --
6163
6164 ALTER TABLE ONLY public.record_templates ALTER COLUMN id SET DEFAULT nextval('public.record_templates_id_seq'::regclass);
6165
6166
6167 --
6168 -- Name: requirement_spec_acceptance_statuses id; Type: DEFAULT; Schema: public; Owner: kivitendo
6169 --
6170
6171 ALTER TABLE ONLY public.requirement_spec_acceptance_statuses ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_acceptance_statuses_id_seq'::regclass);
6172
6173
6174 --
6175 -- Name: requirement_spec_complexities id; Type: DEFAULT; Schema: public; Owner: kivitendo
6176 --
6177
6178 ALTER TABLE ONLY public.requirement_spec_complexities ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_complexities_id_seq'::regclass);
6179
6180
6181 --
6182 -- Name: requirement_spec_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6183 --
6184
6185 ALTER TABLE ONLY public.requirement_spec_items ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_items_id_seq'::regclass);
6186
6187
6188 --
6189 -- Name: requirement_spec_orders id; Type: DEFAULT; Schema: public; Owner: kivitendo
6190 --
6191
6192 ALTER TABLE ONLY public.requirement_spec_orders ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_orders_id_seq'::regclass);
6193
6194
6195 --
6196 -- Name: requirement_spec_parts id; Type: DEFAULT; Schema: public; Owner: kivitendo
6197 --
6198
6199 ALTER TABLE ONLY public.requirement_spec_parts ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_parts_id_seq'::regclass);
6200
6201
6202 --
6203 -- Name: requirement_spec_pictures id; Type: DEFAULT; Schema: public; Owner: kivitendo
6204 --
6205
6206 ALTER TABLE ONLY public.requirement_spec_pictures ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_pictures_id_seq'::regclass);
6207
6208
6209 --
6210 -- Name: requirement_spec_predefined_texts id; Type: DEFAULT; Schema: public; Owner: kivitendo
6211 --
6212
6213 ALTER TABLE ONLY public.requirement_spec_predefined_texts ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_predefined_texts_id_seq'::regclass);
6214
6215
6216 --
6217 -- Name: requirement_spec_risks id; Type: DEFAULT; Schema: public; Owner: kivitendo
6218 --
6219
6220 ALTER TABLE ONLY public.requirement_spec_risks ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_risks_id_seq'::regclass);
6221
6222
6223 --
6224 -- Name: requirement_spec_statuses id; Type: DEFAULT; Schema: public; Owner: kivitendo
6225 --
6226
6227 ALTER TABLE ONLY public.requirement_spec_statuses ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_statuses_id_seq'::regclass);
6228
6229
6230 --
6231 -- Name: requirement_spec_text_blocks id; Type: DEFAULT; Schema: public; Owner: kivitendo
6232 --
6233
6234 ALTER TABLE ONLY public.requirement_spec_text_blocks ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_text_blocks_id_seq'::regclass);
6235
6236
6237 --
6238 -- Name: requirement_spec_types id; Type: DEFAULT; Schema: public; Owner: kivitendo
6239 --
6240
6241 ALTER TABLE ONLY public.requirement_spec_types ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_types_id_seq'::regclass);
6242
6243
6244 --
6245 -- Name: requirement_spec_versions id; Type: DEFAULT; Schema: public; Owner: kivitendo
6246 --
6247
6248 ALTER TABLE ONLY public.requirement_spec_versions ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_versions_id_seq'::regclass);
6249
6250
6251 --
6252 -- Name: requirement_specs id; Type: DEFAULT; Schema: public; Owner: kivitendo
6253 --
6254
6255 ALTER TABLE ONLY public.requirement_specs ALTER COLUMN id SET DEFAULT nextval('public.requirement_specs_id_seq'::regclass);
6256
6257
6258 --
6259 -- Name: sepa_export_message_ids id; Type: DEFAULT; Schema: public; Owner: kivitendo
6260 --
6261
6262 ALTER TABLE ONLY public.sepa_export_message_ids ALTER COLUMN id SET DEFAULT nextval('public.sepa_export_message_ids_id_seq'::regclass);
6263
6264
6265 --
6266 -- Name: shop_images id; Type: DEFAULT; Schema: public; Owner: kivitendo
6267 --
6268
6269 ALTER TABLE ONLY public.shop_images ALTER COLUMN id SET DEFAULT nextval('public.shop_images_id_seq'::regclass);
6270
6271
6272 --
6273 -- Name: shop_order_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6274 --
6275
6276 ALTER TABLE ONLY public.shop_order_items ALTER COLUMN id SET DEFAULT nextval('public.shop_order_items_id_seq'::regclass);
6277
6278
6279 --
6280 -- Name: shop_orders id; Type: DEFAULT; Schema: public; Owner: kivitendo
6281 --
6282
6283 ALTER TABLE ONLY public.shop_orders ALTER COLUMN id SET DEFAULT nextval('public.shop_orders_id_seq'::regclass);
6284
6285
6286 --
6287 -- Name: shop_parts id; Type: DEFAULT; Schema: public; Owner: kivitendo
6288 --
6289
6290 ALTER TABLE ONLY public.shop_parts ALTER COLUMN id SET DEFAULT nextval('public.shop_parts_id_seq'::regclass);
6291
6292
6293 --
6294 -- Name: shops id; Type: DEFAULT; Schema: public; Owner: kivitendo
6295 --
6296
6297 ALTER TABLE ONLY public.shops ALTER COLUMN id SET DEFAULT nextval('public.shops_id_seq'::regclass);
6298
6299
6300 --
6301 -- Name: status id; Type: DEFAULT; Schema: public; Owner: kivitendo
6302 --
6303
6304 ALTER TABLE ONLY public.status ALTER COLUMN id SET DEFAULT nextval('public.status_id_seq'::regclass);
6305
6306
6307 --
6308 -- Name: taxzone_charts id; Type: DEFAULT; Schema: public; Owner: kivitendo
6309 --
6310
6311 ALTER TABLE ONLY public.taxzone_charts ALTER COLUMN id SET DEFAULT nextval('public.taxzone_charts_id_seq'::regclass);
6312
6313
6314 --
6315 -- Name: time_recording_articles id; Type: DEFAULT; Schema: public; Owner: kivitendo
6316 --
6317
6318 ALTER TABLE ONLY public.time_recording_articles ALTER COLUMN id SET DEFAULT nextval('public.time_recording_articles_id_seq'::regclass);
6319
6320
6321 --
6322 -- Name: time_recordings id; Type: DEFAULT; Schema: public; Owner: kivitendo
6323 --
6324
6325 ALTER TABLE ONLY public.time_recordings ALTER COLUMN id SET DEFAULT nextval('public.time_recordings_id_seq'::regclass);
6326
6327
6328 --
6329 -- Name: todo_user_config id; Type: DEFAULT; Schema: public; Owner: kivitendo
6330 --
6331
6332 ALTER TABLE ONLY public.todo_user_config ALTER COLUMN id SET DEFAULT nextval('public.todo_user_config_id_seq'::regclass);
6333
6334
6335 --
6336 -- Name: translation id; Type: DEFAULT; Schema: public; Owner: kivitendo
6337 --
6338
6339 ALTER TABLE ONLY public.translation ALTER COLUMN id SET DEFAULT nextval('public.translation_id_seq'::regclass);
6340
6341
6342 --
6343 -- Name: trigger_information id; Type: DEFAULT; Schema: public; Owner: kivitendo
6344 --
6345
6346 ALTER TABLE ONLY public.trigger_information ALTER COLUMN id SET DEFAULT nextval('public.trigger_information_id_seq'::regclass);
6347
6348
6349 --
6350 -- Name: units id; Type: DEFAULT; Schema: public; Owner: kivitendo
6351 --
6352
6353 ALTER TABLE ONLY public.units ALTER COLUMN id SET DEFAULT nextval('public.units_id_seq'::regclass);
6354
6355
6356 --
6357 -- Name: units_language id; Type: DEFAULT; Schema: public; Owner: kivitendo
6358 --
6359
6360 ALTER TABLE ONLY public.units_language ALTER COLUMN id SET DEFAULT nextval('public.units_language_id_seq'::regclass);
6361
6362
6363 --
6364 -- Name: user_preferences id; Type: DEFAULT; Schema: public; Owner: kivitendo
6365 --
6366
6367 ALTER TABLE ONLY public.user_preferences ALTER COLUMN id SET DEFAULT nextval('public.user_preferences_id_seq'::regclass);
6368
6369
6370 --
6371 -- Data for Name: acc_trans; Type: TABLE DATA; Schema: public; Owner: kivitendo
6372 --
6373
6374 COPY public.acc_trans (acc_trans_id, trans_id, chart_id, amount, transdate, gldate, source, cleared, fx_transaction, ob_transaction, cb_transaction, project_id, memo, taxkey, itime, mtime, chart_link, tax_id) FROM stdin;
6375 \.
6376
6377
6378 --
6379 -- Data for Name: additional_billing_addresses; Type: TABLE DATA; Schema: public; Owner: kivitendo
6380 --
6381
6382 COPY public.additional_billing_addresses (id, customer_id, name, department_1, department_2, contact, street, zipcode, city, country, gln, email, phone, fax, default_address, itime, mtime) FROM stdin;
6383 \.
6384
6385
6386 --
6387 -- Data for Name: ap; Type: TABLE DATA; Schema: public; Owner: kivitendo
6388 --
6389
6390 COPY public.ap (id, invnumber, transdate, gldate, vendor_id, taxincluded, amount, netamount, paid, datepaid, duedate, invoice, ordnumber, notes, employee_id, quonumber, intnotes, department_id, itime, mtime, shipvia, cp_id, language_id, payment_id, storno, taxzone_id, type, orddate, quodate, globalproject_id, storno_id, transaction_description, direct_debit, deliverydate, delivery_term_id, currency_id, tax_point) FROM stdin;
6391 \.
6392
6393
6394 --
6395 -- Data for Name: ap_gl; Type: TABLE DATA; Schema: public; Owner: kivitendo
6396 --
6397
6398 COPY public.ap_gl (ap_id, gl_id, itime, mtime) FROM stdin;
6399 \.
6400
6401
6402 --
6403 -- Data for Name: ar; Type: TABLE DATA; Schema: public; Owner: kivitendo
6404 --
6405
6406 COPY public.ar (id, invnumber, transdate, gldate, customer_id, taxincluded, amount, netamount, paid, datepaid, duedate, deliverydate, invoice, shippingpoint, notes, ordnumber, employee_id, quonumber, cusordnumber, intnotes, department_id, shipvia, itime, mtime, cp_id, language_id, payment_id, delivery_customer_id, delivery_vendor_id, storno, taxzone_id, shipto_id, type, dunning_config_id, orddate, quodate, globalproject_id, salesman_id, marge_total, marge_percent, storno_id, transaction_description, donumber, invnumber_for_credit_note, direct_debit, delivery_term_id, currency_id, tax_point, qrbill_without_amount, billing_address_id) FROM stdin;
6407 \.
6408
6409
6410 --
6411 -- Data for Name: assembly; Type: TABLE DATA; Schema: public; Owner: kivitendo
6412 --
6413
6414 COPY public.assembly (id, parts_id, qty, bom, itime, mtime, assembly_id, "position") FROM stdin;
6415 \.
6416
6417
6418 --
6419 -- Data for Name: assortment_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
6420 --
6421
6422 COPY public.assortment_items (assortment_id, parts_id, itime, mtime, qty, "position", unit, charge) FROM stdin;
6423 \.
6424
6425
6426 --
6427 -- Data for Name: background_job_histories; Type: TABLE DATA; Schema: public; Owner: kivitendo
6428 --
6429
6430 COPY public.background_job_histories (id, package_name, run_at, status, result, error, data) FROM stdin;
6431 \.
6432
6433
6434 --
6435 -- Data for Name: background_jobs; Type: TABLE DATA; Schema: public; Owner: kivitendo
6436 --
6437
6438 COPY public.background_jobs (id, type, package_name, last_run_at, next_run_at, data, active, cron_spec, node_id) FROM stdin;
6439 1       interval        CleanBackgroundJobHistory       \N      2018-12-01 03:00:00     \N      t       0 3 * * *       \N
6440 3       interval        BackgroundJobCleanup    \N      2018-12-01 03:00:00     \N      t       0 3 * * *       \N
6441 4       interval        SelfTest        \N      2018-12-01 02:20:00     \N      t       20 2 * * *      \N
6442 2       interval        CreatePeriodicInvoices  \N      2018-12-01 03:00:00     \N      t       0 3 * * *       \N
6443 5       interval        CleanAuthSessions       \N      2018-12-01 06:30:00     \N      t       30 6 * * *      \N
6444 6       interval        CreateOrUpdateFileFullTexts     \N      2023-12-17 03:20:00     \N      t       20 3 * * *      \N
6445 \.
6446
6447
6448 --
6449 -- Data for Name: bank_accounts; Type: TABLE DATA; Schema: public; Owner: kivitendo
6450 --
6451
6452 COPY public.bank_accounts (id, account_number, bank_code, iban, bic, bank, chart_id, name, reconciliation_starting_date, reconciliation_starting_balance, obsolete, sortkey, use_for_zugferd, use_for_qrbill, bank_account_id) FROM stdin;
6453 \.
6454
6455
6456 --
6457 -- Data for Name: bank_transaction_acc_trans; Type: TABLE DATA; Schema: public; Owner: kivitendo
6458 --
6459
6460 COPY public.bank_transaction_acc_trans (bank_transaction_id, acc_trans_id, ar_id, ap_id, gl_id, itime, mtime) FROM stdin;
6461 \.
6462
6463
6464 --
6465 -- Data for Name: bank_transactions; Type: TABLE DATA; Schema: public; Owner: kivitendo
6466 --
6467
6468 COPY public.bank_transactions (id, transaction_id, remote_bank_code, remote_account_number, transdate, valutadate, amount, remote_name, purpose, invoice_amount, local_bank_account_id, currency_id, cleared, itime, transaction_code, transaction_text) FROM stdin;
6469 \.
6470
6471
6472 --
6473 -- Data for Name: bin; Type: TABLE DATA; Schema: public; Owner: kivitendo
6474 --
6475
6476 COPY public.bin (id, warehouse_id, description, itime, mtime) FROM stdin;
6477 \.
6478
6479
6480 --
6481 -- Data for Name: buchungsgruppen; Type: TABLE DATA; Schema: public; Owner: kivitendo
6482 --
6483
6484 COPY public.buchungsgruppen (id, description, inventory_accno_id, sortkey) FROM stdin;
6485 860     Standard 7%     53      2
6486 859     Standard 19%    53      1
6487 \.
6488
6489
6490 --
6491 -- Data for Name: business; Type: TABLE DATA; Schema: public; Owner: kivitendo
6492 --
6493
6494 COPY public.business (id, description, discount, customernumberinit, salesman, itime, mtime) FROM stdin;
6495 \.
6496
6497
6498 --
6499 -- Data for Name: chart; Type: TABLE DATA; Schema: public; Owner: kivitendo
6500 --
6501
6502 COPY public.chart (id, accno, description, charttype, category, link, taxkey_id, pos_bwa, pos_bilanz, pos_eur, datevautomatik, itime, mtime, new_chart_id, valid_from, pos_er) FROM stdin;
6503 1       0027    EDV-Software    A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6504 2       0090    Geschäftsbauten        A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6505 3       0200    Techn.Anlagen und Maschinen     A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6506 4       0210    Maschinen       A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6507 5       0380    Sonst.Transportmittel   A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6508 6       0400    Betriebsausstattung     A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6509 19      1791    Umsatzsteuer frühere Jahre     A       E               0       \N      \N      28      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      28
6510 20      1800    Privatentnahme allgemein        A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6511 21      1810    Privatsteuern   A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6512 22      1820    Sonderausgaben beschränkt abzugsfähig A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6513 23      1830    Sonderausgaben unbeschr.anzugsfähig    A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6514 24      1840    Zuwendungen, Spenden    A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6515 25      1890    Privateinlagen  A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6516 26      2110    Zinsaufwendung f.kurzf.Verbindlichk     A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29
6517 27      2120    Zinsaufwendung f.langf.Verbindlichk     A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29
6518 28      2130    Diskontaufwendung       A       E               0       30      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6519 29      2310    Anlagenabgänge Sachanlagen Restbuchw.b.Buchverlust     A       E               0       31      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6520 30      2315    Anlagenabgänge Sachanlagen Restbuchw.b.Buchgewinn      A       I               0       31      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6521 31      2320    Verluste Abgang Gegenst.d.Anlagever     A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6522 32      2650    Sonstige Zinsen und Ã¤nliche Erträge   A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4
6523 33      2720    Ertr.a.d.Abgang v.Gegens.d.Anlageve     A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6524 34      2742    Versicherungsentschädigungen   A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6525 35      3000    Roh,-Hilfs,-und Betriebsstoffe  A       E       IC      9       4       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6526 36      3300    Wareneingang 7% Vorsteuer       A       E       AP_amount:IC_cogs       8       4       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6527 41      3550    Steuerfreier innergem.Erwerb    A       E       AP_amount:IC_cogs       0       \N      \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6528 44      3750    Erhaltene Boni 7% Vorsteuer     A       I       AP_paid 8       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6529 46      3780    Erhaltene Rabatte 7% Vorsteuer  A       I       AP_paid 8       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6530 48      3800    Bezugsnebenkosten       A       E       AP_amount:IC_cogs:IC_expense    0       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6531 49      3830    Leergut A       E       AP_amount:IC_cogs       0       4       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6532 50      3850    Zölle und Einfuhrabgaben       A       E       AP_amount:IC_cogs       0       4       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6533 51      3960    Bestandsver.Roh-,Hilfs-.Betriebs.sow.bez.Waren  A       E               0       2       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6534 52      3970    Bestand Roh-,Hilfs-,u.Betriebsstoff     A       A       IC      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6535 53      3980    Bestand Waren   A       A       IC      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6536 54      4000    Material-und Stoffverbrauch     A       E       IC_cogs 0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6537 55      4110    Löhne  A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9
6538 56      3990    Verrechnete Stoffkosten A       E       IC_cogs 0       4       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6539 57      4120    Gehälter       A       E               0       10      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6540 58      4125    Ehegattengehalt A       E               0       10      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6541 59      4138    Beiträge zur Berufsgenossenschaft      A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10
6542 60      4139    Ausgleichsabgabe i.S.d.Schwerbehinterdengesetzes        A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10
6543 61      4140    Freiwillig soziale Aufwendungen lohnsteuerfrei  A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10
6544 62      4145    Freiwillige sozi.Aufw.lohnsteuerpflichtig.      A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10
6545 63      4149    Pauschale Lohnsteuera.sons.Bezüge (z.B.Fahrtkostenzu)  A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6546 64      4150    Krankengeldzuschüsse   A       E               0       10      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6547 65      4175    Fahrtkostenerst.Wohnung/Arbeitsstät    A       E               0       10      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6548 66      4190    Aushilfslöhne  A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9
6549 67      4199    Lohnsteuer für Aushilfe        A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10
6550 68      4200    Raumkosten      A       E       AP_amount       9       11      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6551 69      4210    Miete   A       E       AP_amount       9       11      \N      11      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      11
6552 70      4220    Pacht   A       E       AP_amount       0       \N      \N      11      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      11
6553 71      4230    Heizung A       E       AP_amount       9       11      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6554 72      4240    Gas,Strom, Wasser       A       E       AP_amount       9       11      \N      12      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      12
6555 74      4260    Instandhaltung betrieb.Räume   A       E       AP_amount       9       11      \N      13      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      13
6556 75      4280    Sonstige Raumkosten     A       E       AP_amount       9       11      \N      13      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      13
6557 76      4301    Nicht abziehbare Vorsteuer 7%   A       E       AP_paid 0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6558 78      4320    Gewerbesteuer   A       E               0       12      \N      31      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      31
6559 37      3400    Wareneingang 16%/19% Vorsteuer  A       E       AP_amount:IC_cogs       9       4       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6560 73      4250    Reinigung       A       E       AP_amount       9       11      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6561 90      4550    Garagenmiete    A       E       AP_amount       0       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6562 91      4570    Leasingfahrzeugkosten   A       E       AP_amount       0       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6563 92      4580    Sonstige Kfz-Kosten     A       E       AP_amount       9       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6564 93      4600    Werbe-und Reisekosten   A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6565 95      4638    Geschenke ausschließl.betrieb.genut    A       E       AP_amount       9       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6566 96      4640    Repräsentationskosten  A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6567 97      4650    Bewirtungskosten        A       E       AP_amount       9       20      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6568 98      4653    Aufmerksamkeiten        A       E       AP_amount       9       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6569 99      4654    Nicht abzugsfähige Bewirtungskosten    A       E       AP_amount       0       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6570 100     4660    Reisekosten Arbeitnehmer        A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6571 893     8732    Gewährte Skonti 5% USt A       I       AR_paid 2       1       \N      1       t       2021-01-16 23:40:37.788147      \N      \N      \N      \N
6572 894     3732    Erhaltene Skonti 5 % Vorsteuer  A       E       AP_paid 8       4       \N      \N      t       2021-01-16 23:40:37.788147      \N      \N      \N      \N
6573 895     8735    Gewährte Skonti 16 % USt       A       I       AR_paid 3       1       \N      1       t       2021-01-16 23:40:37.788147      \N      \N      \N      1
6574 896     3737    Erhaltene Skonti 16 % USt       A       E       AP_paid 9       4       \N      \N      t       2021-01-16 23:40:37.788147      \N      \N      \N      \N
6575 897     1568    Abziehbare Vorsteuer 5 %        A       E       AP_tax:IC_taxpart:IC_taxservice 8       \N      \N      27      t       2021-01-16 23:40:37.788147      \N      \N      \N      27
6576 79      4340    Sonstige Betriebssteuern        A       E               0       12      \N      31      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      31
6577 80      4350    Verbrauchssteuer        A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6578 81      4355    Ã–kosteuer      A       E               0       12      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6579 82      4396    Steuerl.abzugs.Verspätungszuschl.u.Zwangsgelder        A       E               0       \N      \N      31      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      31
6580 83      4397    Steuerl.n.abzugsf.Verspätungszuschläge u.Zwangsgelder A       E               0       \N      \N      31      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      31
6581 84      4500    Fahrzeugkosten  A       E       AP_amount       0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6582 85      4530    Laufende Kfz-Betriebskosten     A       E       AP_amount       9       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6583 89      4540    Kfz-Reparaturen A       E       AP_amount       9       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6584 101     4663    Reisekosten Arbeitn.m.Vorsteuerabzu f.öffentl.Verkehrsm.       A       E       AP_amount       8       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6585 102     4664    Reisekosten Arbeitn.Verpflegungmehr     A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6586 103     4666    Reisekosten Arbeitn.Ãœbernachtungsaufwand       A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6587 104     4668    Kilometerentgelderstattung Arbeitnehmer A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6588 105     4670    Reisekosten Unternehmer A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6589 106     4673    Reisek.Untern.m.Vorsteuerabzug (öffentl.Verkehrsm.     A       E       AP_amount       8       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6590 107     4674    Reisekosten Untern.Verpflegungsmehr     A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6591 108     4676    Reisekosten Untern.Ãœbernachtungsauf    A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6592 109     4700    Kosten der Warenabgabe  A       E       AP_amount:IC_cogs       0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6593 110     4710    Verpackungsmaterial     A       E       AP_amount:IC_cogs       0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6594 111     4730    Ausgangsfracht  A       E       AP_amount:IC_cogs       0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6595 112     4750    Transportversicherung   A       E       AP_amount:IC_cogs:IC_expense    0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6596 113     4760    Verkaufsprovision       A       E       AP_amount:IC_expense    0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6597 114     4780    Fremdarbeiten   A       E       AP_amount:IC_expense    0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6598 115     4790    Aufwand für Gewährleistungen  A       E       AP_amount:IC_expense    0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6599 116     4800    Rep.u.Instandhaltungen v.techn.Anlagen u.Maschinen      A       E       AP_amount       9       18      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19
6600 117     4806    Wartungskosten für Hard-u.Software     A       E       AP_amount:IC_expense    9       18      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19
6601 118     4809    Sonstige Reparaturen u.Instandhalt.     A       E       AP_amount       9       \N      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19
6602 119     4810    Mietleasing     A       E       AP_amount       0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6603 120     4815    Kaufleasing     A       E       AP_amount       0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6604 121     4822    Abschreibungen a.immat.Vermögensgeg    A       E               0       \N      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6605 122     4824    Abschreibung a.d.Geschäft-o.Firmenw    A       E               0       \N      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6606 123     4840    Außerplanmäßig Abschr.a.Sachanlagen  A       E               0       \N      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6607 124     4855    Sofortabschreibung GWG  A       E       AP_amount       0       \N      \N      26      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      26
6608 125     4860    Abschreibungen auf aktivierte GWG       A       E               0       \N      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6609 126     4900    Sonstige betriebliche Aufwendungen      A       E       AP_amount       9       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6610 127     4905    Sons.Aufw.betriebl. und regelmäßig    A       E       AP_amount       9       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6611 128     4909    Fremdleistungen A       E       AP_amount       0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6612 129     4910    Porto   A       E       AP_amount       0       20      \N      23      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      23
6613 130     4920    Telefon A       E       AP_amount       9       20      \N      23      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      23
6614 131     4925    Telefax A       E       AP_amount       9       20      \N      23      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      23
6615 132     4930    Bürobedarf     A       E       AP_amount       9       20      \N      23      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      23
6616 133     4940    Zeitschriften, Bücher  A       E       AP_amount       8       20      \N      20      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      20
6617 134     4945    Fortbildungskosten      A       E       AP_amount       9       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6618 135     4946    Freiwillige Sozialleistungen    A       E       AP_amount       0       \N      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9
6619 136     4950    Rechts- und Beratungskosten     A       E       AP_amount       9       20      \N      22      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      22
6620 137     4955    Buchführungskosten     A       E       AP_amount       9       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6621 138     4957    Abschluß- und Prüfungskosten  A       E       AP_amount       9       20      \N      22      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      22
6622 139     4960    Mieten für Einrichtungen       A       E       AP_amount       9       20      \N      21      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      21
6623 140     4969    Aufwend.f.Abraum-u.Abfallbeseitigung    A       E       AP_amount       9       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6624 141     4970    Nebenkosten des Geldverkehrs    A       E               0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6625 142     4980    Betriebsbedarf  A       E       AP_amount       9       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6626 143     4985    Werkzeuge und Kleingeräte      A       E       AP_amount       9       \N      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19
6627 149     8200    Erlöse A       I       AR_amount:IC_sale:IC_income     0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6628 219     3582    Wareneinkauf ohne Vorsteuerabzug(EÃœR)  A       E               0       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6629 94      4610    Werbekosten     A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6630 192     4510    Kfz-Steuer      A       E       AP_amount       0       19      \N      15      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      15
6631 193     4520    Kfz-Versicherungen      A       E       AP_amount       0       14      \N      16      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      16
6632 196     1767    Im anderen EG-Staat steuerpfl. Lieferung        A                       10      0       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6633 197     0853    Satzungsm.Rücklagen 0% Vorbelast.(st.Einlagekto.)      A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6634 198     1607    Vblk.a.LuL ohne Vorsteuer (EÃœR)        A       L       AP      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6635 199     1609    Gegenkonto 1605-1607 b.Aufteilung d.Vblk.n.Steuers.(EÃœR)       A       L               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6636 200     2125    Zinsaufwend.f.Gebäude,die z.Betriebsvermögen gehören A       E               0       \N      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29
6637 152     8320    Erlöse aus im and.EG-Land steuerpfl.Lieferungen        A       I       AR_amount:IC_sale:IC_income     10      1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6638 153     8500    Provisionserlöse       A       I       AR_amount:IC_income     3       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6639 156     8520    Erlöse Abfallverwertung        A       I       AR_amount:IC_sale       3       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6640 157     8540    Erlös Leergut  A       I       AR_amount:IC_sale       3       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6641 168     8829    Erl.a.Anlagenverk.bei Buchgewinn        A       I       AR_amount       3       \N      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6642 169     8900    Unentgeltliche Wertabgaben      A       I       AR_amount       0       \N      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6643 170     8905    Entnahme v. Gegenst.o.USt.      A       I               0       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6644 173     8919    Entnahme durch den Untern.f.Zwecke außerhalb d.Untern.(Waren)o.USt     A       I               0       5       \N      3       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6645 174     8924    Verwendung v.Gegenständen f.Zwecke außerhalb d.Untern.o.USt.  A       I               0       \N      \N      3       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6646 179     8955    Umsatzsteuervergütungen        A       I               0       \N      \N      7       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      7
6647 180     9000    Saldenvorträge,Sachkonten      A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6648 181     9008    Saldenvorträge,Debitoren       A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6649 182     9009    Saldenvorträge,Kreditoren      A       L               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6650 183     9090    Summenvortragskonto     A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6651 185     8800    Erlöse aus Anlagenverkäufen   A       I       AR_amount       3       \N      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6652 186     4380    Beiträge       A       E       AP_amount       0       \N      \N      14      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      14
6653 187     4360    Versicherungen  A       E       AP_amount       0       13      \N      14      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      14
6654 188     4390    Sonstige Abgaben        A       E       AP_amount       0       \N      \N      14      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      14
6655 189     0631    Vblk.geg.Kreditinst.- Restlaufzeit b.1 Jahr     A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6656 190     0640    Vblk.geg.Kreditinst.- Restlaufzeit 1 bis 5 Jahre        A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6657 191     0650    Vblk.geg.Kreditinst.- Restlaufzeit grösser als 5 Jahre A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6658 201     1445    Ford.a.LuL z.allg.USt-Satz o.eines Kleinuntern.(EÃœR)   A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6659 202     1446    Ford.aLuL z.erm.USt.-Satz (EÃœR)        A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6660 203     1447    Ford.a.steuerfr.od.nicht steuerb.LuL (EÃœR)     A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6661 204     1448    Ford.a.LuL n.Durchschnittss.gem.§24UStG(EÃœR)  A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6662 205     1449    Gegenkto. 1445-1448 bei Aufteil.d.Ford.n.Steuers.(EÃœR) A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6663 206     1605    Vblk.a.LuL z.allg.Umsatzsteuersatz (EÃœR)       A       L       AP      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6664 207     1606    Vblk.a.LuL zum erm.Umsatzsteuersatz (EÃœR)      A       L       AP      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6665 208     2212    Kapitalertragssteuer 20%        A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6666 209     2342    Einst.in SoPo m.Rücklageanteil (Existenzgründungsrücklage)   A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6667 210     2351    Gründstücksaufwend.f.Gebäude,die nicht z.Betriebsverm.gehören       A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6668 211     2376    Grundsteuer f.Gebäude,die nicht z.Betriebsvermögen geh.       A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6669 212     2733    Erträge a.d.Auflösung v.SoPo m.Rücklageant.(Exitenzgründungszusch.) A       I               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6670 213     2746    Steuerfr.Erträge a.d.Auflös.v.SoPo m.Rücklageanteil  A       I               0       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6671 214     2747    Sonst.steuerfreie Betriebseinnahmen     A       I               0       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6672 215     2797    Entnahmen a.satzungsmäßigen Rücklagen        A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6673 216     3559    Steuerfreie Einfuhren   A       E       AP_amount:IC_cogs       0       \N      \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6674 217     3580    Wareneinkauf z.allg.Umsatzsteuersatz (EÃœR)     A       E               0       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6675 218     3581    Wareneinkauf z.erm.Umsatzsteuersatz(EÃœR)       A       E               0       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6676 155     8508    Provisionserlöse 16%/19% USt.  A       I       AR_amount:IC_income     3       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6677 236     4678    Kilometergelderstatt.(Wohn.-Arbeitsst.abziehb.Teil)     A       E               0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6678 237     4679    Fahrten zw.Wohn.und Arbeitsstätte (nicht abziehb.Teil) A       E               0       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6679 238     4680    Fahrten zw.Wohn.-und Arbeitsstätte (Haben)     A       E               0       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6680 240     4830    Abschreibungen auf Sachanlagen (o.Kfz u.Geb.)   A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6681 241     4832    Abschreibungen auf Kfz  A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6682 242     4841    Absetzung f.außergew.techn.u.wirtschaftl.AfA bei Gebäuden     A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6683 220     3589    Gegenkto.3580-3582 b.Aufteilung d.WE n.Steuersätzen(EüR)      A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6684 221     4261    Instandhlt.betriebl.Räume in Geb.die nicht z.BV gehören       A       E               0       \N      \N      11      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      11
6685 222     4271    Abgaben f.betriebl.genutzten Grundbesitz,d.nicht z.BV gehört   A       E               0       \N      \N      11      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      11
6686 223     4288    Aufwend.f.ein häusliches Arbeitszimmer(abziehb.Anteil) A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6687 224     4289    Aufwend.f.ein häusliches Arbeitszimmer(nicht abziehb.Anteil)   A       E               0       11      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6688 225     4361    Versicherungen f.Gebäude,die zum BV gehören   A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6689 226     4505    Fahrzeugkosten f.Kfz,die nicht zum BV gehören  A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6690 227     4515    Kfz-Steuer f.Kfz,die nicht zum BV gehören      A       E               0       \N      \N      15      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      15
6691 228     4525    Kfz-Versicherung f.Kfz,die nicht zum BV gehören        A       E               0       \N      \N      16      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      16
6692 229     4535    Lfd.Kfz-Betriebskosten f.Kfz,die nicht zum BV gehören  A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6693 230     4545    Kfz-Rep.für Kfz,die nicht zum BV gehören      A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6694 231     4555    Garagenmiete f.Kfz,die nicht zum BV gehören    A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6695 232     4560    Mautgebühren   A       E               0       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6696 233     4565    Mautgebühren f. Kfz,die nicht zum BV gehören  A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6697 234     4651    Sonst.eingeschr.abziehb.Betriebsausgaben (abziehb.Anteil)       A       E               0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6698 235     4652    Sonst.eingeschr.abziehb.Betriebsausgaben(nicht abziehb.Teil)    A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6699 247     4965    Mietleasing     A       E               9       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6700 243     4842    Absetzung f.außergew.techn.u.wirtschaftl.AfA des Kfz   A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6701 244     4843    Absetzung f.außergew.techn.u.wirtschaftl.AfA sonst.WG  A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6702 245     4851    Sonderabschreibung nach Â§7g(1)u.(2)EStG (ohne Kfz)     A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6703 246     4852    Sonderabschreibung n.§7g(1)u.(2)EStG (für Kfz)        A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6704 248     4966    Gewerbest.zu berücksicht.Mietleasing Â§8 GewStG        A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6705 249     8580    Erlöse zum allg.Umsatzsteuersatz (EÃœR)        A       I               0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6706 250     8581    Erlöse zum ermä.Umsatzsteuersatz (EÃœR)       A       I               0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6707 251     8582    Erlöse steuerfrei u.nicht steuerbar (EÃœR)     A       I               0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6708 252     8589    Gegenkonto 8580-8582 b.Aufteilung d.Erlöse n.Steuersätzen(EÃœR)       A       C               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6709 257     1000    Kasse   A       A       AR_paid:AP_paid 0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6710 264     2501    Ausserordentliche Erträge finanzwirksam        A       I               0       \N      \N      5       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      5
6711 265     2505    Ausserordentliche Erträge nicht finanzwirksam  A       I               0       \N      \N      5       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      5
6712 266     4130    Gesetzlich soziale Aufwendungen A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10
6713 267     4630    Geschenke bis 35 EUR abzugsfähig       A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6714 268     4635    Geschenke Ã¼ber 35EUR nicht abzugsf.    A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18
6715 269     4655    Nicht abzugsf.Betriebsausg.a.Werbe-Repräsentatisonk.etc.       A       E       AP_amount       9       15      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6716 270     4805    Rep.u.Instandhalt.v.and.Anlagen u.Betriebs-u.Geschäftsausst.   A       E       AP_amount       9       18      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19
6717 272     8195    Erlöse als Kleinunternehmer i.S.d.§19(1)UStG  A       I       AR_amount       0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6718 277     8960    Bestandsveränderung unf.Erz.   A       E               0       2       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6719 278     8970    Bestandsveränd.unf.Leist.      A       E               0       2       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6720 279     8980    Bestandsveränd.fert..Leist.    A       E               0       2       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6721 280     8990    And.aktiv.Eigenleistungen       A       E               0       3       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6722 281     3090    Energiestoffe (Fert.).  A       E       IC      9       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6723 282     4595    Fremdfahrzeuge  A       E       AP_amount       0       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17
6724 283     1450    Ford.a.LuL n.Durchschnittss.gem.§24UStG(EÃœR)  A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6725 304     8949    Unentgeltl.Zuwendung v.Waren o.USt.     A       I               0       5       \N      3       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6726 305     4126    Tantiemen       A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9
6727 306     4127    Geschäftsführergehälter      A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9
6728 307     4167    Pauschale Lohnsteuer auf sonst.Bezüge(z.B.Direktversicherung   A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9
6729 308     4170    Vermögenswirksame Leistungen   A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9
6730 286     1580    Gegenkonto Vorsteuer Â§4/3 EStG A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6731 287     1581    Auflösung Vorst.a.Vorjahr Â§4/3 EStG   A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6732 288     1582    Vorst.aus Investitionen Â§4/3 EStG      A       E               0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6733 289     1584    abziehb.VorSt IG Erwerb Neufzg.b.Lief. o. USt.Ident.Nr  A       E       AR_tax  0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6734 291     1592    Fremdgeld       A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6735 292     3100    Fremdleistungen A       E       AP_amount       9       5       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6736 295     3600    Nicht abziehbare Vorsteuer      A       E               0       5       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6737 296     3610    Nicht abziehb.Vorsteuer 7%      A       E               0       5       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6738 298     2739    Erträge Aufl. Sopo m.R.(Ansparafa)     A       I               0       5       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6739 299     8590    Verrechnete sons. Sachbezüge keine Waren       A       I       AR_amount       0       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6740 301     8939    Unentgeltl.Zuw.v.Gegens.ohne Ust        A       I               0       5       \N      3       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6741 309     4180    Bedienungsgelder        A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9
6742 310     4826    Außerplan.AfA a.immat.Vermögensgeg.   A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6743 311     4850    Abschr.a.Sachanl.aufgr.steuerl.Sondervorschriften       A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6744 312     4870    Abschreibungen auf Finanzanlagen        A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6745 313     4875    Abschr.a.Wertp.d.Umlaufvermögens       A       E               0       17      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6746 314     4880    Abschreibungen auf Umlaufverm. o.Wertpapiere (soweit unübl.Höhe       A       E               0       17      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6747 315     2208    Solidaritätszuschlag   A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6748 316     2209    Solidaritätszuschlag für Vorjahr      A       E               0       19      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6749 317     2375    Grundsteuer     A       E               0       19      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6750 318     2400    Forderungsverlust-übliche Höhe        A       E               0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6751 321     2341    Einstellungen in SoPo m.Rücklageanteil (Ansparabschreibung     A       E               0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6752 322     2100    Zinsen und Ã¤hnl.Aufwendungen   A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29
6753 323     2107    Zinsaufwendung-betriebliche Steuern Â§223aAO    A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29
6754 324     2140    Zinsähnliche Aufwendungen      A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29
6755 325     2000    Außerordentliche Aufwendung    A       E               0       31      \N      30      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      30
6756 326     2010    Betriebsfremde Aufwendungen soweit n.außerord. A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6757 327     2020    Periodenfremde Aufwend.(soweit n.außerordentlich       A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6758 328     2150    Aufwendungen aus Kursdifferenzen        A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6759 329     2170    Nicht abziehbare Vorsteuer      A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6760 330     2171    Nicht abziehbare Vorsteuer 7%   A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6761 332     2280    Stnachzahl.Vorj.v.Einkomm u.Ertrag      A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6762 333     2285    Steuernachzahlung Vorj.f.sons.Steue     A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6763 334     2289    Erträge a.d.Aufl.v. Rück.f.sons.Ste   A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6764 335     2350    Grundstücksaufwendungen        A       E               9       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6765 336     2380    Zuwend.,Spenden,steuerlich n.abziehbar  A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6766 337     2450    Einstell.i.d.Pauschalwertbe.z.Forde     A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6767 338     2657    Zinserträge-betriebliche Steuern       A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4
6768 339     2670    Diskonterträge A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4
6769 340     2680    Zinsähnliche Erträge  A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4
6770 347     8727    Erlösschmä.and.EG Land stpfl.Liefer   A       I               0       32      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6771 348     2500    Außerordentliche Erträge      A       I               0       33      \N      5       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      5
6772 349     2510    Betriebsfremde Erträge nichtaußerorden        A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6773 350     2520    Periodenfremde Erträge nicht außero   A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6774 351     2600    Erträge aus Beteiligungen      A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6775 352     2660    Erträge aus Kursdifferenzen    A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6776 354     2710    Ertrag a.d.Zuschreib.d.Anlagevermög    A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6777 355     2715    Ertr.a.Zuschreib.d.Umlaufvermögens     A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6778 356     2725    Ertr.a.d.Abg.v.Gegenst.d.Umlaufverm     A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6779 357     2730    Ertr.a.Herabsetzung d.PWB zu Forderungen        A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6780 358     2732    Ertr. aus abgeschriebenen Forderung     A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6781 297     3650    Nicht abziehb.Vorsteuer 16%/19% A       E               0       5       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6782 331     2175    Nicht abziehbare Vorsteuer 16%/19%      A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24
6783 274     8808    Erlöse a.Verk.Sachanlagen steuerfrei§4Nr.1bUStG(b.Buchverlust)        A       E               0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6784 147     8135    Steuerfr.innergem.Lief.v.Neufahrz.an Abn.o.USt-Ident-Nr.        A       I       AR_amount:IC_sale       0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6785 144     8120    Steuerfreie Umsätze Â§4Nr.1a UstG      A       I       AR_amount:IC_sale:IC_income     0       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6786 148     8150    Sonstige steuerfreie Umsätze Â§42-7UStG        A       I       AR_amount:IC_sale:IC_income     0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6787 253     8827    Erlöse a.Verk.Sachanlagen steuerfr.§4Nr.1aUStG(bei Buchgewinn)        A       I               0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6788 359     2735    Ertr.a.d.Auflösung v.Rückstellungen   A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6789 360     2743    Investitionszuschüsse-steuerpflicht    A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6790 361     2744    Investitionszulage-steuerfrei   A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6791 362     2750    Grundstückserträge    A       I               3       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6792 363     2284    Ertr.a.d.Aufl.v.Rücks.f.St.v.Ein.Er    A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6793 364     2287    Steuererstattung Vorj.f.sons.Steuer     A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6794 365     2282    Sterstat.Vorj.Steuer v.Eink.u.Ertrag    A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6795 367     4990    Kalkulatorischer Unternehmerlohn        A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6796 368     4992    Kalkulatorische Zinsen  A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6797 369     4993    Kalkulatorische Aschreibungen   A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6798 370     4994    Kalkulatorische Wagnisse        A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6799 371     4995    Kalkulatorischer Lohn f.unentgeltl.Mitarbeiter  A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6800 372     2200    Körperschaftssteuer    A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6801 373     2214    Anrechenb.Soli auf Kapitalertragssteuer 20%     A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6802 374     2215    Zinsabschlagsteuer      A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6803 375     2218    Anrechb.Solidari.zuschlag a.Zinsabschlagst.     A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6804 775     1776    Umsatzsteuer 19 %       A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      6       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      6
6805 145     8125    Steuerfrei innergem. Lieferungen Â§41bUStG      A       I       AR_amount:IC_sale:IC_income     0       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6806 146     8130    Liefe.d.1.Abnehm.bei innergem.Dreiecksg Â§25b2UStG      A       I       AR_amount:IC_sale:IC_income     0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6807 254     8828    Erlöse a.Verk.Sachanlagen steuerfr.§4Nr.1bUStG(b.Buchgewinn)  A       I               0       \N      \N      2       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6808 86      8100    Steuerfreie Umsätze Â§4Nr.8ff UstG     A       I       AR_amount       0       1       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6809 273     8807    Erlöse a.Verk.Sachanlagen steuerfrei§4Nr.1aUStG(b.Buchverlust)        A       E               0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6810 87      8110    Sonstige steuerfreie Umsätze Inland    A       I       AR_amount       0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6811 160     8600    Sonstige Erlöse betriebl.u.regelmäß  A       I       AR_amount       3       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6812 353     2700    Sonstige Erträge       A       I               3       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6813 195     1775    Umsatzsteuer 16%        A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      6       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      6
6814 150     8310    Erlöse Inland stpfl. EG-Lieferung7%    A       I       AR_amount:IC_sale:IC_income     12      1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6815 154     8506    Provisionserlöse 7% USt.       A       I       AR_amount:IC_income     2       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6816 158     8591    Sachbezüge 7% Ust (Waren)      A       I       AR_amount       2       5       \N      2       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6817 163     8750    Gewährte Boni 7% USt.  A       E       AR_paid 2       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6818 165     8780    Gewährte Rabatte 7% USt.       A       E       AR_paid 2       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6819 172     8915    Entnah.d.Untern.f.Zwecke ausserh.d.Untern.7%USt A       I       AR_amount       2       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6820 176     8930    Verwendung v.Gegenst.f.Zwecke außerhalb d.Unternehmens 7% USt. A       I       AR_amount       2       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6821 303     8945    Unentgeltl.Zuw.von Waren 7% Ust A       I               2       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6822 319     2401    Forderungsverluste 7% USt.(übliche Höhe       A       E               2       20      \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6823 151     8315    Erlös Inland stpfl.EG-Lieferung 16%/19%        A       I       AR_amount:IC_sale:IC_income     13      1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6824 159     8595    Sachbezüge 16%/19% Ust (Waren) A       I       AR_amount       3       5       \N      2       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6825 284     1577    Abzieb.Vorst.n.allg.Durchschnittss.UStVA Kz.63  A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6826 259     1571    Abziehbare Vorsteuer 7% A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6827 261     1575    Abziehbare Vorsteuer 16%        A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6828 776     1576    Abziehbare Vorsteuer 19 %       A       E       AP_tax:IC_taxpart:IC_taxservice 9       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6829 40      3440    Innergem.Erwerb v.Neufahrz.v.Lief.o.USt.Identnr.16%/19%VSt.u.16%/19%USt.        A       E       AP_amount:IC_cogs       19      \N      \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6830 45      3760    Erhaltene Boni 16%/19% Vorsteuer        A       I       AP_paid 9       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6831 88      8300    Erlöse 7 % / 5 % USt   A       I       AR_amount:IC_sale:IC_income     2       1       \N      1       t       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      \N      \N      1
6832 343     8710    Erlösschmälerung 7% USt.      A       I               2       32      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6833 7       0410    Geschäftsausstattung   A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6834 8       0420    Büroeinrichtung        A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6835 9       0430    Ladeneinrichtung        A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6836 10      0440    Werkzeuge       A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6837 11      0480    Geringwertige Wirtschaftsg.b.410EUR     A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6838 12      1200    Bank    A       A       AR_paid:AP_paid 0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6839 13      1360    Geldtransit     A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6840 14      1400    Ford. a.Lieferungen und Leistungen      A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6841 15      1590    Durchlaufende Posten    A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6842 16      1600    Verbindlichkeiten aus Lief.u.Leist.     A       L       AP      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6843 345     8725    Erlösschmä.Inl.stpfl.EG-Lief. 7%USt   A       I               12      32      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6844 271     8190    Erlöse,die mit den Durchschnittssätzen d.§24UStG vers.werd.  A       I       AR_amount       0       \N      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6845 178     8950    Nicht steuerbare Umsätze       A       I               0       5       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6846 293     3110    Leist.v.ausländ.Untern. 7% VSt.u.7%USt.        A       E       AP_amount       8       5       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6847 366     1785    Umsatzsteuer n.§13b UStG       A       I               0       33      \N      7       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      7
6848 290     1588    Bezahlte Einfuhrumsatzsteuer    A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6849 285     1578    Abzieb.Vorst.n.§13b    A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6850 47      3790    Erhaltene Rabatte 16%/19% Vorsteuer     A       I       AP_paid 9       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6851 77      4305    Nicht abziehbare Vorsteuer 16%/19%      A       E       AP_paid 0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6852 164     8760    Gewährte Boni 16%/19% USt.     A       E       AR_paid 3       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6853 166     8790    Gewährte Rabatte 16%/19% Ust.  A       E       AR_paid 3       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6854 167     8820    Erlöse aus Anlageverkäufen Sachanl.verm.b.Buchgewinn16%/19%Ust        A       I       AR_amount       3       5       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6855 171     8910    Entnahme des Untern.f.Zwecke ausserh.d.Untern 16%/19%(Waren)    A       I       AR_amount       3       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6856 175     8925    Unentgeltl.Erbring.sons.Leis.16%/19%USt A       I       AR_amount       3       \N      \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6857 177     8935    Unentgeltl.Zuwend.v.Gegens. 16%/19% Ust A       I       AR_amount       3       \N      \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6858 255     8921    Verwend.v.Gegenst.f.Zwecke außerh.d.Untern.16%/19%USt(Kfz-Nutzung)     A       I               0       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6859 256     8922    Verwend.f.Gegenst.f.Zwecke außerh.d.Untern.16%/19%USt(Telefonnutzung)  A       I               0       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6860 275     8809    Erlöse aus Verk.Sachanlagevermögen16%/19% USt (bei Buchverlust)       A       E               0       \N      \N      2       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2
6861 276     8801    Erlöse aus Anlagenverkäufen Sachanl.verm.b.Buchverl.16%/19%USt.       A       E               3       5       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6862 300     8920    Verw.v.Gegens.f.Zwecke ausserh.d.Untern.16%/19%USt.     A       I               3       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6863 302     8940    Unentgeltl.Zuw.v Waren 16%/19% Ust      A       I               3       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3
6864 320     2405    Forderungsverluste 16%/19% USt.(übliche Höhe  A       E               3       20      \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6865 184     8400    Erlöse 19 % / 16 % USt A       I       AR_amount:IC_sale:IC_income     3       1       \N      1       t       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      \N      \N      1
6866 17      1780    Umsatzsteuer-Vorauszahlungen    A       E               0       \N      \N      28      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      28
6867 18      1790    Umsatzsteuer Vorjahr    A       E               0       \N      \N      28      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      28
6868 239     4831    Abschreibung auf Gebäude       A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25
6869 341     8650    Erlöse Zinsen und Diskotspesen A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4
6870 342     8700    Erlösschmälerungen    A       I               0       32      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6871 344     8720    Erlösschmälerung 16%/19% USt. A       I               3       32      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6872 346     8726    Erlösschmä.Inl.stpfl.EG-Lief.16%/19%USt       A       I               13      32      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6873 294     3120    Leist.v.ausländ.Untern. 16%/19% VSt.u.16%/19%USt.      A       E       AP_amount       9       5       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6874 862     1570    Anrechenbare Vorsteuer  A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      \N      f       2018-11-30 19:55:46.317645      2018-11-30 19:56:03.190929      \N      \N      \N
6875 863     1574    Abziehbare Vorsteuer aus innergem. Erwerb 19 %  A       E       AP_tax:IC_taxpart:IC_taxservice 19      \N      \N      \N      f       2018-11-30 19:55:46.317645      2018-11-30 19:56:03.190929      \N      \N      \N
6876 864     1774    Umsatzsteuer aus innergem. Erwerb 19 %  A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      \N      f       2018-11-30 19:55:46.317645      2018-11-30 19:56:03.190929      \N      \N      \N
6877 262     1772    Umsatzsteuer 7% innergem.Erwerb A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      6       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      6
6878 258     1572    Abziehbare Vorsteuer 7% innergem. Erwerb        A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6879 260     1573    Abziehbare Vorsteuer 16% innergem. Erwerb       A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27
6880 39      3425    Innergem. Erwerb 16%/19% VSt u. USt.    A       E       AP_amount:IC_cogs       0       4       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6881 38      3420    Innergem. Erwerb 7% VSt u. USt. A       E       AP_amount:IC_cogs       0       4       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8
6882 194     1771    Umsatzsteuer 7% A       I       AR_tax:IC_taxpart:IC_taxservice 2       \N      \N      6       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      6
6883 161     8731    Gewährte Skonti 7% USt A       I       AR_paid 2       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1
6884 42      3731    Erhaltene Skonti 7% Vorsteuer   A       E       AP_paid 8       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6885 43      3735    Erhaltene Skonti 16%/19% Vorsteuer      A       E       AP_paid 9       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N
6886 263     1773    Umsatzsteuer 5 %        A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      28      f       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      \N      \N      28
6887 162     8736    Gewährte Skonti 19 % USt       A       I       AR_paid 3       1       \N      1       f       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      \N      \N      1
6888 1110    1711    Erhaltene, versteuerte Anzahlungen 7 % USt (Verbindlichkeiten)  A       L       AR_amount       0       \N      \N      \N      f       2023-12-16 23:40:35.617575      \N      \N      \N      \N
6889 1112    1718    Erhaltene, versteuerte Anzahlungen 19 % USt (Verbindlichkeiten) A       L       AR_amount       0       \N      \N      \N      f       2023-12-16 23:40:35.628546      \N      \N      \N      \N
6890 1108    1593    Verrechnungskonto erhalt. Anzahl. bei Buchung Ã¼ber Debitorenkonto      A       L       AR      0       \N      \N      \N      f       2023-12-16 23:40:35.603336      2023-12-16 23:40:35.67778       \N      \N      \N
6891 1114    1787    Umsatzsteuer nach Â§13b UStG 19%        A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      \N      f       2023-12-16 23:40:35.919304      \N      \N      \N      \N
6892 \.
6893
6894
6895 --
6896 -- Data for Name: contact_departments; Type: TABLE DATA; Schema: public; Owner: kivitendo
6897 --
6898
6899 COPY public.contact_departments (id, description) FROM stdin;
6900 \.
6901
6902
6903 --
6904 -- Data for Name: contact_titles; Type: TABLE DATA; Schema: public; Owner: kivitendo
6905 --
6906
6907 COPY public.contact_titles (id, description) FROM stdin;
6908 \.
6909
6910
6911 --
6912 -- Data for Name: contacts; Type: TABLE DATA; Schema: public; Owner: kivitendo
6913 --
6914
6915 COPY public.contacts (cp_id, cp_cv_id, cp_title, cp_givenname, cp_name, cp_email, cp_phone1, cp_phone2, itime, mtime, cp_fax, cp_mobile1, cp_mobile2, cp_satphone, cp_satfax, cp_project, cp_privatphone, cp_privatemail, cp_abteilung, cp_gender, cp_street, cp_zipcode, cp_city, cp_birthday, cp_position, cp_main) FROM stdin;
6916 \.
6917
6918
6919 --
6920 -- Data for Name: csv_import_profile_settings; Type: TABLE DATA; Schema: public; Owner: kivitendo
6921 --
6922
6923 COPY public.csv_import_profile_settings (id, csv_import_profile_id, key, value) FROM stdin;
6924 1       1       charset UTF-8
6925 2       1       full_preview    0
6926 3       1       update_policy   skip
6927 4       1       numberformat    1000.00
6928 5       1       sep_char        ;
6929 6       1       quote_char      "
6930 7       1       escape_char     "
6931 8       1       json_mappings   []
6932 9       1       duplicates      no_check
6933 10      1       dont_edit_profile       1
6934 \.
6935
6936
6937 --
6938 -- Data for Name: csv_import_profiles; Type: TABLE DATA; Schema: public; Owner: kivitendo
6939 --
6940
6941 COPY public.csv_import_profiles (id, name, type, is_default, login) FROM stdin;
6942 1       MT940   bank_transactions       t       default
6943 \.
6944
6945
6946 --
6947 -- Data for Name: csv_import_report_rows; Type: TABLE DATA; Schema: public; Owner: kivitendo
6948 --
6949
6950 COPY public.csv_import_report_rows (id, csv_import_report_id, col, "row", value) FROM stdin;
6951 \.
6952
6953
6954 --
6955 -- Data for Name: csv_import_report_status; Type: TABLE DATA; Schema: public; Owner: kivitendo
6956 --
6957
6958 COPY public.csv_import_report_status (id, csv_import_report_id, "row", type, value) FROM stdin;
6959 \.
6960
6961
6962 --
6963 -- Data for Name: csv_import_reports; Type: TABLE DATA; Schema: public; Owner: kivitendo
6964 --
6965
6966 COPY public.csv_import_reports (id, session_id, profile_id, type, file, numrows, numheaders, test_mode) FROM stdin;
6967 \.
6968
6969
6970 --
6971 -- Data for Name: currencies; Type: TABLE DATA; Schema: public; Owner: kivitendo
6972 --
6973
6974 COPY public.currencies (id, name) FROM stdin;
6975 1       EUR
6976 2       USD
6977 \.
6978
6979
6980 --
6981 -- Data for Name: custom_data_export_queries; Type: TABLE DATA; Schema: public; Owner: kivitendo
6982 --
6983
6984 COPY public.custom_data_export_queries (id, name, description, sql_query, access_right, itime, mtime) FROM stdin;
6985 \.
6986
6987
6988 --
6989 -- Data for Name: custom_data_export_query_parameters; Type: TABLE DATA; Schema: public; Owner: kivitendo
6990 --
6991
6992 COPY public.custom_data_export_query_parameters (id, query_id, name, description, parameter_type, itime, mtime, default_value_type, default_value) FROM stdin;
6993 \.
6994
6995
6996 --
6997 -- Data for Name: custom_variable_config_partsgroups; Type: TABLE DATA; Schema: public; Owner: kivitendo
6998 --
6999
7000 COPY public.custom_variable_config_partsgroups (custom_variable_config_id, partsgroup_id, itime, mtime) FROM stdin;
7001 \.
7002
7003
7004 --
7005 -- Data for Name: custom_variable_configs; Type: TABLE DATA; Schema: public; Owner: kivitendo
7006 --
7007
7008 COPY public.custom_variable_configs (id, name, description, type, module, default_value, options, searchable, includeable, included_by_default, sortkey, itime, mtime, flags, first_tab) FROM stdin;
7009 \.
7010
7011
7012 --
7013 -- Data for Name: custom_variables; Type: TABLE DATA; Schema: public; Owner: kivitendo
7014 --
7015
7016 COPY public.custom_variables (id, config_id, trans_id, bool_value, timestamp_value, text_value, number_value, itime, mtime, sub_module) FROM stdin;
7017 \.
7018
7019
7020 --
7021 -- Data for Name: custom_variables_validity; Type: TABLE DATA; Schema: public; Owner: kivitendo
7022 --
7023
7024 COPY public.custom_variables_validity (id, config_id, trans_id, itime) FROM stdin;
7025 \.
7026
7027
7028 --
7029 -- Data for Name: customer; Type: TABLE DATA; Schema: public; Owner: kivitendo
7030 --
7031
7032 COPY public.customer (id, name, department_1, department_2, street, zipcode, city, country, contact, phone, fax, homepage, email, notes, discount, taxincluded, creditlimit, customernumber, cc, bcc, business_id, taxnumber, account_number, bank_code, bank, language, itime, mtime, obsolete, username, user_password, salesman_id, c_vendor_id, language_id, payment_id, taxzone_id, greeting, ustid, iban, bic, direct_debit, depositor, taxincluded_checked, mandator_id, mandate_date_of_signature, delivery_term_id, hourly_rate, currency_id, gln, pricegroup_id, order_lock, commercial_court, invoice_mail, contact_origin, delivery_order_mail, create_zugferd_invoices, natural_person, c_vendor_routing_id, postal_invoice) FROM stdin;
7033 \.
7034
7035
7036 --
7037 -- Data for Name: datev; Type: TABLE DATA; Schema: public; Owner: kivitendo
7038 --
7039
7040 COPY public.datev (beraternr, beratername, mandantennr, dfvkz, datentraegernr, abrechnungsnr, itime, mtime, id) FROM stdin;
7041 \.
7042
7043
7044 --
7045 -- Data for Name: defaults; Type: TABLE DATA; Schema: public; Owner: kivitendo
7046 --
7047
7048 COPY public.defaults (inventory_accno_id, income_accno_id, expense_accno_id, fxgain_accno_id, fxloss_accno_id, invnumber, sonumber, weightunit, businessnumber, version, closedto, revtrans, ponumber, sqnumber, rfqnumber, customernumber, vendornumber, articlenumber, servicenumber, coa, itime, mtime, rmanumber, cnnumber, accounting_method, inventory_system, profit_determination, dunning_ar_amount_fee, dunning_ar_amount_interest, dunning_ar, pdonumber, sdonumber, ar_paid_accno_id, id, language_id, datev_check_on_sales_invoice, datev_check_on_purchase_invoice, datev_check_on_ar_transaction, datev_check_on_ap_transaction, datev_check_on_gl_transaction, payments_changeable, is_changeable, ir_changeable, ar_changeable, ap_changeable, gl_changeable, show_bestbefore, sales_order_show_delete, purchase_order_show_delete, sales_delivery_order_show_delete, purchase_delivery_order_show_delete, is_show_mark_as_paid, ir_show_mark_as_paid, ar_show_mark_as_paid, ap_show_mark_as_paid, warehouse_id, bin_id, company, taxnumber, co_ustid, duns, sepa_creditor_id, templates, max_future_booking_interval, "precision", webdav, webdav_documents, vertreter, parts_show_image, parts_listing_image, parts_image_css, normalize_vc_names, normalize_part_descriptions, assemblynumber, show_weight, transfer_default, transfer_default_use_master_default_bin, transfer_default_ignore_onhand, warehouse_id_ignore_onhand, bin_id_ignore_onhand, balance_startdate_method, currency_id, customer_hourly_rate, signature, requirement_spec_section_order_part_id, transfer_default_services, rndgain_accno_id, rndloss_accno_id, global_bcc, customer_projects_only_in_sales, reqdate_interval, require_transaction_description_ps, sales_purchase_order_ship_missing_column, allow_sales_invoice_from_sales_quotation, allow_sales_invoice_from_sales_order, allow_new_purchase_delivery_order, allow_new_purchase_invoice, disabled_price_sources, transport_cost_reminder_article_number_id, is_transfer_out, ap_chart_id, ar_chart_id, letternumber, order_always_project, project_status_id, project_type_id, feature_balance, feature_datev, feature_erfolgsrechnung, feature_eurechnung, feature_ustva, order_warn_duplicate_parts, show_longdescription_select_item, email_journal, quick_search_modules, stocktaking_warehouse_id, stocktaking_bin_id, stocktaking_cutoff_date, stocktaking_qty_threshold, bcc_to_login, create_part_if_not_found, feature_experimental_order, fa_bufa_nr, fa_dauerfrist, fa_steuerberater_city, fa_steuerberater_name, fa_steuerberater_street, fa_steuerberater_tel, fa_voranmeld, doc_delete_printfiles, doc_max_filesize, doc_storage, doc_storage_for_documents, doc_storage_for_attachments, doc_storage_for_images, doc_files, doc_files_rootpath, doc_webdav, shipped_qty_require_stock_out, sepa_reference_add_vc_vc_id, assortmentnumber, feature_experimental_assortment, doc_storage_for_shopimages, datev_export_format, order_warn_no_deliverydate, sepa_set_duedate_as_default_exec_date, sepa_set_skonto_date_as_default_exec_date, sepa_set_skonto_date_buffer_in_days, delivery_date_interval, email_attachment_vc_files_checked, email_attachment_part_files_checked, email_attachment_record_files_checked, invoice_mail_settings, dunning_creator, address_street1, address_street2, address_zipcode, address_city, address_country, workflow_po_ap_chart_id, carry_over_account_chart_id, profit_carried_forward_chart_id, loss_carried_forward_chart_id, contact_departments_use_textfield, contact_titles_use_textfield, create_zugferd_invoices, vc_greetings_use_textfield, sales_serial_eq_charge, undo_transfer_interval, create_qrbill_invoices, customer_ustid_taxnummer_unique, vendor_ustid_taxnummer_unique, sales_delivery_order_check_stocked, purchase_delivery_order_check_stocked, ir_add_doc, ar_add_doc, ap_add_doc, gl_add_doc, reqdate_on, deliverydate_on, sales_delivery_order_check_service, purchase_delivery_order_check_service, produce_assembly_same_warehouse, produce_assembly_transfer_service, warn_no_delivery_order_for_invoice, order_warn_no_cusordnumber, partsgroup_required, print_interpolate_variables_in_positions, sales_purchase_record_numbers_changeable, always_record_links_from_order, sudonumber, rdonumber, advance_payment_clearing_chart_id, advance_payment_taxable_19_id, advance_payment_taxable_7_id, invoice_prevent_browser_back) FROM stdin;
7049 \N      \N      \N      \N      \N      \N      \N      \N      \N      2.4.0.0 \N      f       \N      \N      \N      \N      \N      \N      \N      Germany-DATEV-SKR03EU   2018-11-30 19:55:38.426226      \N      \N      \N      accrual perpetual       balance \N      \N      \N      0       0       \N      1       \N      t       t       t       t       t       0       2       2       2       2       2       f       t       t       t       t       t       t       t       t       \N      \N      \N      \N      \N      \N      \N      \N      360     0.01000 f       f       f       t       f       border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px; t       t       \N      f       t       f       f       \N      \N      closedto        1       100.00  \N      \N      t       \N      \N              f       0       f       f       t       t       t       t       \N      \N      f       \N      \N      \N      f       \N      \N      t       t       f       t       t       t       f       2       {contact,gl_transaction}        \N      \N      \N      0.00000 f       t       t       \N      \N      \N      \N      \N      \N      \N      f       10000000        f       Filesystem      Filesystem      Filesystem      f       ./documents     f       f       f       \N      t       Filesystem      cp1252-translit t       f       f       0       0       t       t       t       cp      current_employee                                                \N      \N      \N      \N      t       t       1       t       f       7       0       f       f       f       f       f       f       f       f       t       t       t       t       t       f       f       f       f       t       f       f       0       0       1108    1112    1110    f
7050 \.
7051
7052
7053 --
7054 -- Data for Name: delivery_order_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
7055 --
7056
7057 COPY public.delivery_order_items (id, delivery_order_id, parts_id, description, qty, sellprice, discount, project_id, reqdate, serialnumber, ordnumber, transdate, cusordnumber, unit, base_qty, longdescription, lastcost, price_factor_id, price_factor, marge_price_factor, itime, mtime, pricegroup_id, "position", active_price_source, active_discount_source) FROM stdin;
7058 \.
7059
7060
7061 --
7062 -- Data for Name: delivery_order_items_stock; Type: TABLE DATA; Schema: public; Owner: kivitendo
7063 --
7064
7065 COPY public.delivery_order_items_stock (id, delivery_order_item_id, qty, unit, warehouse_id, bin_id, chargenumber, itime, mtime, bestbefore) FROM stdin;
7066 \.
7067
7068
7069 --
7070 -- Data for Name: delivery_orders; Type: TABLE DATA; Schema: public; Owner: kivitendo
7071 --
7072
7073 COPY public.delivery_orders (id, donumber, ordnumber, transdate, vendor_id, customer_id, reqdate, shippingpoint, notes, intnotes, employee_id, closed, delivered, cusordnumber, oreqnumber, department_id, shipvia, cp_id, language_id, shipto_id, globalproject_id, salesman_id, transaction_description, is_sales, itime, mtime, taxzone_id, taxincluded, delivery_term_id, currency_id, payment_id, tax_point, billing_address_id, order_type) FROM stdin;
7074 \.
7075
7076
7077 --
7078 -- Data for Name: delivery_terms; Type: TABLE DATA; Schema: public; Owner: kivitendo
7079 --
7080
7081 COPY public.delivery_terms (id, description, description_long, sortkey, itime, mtime) FROM stdin;
7082 \.
7083
7084
7085 --
7086 -- Data for Name: department; Type: TABLE DATA; Schema: public; Owner: kivitendo
7087 --
7088
7089 COPY public.department (id, description, itime, mtime) FROM stdin;
7090 \.
7091
7092
7093 --
7094 -- Data for Name: drafts; Type: TABLE DATA; Schema: public; Owner: kivitendo
7095 --
7096
7097 COPY public.drafts (id, module, submodule, description, itime, form, employee_id) FROM stdin;
7098 \.
7099
7100
7101 --
7102 -- Data for Name: dunning; Type: TABLE DATA; Schema: public; Owner: kivitendo
7103 --
7104
7105 COPY public.dunning (id, trans_id, dunning_id, dunning_level, transdate, duedate, fee, interest, dunning_config_id, itime, mtime, fee_interest_ar_id, original_invoice_printed) FROM stdin;
7106 \.
7107
7108
7109 --
7110 -- Data for Name: dunning_config; Type: TABLE DATA; Schema: public; Owner: kivitendo
7111 --
7112
7113 COPY public.dunning_config (id, dunning_level, dunning_description, active, auto, email, terms, payment_terms, fee, interest_rate, email_body, email_subject, email_attachment, template, create_invoices_for_fees, print_original_invoice) FROM stdin;
7114 \.
7115
7116
7117 --
7118 -- Data for Name: email_journal; Type: TABLE DATA; Schema: public; Owner: kivitendo
7119 --
7120
7121 COPY public.email_journal (id, sender_id, "from", recipients, sent_on, subject, body, headers, status, extended_status, itime, mtime) FROM stdin;
7122 \.
7123
7124
7125 --
7126 -- Data for Name: email_journal_attachments; Type: TABLE DATA; Schema: public; Owner: kivitendo
7127 --
7128
7129 COPY public.email_journal_attachments (id, "position", email_journal_id, name, mime_type, content, itime, mtime, file_id) FROM stdin;
7130 \.
7131
7132
7133 --
7134 -- Data for Name: employee; Type: TABLE DATA; Schema: public; Owner: kivitendo
7135 --
7136
7137 COPY public.employee (id, login, startdate, enddate, sales, itime, mtime, name, deleted, deleted_email, deleted_signature, deleted_tel, deleted_fax) FROM stdin;
7138 1107    michael 2021-01-16      \N      t       2021-01-16 23:40:38.27028       \N      michael f       \N      \N      \N      \N
7139 \.
7140
7141
7142 --
7143 -- Data for Name: employee_project_invoices; Type: TABLE DATA; Schema: public; Owner: kivitendo
7144 --
7145
7146 COPY public.employee_project_invoices (employee_id, project_id) FROM stdin;
7147 \.
7148
7149
7150 --
7151 -- Data for Name: exchangerate; Type: TABLE DATA; Schema: public; Owner: kivitendo
7152 --
7153
7154 COPY public.exchangerate (transdate, buy, sell, itime, mtime, id, currency_id) FROM stdin;
7155 \.
7156
7157
7158 --
7159 -- Data for Name: file_full_texts; Type: TABLE DATA; Schema: public; Owner: kivitendo
7160 --
7161
7162 COPY public.file_full_texts (id, file_id, full_text, itime, mtime) FROM stdin;
7163 \.
7164
7165
7166 --
7167 -- Data for Name: files; Type: TABLE DATA; Schema: public; Owner: kivitendo
7168 --
7169
7170 COPY public.files (id, object_type, object_id, file_name, file_type, mime_type, source, backend, backend_data, title, description, itime, mtime, print_variant) FROM stdin;
7171 \.
7172
7173
7174 --
7175 -- Data for Name: finanzamt; Type: TABLE DATA; Schema: public; Owner: kivitendo
7176 --
7177
7178 COPY public.finanzamt (fa_land_nr, fa_bufa_nr, fa_name, fa_strasse, fa_plz, fa_ort, fa_telefon, fa_fax, fa_plz_grosskunden, fa_plz_postfach, fa_postfach, fa_blz_1, fa_kontonummer_1, fa_bankbezeichnung_1, fa_blz_2, fa_kontonummer_2, fa_bankbezeichnung_2, fa_oeffnungszeiten, fa_email, fa_internet, id) FROM stdin;
7179 10      1010    Saarlouis       Gaswerkweg 25   66740   Saarlouis       06831/4490      06831/449397            66714   1440    59000000        59301502        BBK SAARBRUECKEN        59010066        7761668 POSTBANK SAARBRUECKEN   Mo,Di,Do 7.30-15.30, Mi 7.30-18,Fr 7.30-12                      1
7180 10      1020    Merzig  Am Gaswerk      66663   Merzig  06861/7030      06861/703133            66653   100232  59000000        59301502        BBK SAARBRUECKEN        59010066        7761668 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 7.30-12.00                     2
7181 10      1030    Neunkirchen     Uhlandstr.      66538   Neunkirchen     06821/1090      06821/109275            66512   1234    59000000        59001508        BBK SAARBRUECKEN        59010066        2988669 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 07.30-12.00                    3
7182 10      1040    Saarbrücken Am Stadtgr         Am Stadtgraben 2-4      66111   Saarbrücken    0681/30000      0681/3000329            66009   100952  59000000        59001502        BBK SAARBRUECKEN        59010066        7766663 POSTBANK SAARBRUECKEN   Mo,Di,Do 7.30-15.30, Mi 7.30-18,Fr 7.30-12                      4
7183 10      1055    Saarbrücken MainzerStr         Mainzer Str.109-111     66121   Saarbrücken    0681/30000      0681/3000762            66009   100944  59000000        59001502        BBK SAARBRUECKEN        59010066        7766663 POSTBANK SAARBRUECKEN   Mo,Mi,Fr 8.30-12.00, zus. Mi 13.30 - 15.30                      5
7184 10      1060    St. Wendel      Marienstr. 27   66606   St. Wendel      06851/8040      06851/804189            66592   1240    59000000        59001508        BBK SAARBRUECKEN        59010066        2988669 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 07.30-12.00                    6
7185 10      1070    Sulzbach        Vopeliusstr. 8  66280   Sulzbach        06897/9082-0    06897/9082110           66272   1164    59000000        59001502        BBK SAARBRUECKEN        59010066        7766663 POSTBANK SAARBRUECKEN   Mo,Mi,Fr 08.30-12.00, zus. Mi 13.30-18.00                       7
7186 10      1075    Homburg         Schillerstr. 15 66424   Homburg 06841/6970      06841/697199            66406   1551    59000000        59001508        BBK SAARBRUECKEN        59010066        2988669 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 07.30-12.00                    8
7187 10      1085    St. Ingbert     Rentamtstr. 39  66386   St. Ingbert     06894/984-01    06894/984159            66364   1420    59000000        59001508        BBK SAARBRUECKEN        59010066        2988669 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 7.30-12.00                     9
7188 10      1090    Völklingen     Marktstr.       66333   Völklingen     06898/20301     06898/203133            66304   101440  59000000        59001502        BBK SAARBRUECKEN        59010066        7766663 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 07.30-12.00                    10
7189 11      1113    Berlin Charlottenburg   Bismarckstraße 48      10627   Berlin  030 9024-13-0   030 9024-13-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      facharlottenburg@berlin.de      http://www.berlin.de/ofd        11
7190 11      1114    Berlin Kreuzberg        Mehringdamm 22  10961   Berlin  030 9024-14-0   030 9024-14-900 10958                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakreuzberg@berlin.de   http://www.berlin.de/oberfinanzdirektion        12
7191 11      1115    Berlin Neukölln                                                                                                                                faneukoelln@berlin.de           13
7192 11      1116    Berlin Neukölln        Thiemannstr. 1  12059   Berlin  030 9024-16-0   030 9024-16-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      faneukoelln@berlin.de   http://www.berlin.de/oberfinanzdirektion        14
7193 11      1117    Berlin Reinickendorf    Eichborndamm 208        13403   Berlin  030 9024-17-0   030 9024-17-900 13400                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fareinickendorf@berlin.de       http://www.berlin.de/oberfinanzdirektion        15
7194 11      1118    Berlin Schöneberg      Bülowstraße 85/88     10783   Berlin  030/9024-18-0   030/9024-18-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Montag und Freitag: 8:00 - 13:00 Uhr Donnerstag: 11:00 - 18:00 Uhr      faschoeneberg@berlin.de http://www.berlin.de/oberfinanzdirektion        16
7195 11      1119    Berlin Spandau  Nonnendammallee 15-21   13599   Berlin  030/9024-19-0   030/9024-19-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      faspandau@berlin.de     http://www.berlin.de/oberfinanzdirektion        17
7196 11      1120    Berlin Steglitz Schloßstr. 58/59       12165   Berlin  030/9024-20-0   030/9024-20-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fasteglitz@berlin.de    http://www.berlin.de/oberfinanzdirektion        18
7197 11      1121    Berlin Tempelhof        Tempelhofer Damm 234/236        12099   Berlin  030 9024-21-0   030 9024-21-900 12096                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fatempelhof@berlin.de   http://www.berlin.de/oberfinanzdirektion        19
7198 11      1123    Berlin Wedding  Osloer Straße 37       13359   Berlin  030 9024-23-0   030 9024-23-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fawedding@berlin.de     http://www.berlin.de/oberfinanzdirektion        20
7199 11      1124    Berlin Wilmersdorf      Blissestr. 5    10713   Berlin  030/9024-24-0   030/9024-24-900 10702                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fawilmersdorf@berlin.de http://www.berlin.de/oberfinanzdirektion        21
7200 11      1125    Berlin Zehlendorf       Martin-Buber-Str. 20/21 14163   Berlin  030 9024-25-0   030 9024-25-900 14160                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fazehlendorf@berlin.de  http://www.berlin.de/oberfinanzdirektion        22
7201 11      1127    Berlin für Körperschaften I   Gerichtstr. 27  13347   Berlin  030 9024-27-0   030 9024-27-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakoerperschaften1@berlin.de    http://www.berlin.de/oberfinanzdirektion        23
7202 11      1128    Berlin Pankow/Weißennsee - nur KFZ-Steuer -    Berliner Straße 32     13089   Berlin  030/4704-0      030/94704-1777  13083                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      pankow.weissensee@berlin.de     http://www.berlin.de/oberfinanzdirektion        24
7203 11      1129    Berlin für Körperschaften III Volkmarstr. 13  12099   Berlin  030/70102-0     030/70102-100           12068   420844  10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakoeperschaften3@berlin.de     http://www.berlin.de/oberfinanzdirektion        25
7204 11      1130    Berlin für Körperschaften IV  Magdalenenstr. 25       10365   Berlin  030 9024-30-0   030 9024-30-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakoeperschaften4@berlin.de     http://www.berlin.de/oberfinanzdirektion        26
7205 11      1131    Berlin Friedrichsh./Prenzb.     Pappelallee 78/79       10437   Berlin  030 9024-28-0   030 9024-28-900 10431                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fafriedrichshain.prenzlauerberg@berlin.de       http://www.berlin.de/oberfinanzdirektion        27
7206 11      1132    Berlin Lichtenb./Hohenschh.     Josef-Orlopp-Str. 62    10365   Berlin  030/5501-0      030/55012222    10358                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      falichtenberg.hohenschoenhausen@berlin.de       http://www.berlin.de/oberfinanzdirektion        28
7207 11      1133    Berlin Hellersdorf/Marzahn      Allee der Kosmonauten 29        12681   Berlin  030 9024-26-0   030 9024-26-900 12677                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fahellersdorf.marzahn@berlin.de http://www.berlin.de/oberfinanzdirektion        29
7208 11      1134    Berlin Mitte/Tiergarten Neue Jakobstr. 6-7      10179   Berlin  030 9024-22-0   030 9024-22-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      famitte.tiergarten@berlin.de    http://www.berlin.de/oberfinanzdirektion        30
7209 11      1135    Berlin Pankow/Weißensee        Berliner Straße 32     13089   Berlin  030/4704-0      030/47041777    13083                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      pankow.weissensee@berlin.de     http://www.berlin.de/oberfinanzdirektion        31
7210 11      1136    Berlin Treptow/Köpenick        Seelenbinderstr. 99     12555   Berlin  030 9024-12-0   030 9024-12-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fatreptow.koepenick@berlin.de   http://www.berlin.de/oberfinanzdirektion        32
7211 11      1137    Berlin für Körperschaften II  Magdalenenstr. 25       10365   Berlin  030 9024-29-0   030 9024-29-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakoeperschaften2@berlin.de     http://www.berlin.de/oberfinanzdirektion        33
7212 11      1138    Berlin für Fahndung und Strafsachen    Colditzstr. 41  12099   Berlin  030/70102-777   030/70102-700                                                                           Mo - Mi 10:00 - 14:00, Do 10:00 - 18:00, Fr 10:00 - 14:00 Uhr   fafahndung.strafsachen@berlin.de        http://www.berlin.de/oberfinanzdirektion        34
7213 1       2111    Bad Segeberg    Theodor-Storm-Str. 4-10 23795   Bad Segeberg    04551 54-0      04551 54-303    23792                   23000000        23001502        BBK LUEBECK     23051030        744     KR SPK SUEDHOLSTEIN BAD SEG     0830-1200 MO, DI, DO, FR, 1330-1630 DO                  35
7214 1       2112    Eckernförde    Bergstr. 50     24340   Eckernförde    04351 756-0     04351 83379             24331   1180    21000000        21001500        BBK KIEL        21092023        11511260        ECKERNFOERDER BANK VRB  0800-1200 MO-FR                 36
7215 1       2113    Elmshorn        Friedensallee 7-9       25335   Elmshorn        04121 481-0     04121 481-460   25333                   22200000        22201502        BBK KIEL EH ITZEHOE                             0800-1200 MO-FR                 37
7216 1       2114    Eutin   Robert-Schade-Str. 22   23701   Eutin   04521 704-0     04521 704-406           23691   160     23000000        23001505        BBK LUEBECK     21352240        4283    SPK OSTHOLSTEIN EUTIN   0830-1200 MO-FR, Nebenstelle Janusstr. 5 am Mo., Di, Do und Fr. 0830-1200, Do. 1330-1700                        38
7217 1       2115    Flensburg       Duburger Str. 58-64     24939   Flensburg       0461 813-0      0461 813-254            24905   1552    21500000        21501500        BBK FLENSBURG                           0800-1200 MO-FR                 39
7218 1       2116    Heide   Ernst-Mohr-Str. 34      25746   Heide   0481 92-1       0481 92-690     25734                   21500000        21701502        BBK FLENSBURG   22250020        60000123        SPK WESTHOLSTEIN        0800-1200 MO, DI, DO, FR, 1400-1700 DO                  40
7219 1       2117    Husum   Herzog-Adolf-Str. 18    25813   Husum   04841 8949-0    04841 8949-200          25802   1230    21500000        21701500        BBK FLENSBURG                           0800-1200 MO-FR                 41
7220 1       2118    Itzehoe         Fehrsstr. 5     25524   Itzehoe 04821 66-0      04821 661-499           25503   1344    22200000        22201500        BBK KIEL EH ITZEHOE                             0800-1200 MO, DI, DO, FR, 1400-1730 DO                  42
7221 1       2119    Kiel-Nord       Holtenauer Str. 183     24118   Kiel    0431 8819-0     0431 8819-1200  24094                   21000000        21001501        BBK KIEL        21050000        52001500        HSH NORDBANK KIEL       0800-1200 MO-FR 1430-1600 DI                    43
7222 1       2120    Kiel-Süd       Hopfenstr. 2a   24114   Kiel    0431 602-0      0431 602-1009   24095                   21000000        21001502        BBK KIEL        21050000        52001510        HSH NORDBANK KIEL       0800-1200 MO, DI, DO, FR, 1430-1730 DI                  44
7223 1       2121    Leck    Eesacker Str. 11 a      25917   Leck    04662 85-0      04662 85-266            25912   1240    21700000        21701501        BBK FLENSBURG EH HUSUM  21750000        80003569        NORD-OSTSEE SPK SCHLESWIG       0800-1200 MO-FR                 45
7224 1       2122    Lübeck         Possehlstr. 4   23560   Lübeck 0451 132-0      0451 132-501    23540                   23000000        23001500        BBK LUEBECK     21050000        7052000200      HSH NORDBANK KIEL       0730-1300 MO+DI 0730-1700 Do 0730-1200 Fr                       46
7225 1       2123    Meldorf         Jungfernstieg 1 25704   Meldorf 04832 87-0      04832 87-2508           25697   850     21500000        21701503        BBK FLENSBURG   21851830        106747  VERB SPK MELDORF        0800-1200 MO, DI, DO, FR, 1400-1700 MO                  47
7226 1       2124    Neumünster     Bahnhofstr. 9   24534   Neumünster     04321 496 0     04321 496-189   24531                   21000000        21001507        BBK KIEL                                0800-1200 MO-MI, FR 1400-1700 DO                        48
7227 1       2125    Oldenburg       Lankenstr. 1    23758   Oldenburg       04361 497-0     04361 497-125           23751   1155    23000000        23001504        BBK LUEBECK     21352240        51000396        SPK OSTHOLSTEIN EUTIN   0900-1200 MO-FR 1400-1600 MI                    49
7228 1       2126    Plön   Fünf-Seen-Allee 1      24306   Plön   04522 506-0     04522 506-2149          24301   108     21000000        21001503        BBK KIEL        21051580        2600    SPK KREIS PLOEN 0800-1200 MO, Di, Do, Fr, 1400-1700 Di                  50
7229 1       2127    Ratzeburg       Bahnhofsallee 20        23909   Ratzeburg       04541 882-01    04541 882-200   23903                   23000000        23001503        BBK LUEBECK     23052750        100188  KR SPK LAUENBURG RATZEBURG      0830-1230 MO, DI, DO, FR, 1430-1730 DO                  51
7230 1       2128    Rendsburg       Ritterstr. 10   24768   Rendsburg       04331 598-0     04331 598-2770          24752   640     21000000        21001504        BBK KIEL        21450000        1113    SPK MITTELHOLSTEIN RENDSBG      0730-1200 MO-FR                 52
7231 1       2129    Schleswig       Suadicanistr. 26-28     24837   Schleswig       04621 805-0     04621 805-290           24821   1180    21500000        21501501        BBK FLENSBURG   21690020        91111   VOLKSBANK RAIFFEISENBANK        0800-1200 MO, DI, DO, FR, 1430-1700 DO                  53
7232 1       2130    Stormarn        Berliner Ring 25        23843   Bad Oldesloe    04531 507-0     04531 507-399   23840                   23000000        23001501        BBK LUEBECK     23051610        20503   SPK BAD OLDESLOE        0830-1200 MO-FR                 54
7233 1       2131    Pinneberg       Friedrich-Ebert-Str. 29 25421   Pinneberg       04101 5472-0    04101 5472-680          25404   1451    22200000        22201503        BBK KIEL EH ITZEHOE                             0800-1200 MO-FR                 55
7234 1       2132    Bad Segeberg / Außenst.Norderstedt     Europaallee 22  22850   Norderstedt     040 523068-0    040 523068-70                           23000000        23001502        BBK LUEBECK     23051030        744     KR SPK SUEDHOLSTEIN BAD SEG     0830-1200 MO, DI, DO, FR, 1330-1630 DO                  56
7235 2       2201    Hamburg Steuerkasse     Steinstraße 10 20095   Hamburg 040/42853-03    040/42853-2159          20041   106026  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerSteuererhebung@finanzamt.hamburg.de              57
7236 2       2210    Hamburg f.VerkSt.u.Grundbes-10  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6199          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              63
7237 2       2216    Hamburg f.VerkSt.u.Grundbes-16  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6199          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              65
7238 2       2217    Hamburg-Mitte-Altstadt 17       Wendenstraße 35 b      20097   Hamburg 040/42853-06    040/42853-6671          20503   261338  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgMitteAltstadt@finanzamt.hamburg.de            66
7239 2       2220    Hamburg f.VerkSt.u.Grundbes-20  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6599          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              67
7240 2       2224    Hamburg-Mitte-Altstadt  Wendenstr. 35 b 20097   Hamburg 040/42853-06    040/42853-6671          20503   261338  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgMitteAltstadt@finanzamt.hamburg.de            69
7241 2       2225    Hamburg-Neustadt-St.Pauli       Steinstraße 10 20095   Hamburg 040/42853-02    040/42853-2106          20015   102246  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgNeustadt@finanzamt.hamburg.de         70
7242 2       2227    Hamburg für Großunternehmen   Amsinckstr. 40  20097   Hamburg 040/42853-05    040/42853-5559          20015   102205  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerGroßunternehmen@finanzamt.hamburg.de            72
7243 2       2228    Hamburg Neust.-St.Pauli-28      Steinstr. 10    20095   Hamburg 040/42853-3589  040/42853-2106          20015   102246  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgNeustadt@finanzamt.hamburg.de         73
7244 2       2230    Hamburg f.Verkehrst.u.Grundbes  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6799          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              74
7245 2       2235    Hamburg f.VerkSt.u.Grundbes-35  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6199          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              75
7246 3       2311    Alfeld (Leine)  Ravenstr.10     31061   Alfeld  05181/7050      05181/705240            31042   1244    25000000        25901505        BBK HANNOVER    25950130        10011102        KR SPK HILDESHEIM       Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-alf.niedersachsen.de      www.ofd.niedersachsen.de        79
7247 3       2312    Bad Gandersheim         Alte Gasse 24   37581   Bad Gandersheim 05382/760       (05382) 76-213 + 204            37575   1180    26000000        26001501        BBK GOETTINGEN  25050000        22801005        NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-gan.niedersachsen.de      www.ofd.niedersachsen.de        80
7248 3       2313    Braunschweig-Altewiekring       Altewiekring 20 38102   Braunschweig    0531/7050       0531/705309             38022   3229    27000000        27001501        BBK BRAUNSCHWEIG        25050000        2498020 NORD LB HANNOVER        Mo. - Fr. 8.00 - 12.00 Uhr, Mo. 14.00 - 17.00 Uhr       Poststelle@fa-bs-a.niedersachsen.de     www.ofd.niedersachsen.de        81
7249 3       2314    Braunschweig-Wilhelmstr.        Wilhelmstr. 4   38100   Braunschweig    0531/4890       0531/489224             38022   3249    27000000        27001502        BBK BRAUNSCHWEIG        25050000        811422  NORD LB HANNOVER        Mo. - Fr. 8.00 - 12.00 Uhr, Mo. 14.00 - 17.00 Uhr       Poststelle@fa-bs-w.niedersachsen.de     www.ofd.niedersachsen.de        82
7250 3       2315    Buchholz in der Nordheide       Bgm.-A.-Meyer-Str. 5    21244   Buchholz        04181/2030      (04181) 203-4444                21232   1262    20000000        20001520        BBK HAMBURG     20750000        3005063 SPK HARBURG-BUXTEHUDE   Mo. - Fr. 8.00 - 12.00 Uhr , Do. 14.00 - 17.00 Uhr      Poststelle@fa-buc.niedersachsen.de      www.ofd.niedersachsen.de        83
7251 3       2316    Burgdorf        V.d.Hannov. Tor 30      31303   Burgdorf        05136/8060      05136/806144    31300                   25000000        25001515        BBK HANNOVER    25050180        1040400010      SPARKASSE HANNOVER      Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-bu.niedersachsen.de       www.ofd.niedersachsen.de        84
7252 3       2317    Celle   Sägemühlenstr. 5      29221   Celle   (05141) 915-0   05141/915666            29201   1107    25000000        25701511        BBK HANNOVER    25750001        59      SPARKASSE CELLE Mo. - Fr. 8.00 - 12.00 Uhr , Do. 14.00 - 17.00 Uhr      Poststelle@fa-ce.niedersachsen.de       www.ofd.niedersachsen.de        85
7253 3       2318    Cuxhaven        Poststr. 81     27474   Cuxhaven        (04721) 563-0   04721/563313            27452   280     29000000        24101501        BBK BREMEN      24150001        100503  ST SPK CUXHAVEN Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-cux.niedersachsen.de      www.ofd.niedersachsen.de        86
7254 3       2319    Gifhorn         Braunschw. Str. 6-8     38518   Gifhorn 05371/8000      05371/800241            38516   1249    27000000        27001503        BBK BRAUNSCHWEIG        26951311        11009958        SPK GIFHORN-WOLFSBURG   Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00   Poststelle@fa-gf.niedersachsen.de       www.ofd.niedersachsen.de        87
7255 3       2320    Göttingen      Godehardstr. 6  37073   Göttingen      0551/4070       0551/407449     37070                   26000000        26001500        BBK GOETTINGEN  26050001        91      SPARKASSE GOETTINGEN    Servicecenter: Mo., Di., Mi. und Fr. 8.00 - 12.00 u. Do. 8.00 - 17.00 Uhr,      Poststelle@fa-goe.niedersachsen.de      www.ofd.niedersachsen.de        88
7256 3       2321    Goslar  Wachtelpforte 40        38644   Goslar  05321/5590      05321/559200            38604   1440    27000000        27001505        BBK BRAUNSCHWEIG        26850001        2220    SPARKASSE GOSLAR/HARZ   Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-gs.niedersachsen.de       www.ofd.niedersachsen.de        89
7257 3       2322    Hameln  Süntelstraße 2        31785   Hameln  05151/2040      05151/204200            31763   101325  25000000        25401511        BBK HANNOVER    25450001        430     ST SPK HAMELN   Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-hm.niedersachsen.de       www.ofd.niedersachsen.de        90
7258 3       2323    Hannover-Land I         Göttinger Chaus. 83A   30459   Hannover        (0511) 419-1    0511/4192269            30423   910320  25000000        25001512        BBK HANNOVER    25050000        101342434       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-h-l1.niedersachsen.de     www.ofd.niedersachsen.de        91
7259 3       2324    Hannover-Mitte  Lavesallee 10   30169   Hannover        0511/16750      0511/1675277            30001   143     25000000        25001516        BBK HANNOVER    25050000        101341816       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhrund nach Vereinbarung  Poststelle@fa-h-mi.niedersachsen.de     www.ofd.niedersachsen.de        92
7260 3       2325    Hannover-Nord   Vahrenwalder Str.206    30165   Hannover        0511/67900      (0511) 6790-6090                30001   167     25000000        25001514        BBK HANNOVER    25050000        101342426       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-h-no.niedersachsen.de     www.ofd.niedersachsen.de        93
7261 3       2326    Hannover-Süd   Göttinger Chaus. 83B   30459   Hannover        0511/4191       0511/4192575            30423   910355  25000000        25001517        BBK HANNOVER    25050000        101342400       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-h-su.niedersachsen.de     www.ofd.niedersachsen.de        94
7262 3       2327    Hannover-Land II        Vahrenwalder Str.208    30165   Hannover        0511/67900      (0511) 6790-6633                30001   165     25000000        25001520        BBK HANNOVER    25050000        101342517       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-h-l2.niedersachsen.de     www.ofd.niedersachsen.de        95
7263 3       2328    Helmstedt       Ernst-Koch-Str.3        38350   Helmstedt       05351/1220      (05351) 122-299         38333   1320    27000000        27101500        BBK BRAUNSCHWEIG        25050000        5801006 NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-he.niedersachsen.de       www.ofd.niedersachsen.de        96
7264 3       2329    Herzberg am Harz        Sieberstr. 1    37412   Herzberg        05521/8570      05521/857220            37401   1153    26000000        26001502        BBK GOETTINGEN  26351015        1229327 SPARKASSE IM KREIS OSTERODE     Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-hz.niedersachsen.de       www.ofd.niedersachsen.de        97
7265 3       2330    Hildesheim      Kaiserstrasse 47        31134   Hildesheim      05121/3020      05121/302480            31104   100455  25000000        25901500        BBK HANNOVER    25950130        5555    KR SPK HILDESHEIM       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-hi.niedersachsen.de       www.ofd.niedersachsen.de        98
7266 3       2331    Holzminden      Ernst-August-Str.30     37603   Holzminden      05531/1220      05531/122100            37601   1251    25000000        25401512        BBK HANNOVER    25050000        27811140        NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-hol.niedersachsen.de      www.ofd.niedersachsen.de        99
7267 3       2332    Lüchow         Mittelstr.5     29439   Lüchow (05841) 963-0   05841/963170            29431   1144    24000000        25801503        BBK LUENEBURG   25851335        2080000 KR SPK LUECHOW-DANNENBERG       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-luw.niedersachsen.de      www.ofd.niedersachsen.de        100
7268 3       2333    Lüneburg       Am Alt. Eisenwerk 4a    21339   Lüneburg       04131/3050      04131/305915    21332                   24000000        24001500        BBK LUENEBURG   24050110        18      SPK LUENEBURG   Mo. - Fr. 8.00-12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung   Poststelle@fa-lg.niedersachsen.de       www.ofd.niedersachsen.de        101
7269 3       2334    Nienburg/Weser  Schloßplatz 10 31582   Nienburg        05021/8011      05021/801300            31580   2000    25000000        25601500        BBK HANNOVER    25650106        302224  SPARKASSE NIENBURG      Mo. - Fr. 7.30 - 12.00 Uhr und nach Vereinbarung, zusätzl. Arbeitnehmerbereich: Do. 14 -       Poststelle@fa-ni.niedersachsen.de       www.ofd.niedersachsen.de        102
7270 3       2335    Northeim        Graf-Otto-Str. 31       37154   Northeim        05551/7040      05551/704221            37142   1261    26000000        26201500        BBK GOETTINGEN  26250001        208     KR SPK NORTHEIM Mo. - Fr. 8.30 - 12.30 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-nom.niedersachsen.de      www.ofd.niedersachsen.de        103
7271 3       2336    Osterholz-Scharmbeck    Pappstraße 2   27711   Osterholz-Scharmbeck    04791/3020      04791/302101            27701   1120    29000000        29001523        BBK BREMEN      29152300        202622  KR SPK OSTERHOLZ        Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-ohz.niedersachsen.de      www.ofd.niedersachsen.de        104
7272 3       2338    Peine   Duttenstedt.Str. 106    31224   Peine   05171/4070      05171/407199    31221                   27000000        27001507        BBK BRAUNSCHWEIG        25250001        75003210        KR SPK PEINE    Mo. - Mi. Fr. 9.00 - 12.00, Do. 13.30 - 16.00 UhrDo. (Infothek) 13.30 - Poststelle@fa-pe.niedersachsen.de       www.ofd.niedersachsen.de        105
7273 3       2340    Rotenburg (Wümme)      Hoffeldstr. 5   27356   Rotenburg       04261/740       04261/74108             27342   1260    29000000        29001522        BBK BREMEN      24151235        26106377        SPK ROTENBURG-BREMERVOERDE      Mo. - Mi., Fr. 8.00 - 12.00 Uhr, Do. 8.00 - 17.30       Poststelle@fa-row.niedersachsen.de      www.ofd.niedersachsen.de        106
7274 3       2341    Soltau  Rühberg 16 - 20        29614   Soltau  05191/8070      05191/807144            29602   1243    24000000        25801502        BBK LUENEBURG   25851660        100016  KR SPK SOLTAU   Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-sol.niedersachsen.de      www.ofd.niedersachsen.de        107
7275 3       2342    Hannover-Land I Außenstelle Springe    Bahnhofstr. 28  31832   Springe 05041/7730      05041/77363             31814   100255  25000000        25001512        BBK HANNOVER    25050180        3001000037      SPARKASSE HANNOVER      Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-ast-spr.niedersachsen.de  www.ofd.niedersachsen.de        108
7276 3       2343    Stade   Harburger Str. 113      21680   Stade   (04141) 536-0   (04141) 536-499 21677                   24000000        24001560        BBK LUENEBURG   24151005        42507   SPK STADE-ALTES LAND    Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-std.niedersachsen.de      www.ofd.niedersachsen.de        109
7277 3       2344    Stadthagen      Schloß 31655   Stadthagen      05721/7050      05721/705250    31653                   49000000        49001502        BBK MINDEN, WESTF       25551480        470140401       SPARKASSE SCHAUMBURG    Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-shg.niedersachsen.de      www.ofd.niedersachsen.de        110
7278 3       2345    Sulingen        Hindenburgstr. 16       27232   Sulingen        04271/870       04271/87289             27226   1520    29000000        29001516        BBK BREMEN      25651325        30101430        KR SPK DIEPHOLZ Mo., Mi., Do. und Fr. 8.00 - 12.00 Uhr, Di. 8.00 - 17.00 Uhr    Poststelle@fa-su.niedersachsen.de       www.ofd.niedersachsen.de        111
7279 3       2346    Syke    Bürgerm.-Mävers-Str. 15       28857   Syke    04242/1620      04242/162423            28845   1164    29000000        29001515        BBK BREMEN      29151700        1110044557      KREISSPARKASSE SYKE     Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-sy.niedersachsen.de       www.ofd.niedersachsen.de        112
7280 3       2347    Uelzen  Am Königsberg 3        29525   Uelzen  0581/8030       0581/803404             29504   1462    24000000        25801501        BBK LUENEBURG   25850110        26      SPARKASSE UELZEN        Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-ue.niedersachsen.de       www.ofd.niedersachsen.de        113
7281 3       2348    Verden (Aller)  Bremer Straße 4        27283   Verden  04231/9190      04231/919310            27263   1340    29000000        29001517        BBK BREMEN      29152670        10000776        KR SPK VERDEN   Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-ver.niedersachsen.de      www.ofd.niedersachsen.de        114
7282 3       2349    Wesermünde     Borriesstr. 50  27570   Bremerhaven     0471/1830       0471/183119             27503   100369  29000000        29201501        BBK BREMEN      29250150        100103200       KR SPK WESERMUENDE-HADELN       Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-wem.niedersachsen.de      www.ofd.niedersachsen.de        115
7283 3       2350    Winsen (Luhe)   Von-Somnitz-Ring 6      21423   Winsen  04171/6560      (04171) 656-115         21413   1329    24000000        24001550        BBK LUENEBURG   20750000        7051519 SPK HARBURG-BUXTEHUDE   Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 18.00 Uhr und nach Vereinbarung Poststelle@fa-wl.niedersachsen.de       www.ofd.niedersachsen.de        116
7284 3       2351    Wolfenbüttel   Jägerstr. 19   38304   Wolfenbüttel   05331/8030      (05331) 803-113/266     38299                   27000000        27001504        BBK BRAUNSCHWEIG        25050000        9801002 NORD LB HANNOVER        Mo. - Fr. 8.00 - 12.00 Uhr, Mi. 14.00 - 17.00 Uhr       Poststelle@fa-wf.niedersachsen.de       www.ofd.niedersachsen.de        117
7285 3       2352    Zeven   Kastanienweg 1  27404   Zeven   04281/7530      04281/753290            27392   1259    29000000        29201503        BBK BREMEN      24151235        404350  SPK ROTENBURG-BREMERVOERDE      Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-zev.niedersachsen.de      www.ofd.niedersachsen.de        118
7286 3       2353    Papenburg       Große Straße 32       26871   Aschendorf      04962/5030      04962/503222            26883   2264    28000000        28501512        BBK OLDENBURG (OLDB)    26650001        1020007 SPK EMSLAND     Mo. - Fr. 9.00 - 12.00 Uhr, Mi. 14.00 - 17.00 Uhr       Poststelle@fa-pap.niedersachsen.de      www.ofd.niedersachsen.de        119
7287 3       2354    Aurich  Hasseburger Str. 3      26603   Aurich  04941/1750      04941/175152            26582   1260    28000000        28501514        BBK OLDENBURG (OLDB)    28350000        90001   SPK AURICH-NORDEN       Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-aur.niedersachsen.de      www.ofd.niedersachsen.de        120
7288 3       2355    Bad Bentheim    Heinrich-Böll-Str. 2   48455   Bad Bentheim    05922/970-0     05922/970-2000          48443   1262    26500000        26601501        BBK OSNABRUECK  26750001        1000066 KR SPK NORDHORN Mo. - Fr. 9.00 - 12.00 Uhr, Do 14.00 - 15.30 Uhr        Poststelle@fa-ben.niedersachsen.de      www.ofd.niedersachsen.de        121
7289 3       2356    Cloppenburg     Bahnhofstr. 57  49661   Cloppenburg     04471/8870      04471/887477            49646   1680    28000000        28001501        BBK OLDENBURG (OLDB)    28050100        80402100        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-clp.niedersachsen.de      www.ofd.niedersachsen.de        122
7290 3       2357    Delmenhorst     Fr.-Ebert-Allee 15      27749   Delmenhorst     04221/1530      04221/153126    27747                   29000000        29001521        BBK BREMEN      28050100        30475669        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 9.00 - 12.00 Uhr, Di. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-del.niedersachsen.de      www.ofd.niedersachsen.de        123
7291 3       2358    Emden   Ringstr. 5      26721   Emden   (04921) 934-0   (04921) 934-499         26695   1553    28000000        28401500        BBK OLDENBURG (OLDB)    28450000        26      SPARKASSE EMDEN Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-emd.niedersachsen.de      www.ofd.niedersachsen.de        124
7292 3       2360    Leer (Ostfriesland)     Edzardstr. 12/16        26789   Leer    (0491) 9870-0   0491/9870209    26787                   28000000        28501511        BBK OLDENBURG (OLDB)    28550000        849000  SPARKASSE LEER-WEENER   Mo. - Fr. 8.00 - 12.00 Uhr, nur Infothek: Mo., Do. 14.00 - 17.30 Uhr    Poststelle@fa-ler.niedersachsen.de      www.ofd.niedersachsen.de        125
7293 3       2361    Lingen (Ems)    Mühlentorstr. 14       49808   Lingen  0591/91490      0591/9149468            49784   1440    26500000        26601500        BBK OSNABRUECK  26650001        2402    SPK EMSLAND     Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-lin.niedersachsen.de      www.ofd.niedersachsen.de        126
7294 3       2362    Norden  Mühlenweg 20   26506   Norden  04931/1880      04931/188196            26493   100360  28000000        28501515        BBK OLDENBURG (OLDB)    28350000        1115    SPK AURICH-NORDEN       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-nor.niedersachsen.de      www.ofd.niedersachsen.de        127
7295 3       2363    Nordenham       Plaatweg 1      26954   Nordenham       04731/8700      04731/870100            26942   1264    28000000        28001504        BBK OLDENBURG (OLDB)    28050100        63417000        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-nhm.niedersachsen.de      www.ofd.niedersachsen.de        128
7296 3       2364    Oldenburg (Oldenburg)   91er Straße 4  26121   Oldenburg       0441/2381       (0441) 238-201/2/3              26014   2445    28000000        28001500        BBK OLDENBURG (OLDB)    28050100        423301  LANDESSPARKASSE OLDENBURG       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-ol.niedersachsen.de       www.ofd.niedersachsen.de        129
7297 3       2365    Osnabrück-Land         Hannoversche Str. 12    49084   Osnabrück      0541/58420      0541/5842450            49002   1280    26500000        26501501        BBK OSNABRUECK  26552286        110007  KREISSPARKASSE MELLE    Mo., Mi., Do. u. Fr. 8.00 - 12.00 Uhr, Di. 12.00 - 17.00 Uhr    Poststelle@fa-os-l.niedersachsen.de     www.ofd.niedersachsen.de        130
7298 3       2366    Osnabrück-Stadt        Süsterstr. 46/48       49074   Osnabrück      0541/3540       (0541) 354-312          49009   1920    26500000        26501500        BBK OSNABRUECK  26550105        19000   SPARKASSE OSNABRUECK    Mo. - Mi., Fr. 8.00 - 12.00 Uhr, nur Infothek: Do. 12.00 - 17.00 Uhr    Poststelle@fa-os-s.niedersachsen.de     www.ofd.niedersachsen.de        131
7299 3       2367    Quakenbrück    Lange Straße 37        49610   Quakenbrück    05431/1840      05431/184101            49602   1261    26500000        26501503        BBK OSNABRUECK  26551540        18837179        KR SPK BERSENBRUECK     Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-qua.niedersachsen.de      www.ofd.niedersachsen.de        132
7300 3       2368    Vechta  Rombergstr. 49  49377   Vechta  04441/180       (04441) 18-100  49375                   28000000        28001502        BBK OLDENBURG (OLDB)    28050100        70400049        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 8.30 - 12.00 Uhr, Mo. 14.00 - 16.00 Uhr,Mi. 14.00 - 17.00     Poststelle@fa-vec.niedersachsen.de      www.ofd.niedersachsen.de        133
7301 3       2369    Westerstede     Ammerlandallee 14       26655   Westerstede     04488/5150      04488/515444    26653                   28000000        28001503        BBK OLDENBURG (OLDB)    28050100        40465007        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-wst.niedersachsen.de      www.ofd.niedersachsen.de        134
7302 3       2370    Wilhelmshaven   Rathausplatz 3  26382   Wilhelmshaven   04421/1830      04421/183111            26354   1462    28000000        28201500        BBK OLDENBURG (OLDB)    28250110        2117000 SPARKASSE WILHELMSHAVEN Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-whv.niedersachsen.de      www.ofd.niedersachsen.de        135
7303 3       2371    Wittmund        Harpertshausen.Str.2    26409   Wittmund        04462/840       04462/84195             26398   1153    28000000        28201502        BBK OLDENBURG (OLDB)                            Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-wtm.niedersachsen.de      www.ofd.niedersachsen.de        136
7304 3       2380    Braunschweig für Großbetriebsprüfung Theodor-Heuss-Str.4a    38122   Braunschweig    0531/80970      (0531) 8097-333         38009   1937                                                    nach Vereinbarung       Poststelle@fa-gbp-bs.niedersachsen.de   www.ofd.niedersachsen.de        137
7305 3       2381    Göttingen für Großbetriebsprüfung   Godehardstr. 6  37073   Göttingen      0551/4070       (0551) 407-448                                                                                  Poststelle@fa-gbp-goe.niedersachsen.de  www.ofd.niedersachsen.de        138
7306 3       2382    Hannover I für Großbetriebsprüfung   Bischofsholer Damm 15   30173   Hannover        (0511) 8563-01  (0511) 8563-195                                                                                 Poststelle@fa-gbp-h1.niedersachsen.de   www.ofd.niedersachsen.de        139
7307 3       2383    Hannover II für Großbetriebsprüfung  Bischofsholer Damm 15   30173   Hannover        (0511) 8563-02  (0511) 8563-250         30019   1927                                                            Poststelle@fa-gbp-h2.niedersachsen.de   www.ofd.niedersachsen.de        140
7308 3       2384    Stade für Großbetriebsprüfung        Am Ã„rztehaus 12        21680   Stade   (04141) 602-0   (04141) 602-60                                                                                  Poststelle@fa-gbp-std.niedersachsen.de  www.ofd.niedersachsen.de        141
7309 3       2385    Oldenburg für Großbetriebsprüfung    Georgstr. 36    26121   Oldenburg       0441/2381       (0441) 238-522          26014   2445                                                            Poststelle@fa-gbp-ol.niedersachsen.de   www.ofd.niedersachsen.de        142
7310 3       2386    Osnabrück für Großbetriebsprüfung   Johann-Domann-Str. 6    49080   Osnabrück      (0541) 503 800  (0541) 503 888                                                                                  Poststelle@fa-gbp-os.niedersachsen.de   www.ofd.niedersachsen.de        143
7311 3       2390    Braunschweig für Fahndung und Strafsachen      Rudolf-Steiner-Str. 1   38120   Braunschweig    0531/28510      (0531) 2851-150         38009   1931                                                    nach Vereinbarung       Poststelle@fa-fust-bs.niedersachsen.de  www.ofd.niedersachsen.de        144
7312 3       2391    Hannover für Fahndung und Strafsachen  Göttinger Chaus. 83B   30459   Hannover        (0511) 419-1    (0511) 419-2988         30430   911007                                                          Poststelle@fa-fust-h.niedersachsen.de   www.ofd.niedersachsen.de        145
7313 3       2392    Lüneburg für Fahndung und Strafsachen Horst-Nickel-Str. 6     21337   Lüneburg       (04131) 8545-600        (04131) 8545-698                21305   1570                                                            Poststelle@fa-fust-lg.niedersachsen.de  www.ofd.niedersachsen.de        146
7314 3       2393    Oldenburg für Fahndung und Strafsachen Cloppenburger Str. 320  26133   Oldenburg       (0441) 9401-0   (0441) 9401-200         26014   2442                                                            Poststelle@fa-fust-ol.niedersachsen.de  www.ofd.niedersachsen.de        147
7315 4       2457    Bremen-Mitte Bewertung  Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-2725   0421 322-2878           28079   10 79 67        29050000        1070110002      BREMER LANDESBANK BREMEN        29050101        109 0901        SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtMitte.bremen.de         148
7316 4       2471    Bremen-Mitte    Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-2725   0421 322-2878   28187   28079   10 79 67        29000000        29001512        BBK BREMEN      29050101        1090646 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtMitte.bremen.de         149
7317 4       2472    Bremen-Ost      Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-3005   0421 322-3178           28057   10 57 09        29000000        29001513        BBK BREMEN      29050101        1090612 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtOst.bremen.de           150
7318 4       2473    Bremen-West     Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-3422   0421 322-3478           28057   10 57 29        29000000        29001514        BBK BREMEN      29050101        1090638 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtWest.bremen.de          151
7319 6       2618    Fulda   Königstraße 2 36037   Fulda   0661/924-01     0661/924-1606           36003   1346    53000000        53001500        BBK KASSEL EH FULDA     53050180        49009   SPARKASSE FULDA Mo-Mi 8:00-15:30, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Fulda.de   www.Finanzamt-Fulda.de  177
7320 4       2474    Bremen-Nord     Gerhard-Rohlfs-Str. 32  28757   Bremen  0421 6607-1     0421 6607-300           28734   76 04 34        29000000        29001518        BBK BREMEN      29050101        5016001 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-14:00     office@FinanzamtNord.bremen.de          152
7321 4       2475    Bremerhaven     Schifferstr. 2-8        27568   Bremerhaven     0471 486-1      0471 486-370            27516   12 02 42        29200000        29201500        BBK BREMEN EH BREMERHAVEN       29250000        1100068 STE SPK BREMERHAVEN     Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtBremerhaven.bremen.de           153
7322 4       2476    Bremen-Mitte KraftfahrzeugSt    Schillerstr. 22 28195   Bremen  0421 322-2725   0421 322-2878           28079   107967  29000000        29001512        BBK BREMEN      29050101         109 0646       SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtMitte.bremen.de         154
7323 4       2477    Bremerhaven Bewertung   Schifferstr. 2 - 8      27568   Bremerhaven     0471 486-1      0471 486-370            27516   12 02 42        29200000        29201500        BBK BREMEN EH BREMERHAVEN       29250000        1100068 STE SPK BREMERHAVEN     Zentrale Informations- und Annahmestelle Mo+Do 08.00-18.00/Di+Mi 08.00-16.00/Fr 08.00-15.00     office@FinanzamtBremerhaven.bremen.de           155
7324 4       2478    Bremen für Großbetriebsprüfung       Schillerstr. 6-7        28195   Bremen  0421 322-4019   0421 322-4078           28057   10 57 69                                                        nach Vereinbarung                       156
7325 4       2482    Bremen-Ost Arbeitnehmerbereich  Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-3005   0421 322-3178           28057   10 57 09        29000000        29001513        BBK BREMEN      29050101        1090612 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtOst.bremen.de           157
7326 4       2484    Bremen-Nord Arbeitnehmerbereic  Gerhard-Rohlfs-Str. 32  28757   Bremen  0421 6607-1     0421 6607-300           28734   76 04 34        29000000        29001518        BBK BREMEN      29050101        5016001 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-14:00     office@FinanzamtNord.bremen.de          158
7327 4       2485    Bremerhaven Arbeitnehmerbereic  Schifferstr. 2-8        27568   Bremerhaven     0471 486-1      0471 486-370            27516   12 02 42        29200000        29201500        BBK BREMEN EH BREMERHAVEN       29250000        1100068 STE SPK BREMERHAVEN     Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtBremerhaven.bremen.de           159
7328 6       2601    Alsfeld-Lauterbach Verwaltungsstelle Alsfeld    In der Rambach 11       36304   Alsfeld 06631/790-0     06631/790-555           36292   1263    51300000        51301504        BBK GIESSEN     53051130        1022003 SPARKASSE VOGELSBERGKREIS       Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Alsfeld-Lauterbach.de      www.Finanzamt-Alsfeld-Lauterbach.de     160
7329 6       2602    Hersfeld-Rotenburg Verwaltungsstelle Bad Hersfeld       Im Stift 7      36251   Bad Hersfeld    06621/933-0     06621/933-333           36224   1451    53200000        53201500        BBK KASSEL EH BAD HERSFELD      53250000        1000016 SPK BAD HERSFELD-ROTENBURG      Mo u. Do 8:00-12:00, Di 14:00-18:00 Uhr poststelle@Finanzamt-Hersfeld-Rotenburg.de      www.Finanzamt-Hersfeld-Rotenburg.de     161
7330 6       2604    Rheingau-Taunus Verwaltungsst. Bad Schwalbach   Emser Str.27a   65307   Bad Schwalbach  06124/705-0     06124/705-400           65301   1165    51000000        51001502        BBK WIESBADEN   51050015        393000643       NASS SPK WIESBADEN      Mo-Mi 8:00-15:30, Do 13:30-18:00, Fr 8:00-12:00 Uhr     poststelle@Rheingau-Taunus.de   www.Finanzamt-Rheingau-Taunus.de        163
7331 6       2605    Bensheim        Berliner Ring 35        64625   Bensheim        06251/15-0      06251/15-267            64603   1351    50800000        50801510        BBK DARMSTADT   50950068        1040005 SPARKASSE BENSHEIM      Mo-Mi 8:00-15:30, Do 13:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Bensheim.de        www.Finanzamt-Bensheim.de       164
7332 6       2606    Marburg-Biedenkopf Verwaltungsstelle Biedenkopf Im Feldchen 2   35216   Biedenkopf      06421/698-0     06421/698-109                           51300000        51301514        BBK GIESSEN     53350000        110027303       SPK MARBURG-BIEDENKOPF  Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06461/709-0  poststelle@Finanzamt-Marburg-Biedenkopf.de      www.Finanzamt-Marburg-Biedenkopf.de     165
7333 6       2607    Darmstadt       Soderstraße 30 64283   Darmstadt       06151/102-0     06151/102-1262  64287   64219   110465  50800000        50801500        BBK DARMSTADT   50850049        5093005006      LD BK GZ DARMSTADT      Mo-Mi 8:00-15:30, Do 8:00-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Darmstadt.de       www.Finanzamt-Darmstadt.de      166
7334 6       2608    Dieburg         Marienstraße 19        64807   Dieburg 06071/2006-0    06071/2006-100          64802   1209    50800000        50801501        BBK DARMSTADT   50852651        33211004        SPARKASSE DIEBURG       Mo-Mi 7:30-15:30, Do 13:30-18:00, Fr 7:30-12:00 Uhr     poststelle@Finanzamt-Dieburg.de www.Finanzamt-Dieburg.de        167
7335 6       2609    Dillenburg      Wilhelmstraße 9        35683   Dillenburg      02771/908-0     02771/908-100           35663   1362    51300000        51301509        BBK GIESSEN     51650045        18      BEZ SPK DILLENBURG      Mo-Mi 8:00-15:30, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Dillenburg.de      www.Finanzamt-Dillenburg.de     168
7336 6       2610    Eschwege-Witzenhausen Verwaltungsstelle Eschwege        Schlesienstraße 2      37269   Eschwege        05651/926-5     05651/926-720   37267   37252   1280    52000000        52001510        BBK KASSEL      52250030        18      SPARKASSE WERRA-MEISSNER        Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Eschwege-Witzenhausen.de   www.Finanzamt-Eschwege-Witzenhausen.de  169
7337 6       2611    Korbach-Frankenberg Verwaltungsstelle Frankenberg       Geismarer Straße 16    35066   Frankenberg     05631/563-0     05631/563-888                           51300000        51301513        BBK GIESSEN     52350005        5001557 SPK WALDECK-FRANKENBERG Mo, Di u. Do 8:00-15:30, Mi 13:30-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Korbach-Frankenberg.de     www.Finanzamt-Korbach-Frankenberg.de    170
7338 6       2612    Frankfurt am Main II    Gutleutstraße 122      60327   Frankfurt       069/2545-02     069/2545-2999           60305   110862  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo-Mi 8:00-15:30, Do 13:30-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Frankfurt-2.de     www.Finanzamt-Frankfurt-am-Main.de      171
7339 6       2613    Frankfurt am Main I     Gutleutstraße 124      60327   Frankfurt       069/2545-01     069/2545-1999           60305   110861  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo-Mi 8:00-15:30, Do 13:30-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Frankfurt-1.de     www.Finanzamt-Frankfurt-am-Main.de      172
7340 6       2614    Frankfurt am Main IV    Gutleutstraße 118      60327   Frankfurt       069/2545-04     069/2545-4999           60305   110864  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Frankfurt-4.de     www.Finanzamt-Frankfurt-am-Main.de      173
7341 6       2615    Frankfurt/M. V-Höchst Verwaltungsstelle Höchst        Hospitalstraße 16 a    65929   Frankfurt       069/2545-05     069/2545-5999                           50000000        50001502        BBK FILIALE FRANKFURT MAIN      50050201        608604  FRANKFURTER SPK FRANKFURT       Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr Telefon Verwaltungsstelle: 069/30830-0  poststelle@Finanzamt-Frankfurt-5-Hoechst.de     www.Finanzamt-Frankfurt-am-Main.de      174
7342 6       2616    Friedberg (Hessen)      Leonhardstraße 10 - 12 61169   Friedberg       06031/49-1      06031/49-333            61143   100362  51300000        51301506        BBK GIESSEN     51850079        50000400        SPARKASSE WETTERAU      Di 8:00-12:00, Do 14:00-18:00, Fr 8:00-12:00 Uhr        poststelle@Finanzamt-Friedberg.de       www.Finanzamt-Friedberg.de      175
7343 6       2617    Bensheim Außenstelle Fürth    Erbacher Straße 23     64658   Fürth  06253/206-0     06253/206-10            64654   1154    50800000        50801510        BBK DARMSTADT   50950068        1040005 SPARKASSE BENSHEIM              poststelle@Finanzamt-Bensheim.de        www.Finanzamt-Bensheim.de       176
7344 6       2619    Gelnhausen      Frankfurter Straße 14  63571   Gelnhausen      06051/86-0      06051/86-299    63569   63552   1262    50600000        50601502        BBK FRANKFURT EH HANAU  50750094        2008    KREISSPARKASSE GELNHAUSEN       Mo u. Mi 8:00-12:00, Do 14:30-18:00 Uhr poststelle@Finanzamt-Gelnhausen.de      www.Finanzamt-Gelnhausen.de     178
7345 6       2620    Gießen         Schubertstraße 60      35392   Gießen 0641/4800-100   0641/4800-1590  35387   35349   110440                          51300000        51301500        BBK GIESSEN     Mo-Mi 8:00-15:30,Do 14:00-18:00, Fr 8:00-12:00 Uhr      info@Finanzamt-Giessen.de       www.Finanzamt-Giessen.de        179
7346 6       2621    Groß-Gerau     Europaring 11-13        64521   Groß-Gerau     06152/170-01    06152/170-601   64518   64502   1262    50800000        50801502        BBK DARMSTADT   50852553        1685    KR SPK GROSS-GERAU      Mo-Mi 8:00-15.30, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Gross-Gerau.de     www.Finanzamt-Gross-Gerau.de    180
7347 6       2622    Hanau   Am Freiheitsplatz 2     63450   Hanau   06181/101-1     06181/101-501   63446   63404   1452    50600000        50601500        BBK FRANKFURT EH HANAU  50650023        50104   SPARKASSE HANAU Mo u. Mi 7:30-12:00, Do 14:30-18:00 Uhr poststelle@Finanzamt-Hanau.de   www.Finanzamt-Hanau.de  181
7348 6       2623    Kassel-Hofgeismar Verwaltungsstelle Hofgeismar  Altstädter Kirchplatz 10       34369   Hofgeismar      0561/7207-0     0561/7207-2500                          52000000        52001501        BBK KASSEL      52050353        100009202       KASSELER SPARKASSE      Di, Mi u. Fr 8:00-12:00, Do 15:00-18:00 Uhr Telefon Verwaltungsstelle: 05671/8004-0     poststelle@Finanzamt-Kassel-Hofgeismar.de       www.Finanzamt-Kassel.de 182
7349 6       2624    Schwalm-Eder Verwaltungsstelle Fritzlar Georgengasse 5  34560   Fritzlar        05622/805-0     05622/805-111           34551   1161    52000000        52001502        BBK KASSEL      52052154        110007507       KREISSPARKASSE SCHWALM-EDER     Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr poststelle@Finanzamt-Schwalm-Eder.de    www.Finanzamt-Schwalm-Eder.de   183
7350 6       2625    Kassel-Spohrstraße     Spohrstraße 7  34117   Kassel  0561/7208-0     0561/7208-408   34111   34012   101249  52000000        52001500        BBK KASSEL      52050000        4091300006      LANDESKREDITKASSE KASSEL        Mo u. Fr 7:30-12:00, Mi 14:00-18:00 Uhr poststelle@Finanzamt-Kassel-Spohrstrasse.de     www.Finanzamt-Kassel.de 184
7351 6       2626    Kassel-Hofgeismar Verwaltungsstelle Kassel      Goethestraße 43        34119   Kassel  0561/7207-0     0561/7207-2500  34111   34012   101229  52000000        52001500        BBK KASSEL      52050000        4091300006      LANDESKREDITKASSE KASSEL        Mo, Mi u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr     poststelle@Finanzamt-Kassel-Hofgeismar.de       www.Finanzamt-Kassel.de 185
7352 6       2627    Korbach-Frankenberg Verwaltungsstelle Korbach   Medebacher Landstraße 29       34497   Korbach 05631/563-0     05631/563-888   34495   34482   1240    52000000        52001509        BBK KASSEL      52350005        19588   SPK WALDECK-FRANKENBERG Mo, Mi u. Fr 8:00-12:00, Do 15:30-18:00 Uhr     poststelle@Finanzamt-Korbach-Frankenberg.de     www.Finanzamt-Korbach-Frankenberg.de    186
7353 6       2628    Langen  Zimmerstraße 27        63225   Langen  06103/591-01    06103/591-285   63222   63202   1280    50000000        50001511        BBK FILIALE FRANKFURT MAIN      50592200        31500   VB DREIEICH     Mo, Mi u. Do 8:00-15:30, Di 13:30-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Langen.de  www.Finanzamt-Langen.de 187
7354 6       2629    Alsfeld-Lauterbach Verwaltungsstelle Lauterbach Bahnhofstraße 69       36341   Lauterbach      06631/790-0     06631/790-555   36339                   53000000        53001501        BBK KASSEL EH FULDA     53051130        60100509        SPARKASSE VOGELSBERGKREIS       Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06641/188-0  poststelle@Finanzamt-Alsfeld-Lauterbach.de      www.Finanzamt-Alsfeld-Lauterbach.de     188
7355 6       2630    Limburg-Weilburg Verwaltungsstelle Limburg      Walderdorffstraße 11   65549   Limburg 06431/208-1     06431/208-294   65547   65534   1465    51000000        51001507        BBK WIESBADEN   51050015        535054800       NASS SPK WIESBADEN      Mo-Mi 8:00-15:30, Do 8:00-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Limburg-Weilburg.de        www.Finanzamt-Limburg-Weilburg.de       189
7356 6       2631    Marburg-Biedenkopf Verwaltungsstelle Marburg    Robert-Koch-Straße 7   35037   Marburg 06421/698-0     06421/698-109   35034   35004   1469    51300000        51301512        BBK GIESSEN     53350000        11517   SPK MARBURG-BIEDENKOPF  Mo-Mi 8:00-15:30, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Marburg-Biedenkopf.de      www.Finanzamt-Marburg-Biedenkopf.de     190
7357 6       2632    Schwalm-Eder Verwaltungsstelle Melsungen        Kasseler Straße 31 (Schloß)   34212   Melsungen       05622/805-0     05622/805-111                           52000000        52001503        BBK KASSEL      52052154        10060002        KREISSPARKASSE SCHWALM-EDER     Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 05661/706-0  poststelle@Finanzamt-Schwalm-Eder.de    www.Finanzamt-Schwalm-Eder.de   191
7358 6       2633    Michelstadt     Erbacher Straße 48     64720   Michelstadt     06061/78-0      06061/78-100            64712   3180    50800000        50801503        BBK DARMSTADT   50851952        40041451        SPK ODENWALDKREIS ERBACH        Mo, Di u. Do 8:00-15:30, Mi 13:30-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Michelstadt.de     www.Finanzamt-Michelstadt.de    192
7359 6       2634    Nidda   Schillerstraße 38      63667   Nidda   06043/805-0     06043/805-159           63658   1180    50600000        50601501        BBK FRANKFURT EH HANAU  51850079        150003652       SPARKASSE WETTERAU      Mo, Di u. Do 7:30-16:00, Mi 13:30-18:00, Fr 7:00-12:00 Uhr      poststelle@Finanzamt-Nidda.de   www.Finanzamt-Nidda.de  193
7360 6       2635    Offenbach am Main-Stadt         Bieberer Straße 59     63065   Offenbach       069/8091-1      069/8091-2400   63063   63005   100563  50000000        50001500        BBK FILIALE FRANKFURT MAIN      50550020        493     STE SPK OFFENBACH       Mo, Di u. Do 7:30-15:30, Mi 13:00-18:00, Fr 7:30-12:00 Uhr      poststelle@Finanzamt-Offenbach-Stadt.de www.Finanzamt-Offenbach.de      194
7361 5       5383    Hagen f. Steuerfahndung und Steuerstrafsachen   Becheltestr. 32 58089   Hagen   02331/3089-0    0800 10092675383                58041   4143    45000000        145001500       BBK HAGEN       45050001        100001580       SPARKASSE HAGEN         Service@FA-5383.fin-nrw.de              195
7362 6       2636    Hersfeld-Rotenburg Verwaltungsstelle Rotenburg  Dickenrücker Straße 12        36199   Rotenburg       06621/933-0     06621/933-333                           52000000        52001504        BBK KASSEL      53250000        50000012        SPK BAD HERSFELD-ROTENBURG      Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06623/816-0  poststelle@Finanzamt-Hersfeld-Rotenburg.de      www.Finanzamt-Hersfeld-Rotenburg.de     196
7363 6       2637    Rheingau-Taunus Verwaltungsstelle Rüdesheim    Hugo-Asbach-Straße 3 - 7       65385   Rüdesheim      06124/705-0     06124/705-400                           51000000        51001501        BBK WIESBADEN   51050015        455022800       NASS SPK WIESBADEN      Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06722/405-0  poststelle@Finanzamt-Rheingau-Taunus.de www.Finanzamt-Rheingau-Taunus.de        197
7364 6       2638    Limburg-Weilburg Verwaltungsstelle Weilburg     Kruppstraße 1  35781   Weilburg        06431/208-1     06431/208-294   35779                   51000000        51001511        BBK WIESBADEN   51151919        100000843       KR SPK WEILBURG Mo-Mi 8:00-16:00, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Limburg-Weilburg.de        www.Finanzamt-Limburg-Weilburg.de       198
7365 6       2639    Wetzlar         Frankfurter Straße 59  35578   Wetzlar 06441/202-0     06441/202-6810  35573   35525   1520    51300000        51301508        BBK GIESSEN     51550035        46003   SPARKASSE WETZLAR       Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Wetzlar.de www.Finanzamt-Wetzlar.de        199
7366 6       2640    Wiesbaden I     Dostojewskistraße 8    65187   Wiesbaden       0611/813-0      0611/813-1000   65173   65014   2469    51000000        51001500        BBK WIESBADEN   51050015        100061600       NASS SPK WIESBADEN      Mo, Di u. Do 8:00-15:30, Mi 13:30-18:00, Fr 7:00-12:00 Uhr      poststelle@Finanzamt-Wiesbaden-1.de     www.Finanzamt-Wiesbaden.de      200
7367 6       2641    Eschwege-Witzenhausen Verwaltungsstelle Witzenhausen    Südbahnhofstraße 37   37213   Witzenhausen    05651/926-5     05651/926-720                           52000000        52001505        BBK KASSEL      52250030        50000991        SPARKASSE WERRA-MEISSNER        Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 05542/602-0  poststelle@Finanzamt-Eschwege-Witzenhausen.de   www.Finanzamt-Eschwege-Witzenhausen.de  201
7368 6       2642    Schwalm-Eder Verwaltungsstelle Schwalmstadt     Landgraf-Philipp-Straße 15     34613   Schwalmstadt    05622/805-0     05622/805-111                           52000000        52001506        BBK KASSEL      52052154        200006641       KREISSPARKASSE SCHWALM-EDER     Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06691/738-0  poststelle@Finanzamt-Schwalm-Eder.de    www.Finanzamt-Schwalm-Eder.de   202
7369 6       2643    Wiesbaden II    Dostojewskistraße 8    65187   Wiesbaden       0611/813-0      0611/813-2000   65173   65014   2469    51000000        51001500        BBK WIESBADEN   51050015        100061600       NASS SPK WIESBADEN      Mo, Di u. Do 8:00-15:30, Mi 13:30-18:00, Fr 7:00-12:00 Uhr      poststelle@Finanzamt-Wiesbaden-2.de     www.Finanzamt-Wiesbaden.de      203
7370 6       2644    Offenbach am Main-Land  Bieberer Straße 59     63065   Offenbach       069/8091-1      069/8091-3400   63063   63005   100552  50000000        50001500        BBK FILIALE FRANKFURT MAIN      50550020        493     STE SPK OFFENBACH       Mo, Di u. Do 7:30-15:30, Mi 13:00-18:00, Fr 7:30-12:00 Uhr      poststelle@Finanzamt-Offenbach-Land.de  www.Finanzamt-Offenbach.de      204
7371 6       2645    Frankfurt am Main III   Gutleutstraße 120      60327   Frankfurt       069/2545-03     069/2545-3999           60305   110863  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Frankfurt-3.de     wwww.Finanzamt-Frankfurt-am-Main.de     205
7372 6       2646    Hofheim am Taunus       Nordring 4 - 10 65719   Hofheim 06192/960-0     06192/960-412   65717   65703   1380    50000000        50001503        BBK FILIALE FRANKFURT MAIN      51250000        2000008 TAUNUS-SPARKASSE BAD HOMBG      Mo-Mi 8:00-15:30, Do 13:30-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Hofheim-am-Taunus.de       www.Finanzamt-Hofheim-am-Taunus.de      206
7373 6       2647    Frankfurt/M. V-Höchst Verwaltungsstelle Frankfurt      Gutleutstraße 116      60327   Frankfurt       069/2545-05     069/2545-5999           60305   110865  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Frankfurt-5-Hoechst.de     www.Finanzamt-Frankfurt-am-Main.de      207
7374 7       2701    Bad Neuenahr-Ahrweiler  Römerstr. 5    53474   Bad Neuenahr-Ahrweiler  02641/3820      02641/38212000          53457   1209    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-aw.fin-rlp.de             208
7375 7       2702    Altenkirchen-Hachenburg         Frankfurter Str. 21     57610   Altenkirchen    02681/860       02681/8610090   57609   57602   1260    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ak.fin-rlp.de     www.finanzamt-altenkirchen-hachenburg.de        209
7376 7       2703    Bingen-Alzey Aussenstelle Alzey Rochusallee 10  55411   Bingen  06721/7060      06721/70614080  55409   55382           55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06731/4000       Poststelle@fa-bi.fin-rlp.de     www.finanzamt-bingen-alzey.de   210
7377 7       2706    Bad Kreuznach   Ringstr. 10     55543   Bad Kreuznach   0671/7000       0671/70011702   55541   55505   1552    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-kh.fin-rlp.de     www.finanzamt-bad-kreuznach.de  211
7378 7       2707    Bernkastel-Wittlich Aussenstelle Bernkastel-Kues        Unterer Sehlemet 15     54516   Wittlich        06571/95360     06571/953613400         54502   1240    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06531/5060       Poststelle@fa-wi.fin-rlp.de     www.finanzamt-bernkastel-wittlich.de    212
7379 7       2708    Bingen-Alzey    Rochusallee 10  55411   Bingen  06721/7060      06721/70614080  55409   55382           55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-bi.fin-rlp.de     www.finanzamt-bingen-alzey.de   213
7380 7       2709    Idar-Oberstein  Hauptstraße 199        55743   Idar-Oberstein  06781/680       06781/6818333           55708   11820   55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-io.fin-rlp.de     www.finanzamt-idar-oberstein.de 214
7381 7       2710    Bitburg-Prüm   Kölner Straße 20      54634   Bitburg 06561/6030      06561/60315090          54622   1252    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-bt.fin-rlp.de     www.finanzamt-bitburg-pruem.de  215
7382 7       2713    Daun    Berliner Straße 1      54550   Daun    06592/95790     06592/957916175         54542   1160    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-da.fin-rlp.de     www.finanzamt-daun.de   216
7383 7       2714    Montabaur-Diez Aussenstelle Diez        Koblenzer Str. 15       56410   Montabaur       02602/1210      02602/12127099  56409   56404   1461    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06432/5040       Poststelle@fa-mt.fin-rlp.de     www.finanzamt-montabaur-diez.de 217
7384 7       2715    Frankenthal     Friedrich-Ebert-Straße 6       67227   Frankenthal     06233/49030     06233/490317082 67225   67203   1324    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ft.fin-rlp.de     www.finanzamt-frankenthal.de    218
7385 7       2716    Speyer-Germersheim Aussenstelle Germersheim     Johannesstr. 9-12       67346   Speyer  06232/60170     06232/601733431 67343   67323   1309    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 07274/9500       Poststelle@fa-sp.fin-rlp.de     www.finanzamt-speyer-germersheim.de     219
7386 7       2718    Altenkirchen-Hachenburg Aussenstelle Hachenburg Frankfurter Str. 21     57610   Altenkirchen    02681/860       02681/8610090   57609   57602   1260    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 02662/94520      Poststelle@fa-ak.fin-rlp.de     www.finanzamt-altenkirchen-hachenburg.de        220
7387 7       2719    Kaiserslautern  Eisenbahnstr. 56        67655   Kaiserslautern  0631/36760      0631/367619500  67653   67621   3360    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-kl.fin-rlp.de     www.finanzamt-kaiserslautern.de 221
7388 7       2721    Worms-Kirchheimbolanden Aussenstelle Kirchheimbolanden  Karlsplatz 6    67549   Worms   06241/30460     06241/304635060 67545                   55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06352/4070       Poststelle@fa-wo.fin-rlp.de     www.finanzamt-worms-kirchheimbolanden.de        222
7389 7       2722    Koblenz         Ferdinand-Sauerbruch-Str. 19    56073   Koblenz 0261/49310      0261/493120090  56060   56007   709     55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ko.fin-rlp.de     www.finanzamt-koblenz.de        223
7390 7       2723    Kusel-Landstuhl         Trierer Str. 46 66869   Kusel   06381/99670     06381/996721060         66864   1251    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ku.fin-rlp.de     www.finanzamt-kusel-landstuhl.de        224
7391 7       2724    Landau  Weißquartierstr. 13    76829   Landau  06341/9130      06341/91322100  76825   76807   1760u.1780      55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ld.fin-rlp.de             225
7392 7       2725    Kusel-Landstuhl Aussenstelle Landstuhl  Trierer Str. 46 66869   Kusel   06381/99670     06381/996721060         66864   1251    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06371/61730      Poststelle@fa-ku.fin-rlp.de     www.finanzamt-kusel-landstuhl.de        226
7393 7       2726    Mainz-Mitte     Schillerstr. 13 55116   Mainz   06131/2510      06131/25124090          55009   1980    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-mz.fin-rlp.de     www.finanzamt-mainz-mitte.de    227
7394 7       2727    Ludwigshafen    Bayernstr. 39   67061   Ludwigshafen    0621/56140      0621/561423051          67005   210507  55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-lu.fin-rlp.de     www.finanzamt-ludwigshafen.de   228
7395 7       2728    Mainz-Süd      Emy-Roeder-Str. 3       55129   Mainz   06131/5520      06131/55225272          55071   421365  55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ms.fin-rlp.de     www.finanzamt-mainz-sued.de     229
7396 7       2729    Mayen   Westbahnhofstr. 11      56727   Mayen   02651/70260     02651/702626090         56703   1363    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-my.fin-rlp.de     www.finanzamt-mayen.de  230
7397 7       2730    Montabaur-Diez  Koblenzer Str. 15       56410   Montabaur       02602/1210      02602/12127099  56409   56404   1461    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-mt.fin-rlp.de     www.finanzamt-montabaur-diez.de 231
7398 7       2731    Neustadt        Konrad-Adenauer-Str. 26 67433   Neustadt        06321/9300      06321/93028600  67429   67404   100 465 55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-nw.fin-rlp.de             232
7399 7       2732    Neuwied         Augustastr. 54  56564   Neuwied 02631/9100      02631/91029906  56562   56505   1561    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-nr.fin-rlp.de             233
7400 7       2735    Pirmasens-Zweibrücken  Kaiserstr. 2    66955   Pirmasens       06331/7110      06331/71130950  66950   66925   1662    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ps.fin-rlp.de     www.finanzamt-pirmasens-zweibruecken.de 234
7401 7       2736    Bitburg-Prüm Aussenstelle Prüm        Kölner Str. 20 54634   Bitburg 06561/6030      06561/60315093          54622   1252    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06551/9400       Poststelle@fa-bt.fin-rlp.de     www.finanzamt-bitburg-pruem.de  235
7402 7       2738    Sankt Goarshausen-Sankt Goar Aussenstelle Sankt Goar    Wellmicher Str. 79      56346   St. Goarshausen 06771/95900     06771/959031090         56342           55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06741/98100      Poststelle@fa-gh.fin-rlp.de     www.finanzamt-sankt-goarshausen-sankt-goar.de   236
7403 7       2739    Sankt Goarshausen-Sankt Goar    Wellmicher Str. 79      56346   St. Goarshausen 06771/95900     06771/959031090         56342           55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-gh.fin-rlp.de     www.finanzamt-sankt-goarshausen-sankt-goar.de   237
7404 7       2740    Simmern-Zell    Brühlstraße 3 55469   Simmern 06761/8550      06761/85532053          55464   440     55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-si.fin-rlp.de             238
7405 7       2741    Speyer-Germersheim      Johannesstr. 9-12       67346   Speyer  06232/60170     06232/601733431 67343   67323   1309    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-sp.fin-rlp.de     www.finanzamt-speyer-germersheim.de     239
7406 7       2742    Trier   Hubert-Neuerburg-Str. 1 54290   Trier   0651/93600      0651/936034900          54207   1750u.1760      55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-tr.fin-rlp.de     www.finanzamt-trier.de  240
7407 7       2743    Bernkastel-Wittlich     Unterer Sehlemet 15     54516   Wittlich        06571/95360     06571/953613400         54502   1240    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-wi.fin-rlp.de     www.finanzamt-bernkastel-wittlich.de    241
7408 7       2744    Worms-Kirchheimbolanden         Karlsplatz 6    67549   Worms   06241/30460     06241/304635060 67545                   55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-wo.fin-rlp.de     www.finanzamt-worms-kirchheimbolanden.de        242
7409 7       2745    Simmern-Zell Aussenstelle Zell  Brühlstr. 3    55469   Simmern 06761/8550      06761/85532053          55464   440     55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06542/7090       Poststelle@fa-si.fin-rlp.de             243
7410 7       2746    Pirmasens-Zweibrücken Aussenstelle Zweibrücken        Kaiserstr. 2    66955   Pirmasens       06331/7110      06331/71130950  66950   66925   1662    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06332/80680      Poststelle@fa-ps.fin-rlp.de     www.finanzamt-pirmasens-zweibruecken.de 244
7411 8       2801    Achern  Allerheiligenstr. 10    77855   Achern  07841/6940      07841/694136    77843   77843   1260    66000000        66001518        BBK KARLSRUHE   66450050        88013009        SPARKASSE OFFENBURG-ORTENAU     MO-DO 8-12.30+13.30-15.30,DO-17.30,FR 8-12 H    poststelle@fa-achern.fv.bwl.de          245
7412 8       2804    Donaueschingen  Käferstr. 25   78166   Donaueschingen  0771/8080       0771/808359     78153   78153   1269    69400000        694 01501       BBK VILLINGEN-SCHWENNINGEN      69421020        6204700600      BW BANK DONAUESCHINGEN  MO-MI 8-16 UHR, DO 8-17.30 UHR, FR 8-12 UHR     poststelle@fa-donaueschingen.fv.bwl.de          246
7413 8       2805    Emmendingen     Bahnhofstr. 3   79312   Emmendingen     07641/4500      07641/450350    79305   79305   1520    68000000        680 01507       BBK FREIBURG IM BREISGAU        68050101        20066684        SPK FREIBURG-NOERDL BREISGA     MO-MI 7:30-15:30,DO 7:30-17:00,FR 7:30-12:00    poststelle@fa-emmendingen.fv.bwl.de             247
7414 8       2806    Freiburg-Stadt  Sautierstr. 24  79104   Freiburg        0761/2040       0761/2043295    79079                   68000000        680 01501       BBK FREIBURG IM BREISGAU        68020020        4402818100      BW BANK FREIBURG BREISGAU       MO, DI, DO 7.30-16,MI 7.30-17.30, FR 7.30-12    poststelle@fa-freiburg-stadt.fv.bwl.de          248
7415 8       2807    Freiburg-Land   Stefan-Meier-Str. 133   79104   Freiburg        0761/2040       0761/2043424    79095                   68000000        680 015 00      BBK FREIBURG IM BREISGAU        68090000        12222300        VOLKSBANK FREIBURG      ZIA: MO,DI,DO 8-16, MI 8-17:30, FR 8-12 UHR     poststelle@fa-freiburg-land.fv.bwl.de           249
7416 8       2808    Kehl    Ludwig-Trick-Str. 1     77694   Kehl    07851/8640      07851/864108    77676   77676   1640    66400000        664 01501       BBK FREIBURG EH OFFENBURG       66451862        -6008   SPK HANAUERLAND KEHL    MO,DI,MI 7.45-15.30, DO -17.30, FR -12.00UHR    poststelle@fa-kehl.fv.bwl.de            250
7417 8       2809    Konstanz        Bahnhofplatz 12 78462   Konstanz        07531/2890      07531/289312    78459                   69400000        69001500        BBK VILLINGEN-SCHWENNINGEN      69020020        6604947900      BW BANK KONSTANZ        MO,DI,DO 7.30-15.30,MI 7.30-17.00,FR 7.30-12    poststelle@fa-konstanz.fv.bwl.de                251
7418 8       2810    Lahr    Gerichtstr. 5   77933   Lahr    07821/2830      07821/283100            77904   1466    66000000        66001527        BBK KARLSRUHE   66450050        76103333        SPARKASSE OFFENBURG-ORTENAU     MO,DI,DO 7:30-16:00, MI 7:30-17:30, FR 7:30-12:00       poststelle@fa-lahr.fv.bwl.de            252
7419 8       2811    Lörrach        Luisenstr. 10 a 79539   Lörrach        07621/1730      07621/173245    79537                   68000000        68301500        BBK FREIBURG IM BREISGAU        68320020        4602600100      BW BANK LOERRACH        MO-MI 7.00-15.30/DO 7.00-17.30/FR 7.00-12.00    poststelle@fa-loerrach.fv.bwl.de                253
7420 8       2812    Müllheim       Goethestr. 11   79379   Müllheim       07631/18900     (07631)189-190  79374   79374   1461    68000000        680 01511       BBK FREIBURG IM BREISGAU        68351865        802 888 8       SPARKASSE MARKGRAEFLERLAND      MO-MI 7,30-15,30 DO 7,30-17,30 FR 7,30-12,00    poststelle@fa-muellheim.fv.bwl.de               254
7421 8       2813    Titisee-Neustadt        Goethestr. 5    79812   Titisee-Neustadt        07651/2030      07651/203110            79812   12 69   68000000        680 015 10      BBK FREIBURG IM BREISGAU        68051004        4040408 SPK HOCHSCHWARZWALD T-NEUST     MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.30    poststelle@fa-titisee-neustadt.fv.bwl.de                255
7422 8       2814    Offenburg       Zeller Str. 1- 3        77654   Offenburg       0781/9330       0781/9332444    77604   77604   1440    68000000        664 01500       BBK FREIBURG IM BREISGAU        66420020        4500000700      BW BANK OFFENBURG       MO-DO 7.30-15.30 DURCHGEHEND,MI -18.00,FR-12    poststelle@fa-offenburg.fv.bwl.de               256
7423 8       2815    Oberndorf       Brandeckerstr. 4        78727   Oberndorf       07423/8150      07423/815107    78721   78721   1240    69400000        694 01506       BBK VILLINGEN-SCHWENNINGEN      64250040        813 015 KR SPK ROTTWEIL ZIA:MO,DI,DO 8-16,MI 8-17:30,FR 8-12 UHR        poststelle@fa-oberndorf.fv.bwl.de               257
7424 8       2816    Bad Säckingen  Werderstr. 5    79713   Bad Säckingen  07761/5660      07761/566126    79702   79702   1148    68000000        683 015 02      BBK FREIBURG IM BREISGAU                                MO,DI,DO 8-15.30, MI 8-17.30, FR 8-12 UHR       poststelle@fa-badsaeckingen.fv.bwl.de           258
7425 8       2818    Singen  Alpenstr. 9     78224   Singen  07731/8230      07731/823650            78221   380     69000000        69001507        BBK VILL-SCHWEN EH KONSTANZ     69220020        6402000100      BW BANK SINGEN  MO-DO 7:30-15:30, MI bis 17:30, FR 7:30-12:00   poststelle@fa-singen.fv.bwl.de          259
7426 8       2819    Rottweil        Körnerstr. 28  78628   Rottweil        0741/2430       0741/2432194    78612   78612   1252    69400000        69401505        BBK VILLINGEN-SCHWENNINGEN      64250040        136503  KR SPK ROTTWEIL MO-MI 8-16, DO 8-18, FR 8-12 UHR        poststelle@fa-rottweil.fv.bwl.de                260
7427 8       2820    Waldshut-Tiengen        Bahnhofstr. 11  79761   Waldshut-Tiengen        07741/6030      07741/603213    79753   79753   201360  68000000        68301501        BBK FREIBURG IM BREISGAU        68452290        14449   SPARKASSE HOCHRHEIN     MO-MI 8-15.30,DO 8-17.30,FR 8-12 UHR    poststelle@fa-waldshut-tiengen.fv.bwl.de                261
7428 8       2821    Tuttlingen      Zeughausstr. 91 78532   Tuttlingen      07461/980       07461/98303             78502   180     69400000        69401502        BBK VILLINGEN-SCHWENNINGEN      64350070        251     KR SPK TUTTLINGEN       MO-MI8-15.30,DO8-17.30,FR8-12.00UHR     poststelle@fa-tuttlingen.fv.bwl.de              262
7429 8       2822    Villingen-Schwenningen  Weiherstr. 7    78050   Villingen-Schwenningen  07721/923-0     07721/923-100   78045                   69400000        69401500        BBK VILLINGEN-SCHWENNINGEN                              MO-MI 8-16UHR,DO 8-17.30UHR,FR 8-12UHR  poststelle@fa-villingen-schwenningen.fv.bwl.de          263
7430 8       2823    Wolfach         Hauptstr. 55    77709   Wolfach 07834/9770      07834/977-169   77705   77705   1160    66400000        664 01502       BBK FREIBURG EH OFFENBURG       66452776        -31956  SPK WOLFACH     MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-wolfach.fv.bwl.de         264
7431 8       2830    Bruchsal        Schönbornstr. 1-5      76646   Bruchsal        07251/740       07251/742111    76643   76643   3021    66000000        66001512        BBK KARLSRUHE   66350036        50      SPK KRAICHGAU   SERVICEZENTRUM:MO-MI8-15:30DO8-17:30FR8-1200    poststelle@fa-bruchsal.fv.bwl.de                265
7432 8       2831    Ettlingen       Pforzheimer Str. 16     76275   Ettlingen       07243/5080      07243/508295    76257   76257   363     66000000        66001502        BBK KARLSRUHE   66051220        1043009 SPARKASSE ETTLINGEN     MO+DI 8-15.30,MI 7-15.30,DO 8-17.30,FR 8-12     poststelle@fa-ettlingen.fv.bwl.de               266
7433 8       2832    Heidelberg      Kurfürsten-Anlage 15-17        69115   Heidelberg      06221/590       06221/592355    69111                   67000000        67001510        BBK MANNHEIM    67220020        5302059000      BW BANK HEIDELBERG      ZIA:MO-DO 7.30-15.30, MI - 17.30, FR - 12.00    poststelle@fa-heidelberg.fv.bwl.de              267
7434 8       2833    Baden-Baden     Stephanienstr. 13 + 15  76530   Baden-Baden     07221/3590      07221/359320    76520                   66000000        66001516        BBK KARLSRUHE   66220020        4301111300      BW BANK BADEN-BADEN     MO,DI,DO 8-16 UHR,MI 8-17.30 UHR,FR 8-12 UHR    poststelle@fa-baden-baden.fv.bwl.de             268
7435 8       2834    Karlsruhe-Durlach       Prinzessenstr. 2        76227   Karlsruhe       0721/9940       0721/9941235    76225   76203   410326  66000000        66001503        BBK KARLSRUHE                           MO-DO 8-15.30,MI 8-17.30,FR 8-12        poststelle@fa-karlsruhe-durlach.fv.bwl.de               269
7436 8       2835    Karlsruhe-Stadt         Schlossplatz 14 76131   Karlsruhe       0721/1560       (0721) 156-1000                         66000000        66001501        BBK KARLSRUHE   66020020        4002020800      BW BANK KARLSRUHE       MO-DO 7.30-15.30 MI -17.30 FR 7.30-12.00        poststelle@fa-karlsruhe-stadt.fv.bwl.de         270
7437 8       2836    Bühl   Alban-Stolz-Str. 8      77815   Bühl   07223/8030      07223/3625      77815                   66000000        66001525        BBK KARLSRUHE   66220020        4301111300      BW BANK BADEN-BADEN     MO,DI,DO=8-16UHR, MI=8-17.30UHR,FR=8-12UHR      poststelle@fa-buehl.fv.bwl.de           271
7438 8       2837    Mannheim-Neckarstadt    L3, 10  68161   Mannheim        0621/2920       0621/292-1010   68150                   67000000        67001500        BBK MANNHEIM    67020020        5104719900      BW BANK MANNHEIM        MO,DI,DO7.30-15.30,MI7.30-17.30,FR7.30-12.00    poststelle@fa-mannheim-neckarstadt.fv.bwl.de            272
7439 8       2838    Mannheim-Stadt  L3, 10  68161   Mannheim        0621/2920       2923640 68150                   67000000        670 01500       BBK MANNHEIM    67020020        5104719900      BW BANK MANNHEIM        MO,DI,DO7.30-15.30,MI7.30.17.30,FR7.30-12.00    poststelle@fa-mannheim-stadt.fv.bwl.de          273
7440 8       2839    Rastatt         An der Ludwigsfeste 3   76437   Rastatt 07222/9780      07222/978330    76404   76404   1465    66000000        66001519        BBK KARLSRUHE   66020020        4150199000      BW BANK KARLSRUHE       MO-MI 8-15:30 UHR,DO 8-17:30 UHR,FR 8-12 UHR    poststelle@fa-rastatt.fv.bwl.de         274
7441 8       2840    Mosbach         Pfalzgraf-Otto-Str. 5   74821   Mosbach 06261/8070      06261/807200    74819                   62000000        62001502        BBK HEILBRONN, NECKAR   62030050        5501964000      BW BANK HEILBRONN       MO-DO 08.00-16.00 UHR, DO-17.30,FR-12.00 UHR    poststelle@fa-mosbach.fv.bwl.de         275
7442 8       2841    Pforzheim       Moltkestr. 8    75179   Pforzheim       07231/1830      (07231)183-1111 75090                   66000000        66001520        BBK KARLSRUHE   66620020        4812000000      BW BANK PFORZHEIM       MO-DO 7:30-15:30, DO bis 17:30, FR 7:30-12:00   poststelle@fa-pforzheim.fv.bwl.de               276
7443 8       2842    Freudenstadt    Musbacher Str. 33       72250   Freudenstadt    07441/560       07441/561011                            66000000        66001510        BBK KARLSRUHE   64251060        19565   KR SPK FREUDENSTADT     MO-MI 8.00-16.00,DO 8.00-17.30,FR 8.00-12.00    poststelle@fa-freudenstadt.fv.bwl.de            277
7444 8       2843    Schwetzingen    Schloss 68723   Schwetzingen    06202/810       (06202) 81298   68721                   67000000        67001501        BBK MANNHEIM    67250020        25008111        SPK HEIDELBERG  ZIA:MO-DO 7.30-15.30,MI-17.30,FR.7.30-12.00     poststelle@fa-schwetzingen.fv.bwl.de            278
7445 8       2844    Sinsheim        Bahnhofstr. 27  74889   Sinsheim        07261/6960      07261/696444    74887                   67000000        67001511        BBK MANNHEIM                            MO-DO 7:30-15:30, MI bis 17:30, FR 7:30-12 UHR  poststelle@fa-sinsheim.fv.bwl.de                279
7446 8       2845    Calw    Klosterhof 1    75365   Calw    07051/5870      07051/587111    75363                   66000000        66001521        BBK KARLSRUHE   60651070        1996    SPARKASSE PFORZHEIM CALW        MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-calw.fv.bwl.de            280
7447 8       2846    Walldürn       Albert-Schneider-Str. 1 74731   Walldürn       06282/7050      06282/705101    74723   74723   1162    62000000        62001509        BBK HEILBRONN, NECKAR   67450048        8102204 SPK NECKARTAL-ODENWALD  MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-wallduern.fv.bwl.de               281
7448 8       2847    Weinheim        Weschnitzstr. 2 69469   Weinheim        06201/6050      (06201) 605-220/299     69443   69443   100353  67000000        67001502        BBK MANNHEIM    67050505        63034444        SPK RHEIN NECKAR NORD   MO-MI 7.30-15.30 DO 7.30-17.30 FR 7.30-12       poststelle@fa-weinheim.fv.bwl.de                282
7449 8       2848    Mühlacker      Konrad-Adenauer-Platz 6 75417   Mühlacker      07041/8930      07041/893999            75415   1153    66000000        660 015 22      BBK KARLSRUHE   66650085        961 000 SPARKASSE PFORZHEIM CALW        ZIA:MO-DO 8-12:30 13:30-15:30 DO bis 17:30 FR 8-12      poststelle@fa-muehlacker.fv.bwl.de              283
7450 8       2849    Neuenbürg      Wildbader Str. 107      75305   Neuenbürg      07082/7990      07082/799166    75301   75301   1165    66600000        66601503        BBK PFORZHEIM   66650085        998400  SPARKASSE PFORZHEIM CALW        MO-FR 7.30-12UHR,MO-MI 13-16UHR,DO 13-18UHR     poststelle@fa-neuenbuerg.fv.bwl.de              284
7451 8       2850    Aalen / Württemberg    Bleichgartenstr. 17     73431   Aalen   (07361) 9578-0  (07361)9578-440 73428                   63000000        614 01500       BBK ULM, DONAU  61450050        110036902       KREISSPARKASSE OSTALB   MO-MI 7.30-16.00,DO 7.30-18.00,FR 7.30-12.00    poststelle@fa-aalen.fv.bwl.de           285
7452 8       2851    Backnang        Stiftshof 20    71522   Backnang        07191/120       07191/12221     71522                   60000000        60201501        BBK STUTTGART   60250010        244     KR SPK WAIBLINGEN       MO,DI,DO7.30-16.00MI7.30-18.00FR7.30-12.00      poststelle@fa-backnang.fv.bwl.de                286
7453 8       2852    Bad Mergentheim         Schloss 7       97980   Bad Mergentheim 07931/5300      07931/530228    97962   97962   1233    62000000        620 01508       BBK HEILBRONN, NECKAR   67352565        25866   SPK TAUBERFRANKEN       MO-DO 7.30-15.30,MI-17.30 UHR,FR 7.30-12 UHR    poststelle@fa-badmergentheim.fv.bwl.de          287
7454 8       2853    Balingen        Jakob-Beutter-Str. 4    72336   Balingen        07433/970       07433/972099    72334                   64000000        653 01500       BBK REUTLINGEN  65351260        24000110        SPK ZOLLERNALB  Mo-Mi 7:45-16:00,Do 7:45-17:30,Fr 7:45-12:30    poststelle@fa-balingen.fv.bwl.de                288
7455 8       2854    Biberach        Bahnhofstr. 11  88400   Biberach        07351/590       07351/59202     88396                   63000000        63001508        BBK ULM, DONAU  65450070        17      KR SPK BIBERACH MO,DI,DO 8-15.30, MI 8-17.30, FR 8-12 UHR       poststelle@fa-biberach.fv.bwl.de                289
7456 8       2855    Bietigheim-Bissingen    Kronenbergstr. 13       74321   Bietigheim-Bissingen    07142/5900      07142/590199    74319                   60000000        604 01501       BBK STUTTGART   60490150        427500001       VOLKSBANK LUDWIGSBURG   MO-MI(DO)7.30-15.30(17.30),FR 7.30-12.00 UHR    poststelle@fa-bietigheim-bissingen.fv.bwl.de            290
7457 8       2856    Böblingen      Talstr. 46      71034   Böblingen      (07031)13-01    07031/13-3200   71003   71003   1307    60300000        603 01500       BBK STUTTGART EH SINDELFING     60350130        220     KR SPK BOEBLINGEN       MO-MI 7.30-15.30,DO7.30-17.30,FR7.30-12.30      poststelle@fa-boeblingen.fv.bwl.de              291
7458 8       2857    Crailsheim      Schillerstr. 1  74564   Crailsheim      07951/4010      07951/401220    74552   74552   1252    62000000        620 01506       BBK HEILBRONN, NECKAR   62250030        282     SPARKASSE SCHWAEBISCH HALL      MO-DO:7.45-16.00,MI:-17.30,FR:7.45-12.30        poststelle@fa-crailsheim.fv.bwl.de              292
7459 8       2858    Ehingen         Hehlestr. 19    89584   Ehingen 07391/5080      07391/508260    89572   89572   1251    63000000        630 01502       BBK ULM, DONAU  63050000        9 300 691       SPARKASSE ULM   Mo-Mi 7.30-15.30,Do 7.30-17.30,Fr 7.30-12.00    poststelle@fa-ehingen.fv.bwl.de         293
7460 8       2859    Esslingen       Entengrabenstr. 11      73728   Esslingen       0711/39721      0711/3972400    73726                   61100000        61101500        BBK STUTTGART EH ESSLINGEN      61150020        902139  KR SPK ESSLINGEN-NUERTINGEN     Infothek Mo-Mi 7-15.30,Do-17.30, Fr 7-12 Uhr    poststelle@fa-esslingen.fv.bwl.de               294
7461 8       2861    Friedrichshafen         Ehlersstr. 13   88046   Friedrichshafen 07541/7060      07541/706111    88041                   63000000        65001504        BBK ULM, DONAU                          MO-MI 8-15.30, DO 8-17.30, FR 8-12.30 Uhr       poststelle@fa-friedrichshafen.fv.bwl.de         295
7462 8       2862    Geislingen      Schillerstr. 2  73312   Geislingen      07331/220       07331/22200     73302   73302   1253    60000000        61101504        BBK STUTTGART   61050000        6007203 KR SPK GOEPPINGEN       Mo-Mi 7-15:30, Do 7-17:30,Fr 7-12       poststelle@fa-geislingen.fv.bwl.de              296
7463 8       2863    Göppingen      Gartenstr. 42   73033   Göppingen      07161/63-0      07161/632935            73004   420     60000000        61101503        BBK STUTTGART   61050000        1 023   KR SPK GOEPPINGEN       MO-MI.7-15.30 Uhr,DO.7-17.30 Uhr,FR.7-12 Uhr    poststelle@fa-goeppingen.fv.bwl.de              297
7464 8       2864    Heidenheim      Marienstr. 15   89518   Heidenheim      07321/380       07321/381528    89503   89503   1320    63000000        61401505        BBK ULM, DONAU  63250030        880433  KR SPK HEIDENHEIM       Mo-Mi 7.30-15.30 Do 7.30-17.30 Fr 7.30-12.30    poststelle@fa-heidenheim.fv.bwl.de              298
7465 8       2865    Heilbronn       Moltkestr. 91   74076   Heilbronn       07131/1041      07131/1043000   74064                   62000000        620 01500       BBK HEILBRONN, NECKAR   62050000        123925  KR SPK HEILBRONN        Mo,Di,Do7:30-15:30,Mi7:30-17:30,Fr7:30-12:00    poststelle@fa-heilbronn.fv.bwl.de               299
7466 8       2869    Kirchheim       Alleenstr. 120  73230   Kirchheim       07021/5750      575258  73220   73220   1241    61100000        61101501        BBK STUTTGART EH ESSLINGEN      61150020        48317054        KR SPK ESSLINGEN-NUERTINGEN     KUNDENCENTER MO-MI 8-15.30,DO 8-17.30,FR8-12    poststelle@fa-kirchheim.fv.bwl.de               300
7467 8       2871    Ludwigsburg     Alt-Württ.-Allee 40 (Neubau)   71638   Ludwigsburg     07141/180       07141/182105    71631                   60000000        604 01500       BBK STUTTGART   60450050        7 759   KREISSPARKASSE LUDWIGSBURG      MO-MI 8-15.30,DO 8-18.00,FR 8-12.00     poststelle@fa-ludwigsburg.fv.bwl.de             302
7468 8       2874    Nürtingen      Sigmaringer Str. 15     72622   Nürtingen      07022/7090      07022/709-120   72603   72603   1309    60000000        61101502        BBK STUTTGART                           MO-Mi 7.30-15.30 Do 7.30-17.30 Fr 7.30-12.00    poststelle@fa-nuertingen.fv.bwl.de              303
7469 8       2876    Ã–hringen       Haagweg 39      74613   Ã–hringen       07941/6040      07941/604400    74611                   62000000        62001501        BBK HEILBRONN, NECKAR   62251550        40008   SPARKASSE HOHENLOHEKREIS        MO-DO 7.30-16.00UhrFR 7.30-12.00 Uhr    poststelle@fa-oehringen.fv.bwl.de               304
7470 8       2877    Ravensburg      Broner Platz 12 88250   Weingarten      0751/4030       403-303 88248                   65000000        650 015 00      BBK ULM EH RAVENSBURG   65050110        86 500 500      KR SPK RAVENSBURG       Mo,Di,Do 8-15.30Uhr,ZIA Mi 8-17.30,Fr8-12Uhr    poststelle@fa-ravensburg.fv.bwl.de              305
7471 8       2878    Reutlingen      Leonhardsplatz 1        72764   Reutlingen      07121/9400      07121/9401002   72705   72705   1543    64000000        64001500        BBK REUTLINGEN  64050000        64 905  KR SPK REUTLINGEN       Mo-Mi 7-15.30, Do 7-17.30, Fr 7-12.00 Uhr       poststelle@fa-reutlingen.fv.bwl.de              306
7472 8       2879    Riedlingen      Kirchstr. 30    88499   Riedlingen      07371/1870      07371/1871000   88491   88491   1164    63000000        63001509        BBK ULM, DONAU  65450070        400 600 KR SPK BIBERACH INFOST. MO-MI 7.30-15.30,DO-17.30,FR-12 UHR     poststelle@fa-riedlingen.fv.bwl.de              307
7473 8       2880    Tauberbischofsheim      Dr.-Burger-Str. 1       97941   Tauberbischofsheim      09341/8040      09341/804244    97933   97933   1340    62000000        620 01507       BBK HEILBRONN, NECKAR   67332551        8282661100      BW BANK TAUBERBISCHOFSHEIM      MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-tauberbischofsheim.fv.bwl.de              308
7474 8       2881    Bad Saulgau     Schulstr. 5     88348   Bad Saulgau     07581/504-0     07581/504499    88341   88341   1255    65000000        650 01501       BBK ULM EH RAVENSBURG   65351050        210058  LD BK KR SPK SIGMARINGEN        MO,DO,FR 8-12,DO 13.30-15.30UHR poststelle@fa-badsaulgau.fv.bwl.de              309
7475 8       2882    Schorndorf      Johann-Philipp-Palm-Str. 28     73614   Schorndorf      07181/6010      07181/601499    73603   73603   1320    60000000        60201502        BBK STUTTGART   60250010        5014008 KR SPK WAIBLINGEN       MO,DI,DO 8-15.30,MI 8-17.30,FR 8-12.00  poststelle@fa-schorndorf.fv.bwl.de              310
7476 8       2883    Schwäbisch Gmünd      Augustinerstr. 6        73525   Schwäbisch Gmünd      (07171) 602-0   07171/602266    73522                   63000000        61401501        BBK ULM, DONAU  61450050        440066604       KREISSPARKASSE OSTALB   MO,DI,DO 8-15.30 MI 8-17.30 FR 8-12.00 UHR      poststelle@fa-schwaebischgmuend.fv.bwl.de               311
7477 8       2884    Schwäbisch Hall        Bahnhofstr. 25  74523   Schwäbisch Hall        0791/752-0      0791/7521115    74502   74502   100260  62000000        62001503        BBK HEILBRONN, NECKAR   62250030        5070 011        SPARKASSE SCHWAEBISCH HALL      MO-MI 7.30-16.00 DO 7.30-17.30 FR 7.30-12.00    poststelle@fa-schwaebischhall.fv.bwl.de         312
7478 8       2885    Sigmaringen     Karlstr. 31     72488   Sigmaringen     07571/1010      07571/101300    72481   72481   1250    65300000        653 01501       BBK REUTLINGEN EH ALBSTADT      65351050        808 408 LD BK KR SPK SIGMARINGEN        MO-MI 7.45-15.30,DO 7.45-17.30,FR 7.45-12.00    poststelle@fa-sigmaringen.fv.bwl.de             313
7479 8       2886    Tübingen       Steinlachallee 6 - 8    72072   Tübingen       07071/7570      07071/7574500   72005   72005   1520    64000000        64001505        BBK REUTLINGEN                          Mo-Do 7.30-15.30,Mi -17.30,Fr 7.30-13.00 Uhr    poststelle@fa-tuebingen.fv.bwl.de               314
7480 8       2887    Ãœberlingen (Bodensee)  Mühlenstr. 28  88662   Ãœberlingen     07551/8360      07551/836299    88660                   69400000        69001501        BBK VILLINGEN-SCHWENNINGEN      69220020        6426155500      BW BANK SINGEN  Mo-Mi 8.00-15.30,Do 8.00-17.30,Fr 8.00-12.00    poststelle@fa-ueberlingen.fv.bwl.de             315
7481 8       2888    Ulm     Wagnerstr. 2    89077   Ulm     0731/1030       0731/103800             89008   1860    63000000        63001500        BBK ULM, DONAU  63050000        30001   SPARKASSE ULM   MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-ulm.fv.bwl.de             316
7482 8       2889    Bad Urach       Graf-Eberhard-Platz 7   72574   Bad Urach       07125/1580      (07125)158-300  72562   72562   1149    64000000        640 01501       BBK REUTLINGEN  64050000        300 346 KR SPK REUTLINGEN       MO-MI 7.30-15.30 DO 7.30-17.30 FR 7.30-12.00    poststelle@fa-badurach.fv.bwl.de                317
7483 8       2890    Waiblingen      Fronackerstr. 77        71332   Waiblingen      07151/9550      07151/955200    71328                   60000000        602 01500       BBK STUTTGART   60250010        200 398 KR SPK WAIBLINGEN       INFOTHEK MO-DO 7.30-15.30,MI-17.30,FR-12.00     poststelle@fa-waiblingen.fv.bwl.de              318
7484 8       2891    Wangen  Lindauer Str.37 88239   Wangen  07522/710       07522(714000)   88228   88228   1262    63000000        650 01502       BBK ULM, DONAU  65050110        218 153 KR SPK RAVENSBURG       MO-MI 8-15.30, DO 8-17.30, FR 8-12 UHR  poststelle@fa-wangen.fv.bwl.de          319
7485 8       2892    Stuttgart IV    Seidenstr.23    70174   Stuttgart       0711/66730      0711/66736060   70049   70049   106052  60000000        600 01503       BBK STUTTGART   60050101        2 065 854       LANDESBANK BADEN-WUERTT MO,MI,FR 8-12,MI 13.30-16 UHR   poststelle@fa-stuttgart4.fv.bwl.de              320
7486 8       2893    Stuttgart I     Rotebühlplatz 30       70173   Stuttgart       0711/66730      6673 - 5010     70049   70049   106055  60000000        600 01503       BBK STUTTGART   60050101        2 065 854       LANDESBANK BADEN-WUERTT Mo,Die,Do: 8-15.30, Mi: 8-17.30, Fr: 8-12.00    poststelle@fa-stuttgart1.fv.bwl.de              321
7487 8       2895    Stuttgart II    Rotebühlstr. 40        70178   Stuttgart       0711/66730      0711/66735610                           60000000        60001503        BBK STUTTGART   60050101        2065854 LANDESBANK BADEN-WUERTT MO-DO:8-15.30 FR:8-12 MI:15.30-17.30    poststelle@fa-stuttgart2.fv.bwl.de              322
7488 8       2896    Stuttgart Zentrales Konzernprüfungsamt Hackstr. 86     70190   Stuttgart       0711/9251-6     0711/9251706                                                                                    poststelle@zbp-stuttgart.fv.bwl.de              323
7489 8       2897    Stuttgart III   Rotebühlplatz 30       70173   Stuttgart       0711/66730      0711/66735710           70049   106053  60000000        600 01503       BBK STUTTGART   60050101        2 065 854       LANDESBANK BADEN-WUERTT Mo-Do:8-15.30 Mi:8-17.30 Fr:8-12.00 Uhr poststelle@fa-stuttgart3.fv.bwl.de              324
7490 8       2899    Stuttgart-Körpersch.   Paulinenstr. 44 70178   Stuttgart       0711/66730      0711/66736525   70049   70049   106051  60000000        600 01503       BBK STUTTGART   60050101        2 065 854       LANDESBANK BADEN-WUERTT MO-FR 8:00-12:00, MO-DO 13:00-15:30 Uhr poststelle@fa-stuttgart-koerperschaften.fv.bwl.de               325
7491 12      3046    Potsdam-Stadt   Am Bürohochhaus 2      14478   Potsdam 0331 287-0      0331 287-1515           14429   80 03 22        16000000        16001501        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Potsdam-Stadt@fa.brandenburg.de           326
7492 12      3047    Potsdam-Land    Steinstr. 104 - 106     14480   Potsdam 0331 6469-0     0331 6469-200           14437   90 01 45        16000000        16001502        BBK POTSDAM                             täglich außer Mi: 08:00-12:30 Uhr, zusätzlich Di: 14:00-17:00 Uhr    poststelle.FA-Potsdam-Land@fa.brandenburg.de            327
7493 12      3048    Brandenburg     Magdeburger Straße 46  14770   Brandenburg     03381 397-100   03381 397-200                           16000000        16001503        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Brandenburg@fa.brandenburg.de             328
7494 12      3049    Königs Wusterhausen    Weg am Kreisgericht 9   15711   Königs Wusterhausen    03375 275-0     03375 275-103                           16000000        16001505        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Koenigs-Wusterhausen@fa.brandenburg.de            329
7495 12      3050    Luckenwalde     Industriestraße 2      14943   Luckenwalde     03371 606-0     03371 606-200                           16000000        16001504        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Luckenwalde@fa.brandenburg.de             330
7496 12      3051    Nauen   Ketziner Straße 3      14641   Nauen   03321 412-0     03321 412-888           14631   11 61   16000000        16001509        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Nauen@fa.brandenburg.de           331
7497 12      3052    Kyritz  Perleberger Straße 1 - 2       16866   Kyritz  033971 65-0     033971 65-200                           16000000        16001507        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Kyritz@fa.brandenburg.de          332
7498 12      3053    Oranienburg     Heinrich-Grüber-Platz 3        16515   Oranienburg     03301 857-0     03301 857-334                           16000000        16001508        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Oranienburg@fa.brandenburg.de             333
7499 12      3054    Pritzwalk       Freyensteiner Chaussee 10       16928   Pritzwalk       03395 757-0     03395 302110                            16000000        16001506        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Pritzwalk@fa.brandenburg.de               334
7500 12      3056    Cottbus         Vom-Stein-Straße 29    3050    Cottbus 0355 4991-4100  0355 4991-4150          3004    10 04 53        18000000        18001501        BBK COTTBUS                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Cottbus@fa.brandenburg.de         335
7501 12      3057    Calau   Springteichallee 25     3205    Calau   03541 83-0      03541 83-100            3201    11 71   18000000        18001502        BBK COTTBUS                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Calau@fa.brandenburg.de           336
7502 12      3058    Finsterwalde    Leipziger Straße 61 - 67       3238    Finsterwalde    03531 54-0      03531 54-180            3231    11 50   18000000        18001503        BBK COTTBUS                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Finsterwalde@fa.brandenburg.de            337
7503 12      3061    Frankfurt (Oder)        Müllroser Chaussee 53  15236   Frankfurt (Oder)        0335 560-1399   0335 560-1202                           17000000        17001502        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Frankfurt-Oder@fa.brandenburg.de          338
7504 12      3062    Angermünde     Jahnstraße 49  16278   Angermünde     03331 267-0     03331 267-200                           17000000        17001500        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Angermuende@fa.brandenburg.de             339
7505 12      3063    Fürstenwalde   Beeskower Chaussee 12   15517   Fürstenwalde   03361 595-0     03361 2198                              17000000        17001503        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Fuerstenwalde@fa.brandenburg.de           340
7506 12      3064    Strausberg      Prötzeler Chaussee 12 A        15344   Strausberg      03341 342-0     03341 342-127                           17000000        17001504        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Strausberg@fa.brandenburg.de              341
7507 12      3065    Eberswalde      Tramper Chaussee 5      16225   Eberswalde      03334 66-2000   03334 66-2001                           17000000        17001501        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Eberswalde@fa.brandenburg.de              342
7508 15      3101    Magdeburg I     Tessenowstraße 10      39114   Magdeburg       0391 885-29     0391 885-1400           39014   39 62   81000000        810 015 06      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-md1.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  343
7509 15      3102    Magdeburg II    Tessenowstraße 6       39114   Magdeburg       0391 885-12     0391 885-1000           39006   16 63   81000000        810 015 07      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-md2.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  344
7510 15      3103    Genthin         Berliner Chaussee 29 b  39307   Genthin 03933 908-0     03933 908-499           39302   13 41   81000000        810 015 08      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 09.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-gtn.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  345
7511 15      3104    Halberstadt     R.-Wagner-Straße 51    38820   Halberstadt     03941 33-0      03941 33-199            38805   15 26   81000000        268 015 01      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-hbs.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  346
7512 15      3105    Haldensleben    Jungfernstieg 37        39340   Haldensleben    03904 482-0     03904 482-200           39332   10 02 09        81000000        810 015 10      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-hdl.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  347
7513 15      3106    Salzwedel       Buchenallee 2   29410   Salzwedel       03901 857-0     03901 857-100           29403   21 51   81000000        810 015 05      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-saw.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  348
7514 15      3107    Staßfurt       Atzendorfer Straße 20  39418   Staßfurt       03925 980-0     03925 980-101           39404   13 55   81000000        810 015 12      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.30 - 18.00 Uhr   poststelle@fa-sft.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  349
7515 15      3108    Stendal         Scharnhorststraße 87   39576   Stendal 03931 57-1000   03931 57-2000           39551   10 11 31        81000000        810 015 13      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-sdl.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  350
7516 15      3109    Wernigerode     Gustav-Petri-Straße 14 38855   Wernigerode     03943 657-0     03943 657-150           38842   10 12 51        81000000        268 015 03      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 09.00 - 12.00 Uhr, Do.: 14.00 - 18.00 Uhr   poststelle@fa-wrg.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  351
7517 15      3110    Halle-Süd      Blücherstraße 1       6122    Halle   0345 6923-5     0345 6923-600   6103                    80000000        800 015 02      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr, Do.: 14.00       poststelle@fa-ha-s.ofd.mf.lsa-net.de    http://www.finanzamt.sachsen-anhalt.de  352
7518 15      3111    Halle-Nord      Blücherstraße 1       6122    Halle   0345 6924-0     0345 6924-400   6103                    80000000        800 015 01      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr, Do.: 14.00       poststelle@fa-ha-n.ofd.mf.lsa-net.de    http://www.finanzamt.sachsen-anhalt.de  353
7519 15      3112    Merseburg       Bahnhofstraße 10       6217    Merseburg       03461 282-0     03461 282-199           6203    13 51   80000000        800 015 09      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-msb.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  354
7520 15      3113    Bitterfeld      Röhrenstraße 33       6749    Bitterfeld      03493 347-0     03493 347-247           6732    12 64   80000000        805 015 05      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-btf.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  355
7521 15      3114    Dessau  Kühnauer Straße 166   6846    Dessau  0340 6513-0     0340 6513-403           6815    18 25   80000000        805 015 26      BBK HALLE                               Mo. - Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr    poststelle@fa-des.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  356
7522 15      3115    Wittenberg      Dresdener Straße 40    6886    Wittenberg      03491 430-0     03491 430-113           6872    10 02 54        80000000        805 015 07      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-wbg.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  357
7523 15      3116    Köthen         Zeppelinstraße 15      6366    Köthen 03496 44-0      03496 44-2900           6354    14 52   80000000        805 015 06      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-kot.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  358
7524 15      3117    Quedlinburg     Adelheidstraße 2       6484    Quedlinburg     03946 976-0     03946 976-400           6472    14 20   81000000        268 015 02      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 17.30 Uhr   poststelle@fa-qlb.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  359
7525 15      3118    Eisleben        Bahnhofsring 10 a       6295    Eisleben        03475 725-0     03475 725-109   6291                    80000000        800 015 08      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-eil.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  360
7526 15      3119    Naumburg        Oststraße 26/26 a      6618    Naumburg        03445 753-0     03445 753-999           6602    12 51   80000000        800 015 27      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-nbg.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  361
7527 15      3120    Zeitz   Friedensstraße 80      6712    Zeitz   03441 864-0     03441 864-480           6692    12 08   80000000        800 015 04      BBK HALLE                               Mo., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 08.00 - 18.00 Uhr        poststelle@fa-ztz.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  362
7528 15      3121    Sangerhausen    Alte Promenade 27       6526    Sangerhausen    03464 539-0     03464 539-539           6512    10 12 24        80000000        800 015 25      BBK HALLE                               Di., Do., Fr.: 09.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr, Do.: 14.00 -  poststelle@fa-sgh.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  363
7529 14      3201    Dresden I       Lauensteiner Str. 37    1277    Dresden 0351 2567-0     0351 2567-111   1264                    85000000        85001502        BBK DRESDEN                             Mo 8:00-15:00, Di 8:00-18:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-dresden1.smf.sachsen.de   http://www.Finanzamt-Dresden-I.de       364
7530 14      3202    Dresden II      Gutzkowstraße 10       1069    Dresden 0351 4655-0     0351 4655-269   1056                    85000000        85001503        BBK DRESDEN                             Mo - Fr 8:00-12:00 Uhr, Di 14:00-18:00, Do 14:00-18:00 Uhr      poststelle@fa-dresden2.smf.sachsen.de   http://www.Finanzamt-Dresden-II.de      365
7531 14      3203    Dresden III     Rabenerstr.1    1069    Dresden 0351 4691-0     0351 4717 369           1007    120641  85000000        85001504        BBK DRESDEN                             Mo 8:00-15:00, Di 8:00-18:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-dresden3.smf.sachsen.de   http://www.Finanzamt-Dresden-III.de     366
7532 14      3204    Bautzen         Wendischer Graben 3     2625    Bautzen 03591 488-0     03591 488-888   2621                    85000000        85001505        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-17:00, Mi 8:00-15:30, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-bautzen.smf.sachsen.de    http://www.Finanzamt-Bautzen.de 367
7533 5       5384    Münster f. Steuerfahndung und Steuerstrafsachen        Hohenzollernring 80     48145   Münster        0251/9370-0     0800 10092675384                                40000000        40001501        BBK MUENSTER, WESTF     40050150        95031001        SPK MUENSTERLAND OST            Service@FA-5384.fin-nrw.de              368
7534 14      3205    Bischofswerda   Kirchstraße 25 1877    Bischofswerda   03594 754-0     03594 754-444           1871    1111    85000000        85001506        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-17:00, Mi 8:00-15:30, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-bischofswerda.smf.sachsen.de      http://www.Finanzamt-Bischofswerda.de   369
7535 14      3206    Freital         Coschützer Straße 8-10        1705    Freital 0351 6478-0     0351 6478-428           1691    1560    85000000        85001507        BBK DRESDEN                             Mo 8:00-15:00, Di 8:00-18:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-freital.smf.sachsen.de    http://www.Finanzamt-Freital.de 370
7536 14      3207    Görlitz        Sonnenstraße 7 2826    Görlitz        03581 875-0     03581 875-100           2807    300235  85000000        85001512        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-goerlitz.smf.sachsen.de   http://www.Finanzamt-Goerlitz.de        371
7537 14      3208    Löbau  Georgewitzer Str.40     2708    Löbau  03585 455-0     03585 455-100           2701    1165    85000000        85001509        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-loebau.smf.sachsen.de     http://www.Finanzamt-Loebau.de  372
7538 14      3209    Meißen         Hermann-Grafe-Str.30    1662    Meißen 03521 745-30    03521 745-450           1651    100151  85000000        85001508        BBK DRESDEN                             Mo - Fr 8:00-12:00 Uhr Di 13:00-18:00, Do 13:00-17:00 Uhr       poststelle@fa-meissen.smf.sachsen.de    http://www.Finanzamt-Meissen.de 373
7539 14      3210    Pirna   Emil-Schlegel-Str. 11   1796    Pirna   03501 551-0     03501 551-201           1781    100143  85000000        85001510        BBK DRESDEN                             Mo - Fr 8:00-12:00 Uhr, Di 13:30-18:00, Do 13:30-17:00 Uhr      poststelle@fa-pirna.smf.sachsen.de      http://www.Finanzamt-Pirna.de   374
7540 14      3211    Riesa   Stahlwerkerstr.3        1591    Riesa   03525 714-0     03525 714-133           1571    24      85000000        85001511        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00 , Fr 8:00-12:00 Uhr  poststelle@fa-riesa.smf.sachsen.de      http://www.Finanzamt-Riesa.de   375
7541 14      3213    Hoyerswerda     Pforzheimer Platz 1     2977    Hoyerswerda     03571 460-0     03571 460-115           2961    1161/1162       85000000        85001527        BBK DRESDEN                             Mo 7:30-15:30, Di 7:30-17:00, Mi 7:30-13:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-hoyerswerda.smf.sachsen.de        http://www.Finanzamt-Hoyerswerda.de     376
7542 14      3214    Chemnitz-Süd   Paul-Bertz-Str. 1       9120    Chemnitz        0371 279-0      0371 227065     9097                    87000000        87001501        BBK CHEMNITZ                            Mo 8:00-16:00, Di 8:00-18:00, Mi 8:00-13:00, Do 8:00-18:00, Fr 8:00-13:00 Uhr   poststelle@fa-chemnitz-sued.smf.sachsen.de      http://www.Finanzamt-Chemnitz-Sued.de   377
7543 14      3215    Chemnitz-Mitte  August-Bebel-Str. 11/13 9113    Chemnitz        0371 467-0      0371 415830     9097                    87000000        87001502        BBK CHEMNITZ                            Mo 8:00-16:00, Di 8:00-18:00, Mi 8:00-14:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-chemnitz-mitte.smf.sachsen.de     http://www.Finanzamt-Chemnitz-Mitte.de  378
7544 14      3216    Chemnitz-Land   Reichenhainer Str. 31-33        9126    Chemnitz        0371 5360-0     0371 5360-317   9097                    87000000        87001503        BBK CHEMNITZ                            täglich 8:00-12:00, Di 13:30-17.00, Do 13:30-18:00 Uhr poststelle@fa-chemnitz-land.smf.sachsen.de      http://www.Finanzamt-Chemnitz-Land.de   379
7545 14      3217    Annaberg        Magazingasse 16 9456    Annaberg-B.     03733 4270      03733 427-217           9453    100631  87000000        87001504        BBK CHEMNITZ                            Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-annaberg.smf.sachsen.de   http://www.Finanzamt-Annaberg.de        380
7546 14      3218    Schwarzenberg   Karlsbader Str.23       8340    Schwarzenberg   03774 161-0     03774 161-100           8332    1209    87000000        87001505        BBK CHEMNITZ                            Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-schwarzenberg.smf.sachsen.de      http://www.Finanzamt-Schwarzenberg.de   381
7547 14      3219    Auerbach        Schulstraße 3, Haus 1  8209    Auerbach        03744 824-0     03744 824-200           8202    10132   87000000        87001506        BBK CHEMNITZ                            Mo 7:30-15:30, Di 7:30-18:00, Mi 7:30-12:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-aucherbach.smf.sachsen.de http://www.Finanzamt-Auerbach.de        382
7548 14      3220    Freiberg        Brückenstr.1   9599    Freiberg        03731 379-0     03731 379-999   9596                    87000000        87001507        BBK CHEMNITZ                            Mo - Fr 7:30-12:30, Mo 13:30-15:30, Di 13:00-18:00, Mi 13:30-15:30, Do 13:00-17:00 Uhr  poststelle@fa-freiberg.smf.sachsen.de   http://www.Finanzamt-Freiberg.de        383
7549 14      3221    Hohenstein-Ernstthal    Schulstraße 34 9337    Hohenstein-E.   03723 745-0     03723 745-399           9332    1246    87000000        87001510        BBK CHEMNITZ                            Mo - Fr 8:00-12:00, Mo 12:30-15:30, Di 12:30-18:00, Do 12:30-17:00      poststelle@fa-hohenstein-ernstthal.smf.sachsen.de       http://www.Finanzamt-Hohenstein-Ernstthal.de    384
7550 14      3222    Mittweida       Robert-Koch-Str. 17     9648    Mittweida       03727 987-0     03727 987-333           9641    1157    87000000        87001509        BBK CHEMNITZ                            Mo 7:30-15:00, Di 7:30-18:00, Mi 7:30-13:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-mittweida.smf.sachsen.de  http://www.Finanzamt-Mittweida.de       385
7551 14      3223    Plauen  Europaratstraße 17     8523    Plauen  03741 10-0      03741 10-2000           8507    100384  87000000        87001512        BBK CHEMNITZ                            Mo 7:30-14:00, Di 7:30-18:00, Mi 7:30-14:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-plauen.smf.sachsen.de     http://www.Finanzamt-Plauen.de  386
7552 14      3224    Stollberg       HOHENSTEINER STRASSE 54 9366    Stollberg       037296 522-0    037296 522-199          9361    1107    87000000        87001508        BBK CHEMNITZ                            Mo 7:30-15:30, Di 7:30-17:00, Mi 7:30-13:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-stollberg.smf.sachsen.de  http://www.Finanzamt-Stollberg.de       387
7553 14      3226    Zwickau-Stadt   Dr.-Friedrichs-Ring 21  8056    Zwickau 0375 3529-0     0375 3529-444           8070    100452  87000000        87001513        BBK CHEMNITZ                            Mo 7:30-15:30, Di 7:30-18:00, Mi 7:30-12:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-zwickau-stadt.smf.sachsen.de      http://www.Finanzamt-Zwickau-Stadt.de   388
7554 14      3227    Zwickau-Land    Ã„ußere Schneeberger Str. 62   8056    Zwickau 0375 4440-0     0375 4440-222           8067    100150  87000000        87001514        BBK CHEMNITZ                            Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-zwickau-land.smf.sachsen.de       http://www.Finanzamt-Zwickau-Land.de    389
7555 14      3228    Zschopau        August-Bebel-Str.17     9405    Zschopau        03725 293-0     03725 293-111           9402    58      87000000        87001515        BBK CHEMNITZ                            Mo7:30-12:00/13:00-16:30,Di 7:30-12:00/13:00-18:00Mi u. Fr 7:30-13:00, Do 7:30-12:00/13:00-18:00 Uhr    poststelle@fa-zschopau.smf.sachsen.de   http://www.Finanzamt-Zschopau.de        390
7556 14      3230    Leipzig I       Wilhelm-Liebknecht-Platz 3/4    4105    Leipzig 0341 559-0      0341 559-1540           4001    100105  86000000        86001501        BBK LEIPZIG                             Mo 7:30-14:00, Di 7:30-18:00, Mi 7:30-14:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-leipzig1.smf.sachsen.de   http://www.Finanzamt-Leipzig-I.de       391
7557 14      3231    Leipzig II      Erich-Weinert-Str. 20   4105    Leipzig 0341 559-0      0341 559-2505           4001    100145  86000000        86001502        BBK LEIPZIG                             Mo 7:30-14:00, Di 7:30-18:00, Mi 7:30-14:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-leipzig2.smf.sachsen.de   http://www.Finanzamt-Leipzig-II.de      392
7558 14      3232    Leipzig III     Wilhelm-Liebknecht-Platz 3/4    4105    Leipzig 0341 559-0      0341 559-3640           4002    100226  86000000        86001503        BBK LEIPZIG                             Mo 7:30-14:00, Di 7:30-18:00, Mi 7:30-14:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-leipzig3.smf.sachsen.de   http://www.Finanzamt-Leipzig-III.de     393
7559 14      3235    Borna   Brauhausstr.8   4552    Borna   03433 872-0     03433 872-255           4541    1325    86000000        86001509        BBK LEIPZIG                             Mo 8:00-15:00, Di 8:00-18:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-borna.smf.sachsen.de      http://www.Finanzamt-Borna.de   394
7560 14      3236    Döbeln         Burgstr.31      4720    Döbeln 03431 653-30    03431 653-444           4713    2346    86000000        86001507        BBK LEIPZIG                             Mo 7:30-15:30, Di 7:30-18:00, Mi 7:30-13:00, Do 7:30-17:00, Fr 7:30-12:00 Uhr   poststelle@fa-doebeln.smf.sachsen.de    http://www.Finanzamt-Doebeln.de 395
7561 14      3237    Eilenburg       Walther-Rathenau-Straße 8      4838    Eilenburg       03423 660-0     03423 660-460           4831    1133    86000000        86001506        BBK LEIPZIG                             Mo 8:00-16:00, Di 8:00-18:00, Mi 8:00-14:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-eilenburg.smf.sachsen.de  http://www.Finanzamt-Eilenburg.de       396
7562 14      3238    Grimma  Lausicker Straße 2     4668    Grimma  03437 940-0     03437 940-500           4661    1126    86000000        86001508        BBK LEIPZIG                             Mo 7:30-15:00, Di 7:30-18:00, Mi 7:30-13:30, Do 7:30-17:00, Fr 7:30-12:00 Uhr   poststelle@fa-grimma.smf.sachsen.de     http://www.Finanzamt-Grimma.de  397
7563 14      3239    Oschatz         Dresdener Str.77        4758    Oschatz 03435 978-0     03435 978-366           4752    1265    86000000        86001511        BBK LEIPZIG                             Mo 8:00-16:00, Di 8:00-17:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-oschatz.smf.sachsen.de    http://www.Finanzamt-Oschatz.de 398
7564 13      4071    Malchin         Schratweg 33    17139   Malchin 03994/6340      03994/634322            17131   1101    15000000        15001511        BBK NEUBRANDENBURG                              Mo Di Fr 08-12 Uhr Di 13-17 Uhr und Do 13-16 UhrMittwoch geschlossen    poststelle@fa-mc.ofd-hro.de             399
7565 13      4072    Neubrandenburg  Neustrelitzer Str. 120  17033   Neubrandenburg  0395/380 1000   0395/3801059            17041   110164  15000000        15001518        BBK NEUBRANDENBURG                              Mo Di Do Fr 08-12 Uhr und Di 13.00-17.30 Uhr Mittwoch geschlossen       poststelle@fa-nb.ofd-hro.de             400
7566 13      4074    Pasewalk        Torgelower Str. 32      17309   Pasewalk        (03973) 224-0   03973/2241199           17301   1102    15000000        15001512        BBK NEUBRANDENBURG                              Mo bis Fr 09.00-12.00 Uhr Di 14.00-18.00 Uhr    poststelle@fa-pw.ofd-hro.de             401
7567 13      4075    Waren   Einsteinstr. 15 17192   Waren (Müritz) 03991/1740      (03991)174499           17183   3154    15000000        15001515        BBK NEUBRANDENBURG                              Mo-Mi 08.00-16.00 Uhr Do 08.00-18.00 Uhr Fr 08.-13.00 Uhr       poststelle@fa-wrn.ofd-hro.de            402
7568 13      4079    Rostock         Möllner Str. 13        18109   Rostock (0381)7000-0    (0381)7000444           18071   201062  13000000        13001508        BBK ROSTOCK                             Mo Di Fr 8.30-12.00 Di 13.30-17.00 Do 13.30-16.00       poststelle@fa-hro.ofd-hro.de            403
7569 13      4080    Wismar  Philosophenweg 1        23970   Wismar  03841444-0      03841/444222                            14000000        14001516        BBK SCHWERIN                            Mo Di Fr 08.00-12.00 Uhr Di Do 14.00-17.00 Uhr Mittwoch geschlossen     poststelle@fa-wis.ofd-hro.de            404
7570 13      4081    Ribnitz-Damgarten       Sandhufe 3      18311   Ribnitz-Damgarten       (03821)884-0    (03821)884140           18301   1061    13000000        13001510        BBK ROSTOCK                             MO Di Mi DO 08.30-12.00 UHR DI 13.00-17.00 UHR Freitag geschlossen      poststelle@fa-rdg.ofd-hro.de            405
7571 13      4082    Stralsund       Lindenstraße 136       18435   Stralsund       03831/3660      (03831)366245 / 188             18409   2241    13000000        13001513        BBK ROSTOCK                             Mo Di Do Fr 08.00-12.00 Uhr Di 14.00 - 18.00 UhrMittwoch geschlossen    poststelle@fa-hst.ofd-hro.de            406
7572 13      4083    Bergen  Wasserstr. 15 d 18528   Bergen (Rügen) 03838/4000      03838/22217     18522   18522   1242    13000000        13001512        BBK ROSTOCK                             Mo Di Do Fr 8.30-12.00 Di 13.00-18.00 Mittwoch geschlossen      poststelle@fa-brg.ofd-hro.de            407
7573 13      4084    Greifswald      Am Gorzberg Haus 11     17489   Greifswald      03834/5590      03834-559315/316        17462   17462   3254    15000000        15001528        BBK NEUBRANDENBURG                              Mo Di Do Fr 8.30-12.00 Uhr Di 13.00-17.30 Uhr Mittwoch geschlossen      poststelle@fa-hgw.ofd-hro.de            408
7574 13      4085    Wolgast         Pestalozzistr. 45       17438   Wolgast 03836/254-0     03836/254300 /254100            17431   1139    15000000        15001529        BBK NEUBRANDENBURG                              Mo Di Mi Do Fr 08.00-12.00 Uhr  poststelle@fa-wlg.ofd-hro.de            409
7575 13      4086    Güstrow        Klosterhof 1    18273   Güstrow        03843/2620      03843/262111    18271                   13000000        13001501        BBK ROSTOCK                             Mo-Do 09.00-12.00 Uhr Do 13.00-18.00 Uhr Freitag geschlossen    poststelle@fa-gue.ofd-hro.de            410
7576 13      4087    Hagenow         Steegener Chaussee 8    19230   Hagenow 03883/6700      03883 670216 /670217            19222   1242    14000000        14001504        BBK SCHWERIN                            Mo Di Do Fr 08.30-12.00 Di 13.00-17.30 Mittwoch geschlossen     poststelle@fa-hgn.ofd-hro.de            411
7577 13      4089    Parchim         Ludwigsluster Chaussee 5        19370   Parchim 03871/4650      03871/443131            19363   1351    14000000        14001506        BBK SCHWERIN                            Mo Di Mi 08.30-15.00 Uhr Do 08.30-18.00 Uhr Fr 08.30-13.00 Uhr  poststelle@fa-pch.ofd-hro.de            412
7578 13      4090    Schwerin        Johannes-Stelling-Str.9-11      19053   Schwerin        0385/54000      0385/5400300            19091   160131  14000000        14001502        BBK SCHWERIN                             Di Do Fr 08.30 - 12.00 Uhr Mo 13.00 - 16.00 Uhr Do 14.00       poststelle@fa-sn.ofd-hro.de             413
7579 16      4151    Erfurt  Mittelhäuser Str. 64f  99091   Erfurt  (0361)378-00    0361/3782800            99001   100121  82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              DI. 8- 12/ 13.30 -18 MI./FR. 8 - 12 UHR poststelle@finanzamt-erfurt.thueringen.de               414
7580 16      4152    Sömmerda       Uhlandstrasse 3 99610   Sömmerda       03634/363-0     03634/363200            99609   100     82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO/MI/DO 8-16 UHR DI 8-18,FR 8-12 UHR   poststelle@finanzamt-soemmerda.thueringen.de            415
7581 16      4153    Weimar  Jenaer Str.2a   99425   Weimar  03643/5500      (03643)903811           99421   3676    82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              MO,MI,DO 8-15.30 UHR DI 8-18,FR 8-12 UHR        poststelle@finanzamt-weimar.thueringen.de               416
7582 16      4154    Ilmenau         Wallgraben 1    98693   Ilmenau (03677) 861-0   03677/861111            98686   100754  82050000        3001111685      LD BK HESS-THUER GZ ERFURT                              MO,MI 8-15.30 UHR, DI 8-18 UHR DO 8-16 UHR, FR 8-12 UHR poststelle@finanzamt-ilmenau.thueringen.de              417
7583 16      4155    Eisenach        Ernst-Thaelmann-Str. 70 99817   Eisenach        03691/687-0     03691/687250            99804   101454  82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              MO-FR: 8-12 UHR, MO-MI: 13-16 UHR, DO: 13-18 UHR        poststelle@finanzamt-eisenach.thueringen.de             418
7584 16      4156    Gotha   Reuterstr. 2a   99867   Gotha   (03621)33-0     03621/332000            99853   100301  82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              MO - MI 8-15.30 UHR DO 8-18,FR 8-12 UHR poststelle@finanzamt-gotha.thueringen.de                419
7585 16      4157    Mühlhausen     Martinistr. 22  99974   Mühlhausen     (03601)456-0    03601/456100            99961   1155    82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO/MI/DO 7.30-15 UHR DI.7.30-18,FR.7.30-12      poststelle@finanzamt-muehlhausen.thueringen.de          420
7586 16      4158    Nordhausen      Gerhart-Hauptmann-Str. 3        99734   Nordhausen      03631/427-0     03631/427174            99729   1120    82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO,DI,MI 8-12, 13.30-16 UHR DO 8-12,14-18 FR 8-12 UHR   poststelle@finanzamt-nordhausen.thueringen.de           421
7587 16      4159    Sondershausen   Schillerstraße 6       99706   Sondershausen   (03632)742-0    03632/742555            99702   1265    82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO/MI/DO 8-15.30 UHR DI 8-18, FR 8-12 UHR       poststelle@finanzamt-sondershausen.thueringen.de                422
7588 16      4160    Worbis  Bahnhofstr. 18  37339   Worbis  036074/37-0     036074/37219            37334   173     82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-15 UHR DO 7.30-18,FR 7.30-12 poststelle@finanzamt-worbis.thueringen.de               423
7589 16      4161    Gera    Hermann-Drechsler-Str.1 7548    Gera    0365/639-0      0365/6391491            7490    3044    82050000        3001111578      LD BK HESS-THUER GZ ERFURT                              MO,MI 7.30-15 DI,DO 7.30- 18 UHR FR 7.30-12 UHR poststelle@finanzamt-gera.thueringen.de         424
7590 16      4162    Jena    Leutragraben 8  7743    Jena    (03641)378-0    03641/378653            7740    500     82050000        3001111602      LD BK HESS-THUER GZ ERFURT                              MO-MI 8-15.30 DO 8-18 FR 8-12.00UHR     poststelle@finanzamt-jena.thueringen.de         425
7591 16      4163    Rudolstadt      Mörlaer Str. 2 7407    Rudolstadt      (03672)443-0    (03672)443100           7391    100155  82050000        3001111578      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-12, 13-15 DO 7.30-12, 13-18 UHR FR 7.30-12 UHR       poststelle@finanzamt-rudolstadt.thueringen.de           426
7592 16      4164    Greiz   Rosa-Luxemburg-Str. 23  7973    Greiz   03661/700-0     03661/700300            7962    1365    82050000        3001111578      LD BK HESS-THUER GZ ERFURT                              MO/DI/MI 8-16UHR DO 8-18,FR 8-12UHR     poststelle@finanzamt-greiz.thueringen.de                427
7593 16      4165    Pößneck       Gerberstr. 65   7381    Pößneck       (03647)446-0    (03647)446430           7372    1253    82050000        3001111578      LD BK HESS-THUER GZ ERFURT                              MO-FR 8-12 MO,MI,DO 13-15 UHR DI 13-18 UHR      poststelle@finanzamt-poessneck.thueringen.de            428
7594 16      4166    Altenburg       Wenzelstr. 45   4600    Altenburg       03447/593-0     03447/593200            4582    1251    82050000        3001111511      LD BK HESS-THUER GZ ERFURT                              MO,MI,DO 7.30-15.30 DI 7.30-18 UHR FR 7.30-12 UHR       poststelle@finanzamt-altenburg.thueringen.de            429
7595 16      4168    Bad Salzungen   August-Bebel-Str.2      36433   Bad Salzungen   (03695)668-0    03695/622496            36421   1153    82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-15 UHR DO 7.30-18,FR 7.30-12 poststelle@finanzamt-badsalzungen.thueringen.de         430
7596 16      4169    Meiningen       Charlottenstr. 2        98617   Meiningen       03693/461-0     (03693)461322           98606   100661  82050000        3001111610      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-15 UHR DO 7.30-18,FR 7.30-12 poststelle@finanzamt-meiningen.thueringen.de            431
7597 16      4170    Sonneberg       Köppelsdorfer Str.86   96515   Sonneberg       03675/884-0     03675/884254            96502   100241  82050000        3001111685      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-15.00 UHR DO 7.30-18 FR 7.30-12      poststelle@finanzamt-sonneberg.thueringen.de            432
7598 16      4171    Suhl    Karl-Liebknecht-Str. 4  98527   Suhl    03681/73-0      03681/733512            98490   100153  82050000        3001111685      LD BK HESS-THUER GZ ERFURT                              MO - MI 8-16 UHR, DO 8-13 u. 14-18 UHR , FR 8-12 UHR    poststelle@finanzamt-suhl.thueringen.de         433
7599 5       5101    Dinslaken       Schillerstr. 71 46535   Dinslaken       02064/445-0     0800 10092675101                46522   100220  35000000        35201501        BBK DUISBURG    35251000        100123  SPK DINSLAKEN-VOERDE-HUENXE     Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5101.fin-nrw.de      www.finanzamt-Dinslaken.de      434
7600 5       5102    Viersen         Eindhovener Str. 71     41751   Viersen 02162/955-0     0800 10092675102                41726   110263  31000000        31001503        BBK MOENCHENGLADBACH    32050000        59203406        SPARKASSE KREFELD       Mo-Fr 8:30 bis 12:00 Uhr,Di auch 13:30 bis 15:00 Uhr,und nach Vereinbarung      Service@FA-5102.fin-nrw.de      www.finanzamt-Viersen.de        435
7601 5       5103    Düsseldorf-Altstadt    Kaiserstr. 52   40479   Düsseldorf     0211/4974-0     0800 10092675103                40001   101021  30000000        30001504        BBK DUESSELDORF 30050110        10124006        ST SPK DUESSELDORF      Mo-Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung Service@FA-5103.fin-nrw.de      www.finanzamt-Duesseldorf-Altstadt.de   436
7602 5       5105    Düsseldorf-Nord        Roßstr. 68     40476   Düsseldorf     0211/4496-0     0800 10092675105                40403   300314  30000000        30001501        BBK DUESSELDORF 30050110        10124501        ST SPK DUESSELDORF      Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5105.fin-nrw.de      www.finanzamt-Duesseldorf-Nord.de       437
7603 5       5106    Düsseldorf-Süd        Kruppstr.110- 112       40227   Düsseldorf     0211/779-9      0800 10092675106                40001   101025  30000000        30001502        BBK DUESSELDORF 30050110        10125003        ST SPK DUESSELDORF      Mo-Fr 8.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung      Service@FA-5106.fin-nrw.de      www.finanzamt-Duesseldorf-Sued.de       438
7604 5       5107    Duisburg-Hamborn        Hufstr. 25      47166   Duisburg        0203/5445-0     0800 10092675107                47142   110264  35000000        35001502        BBK DUISBURG                            Mo-Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung Service@FA-5107.fin-nrw.de      www.finanzamt-Duisburg-Hamborn.de       439
7605 5       5109    Duisburg-Süd   Landfermannstr 25       47051   Duisburg        0203/3001-0     0800 10092675109                47015   101502  35000000        35001500        BBK DUISBURG    35050000        200403020       SPK DUISBURG    Mo-Fr 08:30 Uhr - 12:00 Uhr,Di auch 13:30 Uhr - 15:00 Uhr       Service@FA-5109.fin-nrw.de      www.finanzamt-Duisburg-Sued.de  440
7606 5       5110    Essen-Nord      Altendorfer Str. 129    45143   Essen   0201/1894-0     0800 10092675110                45011   101155  36000000        36001500        BBK ESSEN       36050105        275008  SPARKASSE ESSEN Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5110.fin-nrw.de      www.finanzamt-Essen-Nord.de     441
7607 5       5111    Essen-Ost       Altendorfer Str. 129    45143   Essen   0201/1894-0     0800 10092675111        45116   45012   101262  36000000        36001501        BBK ESSEN       36050105        261800  SPARKASSE ESSEN Mo-Fr,Di        Service@FA-5111.fin-nrw.de      www.finanzamt-Essen-Ost.de      442
7608 5       5112    Essen-Süd      Altendorfer Str. 129    45143   Essen   0201/1894-0     0800 10092675112                45011   101145  36000000        36001502        BBK ESSEN       36050105        203000  SPARKASSE ESSEN Mo-Fr 08.30-12.00 Uhr, Di auch 13.30-15.00 Uhr, und nach Vereinbarung   Service@FA-5112.fin-nrw.de      www.finanzamt-Essen-Sued.de     443
7609 5       5113    Geldern         Gelderstr 32    47608   Geldern 02831/127-0     0800 10092675113                47591   1163    32000000        32001502        BBK MOENCHENGLADBACH EH KRE     32051370        112011  SPARKASSE GELDERN       Montag - Freitag 8:30 - 12:00,Uhr,Dienstag auch 13:00 - 15:00 U,hr und nach Vereinbarung        Service@FA-5113.fin-nrw.de      www.finanzamt-Geldern.de        444
7610 5       5114    Grevenbroich    Erckensstr. 2   41515   Grevenbroich    02181/607-0     0800 10092675114                41486   100264  30000000        30001507        BBK DUESSELDORF 30550000        101683  SPARKASSE NEUSS Mo-Fr 8:30-12:00 Uhr,Di auch 13:30-15:00 Uhr,und nach Vereinbarung      Service@FA-5114.fin-nrw.de      www.finanzamt-Grevenbroich.de   445
7611 5       5115    Kempen  Arnoldstr 13    47906   Kempen  02152/919-0     0800 10092675115                47880   100329  31000000        32001501        BBK MOENCHENGLADBACH                            MO.-DO. 8.30-12.00 UHR,FREITAGS GESCHLOSSEN     Service@FA-5115.fin-nrw.de      www.finanzamt-Kempen.de 446
7612 5       5116    Kleve   Emmericher Str. 182     47533   Kleve   02821/803-1     0800 10092675116                47512   1251    35000000        32401501        BBK DUISBURG    32450000        5013628 SPARKASSE KLEVE Mo - Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr     Service@FA-5116.fin-nrw.de      www.finanzamt-Kleve.de  447
7613 5       5117    Krefeld         Grenzstr 100    47799   Krefeld 02151/854-0     0800 10092675117                47706   100665  31000000        32001500        BBK MOENCHENGLADBACH                            Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5117.fin-nrw.de      www.finanzamt-Krefeld.de        448
7614 5       5119    Moers   Unterwallstr 1  47441   Moers   02841/208-0     0800 10092675119        47439   47405   101520  35000000        35001505        BBK DUISBURG    35450000        1101000121      SPARKASSE MOERS Montag-Freitag von 8.30-12.00,Dienstag von 13.30-15.00  Service@FA-5119.fin-nrw.de      www.finanzamt-Moers.de  449
7615 5       5120    Mülheim an der Ruhr    Wilhelmstr 7    45468   Mülheim an der Ruhr    0208/3001-1     0800 10092675120                45405   100551  36000000        36201500        BBK ESSEN       36250000        300007007       SPK MUELHEIM AN DER RUHR        Mo-Fr,Di auch 13:30-15:00 Uhr,und nach Vereinbarung     Service@FA-5120.fin-nrw.de      www.finanzamt-Muelheim-Ruhr.de  450
7616 5       5121    Mönchengladbach-Mitte  Kleiststr. 1    41061   Mönchengladbach        02161/189-0     0800 10092675121                41008   100813  31000000        31001500        BBK MOENCHENGLADBACH    31050000        8888    ST SPK MOENCHENGLADBACH Mo - Fr,Di auch,und nach Vereinbarung   Service@FA-5121.fin-nrw.de      www.finanzamt-Moenchengladbach-Mitte.de 451
7617 5       5122    Neuss II        Hammfelddamm 9  41460   Neuss   02131/6656-0    0800 10092675122                41405   100502  30000000        30001509        BBK DUESSELDORF 30550000        123000  SPARKASSE NEUSS Mo,Di,Do,Fr von 8.30-12.00,Di von 13.30-15.00   Service@FA-5122.fin-nrw.de      www.finanzamt-Neuss2.de 452
7618 5       5206    Bonn-Außenstadt        Bachstr. 36     53115   Bonn    0228/7268-0     0800 10092675206                53005   1580    38000000        38001501        BBK BONN        38050000        22004   SPARKASSE BONN  Mo-Do,Do auch 13:30 bis 17:30 Uhr,Freitags geschlossen  Service@FA-5206.fin-nrw.de      www.finanzamt-Bonn-Aussenstadt.de       453
7619 5       5123    Oberhausen-Nord         Gymnasialstr. 16        46145   Oberhausen      0208/6499-0     0800 10092675123                46122   110220  36000000        36501501        BBK ESSEN       36550000        260125  ST SPK OBERHAUSEN       Mo-Fr 08:30-12:00 Uhr,Di auch 13:30-15:00 Uhr,und nach Vereinbarung     Service@FA-5123.fin-nrw.de      www.finanzamt-Oberhausen-Nord.de        454
7620 5       5124    Oberhausen-Süd         Schwartzstr. 7-9        46045   Oberhausen      0208/8504-0     0800 10092675124                46004   100447  36000000        36501500        BBK ESSEN       36550000        138156  ST SPK OBERHAUSEN       Mo - Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5124.fin-nrw.de      www.finanzamt-Oberhausen-Sued.de        455
7621 5       5125    Neuss I         Schillerstr 80  41464   Neuss   02131/943-0     0800 10092675125        41456   41405   100501  30000000        30001508        BBK DUESSELDORF 30550000        129999  SPARKASSE NEUSS Mo-Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00 Uhr   Service@FA-5125.fin-nrw.de      www.finanzamt-Neuss1.de 456
7622 5       5126    Remscheid       Wupperstr 10    42897   Remscheid       02191/961-0     0800 10092675126                42862   110269  33000000        33001505        BBK WUPPERTAL   34050000        113001  ST SPK REMSCHEID        Mo-Fr 08.30-12.00Uhr,Di auch 13.30-15.00Uhr,und nach Vereinbarung       Service@FA-5126.fin-nrw.de      www.finanzamt-Remscheid.de      457
7623 5       5127    Mönchengladbach-Rheydt         Wilhelm-Strauß-Str. 50 41236   Mönchengladbach        02166/450-0     0800 10092675127                41204   200442  31000000        31001502        BBK MOENCHENGLADBACH    31050000        295600  ST SPK MOENCHENGLADBACH MO - FR 08.30 - 12.00 Uhr,DI auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5127.fin-nrw.de      www.finanzamt-Moenchengladbach-Rheydt.de        458
7624 5       5128    Solingen-Ost    Goerdelerstr.24- 26     42651   Solingen        0212/282-1      0800 10092675128        42648   42609   100984  33000000        33001503        BBK WUPPERTAL   34250000        22707   ST SPK SOLINGEN Mo.-Fr.,Mo. auch 13.30-15.00 Uhr,und nach Vereinbarung  Service@FA-5128.fin-nrw.de      www.finanzamt-Solingen-Ost.de   459
7625 5       5129    Solingen-West   Merscheider Busch 23    42699   Solingen        0212/2351-0     0800 10092675129                42663   110340  33000000        33001501        BBK WUPPERTAL   34250000        130005  ST SPK SOLINGEN MO-FR 08.30 - 12.00 Uhr,und nach Vereinbarung   Service@FA-5129.fin-nrw.de      www.finanzamt-Solingen-West.de  460
7626 5       5130    Wesel   Poppelbaumstr. 5-7      46483   Wesel   0281/105-0      0800 10092675130                46461   100136  35000000        35601500        BBK DUISBURG    35650000        208660  VERB SPK WESEL  Mo-Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung Service@FA-5130.fin-nrw.de      www.finanzamt-Wesel.de  461
7627 5       5131    Wuppertal-Barmen        Unterdörnen 96 42283   Wuppertal       0202/9543-0     0800 10092675131        42271   42208   200853  33000000        33001502        BBK WUPPERTAL                           Mo - Fr,Do auch,und nach Vereinbarung   Service@FA-5131.fin-nrw.de      www.finanzamt-Wuppertal-Barmen.de       462
7628 5       5132    Wuppertal-Elberfeld     Kasinostr. 12   42103   Wuppertal       0202/489-0      0800 10092675132                42002   100209  33000000        33001500        BBK WUPPERTAL                           Mo-Fr 08.30-12.00 Uhr,Do auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5132.fin-nrw.de      www.finanzamt-Wuppertal-Elberfeld.de    463
7629 5       5133    Düsseldorf-Mitte       Kruppstr. 110   40227   Düsseldorf     0211/779-9      0800 10092675133                40001   101024  30000000        30001505        BBK DUESSELDORF 30050110        10123008        ST SPK DUESSELDORF              Service@FA-5133.fin-nrw.de      www.finanzamt-Duesseldorf-Mitte.de      464
7630 5       5134    Duisburg-West   Friedrich-Ebert-Str 133 47226   Duisburg        02065/307-0     0800 10092675134                47203   141355  35000000        35001503        BBK DUISBURG                            Mo - Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5134.fin-nrw.de      www.finanzamt-Duisburg-West.de  465
7631 5       5135    Hilden  Neustr. 60      40721   Hilden  02103/917-0     0800 10092675135                40710   101046  30000000        30001506        BBK DUESSELDORF                         Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5135.fin-nrw.de      www.finanzamt-Hilden.de 466
7632 5       5139    Velbert         Nedderstraße 38        42549   Velbert 02051/47-0      0800 10092675139                42513   101310  33000000        33001504        BBK WUPPERTAL   33450000        26205500        SPARKASSE HRV   Mo-Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00 Uhr   Service@FA-5139.fin-nrw.de      www.finanzamt-Velbert.de        467
7633 5       5147    Düsseldorf-Mettmann    Harkortstr. 2-4 40210   Düsseldorf     0211/3804-0     0800 10092675147                40001   101023  30000000        30001500        BBK DUESSELDORF 30050000        4051017 WESTLB DUESSELDORF      Montag bis Freitag,08.30 bis 12.00 Uhr,und nach Vereinbarung    Service@FA-5147.fin-nrw.de      www.finanzamt-Duesseldorf-Mettmann.de   468
7634 5       5149    Rechenzentrum d. FinVew NRW     Roßstraße 131 40476   Düsseldorf     0211/4572-0     0211/4572-302           40408   300864                                                          Service@FA-5149.fin-nrw.de              469
7635 5       5170    Düsseldorf I für Groß- und Konzernbetriebsprüfung   Werftstr. 16    40549   Düsseldorf     0211/56354-01   0800 10092675170                40525   270264                                                          Service@FA-5170.fin-nrw.de              470
7636 5       5171    Düsseldorf II für Groß- und Konzernbetriebsprüfung  Werftstr. 16    40549   Düsseldorf     0211/56354-0    0800 10092675171                40525   270264                                                          Service@FA-5171.fin-nrw.de              471
7637 5       5172    Essen für Groß- und Konzernbetriebsprüfung   In der Hagenbeck 64     45143   Essen   0201/6300-1     0800 10092675172                45011   101155                                                          Service@FA-5172.fin-nrw.de              472
7638 5       5173    Krefeld für Groß- und Konzernbetriebsprüfung Steinstr. 137   47798   Krefeld 02151/8418-0    0800 10092675173                                                                                        Service@FA-5173.fin-nrw.de              473
7639 5       5174    Berg. Land für Groß- und Konzernbetriebsprüfung      Bendahler Str. 29       42285   Wuppertal       0202/2832-0     0800 10092675174        42271                                                                           Service@FA-5174.fin-nrw.de              474
7640 5       5176    Mönchengladbach für Groß- und  Konzernbetriebsprüfung       Aachener Str. 114       41061   Mönchengladbach        02161/3535-0    0800 10092675176                41017   101715                                                          Service@FA-5176.fin-nrw.de              475
7641 5       5181    Düsseldorf f. Steuerfahndung und Steuerstrafsachen     Kruppstr.110 -112       40227   Düsseldorf     0211/779-9      0800 10092675181                40001   101024  30000000        30001502        BBK DUESSELDORF 30050110        10125003        ST SPK DUESSELDORF      Mo - Di 07.30 - 16.30 Uhr,Mi - Fr 07.30 - 16.00 Uhr     Service@FA-5181.fin-nrw.de              476
7642 5       5182    Essen f. Steuerfahndung und Steuerstrafsachen   In der Hagenbeck 64     45143   Essen   0201/6300-1     0800 10092675182                45011   101155  36000000        36001502        BBK ESSEN       36050105        203000  SPARKASSE ESSEN         Service@FA-5182.fin-nrw.de              477
7643 5       5183    Wuppertal f. Steuerfahndung und Steuerstrafsachen       Unterdörnen 96 42283   Wuppertal       0202/9543-0     0800 10092675183                42205   200553  33000000        33001502        BBK WUPPERTAL   33050000        135004  ST SPK WUPPERTAL                Service@FA-5183.fin-nrw.de              478
7644 5       5201    Aachen-Innenstadt       Mozartstr 2-10  52064   Aachen  0241/469-0      0800 10092675201                52018   101833  39000000        39001501        BBK AACHEN      39050000        26      SPARKASSE AACHEN        Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 -15.00 Uhr,und nach Vereinbarung        Service@FA-5201.fin-nrw.de      www.finanzamt-Aachen-Innenstadt.de      479
7645 5       5202    Aachen-Kreis    Beverstr 17     52066   Aachen  0241/940-0      0800 10092675202                52018   101829  39000000        39001500        BBK AACHEN      39050000        311118  SPARKASSE AACHEN        Mo.-Fr. 08.30 - 12.00 Uhr,Mo.,und nach Vereinbarung     Service@FA-5202.fin-nrw.de      www.finanzamt-Aachen-Kreis.de   480
7646 5       5203    Bergheim        Rathausstrasse 3        50126   Bergheim        02271/82-0      0800 10092675203                50101   1120    39500000        39501501        BBK AACHEN EH DUEREN                            Mo-Fr 08:30-12:00 Uhr,Di 13:30-15:00 Uhr,und nach Vereinbarung  Service@FA-5203.fin-nrw.de      www.finanzamt-Bergheim.de       481
7647 5       5204    Bergisch Gladbach       Refrather Weg 35        51469   Bergisch Gladbach       02202/9342-0    0800 10092675204                51433   200380  37000000        37001508        BBK KOELN                               Mo.-Fr. 8.30-12.00 Uhr  Service@FA-5204.fin-nrw.de      www.finanzamt-Bergisch-Gladbach.de      482
7648 5       5205    Bonn-Innenstadt         Welschnonnenstr. 15     53111   Bonn    0228/718-0      0800 10092675205                53031   180120  38000000        38001500        BBK BONN        38050000        17079   SPARKASSE BONN  Mo-Mi 08.30-12.00 Uhr,Do 07.00-17.00 Uhr,Freitag geschlossen    Service@FA-5205.fin-nrw.de      www.finanzamt-Bonn-Innenstadt.de        483
7649 5       5207    Düren  Goethestrasse 7 52349   Düren  02421/947-0     0800 10092675207                52306   100646  39500000        39501500        BBK AACHEN EH DUEREN    39550110        188300  SPARKASSE DUEREN        Mo-Fr 08:30 - 12:00 Uhr,Di auch 13:30 - 15:00 Uhr,und nach Vereinbarung Service@FA-5207.fin-nrw.de      www.finanzamt-Dueren.de 484
7650 5       5208    Erkelenz        Südpromenade 37        41812   Erkelenz        02431/801-0     0800 10092675208                41806   1651    31000000        31001501        BBK MOENCHENGLADBACH    31251220        402800  KR SPK HEINSBERG ERKELENZ       Mo - Fr 8.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung        Service@FA-5208.fin-nrw.de      www.finanzamt-Erkelenz.de       485
7651 5       5209    Euskirchen      Thomas-Mann-Str. 2      53879   Euskirchen      02251/982-0     0800 10092675209                53864   1487    38000000        38001505        BBK BONN        38250110        1000330 KREISSPARKASSE EUSKIRCHEN       Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5209.fin-nrw.de      www.finanzamt-Euskirchen.de     486
7652 5       5210    Geilenkirchen   H.-Wilh.-Str 45 52511   Geilenkirchen   02451/623-0     0800 10092675210                52501   1193    39000000        39001502        BBK AACHEN      31251220        5397    KR SPK HEINSBERG ERKELENZ       Mo.-Fr. 8.30 - 12.00 Uhr,nachmittags nur tel. von,13.30 - 15.00 Uhr     Service@FA-5210.fin-nrw.de      www.finanzamt-Geilenkirchen.de  487
7653 5       5211    Schleiden       Kurhausstr. 7   53937   Schleiden       02444/85-0      0800 10092675211                53929   1140    38000000        38001506        BBK BONN        38250110        3200235 KREISSPARKASSE EUSKIRCHEN       Mo-Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,sowie nach Vereinbarung       Service@FA-5211.fin-nrw.de      www.finanzamt-Schleiden.de      488
7654 5       5212    Gummersbach     Mühlenbergweg 5        51645   Gummersbach     02261/86-0      0800 10092675212        51641                   37000000        37001506        BBK KOELN                               Mo - Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00 Uhr Service@FA-5212.fin-nrw.de      www.finanzamt-Gummersbach.de    489
7655 5       5213    Jülich         Wilhelmstr 5    52428   Jülich 02461/685-0     0800 10092675213                52403   2180    39000000        39701500        BBK AACHEN      39550110        25023   SPARKASSE DUEREN        Mo.-Fr. 08.00-12.00 Uhr,Di. 13.30-15.00 Uhr     Service@FA-5213.fin-nrw.de      www.finanzamt-Juelich.de        490
7656 5       5214    Köln-Altstadt  Am Weidenbach 2-4       50676   Köln   0221/2026-0     0800 10092675214                50517   250140  37000000        37001501        BBK KOELN       37050198        70052964        STADTSPARKASSE KOELN    Mo - Fr 8.30 - 12.00 Uhr,Di auch 13.00 - 15.00 Uhr,und nach Vereinbarung        Service@FA-5214.fin-nrw.de      www.finanzamt-Koeln-Altstadt.de 491
7657 5       5215    Köln-Mitte     Blaubach 7      50676   Köln   0221/92400-0    0800 10092675215                50524   290208  37000000        37001505        BBK KOELN       37050198        70062963        STADTSPARKASSE KOELN    MO-FR 08.30 - 12.00 UHR Service@FA-5215.fin-nrw.de      www.finanzamt-Koeln-Mitte.de    492
7658 5       5216    Köln-Porz      Klingerstr. 2-6 51143   Köln   02203/598-0     0800 10092675216                51114   900469  37000000        37001524        BBK KOELN                               Mo-Fr08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung      Service@FA-5216.fin-nrw.de      www.finanzamt-Koeln-Porz.de     493
7659 5       5217    Köln-Nord      Innere Kanalstr. 214    50670   Köln   0221/97344-0    0800 10092675217                50495   130164  37000000        37001502        BBK KOELN       37050198        70102967        STADTSPARKASSE KOELN    Mo - Fr 8.30 - 12.00 Uhr,und nach Vereinbarung  Service@FA-5217.fin-nrw.de      www.finanzamt-Koeln-Nord.de     494
7660 5       5218    Köln-Ost       Siegesstrasse 1 50679   Köln   0221/9805-0     0800 10092675218                50529   210340  37000000        37001503        BBK KOELN       37050198        70082961        STADTSPARKASSE KOELN    Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5218.fin-nrw.de      www.finanzamt-Koeln-Ost.de      495
7661 5       5219    Köln-Süd      Am Weidenbach 6 50676   Köln   0221/2026-0     0800 10092675219                50517   250160  37000000        37001504        BBK KOELN       37050198        70032966        STADTSPARKASSE KOELN    Mo-Fr,Di auch 13.00-15.00 Uhr   Service@FA-5219.fin-nrw.de      www.finanzamt-Koeln-Sued.de     496
7662 5       5220    Siegburg        Mühlenstr 19   53721   Siegburg        02241/105-0     0800 10092675220                53703   1351    38000000        38001503        BBK BONN                                Mo.-Fr. 08.30-12.00 Uhr,Mo. auch 13.30-17.00 Uhr,und nach Vereinbarung  Service@FA-5220.fin-nrw.de      www.finanzamt-Siegburg.de       497
7663 5       5221    Wipperfürth    Am Stauweiher 3 51688   Wipperfürth    02267/870-0     0800 10092675221                51676   1240    37000000        37001513        BBK KOELN                               Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5221.fin-nrw.de      www.finanzamt-Wipperfuerth.de   498
7664 5       5222    Sankt Augustin  Hubert-Minz-Str 10      53757   Sankt Augustin  02241/242-1     0800 10092675222                53730   1229    38000000        38001504        BBK BONN                                Mo - Fr 8.30-12.00 Uhr,Di auch 13.30-15.00 Uhr  Service@FA-5222.fin-nrw.de      www.finanzamt-Sankt-Augustin.de 499
7665 5       5223    Köln-West      Haselbergstr 20 50931   Köln   0221/5734-0     0800 10092675223                50864   410469  37000000        37001523        BBK KOELN       37050198        70022967        STADTSPARKASSE KOELN            Service@FA-5223.fin-nrw.de      www.finanzamt-Koeln-West.de     500
7666 5       5224    Brühl  Kölnstr. 104   50321   Brühl  02232/703-0     0800 10092675224        50319                   37000000        37001507        BBK KOELN                               Mo-Fr 08.30 - 12.00,Die zusätzlich 13.30 - 15.00 ,und nach Vereinbarung        Service@FA-5224.fin-nrw.de      www.finanzamt-Bruehl.de 501
7667 5       5225    Aachen-Außenstadt      Beverstraße    52066   Aachen  0241/940-0      0800 10092675225                52018   101825  39000000        39001503        BBK AACHEN      39050000        1099    SPARKASSE AACHEN        Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5225.fin-nrw.de      www.finanzamt-Aachen-Aussenstadt.de     502
7668 5       5230    Leverkusen      Haus-Vorster-Str 12     51379   Leverkusen      02171/407-0     0800 10092675230        51367                   37000000        37001511        BBK KOELN       37551440        118318500       SPARKASSE LEVERKUSEN    Mo-Do 8.30 - 12.00 Uhr,Di.: 13.30 - 15.00 Uhr,und nach Vereinbarung     Service@FA-5230.fin-nrw.de      www.finanzamt-Leverkusen.de     503
7669 5       5270    KonzBP Köln für Groß- und Konzernbetriebsprüfung    Riehler Platz 2 50668   Köln   0221/2021-0     0800 10092675270                                                                                        Service@FA-5270.fin-nrw.de              504
7670 5       5271    Aachen für Groß- und Konzernbetriebsprüfung  Beverstr. 17    52066   Aachen  0241/940-0      0800 10092675271                52017   101744                                                          Service@FA-5271.fin-nrw.de              505
7671 5       5272    Bonn für Groß- und Konzernbetriebsprüfung    Am Propsthof 17 53121   Bonn    0228/7223-0     0800 10092675272                                                                                        Service@FA-5272.fin-nrw.de              506
7672 5       5281    Aachen f. Steuerfahndung und Steuerstrafsachen  Beverstr 17     52066   Aachen  0241/940-0      0800 10092675281                52017   101722  39000000        39001500        BBK AACHEN      39050000        311118  SPARKASSE AACHEN                Service@FA-5281.fin-nrw.de              507
7673 5       5282    Bonn f. Steuerfahndung und Steuerstrafsachen    Theaterstr. 1   53111   Bonn    0228/718-0      0800 10092675282                                38000000        38001500        BBK BONN        38050000        17079   SPARKASSE BONN          Service@FA-5282.fin-nrw.de              508
7674 5       5283    Köln f. Steuerfahndung und Steuerstrafsachen   Am Gleisdreieck 7- 9    50823   Köln   0221/5772-0     0800 10092675283                50774   300451  37000000        37001502        BBK KOELN       37050198        70102967        STADTSPARKASSE KOELN            Service@FA-5283.fin-nrw.de              509
7675 5       5301    Ahaus   Vredener Dyk 2  48683   Ahaus   02561/929-0     0800 10092675301                48662   1251    40000000        40001503        BBK MUENSTER, WESTF     40154530        51027902        SPARKASSE WESTMUENSTERLAND      Mo - Fr 08.30 - 12.00 Uhr,zudem Mo 13.30 - 15.00 Uhr,sowie Do 13.30 -   Service@FA-5301.fin-nrw.de      www.finanzamt-Ahaus.de  510
7676 5       5302    Altena  Winkelsen 11    58762   Altena  02352/917-0     0800 10092675302                58742   1253    45000000        45001501        BBK HAGEN       45851020        80020001        VER SPK PLETTENBERG     Mo,Di-Do,und nach Vereinbarung  Service@FA-5302.fin-nrw.de      www.finanzamt-Altena.de 511
7677 5       5303    Arnsberg        Rumbecker Straße 36    59821   Arnsberg        02931/875-0     0800 10092675303        59818   59802   5245    41000000        46401501        BBK HAMM, WESTF 46650005        1020007 SPK ARNSBERG-SUNDERN    Mo-Mi 08.30 - 12.00 Uhr,Fr,und nach Vereinbarung        Service@FA-5303.fin-nrw.de      www.finanzamt-Arnsberg.de       512
7678 5       5304    Beckum  Elisabethstraße 19     59269   Beckum  02521/25-0      0800 10092675304        59267   59244   1452    41000000        41001501        BBK HAMM, WESTF 41250035        1000223 SPK BECKUM-WADERSLOH    MO-FR 08.30-12.00 UHR,MO AUCH 13.30-15.00 UHR,UND NACH VEREINBARUNG     Service@FA-5304.fin-nrw.de      www.finanzamt-Beckum.de 513
7679 5       5305    Bielefeld-Innenstadt    Ravensberger Straße 90 33607   Bielefeld       0521/548-0      0800 10092675305                33503   100371  48000000        48001500        BBK BIELEFELD   48050161        109     SPK BIELEFELD   Mo - Fr 8.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung        Service@FA-5305.fin-nrw.de      www.finanzamt-Bielefeld-Innenstadt.de   514
7680 5       5306    Bochum-Mitte    Castroper Str. 40 - 42  44791   Bochum  0234/514-0      0800 10092675306                44707   100729  43000000        43001500        BBK BOCHUM      43050001        1300011 SPARKASSE BOCHUM        Mo-Fr 08:30 - 12:00 Uhr,Di auch 13:30 - 15:00 Uhr,Individuelle Terminver-,einbarungen sind möglich     Service@FA-5306.fin-nrw.de      www.finanzamt-Bochum-Mitte.de   515
7681 5       5307    Borken  Nordring 184    46325   Borken  02861/938-0     0800 10092675307        46322   46302   1240    40000000        40001514        BBK MUENSTER, WESTF     40154530        51021137        SPARKASSE WESTMUENSTERLAND      Mo-Fr 8.30 - 12.00 Uhr,Mo 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5307.fin-nrw.de      www.finanzamt-Borken.de 516
7682 5       5308    Bottrop         Scharnhölzstraße 32   46236   Bottrop 02041/691-0     0800 10092675308                46205   100553  43000000        42401501        BBK BOCHUM      42451220        10009   SPK BOTTROP     Mo-Mi 08.00-12.00 Uhr,Do 07.30-12.00 u 13.30-15.00 ,Freitags geschlossen        Service@FA-5308.fin-nrw.de      www.finanzamt-Bottrop.de        517
7683 5       5309    Brilon  Steinweg 30     59929   Brilon  02961/788-0     0800 10092675309                59915   1260    48000000        47201502        BBK BIELEFELD   41651770        17004   SPK HOCHSAUERLAND BRILON        Mo - Fr 08:30 - 12:00 Uhr,Di auch 13:30 - 15:00 Uhr,und nach Vereinbarung       Service@FA-5309.fin-nrw.de      www.finanzamt-Brilon.de 518
7684 5       5310    Bünde  Lettow-Vorbeck-Str 2-10 32257   Bünde  05223/169-0     0800 10092675310                32216   1649    48000000        48001502        BBK BIELEFELD   49450120        210003000       SPARKASSE HERFORD               Service@FA-5310.fin-nrw.de      www.finanzamt-Buende.de 519
7685 5       5311    Steinfurt       Ochtruper Straße 2     48565   Steinfurt       02551/17-0      0800 10092675311        48563   48542   1260    40000000        40301500        BBK MUENSTER, WESTF                             Mo-Fr 08.00-12.00 Uhr,Mo auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5311.fin-nrw.de      www.finanzamt-Steinfurt.de      520
7686 5       5312    Coesfeld        Friedrich-Ebert-Str. 8  48653   Coesfeld        02541/732-0     0800 10092675312                48633   1344    40000000        40001505        BBK MUENSTER, WESTF     40154530        59001644        SPARKASSE WESTMUENSTERLAND      Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5312.fin-nrw.de      www.finanzamt-Coesfeld.de       521
7687 5       5313    Detmold         Wotanstraße 8  32756   Detmold 05231/972-0     0800 10092675313        32754   32706   1664    48000000        48001504        BBK BIELEFELD   47650130        4002    SPK DETMOLD     Mo. bis Fr.,Montags,und nach Vereinbarung       Service@FA-5313.fin-nrw.de      www.finanzamt-Detmold.de        522
7688 5       5314    Dortmund-West   Märkische Straße 124  44141   Dortmund        0231/9581-0     0800 10092675314                44047   105041  44000000        44001500        BBK DORTMUND    44050199        301001886       SPARKASSE DORTMUND      Montags geschlossen,Di - Fr 8.30 - 12.00,Do zusätzlich 13.30 - 15.00   Service@FA-5314.fin-nrw.de      www.finanzamt-Dortmund-West.de  523
7689 5       5315    Dortmund-Hörde         Niederhofener Str 3     44263   Dortmund        0231/4103-0     0800 10092675315                44232   300255  44000000        44001503        BBK DORTMUND    44050199        21003468        SPARKASSE DORTMUND      Mo-Do 8.30-12.00 Uhr,und nach Vereinbarung      Service@FA-5315.fin-nrw.de      www.finanzamt-Dortmund-Hoerde.de        524
7690 5       5316    Dortmund-Unna   Rennweg 1       44143   Dortmund        0231/5188-1     0800 10092675316                44047   105020  44000000        44001501        BBK DORTMUND    44050199        1060600 SPARKASSE DORTMUND      Mo-Fr 08.30-12.00 Uhr,und nach Vereinbarung     Service@FA-5316.fin-nrw.de      www.finanzamt-Dortmund-Unna.de  525
7691 5       5317    Dortmund-Ost    Nußbaumweg 210 44143   Dortmund        0231/5188-1     0800 10092675317                44047   105039  44000000        44001502        BBK DORTMUND    44050199        301001827       SPARKASSE DORTMUND      Mo - Fr 8.30 - 12.00 Uhr,und nach Vereinbarung  Service@FA-5317.fin-nrw.de      www.finanzamt-Dortmund-Ost.de   526
7692 5       5318    Gelsenkirchen-Nord      Rathausplatz 1  45894   Gelsenkirchen   0209/368-1      0800 10092675318                45838   200351  43000000        42001501        BBK BOCHUM      42050001        160012007       SPARKASSE GELSENKIRCHEN Mo-Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00Uhr    Service@FA-5318.fin-nrw.de      www.finanzamt-Gelsenkirchen-Nord.de     527
7693 5       5319    Gelsenkirchen-Süd      Zeppelinallee 9-13      45879   Gelsenkirchen   0209/173-1      0800 10092675319                45807   100753  43000000        42001500        BBK BOCHUM      42050001        101050003       SPARKASSE GELSENKIRCHEN Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr     Service@FA-5319.fin-nrw.de      www.finanzamt-Gelsenkirchen-Sued.de     528
7694 5       5320    Gladbeck        Jovyplatz 4     45964   Gladbeck        02043/270-1     0800 10092675320                45952   240     43000000        42401500        BBK BOCHUM      42450040        91      ST SPK GLADBECK MO-FR 08.30-12.00 UHR,DO AUCH 13.30-15.00 UHR,UND NACH VEREINBARUNG     Service@FA-5320.fin-nrw.de      www.finanzamt-Gladbeck.de       529
7695 5       5321    Hagen   Schürmannstraße 7     58097   Hagen   02331/180-0     0800 10092675321                58041   4145    45000000        45001500        BBK HAGEN       45050001        100001580       SPARKASSE HAGEN Mo-Fr,Mo auch 13.30-15.00 Uhr   Service@FA-5321.fin-nrw.de      www.finanzamt-Hagen.de  530
7696 5       5322    Hamm    Grünstraße 2  59065   Hamm    02381/918-0     0800 10092675322        59061   59004   1449    41000000        41001500        BBK HAMM, WESTF 41050095        90001   SPARKASSE HAMM  Mo-Do 8.30-12.00 Uhr,Mi auch 13.30-15.00 Uhr,und nach Vereinbarung      Service@FA-5322.fin-nrw.de      www.finanzamt-Hamm.de   531
7697 5       5323    Hattingen       Rathausplatz 19 45525   Hattingen       02324/208-0     0800 10092675323                45502   800257  43000000        43001501        BBK BOCHUM                              Mo-Fr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5323.fin-nrw.de      www.finanzamt-Hattingen.de      532
7698 5       5324    Herford         Wittekindstraße 5      32051   Herford 05221/188-0     0800 10092675324                32006   1642    48000000        48001503        BBK BIELEFELD   49450120        36004   SPARKASSE HERFORD       Mo,Di,Fr 7.30-12.00 Uhr,Do 7.30-17.00 Uhr,Mi geschlossen,und nach Vereinbarung  Service@FA-5324.fin-nrw.de      www.finanzamt-Herford.de        533
7699 5       5325    Herne-Ost       Markgrafenstraße 12    44623   Herne   02323/598-0     0800 10092675325                44602   101220  43000000        43001502        BBK BOCHUM      43250030        1012004 HERNER SPARKASSE        Rückfragen bitte nur,telefonisch oder nach,vorheriger Rücksprache mit,dem Bearbeiter  Service@FA-5325.fin-nrw.de      www.finanzamt-Herne-Ost.de      534
7700 5       5326    Höxter         Bismarckstraße 11      37671   Höxter 05271/969-0     0800 10092675326        37669   37652   100239  48000000        47201501        BBK BIELEFELD   47251550        3008521 SPK HOEXTER BRAKEL      Mo - Do,Do auch,und nach Vereinbarung   Service@FA-5326.fin-nrw.de      www.finanzamt-Hoexter.de        535
7701 5       5327    Ibbenbüren     Uphof 10        49477   Ibbenbüren     05451/920-0     0800 10092675327                49462   1263    40000000        40301501        BBK MUENSTER, WESTF     40351060        2469    KR SPK STEINFURT        Mo - Fr,Di auch Service@FA-5327.fin-nrw.de      www.finanzamt-Ibbenbueren.de    536
7702 5       5328    Iserlohn        Zollernstraße 16       58636   Iserlohn        02371/969-0     0800 10092675328        58634   58585   1554    45000000        45001503        BBK HAGEN       44550045        44008   SPK DER STADT ISERLOHN  Mo - Do 08.30 - 12.00 Uhr,Do auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5328.fin-nrw.de      www.finanzamt-Iserlohn.de       537
7703 5       5329    Lemgo   Engelb.-Kämpfer Str. 18        32657   Lemgo   05261/253-1     0800 10092675329                32632   240     48000000        48001505        BBK BIELEFELD   48250110        45005   SPARKASSE LEMGO Mo - Fr,Do auch,und nach Vereinbarung   Service@FA-5329.fin-nrw.de      www.finanzamt-Lemgo.de  538
7704 5       5330    Lippstadt       Im Grünen Winkel 3     59555   Lippstadt       02941/982-0     0800 10092675330                59525   1580    41000000        46401505        BBK HAMM, WESTF 41650001        15008   ST SPK LIPPSTADT        Mo - Fr 08.30 - 12.00,Do zusätzlich 13.30 - 15.00      Service@FA-5330.fin-nrw.de      www.finanzamt-Lippstadt.de      539
7705 5       5331    Lübbecke       Bohlenstraße 102       32312   Lübbecke       05741/334-0     0800 10092675331                32292   1244    49000000        49001501        BBK MINDEN, WESTF       49050101        141     SPARKASSE MINDEN-LUEBBECKE      Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5331.fin-nrw.de      www.finanzamt-Luebbecke.de      540
7706 5       5332    Lüdenscheid    Bahnhofsallee 16        58507   Lüdenscheid    02351/155-0     0800 10092675332        58505   58465   1589    45000000        45001502        BBK HAGEN       45850005        18      SPK LUEDENSCHEID        Mo-Fr 08.30-12.00 Uhr,Do auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5332.fin-nrw.de      www.finanzamt-Luedenscheid.de   541
7707 5       5333    Lüdinghausen   Bahnhofstraße 32       59348   Lüdinghausen   02591/930-0     0800 10092675333                59332   1243    40000000        40001506        BBK MUENSTER, WESTF     40154530        1008    SPARKASSE WESTMUENSTERLAND      vormittags: Mo.-Fr.8.30-12.00,nachmittags: Di. 13.30-15.00      Service@FA-5333.fin-nrw.de      www.finanzamt-Luedinghausen.de  542
7708 5       5334    Meschede        Fritz-Honsel-Straße 4  59872   Meschede        0291/950-0      0800 10092675334                59852   1265    41000000        46401502        BBK HAMM, WESTF 46451012        13003   SPK MESCHEDE    Mo-Fr 08:30 - 12:00,und nach Vereinbarung       Service@FA-5334.fin-nrw.de      www.finanzamt-Meschede.de       543
7709 5       5335    Minden  Heidestraße 10 32427   Minden  0571/804-1      0800 10092675335                32380   2340    49000000        49001500        BBK MINDEN, WESTF       49050101        40018145        SPARKASSE MINDEN-LUEBBECKE      Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5335.fin-nrw.de      www.finanzamt-Minden.de 544
7710 5       5336    Münster-Außenstadt    Friedrich-Ebert-Str. 46 48153   Münster        0251/9729-0     0800 10092675336                48136   6129    40000000        40001501        BBK MUENSTER, WESTF     40050150        95031001        SPK MUENSTERLAND OST    Mo-Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5336.fin-nrw.de      www.finanzamt-Muenster-Aussenstadt.de   545
7711 5       5337    Münster-Innenstadt     Münzstr. 10    48143   Münster        0251/416-1      0800 10092675337                48136   6103    40000000        40001502        BBK MUENSTER, WESTF     40050150        300004  SPK MUENSTERLAND OST            Service@FA-5337.fin-nrw.de      www.finanzamt-Muenster-Innenstadt.de    546
7712 5       5338    Olpe    Am Gallenberg 20        57462   Olpe    02761/963-0     0800 10092675338                57443   1320    45000000        46001501        BBK HAGEN                               Mo-Do 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,Freitag keine Sprechzeit      Service@FA-5338.fin-nrw.de      www.finanzamt-Olpe.de   547
7713 5       5339    Paderborn       Bahnhofstraße 28       33102   Paderborn       05251/100-0     0800 10092675339                33045   1520    48000000        47201500        BBK BIELEFELD   47250101        1001353 SPARKASSE PADERBORN             Service@FA-5339.fin-nrw.de      www.finanzamt-Paderborn.de      548
7714 5       5340    Recklinghausen  Westerholter Weg 2      45657   Recklinghausen  02361/583-0     0800 10092675340                45605   100553  43000000        42601500        BBK BOCHUM      42650150        90034158        SPK RECKLINGHAUSEN      Mo - Fr 08:30 bis 12:00,Mi auch 13:30 bis 15:00,und nach Vereinbarung   Service@FA-5340.fin-nrw.de      www.finanzamt-Recklinghausen.de 549
7715 5       5341    Schwelm         Bahnhofplatz 6  58332   Schwelm 02336/803-0     0800 10092675341                58316   340     45000000        45001520        BBK HAGEN       45451555        80002   ST SPK SCHWELM  Mo-Fr 8.30-12.00 Uhr,Mo,und nach Vereinbarung   Service@FA-5341.fin-nrw.de      www.finanzamt-Schwelm.de        550
7716 5       5342    Siegen  Weidenauer Straße 207  57076   Siegen  0271/4890-0     0800 10092675342                57025   210148  45000000        46001500        BBK HAGEN       46050001        1100114 SPK SIEGEN      Mo-Fr,Do auch 13:30 - 17:00 Uhr,und nach Vereinbarung   Service@FA-5342.fin-nrw.de      www.finanzamt-Siegen.de 551
7717 5       5343    Soest   Waisenhausstraße 11    59494   Soest   02921/351-0     0800 10092675343        59491   59473   1364    41000000        46401504        BBK HAMM, WESTF 41450075        208     SPARKASSE SOEST Mo-Fr 0830-1200Uhr,und nach Vereinbarung        Service@FA-5343.fin-nrw.de      www.finanzamt-Soest.de  552
7718 5       5344    Herne-West      Edmund-Weber-Str. 210   44651   Herne   02325/696-0     0800 10092675344                44632   200262  43000000        43001503        BBK BOCHUM      43250030        17004   HERNER SPARKASSE        Mo-Fr 08.30-12.00 Uhr,Mo 13.30-15.00 Uhr,und nach Vereinbarung  Service@FA-5344.fin-nrw.de      www.finanzamt-Herne-West.de     553
7719 5       5345    Warburg         Sternstraße 33 34414   Warburg 05641/771-0     0800 10092675345                34402   1226    48000000        47201503        BBK BIELEFELD   47251550        25005521        SPK HOEXTER BRAKEL              Service@FA-5345.fin-nrw.de      www.finanzamt-Warburg.de        554
7720 5       5346    Warendorf       Düsternstraße 43      48231   Warendorf       02581/924-0     0800 10092675346                48205   110361  40000000        40001504        BBK MUENSTER, WESTF     40050150        182     SPK MUENSTERLAND OST    Mo-Fr 08.30-12.00 Uhr,Do auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5346.fin-nrw.de      www.finanzamt-Warendorf.de      555
7721 5       5347    Wiedenbrück    Hauptstraße 34 33378   Rheda-Wiedenbrück      05242/934-0     0800 10092675347        33372   33342   1429    48000000        47801500        BBK BIELEFELD   47853520        5231    KREISSPARKASSE WIEDENBRUECK     Mo - Fr 08.30 - 12.00 Uhr,Do auch 13.30 - 14.30 Uhr     Service@FA-5347.fin-nrw.de      www.finanzamt-Wiedenbrueck.de   556
7722 5       5348    Witten  Ruhrstraße 43  58452   Witten  02302/921-0     0800 10092675348                58404   1420    43000000        43001505        BBK BOCHUM      45250035        6007    ST SPK WITTEN   Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5348.fin-nrw.de      www.finanzamt-Witten.de 557
7723 5       5349    Bielefeld-Außenstadt   Ravensberger Straße 125        33607   Bielefeld       0521/548-0      0800 10092675349                33503   100331  48000000        48001501        BBK BIELEFELD   48050161        180000  SPK BIELEFELD   Mo - Fr 08:30 - 12:00 Uhr,Do auch 13:30 - 15:00 Uhr,und nach Vereinbarung       Service@FA-5349.fin-nrw.de      www.finanzamt-Bielefeld-Aussenstadt.de  558
7724 5       5350    Bochum-Süd     Königsallee 21 44789   Bochum  0234/3337-0     0800 10092675350                44707   100764  43000000        43001504        BBK BOCHUM      43050001        1307792 SPARKASSE BOCHUM        Mo-Fr 08:30-12:00 Uhr,Di auch 13:30-15:00 Uhr   Service@FA-5350.fin-nrw.de      www.finanzamt-Bochum-Sued.de    559
7725 5       5351    Gütersloh      Neuenkirchener Str. 86  33332   Gütersloh      05241/3071-0    0800 10092675351                33245   1565    48000000        48001506        BBK BIELEFELD                           Mo - Fr 08.30 - 12.00 Uhr,Do auch 13.30 - 15.00 Uhr     Service@FA-5351.fin-nrw.de      www.finanzamt-Guetersloh.de     560
7726 5       5359    Marl    Brassertstraße 1       45768   Marl    02365/516-0     0800 10092675359        45765   45744   1420    43000000        42601501        BBK BOCHUM      42650150        40020000        SPK RECKLINGHAUSEN              Service@FA-5359.fin-nrw.de      www.finanzamt-Marl.de   561
7727 5       5371    Bielefeld für Groß- und Konzernbetriebsprüfung       Ravensberger Str. 90    33607   Bielefeld       0521/548-0      0800 10092675371                33511   101150                                                          Service@FA-5371.fin-nrw.de              562
7728 5       5372    Herne für Groß- und Konzernbetriebsprüfung   Hauptstr. 123   44651   Herne   02325/693-0     0800 10092675372                44636   200620                                                          Service@FA-5372.fin-nrw.de              563
7729 5       5373    Detmold für Groß- und Konzernbetriebsprüfung Richthofenstrasse 94    32756   Detmold 05231/974-300   0800 10092675373                32706   1664                                                            Service@FA-5373.fin-nrw.de              564
7730 5       5374    Dortmund für Groß- und Konzernbetriebsprüfung        Nußbaumweg 210 44143   Dortmund        0231/5188-8953  0800 10092675374                44047   105039                                                          Service@FA-5374.fin-nrw.de              565
7731 5       5375    Hagen für Groß- und Konzernbetriebsprüfung   Hochstr. 43 - 45        58095   Hagen   02331/3760-0    0800 10092675375                                                                                        Service@FA-5375.fin-nrw.de              566
7732 5       5376    Münster für Groß- und Konzernbetriebsprüfung        Andreas-Hofer-Straße 50        48145   Münster        0251/934-2115   0800 10092675376                                                                                        Service@FA-5376.fin-nrw.de              567
7733 5       5381    Bielefeld f. Steuerfahndung und Steuerstrafsachen       Ravensberger Str. 90    33607   Bielefeld       0521/548-0      0800 10092675381                33511   101173  48000000        48001500        BBK BIELEFELD   48050161        109     SPK BIELEFELD           Service@FA-5381.fin-nrw.de              568
7734 5       5382    Bochum f. Steuerfahndung und Steuerstrafsachen  Uhlandstr. 37   44791   Bochum  0234/5878-0     0800 10092675382                44707   100768  43000000        43001500        BBK BOCHUM      43050001        1300011 SPARKASSE BOCHUM                Service@FA-5382.fin-nrw.de              569
7735 9       9101    Augsburg-Stadt Arbeitnehmerbereich      Prinzregentenpl. 2      86150   Augsburg        0821 506-01     0821 506-2222           86135   10 00 65        72000000        72001500        BBK AUGSBURG    72050000        24109   ST SPK AUGSBURG Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-17:30 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-a-s.bayern.de     www.finanzamt-augsburg-stadt.de 570
7736 9       9102    Augsburg-Land   Peutingerstr. 25        86152   Augsburg        0821 506-02     0821 506-3270   86144   86031   11 06 69        72000000        72001501        BBK AUGSBURG    72050101        8003    KR SPK AUGSBURG Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-a-l.bayern.de     www.finanzamt-augsburg-land.de  571
7737 9       9103    Augsburg-Stadt  Prinzregentenpl. 2      86150   Augsburg        0821 506-01     0821 506-2222           86135   10 00 65        72000000        72001500        BBK AUGSBURG    72050000        24109   ST SPK AUGSBURG Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-17:30 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-a-s.bayern.de     www.finanzamt-augsburg-stadt.de 572
7738 9       9104    Bad Tölz -Außenstelle des Finanzamts Wolfratshausen-  Prof.-Max-Lange-Platz 2 83646   Bad Tölz       08041 8005-0    08041 8005-185          83634   1420    70000000        70001505        BBK MUENCHEN    70054306        31054   SPK BAD TOELZ-WOLFRATSHAUSE     Servicezentrum: Mo 7:30-18:00 Uhr, Di-Do 7:30-13:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-toel.bayern.de    www.finanzamt-bad-toelz.de      573
7739 9       9105    Berchtesgaden   Salzburger Str. 6       83471   Berchtesgaden   08652 960-0     08652 960-100           83461   1154    71000000        71001500        BBK MUENCHEN EH B REICHENHA     71050000        350009  SPK BERCHTESGADENER LAND        Servicezentrum: Mo-Do 7:30-13:30 Uhr (Nov-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-bgd.bayern.de     www.finanzamt-berchtesgaden.de  574
7740 9       9106    Burghausen      Tittmoninger Str. 1     84489   Burghausen      08677 8706-0    08677 8706-100          84480   1257    71000000        71001501        BBK MUENCHEN EH B REICHENHA     71051010        250001  KR SPK ALTOETTING-BURGHAUSE     Servicezentrum: Mo-Mi 7:45-15:00 Uhr Do 7:45-17:00 Uhr, Fr 7:45-12:00 Uhr       poststelle@fa-burgh.bayern.de   www.finanzamt-burghausen.de     575
7741 9       9107    Dachau  Bürgermeister-Zauner-Ring 2    85221   Dachau  08131 701-0     08131 701-111   85219   85202   1280    70000000        70001507        BBK MUENCHEN    70051540        908327  SPARKASSE DACHAU        Servicezentrum: Mo, Di, Do 7:30-15:00 Uhr (Nov-Mai Do 7:30-18:00 Uhr), Mi,Fr 7:30-12:00 Uhr     poststelle@fa-dah.bayern.de     www.finanzamt-dachau.de 576
7742 9       9108    Deggendorf      Pfleggasse 18   94469   Deggendorf      0991 384-0      0991 384-150            94453   1355    75000000        75001506        BBK REGENSBURG  74150000        380019950       SPK DEGGENDORF  Servicezentrum: Mo, Di, Do 7:45-15:00 Uhr (Jan-Mai Do 7:45-18:00 Uhr), Mi, Fr 7:45-12:00 Uhr    poststelle@fa-deg.bayern.de     www.finanzamt-deggendorf.de     577
7743 9       9109    Dillingen       Schloßstr. 3   89407   Dillingen       09071 507-0     09071 507-300   89401                   72000000        72001503        BBK AUGSBURG    72251520        24066   KR U ST SPK DILLINGEN   Servicezentrum: Mo, Di, Mi, Fr 7:30-13:00 Uhr, Do 7:30-13:00 Uhr u. 14:00-18:00 Uhr     poststelle@fa-dlg.bayern.de     www.finanzamt-dillingen.de      578
7744 9       9110    Dingolfing      Obere Stadt 44  84130   Dingolfing      08731 504-0     08731 504-190           84122   1156    74300000        74301501        BBK REGENSBURG EH LANDSHUT      74351310        100017805       SPK DINGOLFING-LANDAU   Servicezentrum: Mo-Di 7:30-15:00 Uhr, Mi, Fr 7:30-12:00 Uhr, Do 7:30-17:00 Uhr  poststelle@fa-dgf.bayern.de     www.finanzamt-dingolfing.de     579
7745 9       9111    Donauwörth -Außenstelle des Finanzamts Nördlingen-   Sallingerstr. 2 86609   Donauwörth     0906 77-0       0906 77-150     86607                   72000000        72001502        BBK AUGSBURG    70010080        1632-809        POSTBANK -GIRO- MUENCHEN        Servicezentrum: Mo-Mi 7:30-13:30 Uhr, Do 7:30-18:00 Uhr, Fr 7:30 -13:00 Uhr     poststelle@fa-don.bayern.de     www.finanzamt-donauwoerth.de    580
7746 9       9112    Ebersberg       Schloßplatz 1-3        85560   Ebersberg       08092 267-0     08092 267-102                           70000000        70001508        BBK MUENCHEN    70051805        75      KR SPK EBERSBERG        Servicezentrum: Mo-Do 7:30-13:00 Uhr, Fr 7:30-12:00 Uhr poststelle@fa-ebe.bayern.de     www.finanzamt-ebersberg.de      581
7747 9       9113    Eggenfelden     Pfarrkirchner Str. 71   84307   Eggenfelden     08721 981-0     08721 981-200           84301   1160    74300000        74301502        BBK REGENSBURG EH LANDSHUT      74351430        5603    SPK ROTTAL-INN EGGENFELDEN      Servicezentrum: Mo, Di, Do 7:45-15:00 Uhr (Jan-Mai Do 7:45-17:00 Uhr), Mi, Fr 7:30-12:00 Uhr    poststelle@fa-eg.bayern.de      www.finanzamt-eggenfelden.de    582
7748 9       9114    Erding  Münchener Str. 31      85435   Erding  08122 188-0     08122 188-150           85422   1262    70000000        70001509        BBK MUENCHEN    70051995        8003    SPK ERDING-DORFEN       Servicezentrum: Mo-Mi 7:30-14:00 Uhr Do 7:30-18:00 Uhr, Fr 7:30 -12:00 Uhr      poststelle@fa-ed.bayern.de      www.finanzamt-erding.de 583
7749 9       9115    Freising        Prinz-Ludwig-Str. 26    85354   Freising        08161 493-0     08161 493-106   85350   85313   1343    70000000        70001510        BBK MUENCHEN    70021180        4001010 HYPOVEREINSBK FREISING  Servicezentrum: Mo-Di 7:30-15:00 Uhr, Mi, Fr 7:30-12:00 Uhr, Do 7:30-18:00 Uhr  poststelle@fa-fs.bayern.de      www.finanzamt-freising.de       584
7750 9       9117    Fürstenfeldbruck       Münchner Str.36        82256   Fürstenfeldbruck       08141 60-0      08141 60-150            82242   1261    70000000        70001511        BBK MUENCHEN    70053070        8007221 SPK FUERSTENFELDBRUCK   Servicezentrum: Mo-Mi 7:30-14:30 Uhr, Do 7:30-17:30 Uhr, Fr 7:30 -12:30 Uhr     poststelle@fa-ffb.bayern.de     www.finanzamt-fuerstenfeldbruck.de      585
7751 9       9118    Füssen -Außenstelle des Finanzamts Kaufbeuren-        Rupprechtstr. 1 87629   Füssen 08362 5056-0    08362 5056-290          87620   1460    73300000        73301510        BBK AUGSBURG EH KEMPTEN 73350000        310500525       SPARKASSE ALLGAEU       Servicezentrum: Mo-Mi 8:00-15:00 Uhr, Do 8:00-18:00 Uhr, Fr 8:00-13:00 Uhr      poststelle@fa-fues.bayern.de    www.finanzamt-fuessen.de        586
7752 9       9119    Garmisch-Partenkirchen  Von-Brug-Str. 5 82467   Garmisch-Partenkirchen  08821 700-0     08821 700-111           82453   1363    70000000        70001520        BBK MUENCHEN    70350000        505     KR SPK GARMISCH-PARTENKIRCH     Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-gap.bayern.de     www.finanzamt-garmisch-partenkirchen.de 587
7753 9       9120    Bad Griesbach -Außenstelle des Finanzamts Passau-      Schloßhof 5-6  94086   Bad Griesbach   0851 504-0      0851 504-2222           94083   1222    74000000        74001500        BBK REGENSBURG EH PASSAU        74050000        16170   SPK PASSAU      Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-griesb.bayern.de  www.finanzamt-bad-griesbach.de  588
7754 9       9121    Günzburg       Schloßpl. 4    89312   Günzburg       08221 902-0     08221 902-209           89302   1241    72000000        72001505        BBK AUGSBURG    72051840        18      SPK GUENZBURG-KRUMBACH  Servicezentrum: Mo-Di 7:45-12:30 u. 13:30-15:30, Mi, Fr 7:45-12:30, Do 7:45-12:30 u. 13:30-18:00        poststelle@fa-gz.bayern.de      www.finanzamt-guenzburg.de      589
7755 9       9123    Immenstadt -Außenstelle des Finanzamts Kempten-        Rothenfelsstr. 18       87509   Immenstadt      08323 801-0     08323 801-235           87502   1251    73300000        73301520        BBK AUGSBURG EH KEMPTEN 73350000        113464  SPARKASSE ALLGAEU       Servicezentrum: Mo-Do 7:30-14:00 Uhr (Okt-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-immen.bayern.de   www.finanzamt-immenstadt.de     590
7756 9       9124    Ingolstadt      Esplanade 38    85049   Ingolstadt      0841 311-0      0841 311-133            85019   210451  72100000        72101500        BBK MUENCHEN EH INGOLSTADT      72150000        25 080  SPARKASSE INGOLSTADT    Servicezentrum: Mo-Di 7:15-13:30, Mi 7:15-12:30, Do 7:15-17:30, Fr 7:15-12:00   poststelle@fa-in.bayern.de      www.finanzamt-ingolstadt.de     591
7757 9       9125    Kaufbeuren      Remboldstr. 21  87600   Kaufbeuren      08341 802-0     08341 802-221           87572   1260    73300000        73401500        BBK AUGSBURG EH KEMPTEN 73450000        25700   KR U ST SPK KAUFBEUREN  Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-kf.bayern.de      www.finanzamt-kaufbeuren.de     592
7758 9       9126    Kelheim         Klosterstr. 1   93309   Kelheim 09441 201-0     09441 201-201           93302   1252    75000000        75001501        BBK REGENSBURG  75051565        190201301       KREISSPARKASSE KELHEIM  Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-keh.bayern.de     www.finanzamt-kelheim.de        593
7759 9       9127    Kempten (Allgäu)       Am Stadtpark 3  87435   Kempten 0831 256-0      0831 256-260            87405   1520    73300000        73301500        BBK AUGSBURG EH KEMPTEN 73350000        117     SPARKASSE ALLGAEU       Servicezentrum: Mo-Do 7:30-14:30 Uhr (Nov-Mai Do 7:20-17:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-ke.bayern.de      www.finanzamt-kempten.de        594
7760 9       9131    Landsberg       Israel-Beker-Str. 20    86899   Landsberg       08191 332-0     08191 332-108   86896                   72000000        72001504        BBK AUGSBURG    70052060        158     SPK LANDSBERG-DIESSEN   Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-16:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-ll.bayern.de      www.finanzamt-landsberg.de      595
7761 9       9132    Landshut        Maximilianstr. 21       84028   Landshut        0871 8529-000   0871 8529-360                           74300000        74301500        BBK REGENSBURG EH LANDSHUT      74350000        10111   SPK LANDSHUT    Servicezentrum: Mo-Di 8:00-15:00 Uhr, Mi, Fr 8:00-12:00 Uhr, Do 8:00-18:00 Uhr  poststelle@fa-la.bayern.de      www.finanzamt-landshut.de       596
7762 9       9133    Laufen - Außenstelle des Finanzamts Berchtesgaden-     Rottmayrstr. 13 83410   Laufen  08682 918-0     08682 918-100           83406   1251    71000000        71001502        BBK MUENCHEN EH B REICHENHA     71050000        59998   SPK BERCHTESGADENER LAND        Servicezentrum: Mo-Do 7:30-13:30 Uhr (Nov-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-lauf.bayern.de    www.finanzamt-laufen.de 597
7763 9       9134    Lindau  Brettermarkt 4  88131   Lindau  08382 916-0     08382 916-100           88103   1320    73300000        73501500        BBK AUGSBURG EH KEMPTEN 73150000        620018333       SPK MEMMINGEN-LINDAU-MINDEL     Servicezentrum: Mo-Do 7:30-14:00 Uhr (Nov-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-li.bayern.de      www.finanzamt-lindau.de 598
7764 9       9138    Memmingen       Bodenseestr. 6  87700   Memmingen       08331 608-0     08331 608-165           87683   1345    73100000        73101500        BBK AUGSBURG EH MEMMINGEN       73150000        210005  SPK MEMMINGEN-LINDAU-MINDEL     Servicezentrum: Mo-Do 7:30-14:00 Uhr, (Nov-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr    poststelle@fa-mm.bayern.de      www.finanzamt-memmingen.de      599
7765 9       9139    Miesbach        Schlierseer Str. 5      83714   Miesbach        08025 709-0     08025 709-500           83711   302     70000000        70001512        BBK MUENCHEN    71152570        4002    KR SPK MIESBACH-TEGERNSEE       Servicezentrum: Mo, Di, Mi, Fr 7:30-14:00 Uhr, Do 7:30-18:00 Uhr        poststelle@fa-mb.bayern.de      www.finanzamt-miesbach.de       600
7766 9       9140    Mindelheim -Außenstelle des Finanzamts Memmingen-      Bahnhofstr. 16  87719   Mindelheim      08261 9912-0    08261 9912-300          87711   1165    73100000        73101502        BBK AUGSBURG EH MEMMINGEN       73150000        810004788       SPK MEMMINGEN-LINDAU-MINDEL     Servicezentrum: Mo-Mi 7:30-12:00 u. 13:30-15:30, Do 7:30-12:00 u. 13:30-17:30, Fr 7:30-12:00    poststelle@fa-mn.bayern.de      www.finanzamt-mindelheim.de     601
7767 9       9141    Mühldorf       Katharinenplatz 16      84453   Mühldorf       08631 616-0     08631 616-100           84445   1369    71100000        71101501        BBK MUENCHEN EH ROSENHEIM       71151020        885     KR SPK MUEHLDORF        Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-mue.bayern.de     www.finanzamt-muehldorf.de      602
7768 9       9142    München f. Körpersch. Bewertung des Grundbesitzes     Meiserstr. 4    80333   München        089 1252-0      089 1252-7777   80275   80008   20 09 26        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-koe.bayern.de   www.finanzamt-muenchen-koerperschaften.de       603
7769 9       9143    München f. Körpersch. Körperschaftsteuer     Meiserstr. 4    80333   München        089 1252-0      089 1252-7777   80275   80008   20 09 26        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-koe.bayern.de   www.finanzamt-muenchen-koerperschaften.de       604
7770 9       9144    München I      Karlstr. 9-11   80333   München        089 1252-0      089 1252-1111   80276   80008   20 09 05        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m1.bayern.de      www.finanzamt-muenchen-I.de     605
7771 9       9145    München III    Deroystr. 18    80335   München        089 1252-0      089 1252-3333   80301                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m3.bayern.de      www.finanzamt-muenchen-III.de   606
7772 9       9146    München IV     Deroystr. 4 Aufgang I   80335   München        089 1252-0      089 1252-4000   80302                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m4.bayern.de      www.finanzamt-muenchen-IV.de    607
7773 9       9147    München II     Deroystr. 20    80335   München        089 1252-0      089 1252-2222   80269                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m2.bayern.de      www.finanzamt-muenchen-II.de    608
7774 9       9148    München V      Deroystr. 4 Aufgang II  80335   München        089 1252-0      089 1252-5281   80303                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m5.bayern.de      www.finanzamt-muenchen-V.de     609
7775 9       9149    München-Zentral Erhebung, Vollstreckung        Winzererstr. 47a        80797   München        089 3065-0      089 3065-1900   80784                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-zfa.bayern.de   www.finanzamt-muenchen-zentral.de       610
7776 9       9150    Neuburg -Außenstelle des Finanzamts Schrobenhausen-    Fünfzehnerstr. 7       86633   Neuburg 08252 918-0     08252 918-222           86618   1320    72100000        72101505        BBK MUENCHEN EH INGOLSTADT      72151880        104000  ST SPK SCHROBENHAUSEN   Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:30 Uhr      poststelle@fa-nd.bayern.de      www.finanzamt-neuburg.de        611
7777 9       9151    Neu-Ulm         Nelsonallee 5   89231   Neu-Ulm 0731 7045-0     0731 7045-500   89229   89204   1460    63000000        63001501        BBK ULM, DONAU  73050000        430008425       SPK NEU-ULM ILLERTISSEN Servicezentrum: Mo, Di, Mi, Fr 8:00-13:00 Uhr, Do 8:00-13:00 Uhr u. 14:00-18:00 Uhr     poststelle@fa-nu.bayern.de      www.finanzamt-neu-ulm.de        612
7778 9       9152    Nördlingen     Tändelmarkt 1  86720   Nördlingen     09081 215-0     09081 215-100           86715   1521    72000000        72001506        BBK AUGSBURG    72250000        111500  SPARKASSE NOERDLINGEN   Servicezentrum: Mo, Di, Mi, Fr 7:30-13:00 Uhr, Do 7:30-13:00 Uhr u. 14:00-18:00 Uhr     poststelle@fa-noe.bayern.de     www.finanzamt-noerdlingen.de    613
7779 9       9153    Passau mit Außenstellen        Innstr. 36      94032   Passau  0851 504-0      0851 504-1410           94030   1450    74000000        740 01500       BBK REGENSBURG EH PASSAU        74050000        16170   SPK PASSAU      Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-pa.bayern.de      www.finanzamt-passau.de 614
7780 9       9154    Pfaffenhofen    Schirmbeckstr. 5        85276   Pfaffenhofen a. d. Ilm  08441 77-0      08441 77-199            85265   1543    72100000        72101504        BBK MUENCHEN EH INGOLSTADT      72151650        7302    VER SPK PFAFFENHOFEN    Servicezentrum: Mo-Mi 7:30-14:30 Uhr, Do 7:30-17:30 Uhr, Fr 7:30-12:30 Uhr      poststelle@fa-paf.bayern.de     www.finanzamt-pfaffenhofen.de   615
7781 9       9156    Rosenheim m. ASt Wasserburg     Wittelsbacherstr. 25    83022   Rosenheim       08031 201-0     08031 201-222           83002   100255  71100000        71101500        BBK MUENCHEN EH ROSENHEIM       71150000        34462   SPK ROSENHEIM   Servicezentrum: Mo-Do 7:30-14:00 Uhr, (Okt-Mai Do 7:30-17:00 Uhr), Fr 7:30-12.00 Uhr    poststelle@fa-ro.bayern.de      www.finanzamt-rosenheim.de      616
7782 9       9157    Grafenau        Friedhofstr. 1  94481   Grafenau        08552 423-0     08552 423-170                           75000000        75001507        BBK REGENSBURG  70010080        1621-806        POSTBANK -GIRO- MUENCHEN        Servicezentrum: Mo, Di 7:30-15:00 Uhr, Mi, Fr 7:30-12:00 Uhr, Do 7:30-18:00 Uhr poststelle@fa-gra.bayern.de     www.finanzamt-grafenau.de       617
7783 9       9158    Schongau - Außenstelle des Finanzamts Weilheim-Schongau -      Rentamtstr. 1   86956   Schongau        0881 184-0      0881 184-373            86951   1147    70000000        70001521        BBK MUENCHEN    70351030        20149   VER SPK WEILHEIM        Servicezentrum: Mo-Do 7:30-14:00 Uhr (Okt-Jun Do 7:30-17:30 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-sog.bayern.de     www.finanzamt-schongau.de       618
7784 9       9159    Schrobenhausen m. ASt Neuburg   Rot-Kreuz-Str. 2        86529   Schrobenhausen  08252 918-0     08252 918-430           86522   1269    72100000        72101505        BBK MUENCHEN EH INGOLSTADT      72151880        104000  ST SPK SCHROBENHAUSEN   Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:30 Uhr      poststelle@fa-sob.bayern.de     www.finanzamt-schrobenhausen.de 619
7785 9       9161    Starnberg       Schloßbergstr. 82319   Starnberg       08151 778-0     08151 778-250           82317   1251    70000000        70001513        BBK MUENCHEN    70250150        430064295       KR SPK MUENCHEN STARNBERG       Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-13:00 Uhr      poststelle@fa-sta.bayern.de     www.finanzamt-starnberg.de      620
7786 9       9162    Straubing       Fürstenstr. 9  94315   Straubing       09421 941-0     09421 941-272           94301   151     75000000        75001502        BBK REGENSBURG  74250000        240017707       SPK STRAUBING-BOGEN     Servicezentrum: Mo, Di, Mi, Fr 7:30-13:00 Uhr, Do 7:30-18:00 Uhr        poststelle@fa-sr.bayern.de      www.finanzamt-straubing.de      621
7787 9       9163    Traunstein      Herzog-Otto-Str. 6      83278   Traunstein      0861 701-0      0861 701-338    83276   83263   1309    71000000        71001503        BBK MUENCHEN EH B REICHENHA     71052050        7070    KR SPK TRAUNSTEIN-TROSTBERG     Servicezentrum: Mo-Do 7:30-14:00 Uhr (Okt.-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr    poststelle@fa-ts.bayern.de      www.finanzamt-traunstein.de     622
7788 9       9164    Viechtach -Außenstelle des Finanzamts Zwiesel- Mönchshofstr. 27       94234   Viechtach       09922 507-0     09922 507-399           94228   1162    75000000        75001508        BBK REGENSBURG  74151450        240001008       SPARKASSE REGEN-VIECHTACH       Servicezentrum: Mo-Di 7:45-15:00 Uhr, Mi, Fr 7:45-12:00 Uhr, Do 7:45-18:00 Uhr  poststelle@fa-viech.bayern.de   www.finanzamt-viechtach.de      623
7789 9       9166    Vilshofen -Außenstelle des Finanzamts Passau-  Kapuzinerstr. 36        94474   Vilshofen       0851 504-0      0851 504-2465                           74000000        74001500        BBK REGENSBURG EH PASSAU        74050000        16170   SPK PASSAU      Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-vof.bayern.de     www.finanzamt-vilshofen.de      624
7790 9       9167    Wasserburg -Außenstelle des Finanzamts Rosenheim-      Rosenheimer Str. 16     83512   Wasserburg      08037 201-0     08037 201-150           83502   1280    71100000        71101500        BBK MUENCHEN EH ROSENHEIM       71150000        34462   SPK ROSENHEIM   Servicezentrum: Mo-Do 7:30-14:00 Uhr, (Okt-Mai Do 7:30-17:00 Uhr), Fr 7:30-12.00 Uhr    poststelle@fa-ws.bayern.de      www.finanzamt-wasserburg.de     625
7791 9       9168    Weilheim-Schongau       Hofstr. 23      82362   Weilheim        0881 184-0      0881 184-500            82352   1264    70000000        70001521        BBK MUENCHEN    70351030        20149   VER SPK WEILHEIM        Servicezentrum: Mo-Do 7:30-14:00 Uhr (Okt-Jun Do 7:30-17:30 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-wm.bayern.de      www.finanzamt-weilheim.de       626
7792 9       9169    Wolfratshausen  Heimgartenstr. 5        82515   Wolfratshausen  08171 25-0      08171 25-150            82504   1444    70000000        70001514        BBK MUENCHEN    70054306        505     SPK BAD TOELZ-WOLFRATSHAUSE     Servicezentrum: Mo-MI 7:30-14:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:30 Uhr      poststelle@fa-wor.bayern.de     www.finanzamt-wolfratshausen.de 627
7793 9       9170    Zwiesel m. ASt Viechtach        Stadtplatz 16   94227   Zwiesel 09922 507-0     09922 507-200           94221   1262    75000000        75001508        BBK REGENSBURG  74151450        240001008       SPARKASSE REGEN-VIECHTACH       Servicezentrum: Mo-Di 7:45-15:00 Uhr, Mi, Fr 7:45-12:00 Uhr, Do 7:45-18:00 Uhr  poststelle@fa-zwi.bayern.de     www.finanzamt-zwiesel.de        628
7794 9       9171    Eichstätt      Residenzplatz 8 85072   Eichstätt      08421 6007-0    08421 6007-400  85071   85065   1163    72100000        72101501        BBK MUENCHEN EH INGOLSTADT      72151340        1214    SPARKASSE EICHSTAETT    Servicezentrum: Mo, Di, Mi 7:30-14:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:00 Uhr poststelle@fa-ei.bayern.de      www.finanzamt-eichstaett.de     629
7795 9       9180    München f. Körpersch.         Meiserstr. 4    80333   München        089 1252-0      089 1252-7777   80275   80008   20 09 26        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-koe.bayern.de   www.finanzamt-muenchen-koerperschaften.de       630
7796 9       9181    München I Arbeitnehmerbereich  Karlstr. 9/11   80333   München        089 1252-0      089 1252-1111   80276   80008   20 09 05        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m1-BS.bayern.de   www.finanzamt-muenchen-I.de     631
7797 9       9182    München II Arbeitnehmerbereich Deroystr. 20    80335   München        089 1252-0      089 1252-2888   80269                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m2-BS.bayern.de   www.finanzamt-muenchen-II.de    632
7798 9       9183    München III Arbeitnehmerbereich        Deroystr. 18    80335   München        089 1252-0      089 1252-3788   80301                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m3-BS.bayern.de   www.finanzamt-muenchen-III.de   633
7799 9       9184    München IV Arbeitnehmerbereich Deroystr. 4 Aufgang I   80335   München        089 1252-0      089 1252-4820   80302                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m4-BS.bayern.de   www.finanzamt-muenchen-IV.de    634
7800 9       9185    München V Arbeitnehmerbereich  Deroystr. 4 Aufgang II  80335   München        089 1252-0      089 1252-5799   80303                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m5-BS.bayern.de   www.finanzamt-muenchen-V.de     635
7801 9       9187    München f. Körpersch.         Meiserstr. 4    80333   München        089 1252-0      089 1252-7777   80275   80008   20 09 26        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-koe.bayern.de   www.finanzamt-muenchen-koerperschaften.de       636
7802 9       9189    München-Zentral Kraftfahrzeugsteuer    Winzererstr. 47a        80797   München        089 3065-0      089 3065-1900   80784                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-zfa.bayern.de   www.finanzamt-muenchen-zentral.de       637
7803 9       9201    Amberg  Kirchensteig 2  92224   Amberg  09621 36-0      09621 36-413            92204   1452    75300000        75301503        BBK REGENSBURG EH WEIDEN        75250000        190011122       SPARKASSE AMBERG-SULZBACH       Servicezentrum: Mo, Die, Mi, Fr: 07:30 - 12:00 UhrDo: 07:30 - 17:30 Uhr poststelle@fa-am.bayern.de      www.finanzamt-amberg.de 638
7804 9       9202    Obernburg a. Main mit Außenstelle Amorbach     Schneeberger Str. 1     63916   Amorbach        09373 202-0     09373 202-100           63912   1160    79500000        79501502        BBK WUERZBURG EH ASCHAFFENB     79650000        620300111       SPK MILTENBERG-OBERNBURG        Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-amorb.bayern.de   www.finanzamt-amorbach.de       639
7805 9       9203    Ansbach mit Außenstellen       Mozartstr. 25   91522   Ansbach 0981 16-0       0981 16-333             91511   608     76500000        76501500        BBK NUERNBERG EH ANSBACH        76550000        215004  VER SPK ANSBACH Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-an.bayern.de      www.finanzamt-ansbach.de        640
7806 9       9204    Aschaffenburg   Auhofstr. 13    63741   Aschaffenburg   06021 492-0     06021 492-1000  63736                   79500000        79501500        BBK WUERZBURG EH ASCHAFFENB     79550000        8375    SPK ASCHAFFENBURG ALZENAU       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 8:00 - 18:00 Uhr, Fr: 08:00     poststelle@fa-ab.bayern.de      www.finanzamt-aschaffenburg.de  641
7807 9       9205    Bad Kissingen   Bibrastr. 10    97688   Bad Kissingen   0971 8021-0     0971 8021-200           97663   1360    79300000        79301501        BBK WUERZBURG EH SCHWEINFUR     79351010        10009   SPK BAD KISSINGEN       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-kg.bayern.de      /www.finanzamt-bad-kissingen.de 642
7808 9       9206    Bad Neustadt a.d.S.     Meininger Str. 39       97616   Bad Neustadt    09771 9104-0    09771 9104-444  97615                   79300000        79301502        BBK WUERZBURG EH SCHWEINFUR     79353090        7005    SPK BAD NEUSTADT A D SAALE      Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-nes.bayern.de     www.finanzamt-bad-neustadt.de   643
7809 9       9207    Bamberg         Martin-Luther-Str. 1    96050   Bamberg 0951 84-0       0951 84-230     96045                   77000000        77001500        BBK NUERNBERG EH BAMBERG        77050000        30700   SPK BAMBERG     Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-ba.bayern.de      www.finanzamt-bamberg.de        644
7810 9       9208    Bayreuth        Maximilianstr. 12/14    95444   Bayreuth        0921 609-0      0921 609-254            95422   110361  77300000        773 01500       BBK BAYREUTH    77350110        9033333 SPARKASSE BAYREUTH      Servicezentrum: Mo - Mi: 07:30 - 14:00 Uhr, Do: 07:30 - 17:00 Uhr, Fr: 07:30    poststelle@fa-bt.bayern.de      www.finanzamt-bayreuth.de       645
7811 9       9211    Cham mit Außenstellen  Reberstr. 2     93413   Cham    09971 488-0     09971 488-199           93402   1253    74221170        344 755 205     HYPOVEREINSBK CHAM, OBERPF      76010085        1735-858        POSTBANK NUERNBERG      Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 18:00 Uhr, Fr: 07:30    poststelle@fa-cha.bayern.de     www.finanzamt-cham.de   646
7812 9       9212    Coburg  Rodacher Straße 4      96450   Coburg  09561 646-0     09561 646-130           96406   1653    77000000        78301500        BBK NUERNBERG EH BAMBERG        78350000        7450    VER SPK COBURG  Servicezentrum: Mo - Fr: 08:00 - 13:00 Uhr, Do: 14:00 - 18:00 Uhr       poststelle@fa-co.bayern.de      www.finanzamt-coburg.de 647
7813 9       9213    Dinkelsbühl - Außenstelle des  Finanzamts Ansbach -   Föhrenberggasse 30     91550   Dinkelsbühl    0981 16-0       09851 5737-607                          76500000        76501500        BBK NUERNBERG EH ANSBACH        76550000        215004  VER SPK ANSBACH Servicezentrum: Mo - Mi: 08:00 - 14:00, Do: 08:00 - 18:00 Uhr, Fr: 08:00 -      poststelle@fa-dkb.bayern.de     www.finanzamt-dinkelsbuehl.de   648
7814 9       9214    Ebern - Außenstelle des Finanzamts Zeil -      Rittergasse 1   96104   Ebern   09524 824-0     09524 824-225                           79300000        79301505        BBK WUERZBURG EH SCHWEINFUR     79351730        500900  SPK OSTUNTERFRANKEN     Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-ebn.bayern.de     www.finanzamt-ebern.de  649
7815 9       9216    Erlangen        Schubertstr 10  91052   Erlangen        09131 121-0     09131 121-369   91051                   76000000        76001507        BBK NUERNBERG   76350000        2929    ST U KR SPK ERLANGEN    Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-er.bayern.de      www.finanzamt-erlangen.de       650
7816 9       9217    Forchheim       Dechant-Reuder-Str. 6   91301   Forchheim       09191 626-0     09191 626-200   91299                   76000000        76001508        BBK NUERNBERG   76351040        91      SPARKASSE FORCHHEIM     Servicezentrum: Mo - Mi: 08:00 - 13:00 Uhr, Do: 08:00 - 17:30, Fr: 08:00 -      poststelle@fa-fo.bayern.de      www.finanzamt-forchheim.de      651
7817 9       9218    Fürth  Herrnstraße 69 90763   Fürth  0911 7435-0     0911 7435-350   90744                   76000000        76201500        BBK NUERNBERG   76250000        18200   SPK FUERTH      Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-fue.bayern.de     www.finanzamt-fuerth.de 652
7818 9       9220    Gunzenhausen    Hindenburgplatz 1       91710   Gunzenhausen    09831 8009-0    09831 8009-77   91709                   76500000        76501502        BBK NUERNBERG EH ANSBACH        76551540        109785  VER SPK GUNZENHAUSEN    Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-gun.bayern.de     www.finanzamt-gunzenhausen.de   653
7819 9       9221    Hersbruck       Amberger Str. 76 (Haus B)       91217   Hersbruck       09151 731-0     09151 731-200           91211   273     76000000        76001505        BBK NUERNBERG   76050101        190016618       SPARKASSE NUERNBERG     Servicezentrum: Mo - Mi: 08:00 - 15:30 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-heb.bayern.de     www.finanzamt-hersbruck.de      654
7820 9       9222    Hilpoltstein    Spitalwinkel 3  91161   Hilpoltstein    09174 469-0     09174 469-100           91155   1180    76000000        76401520        BBK NUERNBERG   76450000        240000026       SPK MITTELFRANKEN-SUED  Servicezentrum: Mo - Fr: 08:00 - 12:30 Uhr, Do: 14:00 - 18:00 Uhr       poststelle@fa-hip.bayern.de     www.finanzamt-hilpoltstein.de   655
7821 9       9223    Hof mit Außenstellen   Ernst-Reuter-Str. 60    95030   Hof     09281 929-0     09281 929-1500          95012   1368    78000000        78001500        BBK BAYREUTH EH HOF     78050000        380020750       KR U ST SPK HOF Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-ho.bayern.de      www.finanzamt-hof.de    656
7822 9       9224    Hofheim - Außenstelle des Finanzamts Zeil -    Marktplatz 1    97457   Hofheim 09524 824-0     09524 824-250                           79300000        79301505        BBK WUERZBURG EH SCHWEINFUR     79351730        500900  SPK OSTUNTERFRANKEN     Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-hoh.bayern.de     www.finanzamt-hofheim.de        657
7823 9       9225    Karlstadt - Außenstelle des Finanzamts Lohr -  Gemündener Str. 3      97753   Karlstadt       09353 949-0     09353 949-2250                          79000000        79001504        BBK WUERZBURG   79050000        2246    SPK MAINFRANKEN WUERZBURG       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-kar.bayern.de     www.finanzamt-karlstadt.de      658
7824 9       9227    Kitzingen       Moltkestr. 24   97318   Kitzingen       09321 703-0     09321 703-444           97308   660     79000000        79101500        BBK WUERZBURG   79050000        42070557        SPK MAINFRANKEN WUERZBURG       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-kt.bayern.de      www.finanzamt-kitzingen.de      659
7825 9       9228    Kronach         Amtsgerichtsstr. 13     96317   Kronach 09261 510-0     09261 510-199           96302   1262    77300000        77101501        BBK BAYREUTH    77151640        240006007       SPK KRONACH-LUDWIGSSTADT        Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08.00 - 17:30 Uhr, Fr: 08:00    poststelle@fa-kc.bayern.de      www.finanzamt-kronach.de        660
7826 9       9229    Kulmbach        Georg-Hagen-Str. 17     95326   Kulmbach        09221 650-0     09221 650-283           95304   1420    77300000        77101500        BBK BAYREUTH    77150000        105445  SPARKASSE KULMBACH      Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08.00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-ku.bayern.de      www.finanzamt-kulmbach.de       661
7827 9       9230    Lichtenfels     Kronacher Str. 39       96215   Lichtenfels     09571 764-0     09571 764-420           96206   1680    77000000        77001502        BBK NUERNBERG EH BAMBERG        77051860        2345    KR SPK LICHTENFELS      Servicezentrum: Mo - Fr: 08:00 - 13:00 Uhr, Do: 14:00 - 17:00 Uhr       poststelle@fa-lif.bayern.de     www.finanzamt-lichtenfels.de    662
7828 9       9231    Lohr a. Main mit Außenstellen          Rexrothstr. 14  97816   Lohr    09352 850-0     09352 850-1300          97804   1465    79000000        79001504        BBK WUERZBURG   79050000        2246    SPK MAINFRANKEN WUERZBURG       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-loh.bayern.de     www.finanzamt-lohr.de   663
7829 9       9232    Marktheidenfeld - Außenstelle  des Finanzamts Lohr -   Ringstr. 24/26  97828   Marktheidenfeld 09391 506-0     09391 506-3299                          79000000        79001504        BBK WUERZBURG   79050000        2246    SPK MAINFRANKEN WUERZBURG       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-mar.bayern.de     www.finanzamt-marktheidenfeld.de        664
7830 9       9233    Münchberg - Außenstelle des Finanzamts Hof -  Hofer Str. 1    95213   Münchberg      09281 929-0     09281 929-3505                          78000000        78001500        BBK BAYREUTH EH HOF     78050000        380020750       KR U ST SPK HOF Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-mueb.bayern.de    www.finanzamt-muenchberg.de     665
7831 9       9234    Naila - Außenstelle des Finanzamts Hof -       Carl-Seyffert-Str. 3    95119   Naila   09281 929-0     09281 929-2506                          78000000        78001500        BBK BAYREUTH EH HOF     78050000        380020750       KR U ST SPK HOF Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-nai.bayern.de     www.finanzamt-naila.de  666
7832 9       9235    Neumarkt i.d.Opf.       Ingolstädter Str. 3    92318   Neumarkt        09181 692-0     09181 692-1200                          76000000        76001506        BBK NUERNBERG   76052080        6296    SPK NEUMARKT I D OPF-PARSBG     Servicezentrum: Mo - Do: 07:30 - 15:00 Uhr, Fr: 07:30 - 12:00 Uhr       poststelle@fa-nm.bayern.de      /www.finanzamt-neumarkt.de      667
7833 9       9236    Neunburg v. W. - Außenstelle des Finanzamts Schwandorf -       Krankenhausstr. 6       92431   Neunburg vorm Wald      09431 382-0     09431 382-539           92428   1000    75300000        75301502        BBK REGENSBURG EH WEIDEN        75051040        380019000       SPK IM LANDKREIS SCHWANDORF     Servicezentrum: Mo-Mi: 07:30-12:30 u. 13:30-15:30,Do: 07:30-12:30 u. 13:30-17:00, Fr: 07:30-12:30 h     poststelle@fa-nen.bayern.de     www.finanzamt-neunburg.de       668
7834 9       9238    Nürnberg-Nord  Kirchenweg 10   90419   Nürnberg       0911 3998-0     0911 3998-296   90340                   76000000        76001502        BBK NUERNBERG   76050000        20161   BAYERNLB NUERNBERG      Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-n-n.bayern.de     www.finanzamt-nuernberg-nord.de 669
7835 9       9240    Nürnberg-Süd  Sandstr. 20     90443   Nürnberg       0911 248-0      0911 248-2299/2599      90339                   76000000        76001503        BBK NUERNBERG   76050101        3648043 SPARKASSE NUERNBERG     Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-n-s.bayern.de     www.finanzamt-nuernberg-sued.de 670
7836 9       9241    Nürnberg-Zentral       Voigtländerstr. 7/9    90489   Nürnberg       0911 5393-0     0911 5393-2000                          76000000        76001501        BBK NUERNBERG   76050101        1025008 SPARKASSE NUERNBERG     Servicezentrum: Mo - Do: 08:00 - 12:30 h, Di und Do: 13:30 - 15:00 h,   poststelle@fa-n-zfa.bayern.de   www.zentralfinanzamt-nuernberg.de       671
7837 9       9242    Ochsenfurt - Außenstelle des Finanzamts Würzburg -    Völkstr.1      97199   Ochsenfurt      09331 904-0     09331 904-200           97196   1263    79000000        79001500        BBK WUERZBURG   79020076        801283  HYPOVEREINSBK WUERZBURG Servicezentrum: Mo - Mi: 07:30 - 13:00 Uhr, Do: 07:30 - 17:00 uhr, Fr: 07:30    poststelle@fa-och.bayern.de     www.finanzamt-ochsenfurt.de     672
7838 9       9244    Regensburg      Landshuter Str. 4       93047   Regensburg      0941 5024-0     0941 5024-1199  93042                   75000000        75001500        BBK REGENSBURG  75050000        111500  SPK REGENSBURG  Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 17:00 Uhr, Fr: 07:30    poststelle@fa-r.bayern.de       www.finanzamt-regensburg.de     673
7839 9       9246    Rothenburg - Außenstelle des Finanzamts Ansbach -      Ludwig-Siebert-Str. 31  91541   Rothenburg o.d.T.       0981 16-0       09861 706-511                           76500000        76501500        BBK NUERNBERG EH ANSBACH        76550000        215004  VER SPK ANSBACH Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-rot.bayern.de     www.finanzamt-rothenburg.de     674
7840 9       9247    Schwabach       Theodor-Heuss-Str. 63   91126   Schwabach       09122 928-0     09122 928-100   91124                   76000000        76401500        BBK NUERNBERG   76450000        55533   SPK MITTELFRANKEN-SUED  Servicezentrum: Mo - Mi: 08:00 - 13:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-sc.bayern.de      www.finanzamt-schwabach.de      675
7841 9       9248    Schwandorf mit Außenstelle Neunburg v. W.      Friedrich-Ebert-Str.59  92421   Schwandorf      09431 382-0     09431 382-111   92419                   75300000        75301502        BBK REGENSBURG EH WEIDEN        75051040        380019000       SPK IM LANDKREIS SCHWANDORF     Servicezentrum: Mo-Mi: 07:30-12:30 u. 13:30-15:30,Do: 07:30-12:30 u. 13:30-17:00, Fr: 07:30-12:30 h     poststelle@fa-sad.bayern.de     www.finanzamt-schwandorf.de     676
7842 9       9249    Schweinfurt     Schrammstr. 3   97421   Schweinfurt     09721 2911-0    09721 2911-5070 97420                   79300000        79301500        BBK WUERZBURG EH SCHWEINFUR     79350101        15800   KR SPK SCHWEINFURT      Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-sw.bayern.de      www.finanzamt-schweinfurt.de    677
7843 9       9250    Selb - Außenstelle des Finanzamts Wunsiedel -  Wittelsbacher Str. 8    95100   Selb    09232 607-0     09232 607-300                           78000000        78101512        BBK BAYREUTH EH HOF     78055050        620006254       SPK FICHTELGEBIRGE      Servicezentrum: Mo-Mi: 07:30-12:30 u. 13:30-15:00,Do: 07:30-12:30 und 13:30-17:00, Fr: 07:30-12:00 h    poststelle@fa-sel.bayern.de     www.finanzamt-selb.de   678
7844 9       9252    Uffenheim       Schloßpl.      97215   Uffenheim       09842 200-0     09842 200-345           97211   1240    76500000        76501504        BBK NUERNBERG EH ANSBACH        76251020        620002006       SPK I LANDKREIS NEUSTADT        Servicezentrum: Mo-Mi: 08:00-12:00 u. 13:00-15:00,Do: 08:00-12:00 u. 13:00-17:00, Fr: 08:00-12:00 h     poststelle@fa-uff.bayern.de     www.finanzamt-uffenheim.de      679
7845 9       9253    Waldmünchen - Außenstelle des  Finanzamts Cham -      Bahnhofstr. 10  93449   Waldmünchen    09971 488-0     09971 488-550                           74221170        344 755 205     HYPOVEREINSBK CHAM, OBERPF      76010085        1735-858        POSTBANK NUERNBERG      Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 17:00 Uhr, Fr: 07:30    poststelle@fa-wuem.bayern.de    www.finanzamt-waldmuenchen.de   680
7846 9       9254    Waldsassen      Johannisplatz 13        95652   Waldsassen      09632 847-0     09632 847-199           95646   1329    75300000        75301511        BBK REGENSBURG EH WEIDEN        78151080        32367   SPK TIRSCHENREUTH       Servicezentrum: Mo - Fr: 07:30 - 12:30 Uhr, Mo - Mi: 13:30 - 15:30 Uhr, poststelle@fa-wasa.bayern.de    www.finanzamt-waldsassen.de     681
7847 9       9255    Weiden i.d.Opf.         Schlörpl. 2 u. 4       92637   Weiden  0961 301-0      0961 32600              92604   1460    75300000        75301500        BBK REGENSBURG EH WEIDEN        75350000        172700  ST SPK WEIDEN   Servicezentrum: Mo - Fr: 07:30 - 12:30 Uhr, Mo - Mi: 13:30 - 15:30 Uhr, poststelle@fa-wen.bayern.de     www.finanzamt-weiden.de 682
7848 9       9257    Würzburg mit Außenstelle Ochsenfurt   Ludwigstr. 25   97070   Würzburg       0931 387-0      0931 387-4444   97064                   79000000        79001500        BBK WUERZBURG   79020076        801283  HYPOVEREINSBK WUERZBURG Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 17:00 Uhr, Fr: 07:30    poststelle@fa-wue.bayern.de     www.finanzamt-wuerzburg.de      683
7849 9       9258    Wunsiedel mit Außenstelle Selb Sonnenstr. 11   95632   Wunsiedel       09232 607-0     09232 607-200   95631                   78000000        78101512        BBK BAYREUTH EH HOF     78055050        620006254       SPK FICHTELGEBIRGE      Servicezentrum: Mo-Mi: 07:30-12:30 u 13:30-15:00, Do: 07:30-12:30 und 13:30-17:00, Fr: 07:30-12:00 h    poststelle@fa-wun.bayern.de     www.finanzamt-wunsiedel.de      684
7850 9       9259    Zeil a. Main mit Außenstellen          Obere Torstr. 9 97475   Zeil    09524 824-0     09524 824-100           97470   1160    79300000        79301505        BBK WUERZBURG EH SCHWEINFUR     79351730        500900  SPK OSTUNTERFRANKEN     Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-zei.bayern.de     www.finanzamt-zeil.de   685
7851 9       9260    Kötzting - Außenstelle des Finanzamts Cham -  Bahnhofstr. 3   93444   Kötzting       09971 488-0     09971 488-450                           74221170        344 755 205     HYPOVEREINSBK CHAM, OBERPF      76010085        1735-858        POSTBANK NUERNBERG      Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 18:00 Uhr, Fr: 07:30    poststelle@fa-koez.bayern.de    www.finanzamt-koetzting.de      686
7852 2       2241    Hamburg-Altona  Gr. Bergstr. 264/266    22767   Hamburg 040/42811-02    040/42811-2871          22704   500471  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgAltona@finanzamt.hamburg.de           58
7853 2       2242    Hamburg-Am Tierpark     Hugh-Greene-Weg 6       22529   Hamburg                         22520           20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgAmTierpark@finanzamt.hamburg.de               77
7854 2       2243    Hamburg-Barmbek-Uhlenhorst      Lübecker Str. 101-109  22087   Hamburg 040/42860-0     040/42860-730           22053   760360  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FABarmbekUhlenhorst@finanzamt.hamburg.de               78
7855 2       2243    Hamburg-Barmbek-Uhlenhorst 15   Lübecker Str. 101-109  22087   Hamburg 040/42860-0     040/42860-730           22053   760360  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgBarmbekUhlenhorst@finanzamt.hamburg.de                64
7856 2       2244    Hamburg-Bergedorf       Ludwig-Rosenberg-Ring 41        21031   Hamburg 040/42891-0     040/42891-2243          21003   800360  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL               FAHamburgBergedorf@finanzamt.hamburg.de         59
7857 2       2245    Hamburg-Eimsbüttel     Stresemannstraße 23    22769   Hamburg 040/42807-0     040/42807-220           22770   570110  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgEimsbuettel@finanzamt.hamburg.de              76
7858 2       2246    Hamburg-Hansa   Steinstraße 10 20095   Hamburg 040/42853-01    040/42853-2064          20015   102244  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL               FAHamburgHansa@finanzamt.hamburg.de             68
7859 2       2247    Hamburg-Harburg         Harburger Ring 40       21073   Hamburg 040/42871-0     040/42871-2215          21043   900352  20000000        200 015 30      BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgHarburg@finanzamt.hamburg.de          60
7860 2       2249    Hamburg-Nord    Borsteler Chaussee 45   22453   Hamburg 040/42806-0     040/42806-220           22207   600707  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL               FAHamburgNord@finanzamt.hamburg.de              71
7861 2       2250    Hamburg-Oberalster      Hachmannplatz 2 20099   Hamburg 040/42854-90    040/42854-4960          20015   102248  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgOberalster@finanzamt.hamburg.de               62
7862 2       2251    Hamburg-Wandsbek        Schloßstr.107  22041   Hamburg 040/42881-0     040/42881-2888          22006   700660  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgWandsbek@finanzamt.hamburg.de         61
7863 6       2603    Bad Homburg v.d. Höhe  Kaiser-Friedr.-Promenade 8-10   61348   Bad Homburg     06172/107-0     06172/107-317   61343   61284   1445    50050000        1000124 Landesbank Hessen-Thüringen    50000000        50001501        DT BBK Filiale Frankfurt am Main        Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr poststelle@Finanzamt-Bad-Homburg.de     www.Finanzamt-Bad-Homburg.de    162
7864 8       2870    Leonberg        Schlosshof 3    71229   Leonberg        (07152) 15-1    07152/15333     71226                   60000000        60301501        DT BBK Filiale Stuttgart                                MO-MI 7.30-12.00,DO 7.30-17.30,FR 7.30-12.30    poststelle-70@finanzamt.bwl.de  http://www.fa-leonberg.de/      301
7865 \.
7866
7867
7868 --
7869 -- Data for Name: follow_up_access; Type: TABLE DATA; Schema: public; Owner: kivitendo
7870 --
7871
7872 COPY public.follow_up_access (who, what, id) FROM stdin;
7873 \.
7874
7875
7876 --
7877 -- Data for Name: follow_up_links; Type: TABLE DATA; Schema: public; Owner: kivitendo
7878 --
7879
7880 COPY public.follow_up_links (id, follow_up_id, trans_id, trans_type, trans_info, itime, mtime) FROM stdin;
7881 \.
7882
7883
7884 --
7885 -- Data for Name: follow_ups; Type: TABLE DATA; Schema: public; Owner: kivitendo
7886 --
7887
7888 COPY public.follow_ups (id, follow_up_date, created_for_user, done, note_id, created_by, itime, mtime) FROM stdin;
7889 \.
7890
7891
7892 --
7893 -- Data for Name: generic_translations; Type: TABLE DATA; Schema: public; Owner: kivitendo
7894 --
7895
7896 COPY public.generic_translations (id, language_id, translation_type, translation_id, translation) FROM stdin;
7897 \.
7898
7899
7900 --
7901 -- Data for Name: gl; Type: TABLE DATA; Schema: public; Owner: kivitendo
7902 --
7903
7904 COPY public.gl (id, reference, description, transdate, gldate, employee_id, notes, department_id, taxincluded, itime, mtime, type, ob_transaction, cb_transaction, storno, storno_id, deliverydate, imported, tax_point, transaction_description) FROM stdin;
7905 \.
7906
7907
7908 --
7909 -- Data for Name: greetings; Type: TABLE DATA; Schema: public; Owner: kivitendo
7910 --
7911
7912 COPY public.greetings (id, description) FROM stdin;
7913 \.
7914
7915
7916 --
7917 -- Data for Name: history_erp; Type: TABLE DATA; Schema: public; Owner: kivitendo
7918 --
7919
7920 COPY public.history_erp (id, trans_id, employee_id, addition, what_done, itime, snumbers) FROM stdin;
7921 \.
7922
7923
7924 --
7925 -- Data for Name: inventory; Type: TABLE DATA; Schema: public; Owner: kivitendo
7926 --
7927
7928 COPY public.inventory (warehouse_id, parts_id, oe_id, delivery_order_items_stock_id, shippingdate, employee_id, itime, mtime, bin_id, qty, trans_id, trans_type_id, project_id, chargenumber, comment, bestbefore, id, invoice_id) FROM stdin;
7929 \.
7930
7931
7932 --
7933 -- Data for Name: invoice; Type: TABLE DATA; Schema: public; Owner: kivitendo
7934 --
7935
7936 COPY public.invoice (id, trans_id, parts_id, description, qty, allocated, sellprice, fxsellprice, discount, assemblyitem, project_id, deliverydate, serialnumber, itime, mtime, pricegroup_id, ordnumber, transdate, cusordnumber, unit, base_qty, subtotal, longdescription, marge_total, marge_percent, lastcost, price_factor_id, price_factor, marge_price_factor, donumber, "position", active_price_source, active_discount_source) FROM stdin;
7937 \.
7938
7939
7940 --
7941 -- Data for Name: language; Type: TABLE DATA; Schema: public; Owner: kivitendo
7942 --
7943
7944 COPY public.language (id, description, template_code, article_code, itime, mtime, output_numberformat, output_dateformat, output_longdates, obsolete) FROM stdin;
7945 \.
7946
7947
7948 --
7949 -- Data for Name: leads; Type: TABLE DATA; Schema: public; Owner: kivitendo
7950 --
7951
7952 COPY public.leads (id, lead) FROM stdin;
7953 \.
7954
7955
7956 --
7957 -- Data for Name: letter; Type: TABLE DATA; Schema: public; Owner: kivitendo
7958 --
7959
7960 COPY public.letter (id, customer_id, letternumber, subject, greeting, body, employee_id, salesman_id, itime, mtime, date, reference, intnotes, cp_id, vendor_id) FROM stdin;
7961 \.
7962
7963
7964 --
7965 -- Data for Name: letter_draft; Type: TABLE DATA; Schema: public; Owner: kivitendo
7966 --
7967
7968 COPY public.letter_draft (id, customer_id, cp_id, letternumber, date, intnotes, reference, subject, greeting, body, employee_id, salesman_id, itime, mtime, vendor_id) FROM stdin;
7969 \.
7970
7971
7972 --
7973 -- Data for Name: makemodel; Type: TABLE DATA; Schema: public; Owner: kivitendo
7974 --
7975
7976 COPY public.makemodel (parts_id, model, itime, mtime, lastcost, lastupdate, sortorder, make, id) FROM stdin;
7977 \.
7978
7979
7980 --
7981 -- Data for Name: notes; Type: TABLE DATA; Schema: public; Owner: kivitendo
7982 --
7983
7984 COPY public.notes (id, subject, body, created_by, trans_id, trans_module, itime, mtime) FROM stdin;
7985 \.
7986
7987
7988 --
7989 -- Data for Name: oe; Type: TABLE DATA; Schema: public; Owner: kivitendo
7990 --
7991
7992 COPY public.oe (id, ordnumber, transdate, vendor_id, customer_id, amount, netamount, reqdate, taxincluded, shippingpoint, notes, employee_id, closed, quotation, quonumber, cusordnumber, intnotes, department_id, itime, mtime, shipvia, cp_id, language_id, payment_id, delivery_customer_id, delivery_vendor_id, taxzone_id, proforma, shipto_id, order_probability, expected_billing_date, globalproject_id, delivered, salesman_id, marge_total, marge_percent, transaction_description, delivery_term_id, currency_id, exchangerate, tax_point, billing_address_id) FROM stdin;
7993 \.
7994
7995
7996 --
7997 -- Data for Name: orderitems; Type: TABLE DATA; Schema: public; Owner: kivitendo
7998 --
7999
8000 COPY public.orderitems (trans_id, parts_id, description, qty, sellprice, discount, project_id, reqdate, ship, serialnumber, id, itime, mtime, pricegroup_id, ordnumber, transdate, cusordnumber, unit, base_qty, subtotal, longdescription, marge_total, marge_percent, lastcost, price_factor_id, price_factor, marge_price_factor, "position", active_price_source, active_discount_source, optional) FROM stdin;
8001 \.
8002
8003
8004 --
8005 -- Data for Name: part_classifications; Type: TABLE DATA; Schema: public; Owner: kivitendo
8006 --
8007
8008 COPY public.part_classifications (id, description, abbreviation, used_for_purchase, used_for_sale, report_separate) FROM stdin;
8009 0       ------- None (typeabbreviation) t       t       f
8010 1       Purchase        Purchase (typeabbreviation)     t       f       f
8011 2       Sales   Sales (typeabbreviation)        f       t       f
8012 3       Merchandise     Merchandise (typeabbreviation)  t       t       f
8013 4       Production      Production (typeabbreviation)   f       t       f
8014 \.
8015
8016
8017 --
8018 -- Data for Name: part_customer_prices; Type: TABLE DATA; Schema: public; Owner: kivitendo
8019 --
8020
8021 COPY public.part_customer_prices (id, parts_id, customer_id, customer_partnumber, price, sortorder, lastupdate) FROM stdin;
8022 \.
8023
8024
8025 --
8026 -- Data for Name: parts; Type: TABLE DATA; Schema: public; Owner: kivitendo
8027 --
8028
8029 COPY public.parts (id, partnumber, description, listprice, sellprice, lastcost, priceupdate, weight, notes, makemodel, rop, shop, obsolete, bom, image, drawing, microfiche, partsgroup_id, ve, gv, itime, mtime, unit, formel, not_discountable, buchungsgruppen_id, payment_id, ean, price_factor_id, onhand, stockable, has_sernumber, warehouse_id, bin_id, classification_id, part_type) FROM stdin;
8030 \.
8031
8032
8033 --
8034 -- Data for Name: parts_price_history; Type: TABLE DATA; Schema: public; Owner: kivitendo
8035 --
8036
8037 COPY public.parts_price_history (id, part_id, valid_from, lastcost, listprice, sellprice) FROM stdin;
8038 \.
8039
8040
8041 --
8042 -- Data for Name: partsgroup; Type: TABLE DATA; Schema: public; Owner: kivitendo
8043 --
8044
8045 COPY public.partsgroup (id, partsgroup, itime, mtime, obsolete, sortkey) FROM stdin;
8046 \.
8047
8048
8049 --
8050 -- Data for Name: payment_terms; Type: TABLE DATA; Schema: public; Owner: kivitendo
8051 --
8052
8053 COPY public.payment_terms (id, description, description_long, terms_netto, terms_skonto, percent_skonto, itime, mtime, sortkey, auto_calculation, description_long_invoice, obsolete) FROM stdin;
8054 \.
8055
8056
8057 --
8058 -- Data for Name: periodic_invoices; Type: TABLE DATA; Schema: public; Owner: kivitendo
8059 --
8060
8061 COPY public.periodic_invoices (id, config_id, ar_id, period_start_date, itime) FROM stdin;
8062 \.
8063
8064
8065 --
8066 -- Data for Name: periodic_invoices_configs; Type: TABLE DATA; Schema: public; Owner: kivitendo
8067 --
8068
8069 COPY public.periodic_invoices_configs (id, oe_id, periodicity, print, printer_id, copies, active, terminated, start_date, end_date, ar_chart_id, extend_automatically_by, first_billing_date, order_value_periodicity, direct_debit, send_email, email_recipient_contact_id, email_recipient_address, email_sender, email_subject, email_body) FROM stdin;
8070 \.
8071
8072
8073 --
8074 -- Data for Name: price_factors; Type: TABLE DATA; Schema: public; Owner: kivitendo
8075 --
8076
8077 COPY public.price_factors (id, description, factor, sortkey) FROM stdin;
8078 876     pro 10  10.00000        1
8079 877     pro 100 100.00000       2
8080 878     pro 1.000       1000.00000      3
8081 \.
8082
8083
8084 --
8085 -- Data for Name: price_rule_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
8086 --
8087
8088 COPY public.price_rule_items (id, price_rules_id, type, op, custom_variable_configs_id, value_text, value_int, value_date, value_num, itime, mtime) FROM stdin;
8089 \.
8090
8091
8092 --
8093 -- Data for Name: price_rules; Type: TABLE DATA; Schema: public; Owner: kivitendo
8094 --
8095
8096 COPY public.price_rules (id, name, type, priority, price, reduction, obsolete, itime, mtime, discount) FROM stdin;
8097 \.
8098
8099
8100 --
8101 -- Data for Name: pricegroup; Type: TABLE DATA; Schema: public; Owner: kivitendo
8102 --
8103
8104 COPY public.pricegroup (id, pricegroup, obsolete, sortkey) FROM stdin;
8105 \.
8106
8107
8108 --
8109 -- Data for Name: prices; Type: TABLE DATA; Schema: public; Owner: kivitendo
8110 --
8111
8112 COPY public.prices (parts_id, pricegroup_id, price, id) FROM stdin;
8113 \.
8114
8115
8116 --
8117 -- Data for Name: printers; Type: TABLE DATA; Schema: public; Owner: kivitendo
8118 --
8119
8120 COPY public.printers (id, printer_description, printer_command, template_code) FROM stdin;
8121 \.
8122
8123
8124 --
8125 -- Data for Name: project; Type: TABLE DATA; Schema: public; Owner: kivitendo
8126 --
8127
8128 COPY public.project (id, projectnumber, description, itime, mtime, active, customer_id, valid, project_type_id, start_date, end_date, billable_customer_id, budget_cost, order_value, budget_minutes, timeframe, project_status_id) FROM stdin;
8129 \.
8130
8131
8132 --
8133 -- Data for Name: project_participants; Type: TABLE DATA; Schema: public; Owner: kivitendo
8134 --
8135
8136 COPY public.project_participants (id, project_id, employee_id, project_role_id, minutes, cost_per_hour, itime, mtime) FROM stdin;
8137 \.
8138
8139
8140 --
8141 -- Data for Name: project_phase_participants; Type: TABLE DATA; Schema: public; Owner: kivitendo
8142 --
8143
8144 COPY public.project_phase_participants (id, project_phase_id, employee_id, project_role_id, minutes, cost_per_hour, itime, mtime) FROM stdin;
8145 \.
8146
8147
8148 --
8149 -- Data for Name: project_phases; Type: TABLE DATA; Schema: public; Owner: kivitendo
8150 --
8151
8152 COPY public.project_phases (id, project_id, start_date, end_date, name, description, budget_minutes, budget_cost, general_minutes, general_cost_per_hour, itime, mtime) FROM stdin;
8153 \.
8154
8155
8156 --
8157 -- Data for Name: project_roles; Type: TABLE DATA; Schema: public; Owner: kivitendo
8158 --
8159
8160 COPY public.project_roles (id, name, description, "position", itime, mtime) FROM stdin;
8161 \.
8162
8163
8164 --
8165 -- Data for Name: project_statuses; Type: TABLE DATA; Schema: public; Owner: kivitendo
8166 --
8167
8168 COPY public.project_statuses (id, name, description, "position", itime, mtime) FROM stdin;
8169 1       presales        Akquise 1       2018-11-30 19:56:01.493701      \N
8170 2       planning        In Planung      2       2018-11-30 19:56:01.493701      \N
8171 3       running In Bearbeitung  3       2018-11-30 19:56:01.493701      \N
8172 4       done    Fertiggestellt  4       2018-11-30 19:56:01.493701      \N
8173 \.
8174
8175
8176 --
8177 -- Data for Name: project_types; Type: TABLE DATA; Schema: public; Owner: kivitendo
8178 --
8179
8180 COPY public.project_types (id, "position", description, internal) FROM stdin;
8181 1       1       Standard        f
8182 2       2       Festpreis       f
8183 3       3       Support f
8184 \.
8185
8186
8187 --
8188 -- Data for Name: reconciliation_links; Type: TABLE DATA; Schema: public; Owner: kivitendo
8189 --
8190
8191 COPY public.reconciliation_links (id, bank_transaction_id, acc_trans_id, rec_group) FROM stdin;
8192 \.
8193
8194
8195 --
8196 -- Data for Name: record_links; Type: TABLE DATA; Schema: public; Owner: kivitendo
8197 --
8198
8199 COPY public.record_links (from_table, from_id, to_table, to_id, itime, id) FROM stdin;
8200 \.
8201
8202
8203 --
8204 -- Data for Name: record_template_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
8205 --
8206
8207 COPY public.record_template_items (id, record_template_id, chart_id, tax_id, project_id, amount1, amount2, source, memo) FROM stdin;
8208 \.
8209
8210
8211 --
8212 -- Data for Name: record_templates; Type: TABLE DATA; Schema: public; Owner: kivitendo
8213 --
8214
8215 COPY public.record_templates (id, template_name, template_type, customer_id, vendor_id, currency_id, department_id, project_id, employee_id, taxincluded, direct_debit, ob_transaction, cb_transaction, reference, description, ordnumber, notes, ar_ap_chart_id, itime, mtime, show_details, payment_id, transaction_description) FROM stdin;
8216 \.
8217
8218
8219 --
8220 -- Data for Name: requirement_spec_acceptance_statuses; Type: TABLE DATA; Schema: public; Owner: kivitendo
8221 --
8222
8223 COPY public.requirement_spec_acceptance_statuses (id, name, description, "position", itime, mtime) FROM stdin;
8224 1       accepted        Abgenommen      1       2018-11-30 19:55:58.422952      \N
8225 2       accepted_with_defects   Mit Mängeln abgenommen 2       2018-11-30 19:55:58.422952      \N
8226 3       accepted_with_defects_to_be_fixed       Mit noch zu behebenden Mängeln abgenommen      3       2018-11-30 19:55:58.422952      \N
8227 4       not_accepted    Nicht abgenommen        4       2018-11-30 19:55:58.422952      \N
8228 \.
8229
8230
8231 --
8232 -- Data for Name: requirement_spec_complexities; Type: TABLE DATA; Schema: public; Owner: kivitendo
8233 --
8234
8235 COPY public.requirement_spec_complexities (id, description, "position", itime, mtime) FROM stdin;
8236 1       nicht bewertet  1       2018-11-30 19:55:58.422952      \N
8237 2       nur Anforderung 2       2018-11-30 19:55:58.422952      \N
8238 3       gering  3       2018-11-30 19:55:58.422952      \N
8239 4       mittel  4       2018-11-30 19:55:58.422952      \N
8240 5       hoch    5       2018-11-30 19:55:58.422952      \N
8241 \.
8242
8243
8244 --
8245 -- Data for Name: requirement_spec_item_dependencies; Type: TABLE DATA; Schema: public; Owner: kivitendo
8246 --
8247
8248 COPY public.requirement_spec_item_dependencies (depending_item_id, depended_item_id) FROM stdin;
8249 \.
8250
8251
8252 --
8253 -- Data for Name: requirement_spec_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
8254 --
8255
8256 COPY public.requirement_spec_items (id, requirement_spec_id, item_type, parent_id, "position", fb_number, title, description, complexity_id, risk_id, time_estimation, is_flagged, acceptance_status_id, acceptance_text, itime, mtime, order_part_id, sellprice_factor) FROM stdin;
8257 \.
8258
8259
8260 --
8261 -- Data for Name: requirement_spec_orders; Type: TABLE DATA; Schema: public; Owner: kivitendo
8262 --
8263
8264 COPY public.requirement_spec_orders (id, requirement_spec_id, order_id, version_id, itime, mtime) FROM stdin;
8265 \.
8266
8267
8268 --
8269 -- Data for Name: requirement_spec_parts; Type: TABLE DATA; Schema: public; Owner: kivitendo
8270 --
8271
8272 COPY public.requirement_spec_parts (id, requirement_spec_id, part_id, unit_id, qty, description, "position") FROM stdin;
8273 \.
8274
8275
8276 --
8277 -- Data for Name: requirement_spec_pictures; Type: TABLE DATA; Schema: public; Owner: kivitendo
8278 --
8279
8280 COPY public.requirement_spec_pictures (id, requirement_spec_id, text_block_id, "position", number, description, picture_file_name, picture_content_type, picture_mtime, picture_content, picture_width, picture_height, thumbnail_content_type, thumbnail_content, thumbnail_width, thumbnail_height, itime, mtime) FROM stdin;
8281 \.
8282
8283
8284 --
8285 -- Data for Name: requirement_spec_predefined_texts; Type: TABLE DATA; Schema: public; Owner: kivitendo
8286 --
8287
8288 COPY public.requirement_spec_predefined_texts (id, description, title, text, "position", itime, mtime, useable_for_text_blocks, useable_for_sections) FROM stdin;
8289 \.
8290
8291
8292 --
8293 -- Data for Name: requirement_spec_risks; Type: TABLE DATA; Schema: public; Owner: kivitendo
8294 --
8295
8296 COPY public.requirement_spec_risks (id, description, "position", itime, mtime) FROM stdin;
8297 1       nicht bewertet  1       2018-11-30 19:55:58.422952      \N
8298 2       nur Anforderung 2       2018-11-30 19:55:58.422952      \N
8299 3       gering  3       2018-11-30 19:55:58.422952      \N
8300 4       mittel  4       2018-11-30 19:55:58.422952      \N
8301 5       hoch    5       2018-11-30 19:55:58.422952      \N
8302 \.
8303
8304
8305 --
8306 -- Data for Name: requirement_spec_statuses; Type: TABLE DATA; Schema: public; Owner: kivitendo
8307 --
8308
8309 COPY public.requirement_spec_statuses (id, name, description, "position", itime, mtime) FROM stdin;
8310 1       planning        In Planung      1       2018-11-30 19:55:58.422952      \N
8311 2       running In Bearbeitung  2       2018-11-30 19:55:58.422952      \N
8312 3       done    Fertiggestellt  3       2018-11-30 19:55:58.422952      \N
8313 \.
8314
8315
8316 --
8317 -- Data for Name: requirement_spec_text_blocks; Type: TABLE DATA; Schema: public; Owner: kivitendo
8318 --
8319
8320 COPY public.requirement_spec_text_blocks (id, requirement_spec_id, title, text, "position", output_position, is_flagged, itime, mtime) FROM stdin;
8321 \.
8322
8323
8324 --
8325 -- Data for Name: requirement_spec_types; Type: TABLE DATA; Schema: public; Owner: kivitendo
8326 --
8327
8328 COPY public.requirement_spec_types (id, description, "position", itime, mtime, section_number_format, function_block_number_format, template_file_name) FROM stdin;
8329 1       Pflichtenheft   1       2018-11-30 19:55:58.422952      2018-11-30 19:56:00.17203       A00     FB000   requirement_spec
8330 2       Konzept 2       2018-11-30 19:55:58.422952      2018-11-30 19:56:00.17203       A00     FB000   requirement_spec
8331 \.
8332
8333
8334 --
8335 -- Data for Name: requirement_spec_versions; Type: TABLE DATA; Schema: public; Owner: kivitendo
8336 --
8337
8338 COPY public.requirement_spec_versions (id, version_number, description, comment, itime, mtime, requirement_spec_id, working_copy_id) FROM stdin;
8339 \.
8340
8341
8342 --
8343 -- Data for Name: requirement_specs; Type: TABLE DATA; Schema: public; Owner: kivitendo
8344 --
8345
8346 COPY public.requirement_specs (id, type_id, status_id, customer_id, project_id, title, hourly_rate, working_copy_id, previous_section_number, previous_fb_number, is_template, itime, mtime, time_estimation, previous_picture_number) FROM stdin;
8347 \.
8348
8349
8350 --
8351 -- Data for Name: schema_info; Type: TABLE DATA; Schema: public; Owner: kivitendo
8352 --
8353
8354 COPY public.schema_info (tag, login, itime) FROM stdin;
8355 SKR04-3804-addition     \N      2018-11-30 19:55:45.174964
8356 acc_trans_constraints   \N      2018-11-30 19:55:45.210558
8357 chart_category_to_sgn   \N      2018-11-30 19:55:45.218222
8358 chart_names     \N      2018-11-30 19:55:45.244082
8359 chart_names2    \N      2018-11-30 19:55:45.256024
8360 customer_vendor_ustid_length    \N      2018-11-30 19:55:45.261282
8361 language_output_formatting      \N      2018-11-30 19:55:45.322083
8362 remove_obsolete_trigger \N      2018-11-30 19:55:45.332541
8363 rename_buchungsgruppen_accounts_16_19_percent   \N      2018-11-30 19:55:45.365412
8364 sales_quotation_order_probability_expected_billing_date \N      2018-11-30 19:55:45.376983
8365 tax_id_if_taxkey_is_0   \N      2018-11-30 19:55:45.412791
8366 units_translations_and_singular_plural_distinction      \N      2018-11-30 19:55:45.446145
8367 tax_primary_key_taxkeys_foreign_keys    \N      2018-11-30 19:55:45.490042
8368 invalid_taxkesy \N      2018-11-30 19:55:45.555725
8369 release_2_4_1   \N      2018-11-30 19:55:45.564486
8370 PgCommaAggregateFunction        \N      2018-11-30 19:55:45.567866
8371 ap_ar_orddate_quodate   \N      2018-11-30 19:55:45.597428
8372 buchungsgruppen_sortkey \N      2018-11-30 19:55:45.605303
8373 customer_vendor_taxzone_id      \N      2018-11-30 19:55:45.622974
8374 drafts  \N      2018-11-30 19:55:45.634118
8375 employee_no_limits      \N      2018-11-30 19:55:45.680553
8376 globalprojectnumber_ap_ar_oe    \N      2018-11-30 19:55:45.803085
8377 oe_delivered    \N      2018-11-30 19:55:45.84173
8378 oe_is_salesman  \N      2018-11-30 19:55:45.873555
8379 parts_ean       \N      2018-11-30 19:55:45.887684
8380 payment_terms_sortkey   \N      2018-11-30 19:55:45.914306
8381 payment_terms_translation       \N      2018-11-30 19:55:45.960187
8382 project \N      2018-11-30 19:55:45.995579
8383 status_history  \N      2018-11-30 19:55:46.045406
8384 units_sortkey   \N      2018-11-30 19:55:46.115783
8385 history_erp     \N      2018-11-30 19:55:46.152037
8386 marge_initial   \N      2018-11-30 19:55:46.197707
8387 ustva_setup_2007        \N      2018-11-30 19:55:46.26325
8388 history_erp_snumbers    \N      2018-11-30 19:55:46.275988
8389 tax_description_without_percentage_skr04        \N      2018-11-30 19:55:46.279507
8390 ustva_setup_2007_update_chart_taxkeys_tax       \N      2018-11-30 19:55:46.317645
8391 fix_taxdescription      \N      2018-11-30 19:55:46.577194
8392 ustva_setup_2007_update_chart_taxkeys_tax_add_missing_tax_accounts      \N      2018-11-30 19:55:46.638225
8393 tax_description_without_percentage      \N      2018-11-30 19:55:46.643882
8394 release_2_4_2   \N      2018-11-30 19:55:46.669579
8395 COA_Account_Settings001 \N      2018-11-30 19:55:46.692044
8396 COA_Account_Settings002 \N      2018-11-30 19:55:46.696469
8397 USTVA_abstraction       \N      2018-11-30 19:55:46.705048
8398 ap_storno       \N      2018-11-30 19:55:46.896405
8399 ar_storno       \N      2018-11-30 19:55:46.910344
8400 cb_ob_transaction       \N      2018-11-30 19:55:46.917141
8401 dunning_config_interest_rate    \N      2018-11-30 19:55:46.930598
8402 dunning_dunning_id      \N      2018-11-30 19:55:46.934877
8403 dunning_invoices_for_fees       \N      2018-11-30 19:55:46.969019
8404 gl_storno       \N      2018-11-30 19:55:47.008196
8405 invalid_taxkeys_2       \N      2018-11-30 19:55:47.059046
8406 transaction_description \N      2018-11-30 19:55:47.063822
8407 USTVA_at        \N      2018-11-30 19:55:47.098808
8408 ar_ap_storno_id \N      2018-11-30 19:55:47.12736
8409 dunning_invoices_per_dunning_level      \N      2018-11-30 19:55:47.133384
8410 tax_report_table_name   \N      2018-11-30 19:55:47.166219
8411 release_2_4_3   \N      2018-11-30 19:55:47.171269
8412 acc_trans_without_oid   \N      2018-11-30 19:55:47.202126
8413 bank_accounts   \N      2018-11-30 19:55:47.273663
8414 change_makemodel_vendor_id      \N      2018-11-30 19:55:47.313558
8415 custom_variables        \N      2018-11-30 19:55:47.323778
8416 direct_debit    \N      2018-11-30 19:55:47.434728
8417 follow_ups      \N      2018-11-30 19:55:47.44274
8418 oe_employee_id_foreignkey       \N      2018-11-30 19:55:47.551783
8419 price_factors   \N      2018-11-30 19:55:47.562934
8420 sic_code        \N      2018-11-30 19:55:47.63685
8421 todo_config     \N      2018-11-30 19:55:47.653254
8422 trigger_assembly_update_lastcost        \N      2018-11-30 19:55:47.663649
8423 units_no_type_distinction       \N      2018-11-30 19:55:47.680328
8424 warehouse       \N      2018-11-30 19:55:47.68458
8425 delivery_orders \N      2018-11-30 19:55:47.84525
8426 transfer_type_shipped   \N      2018-11-30 19:55:48.001091
8427 warehouse2      \N      2018-11-30 19:55:48.006661
8428 ar_add_donumber \N      2018-11-30 19:55:48.033706
8429 ar_add_invnumber_for_credit_note        \N      2018-11-30 19:55:48.037974
8430 check_bin_belongs_to_wh_trigger \N      2018-11-30 19:55:48.042363
8431 record_links    \N      2018-11-30 19:55:48.077381
8432 transaction_description_not_null        \N      2018-11-30 19:55:48.126988
8433 release_2_6_0   \N      2018-11-30 19:55:48.152161
8434 auth_enable_sales_all_edit      \N      2018-11-30 19:55:48.157499
8435 custom_variables_parts_services_assemblies      \N      2018-11-30 19:55:48.16081
8436 custom_variables_valid  \N      2018-11-30 19:55:48.17155
8437 delivery_orders_fields_for_invoices     \N      2018-11-30 19:55:48.18514
8438 fix_acc_trans_ap_taxkey_bug     \N      2018-11-30 19:55:48.230767
8439 fix_datepaid    \N      2018-11-30 19:55:48.244741
8440 generic_translations    \N      2018-11-30 19:55:48.273009
8441 has_sernumber   \N      2018-11-30 19:55:48.346679
8442 rundungsfehler_korrigieren_BUG1328-2    \N      2018-11-30 19:55:48.354608
8443 sepa    \N      2018-11-30 19:55:48.361252
8444 update_date_paid        \N      2018-11-30 19:55:48.529305
8445 warehouse3      \N      2018-11-30 19:55:48.547206
8446 warehouse_add_bestbefore        \N      2018-11-30 19:55:48.554949
8447 add_depositor_for_customer_vendor       \N      2018-11-30 19:55:48.559391
8448 add_more_constraints_fibu_projekt_xplace3       \N      2018-11-30 19:55:48.619172
8449 cp_greeting_migration   \N      2018-11-30 19:55:48.634177
8450 release_2_6_1   \N      2018-11-30 19:55:48.663547
8451 acc_trans_id_uniqueness \N      2018-11-30 19:55:48.667941
8452 add_ar_paid_defaults    \N      2018-11-30 19:55:48.693201
8453 add_makemodel_prices    \N      2018-11-30 19:55:48.701451
8454 csv_import_profiles     \N      2018-11-30 19:55:48.726212
8455 customer_long_entries   \N      2018-11-30 19:55:48.818856
8456 drop_yearend    \N      2018-11-30 19:55:48.856194
8457 emmvee_background_jobs  \N      2018-11-30 19:55:48.862558
8458 invalid_entries_in_custom_variables_validity    \N      2018-11-30 19:55:48.963036
8459 payment_terms_translation2      \N      2018-11-30 19:55:48.970092
8460 periodic_invoices       \N      2018-11-30 19:55:48.97695
8461 schema_normalization_1  \N      2018-11-30 19:55:49.029455
8462 sepa_in \N      2018-11-30 19:55:49.123844
8463 shipto_add_cp_gender    \N      2018-11-30 19:55:49.205218
8464 skr03_04_bwa_zuordnung_konten_4250_4610 \N      2018-11-30 19:55:49.209728
8465 skr04_fix_category_3151_3160_3170       \N      2018-11-30 19:55:49.243863
8466 ustva_2010      \N      2018-11-30 19:55:49.248199
8467 csv_import_profiles_2   \N      2018-11-30 19:55:49.262001
8468 delete_translations_on_payment_term_delete      \N      2018-11-30 19:55:49.266837
8469 emmvee_background_jobs_2        \N      2018-11-30 19:55:49.890031
8470 periodic_invoices_background_job        \N      2018-11-30 19:55:51.402839
8471 periodic_invoices_first_billing_date    \N      2018-11-30 19:55:51.406167
8472 schema_normalization_2  \N      2018-11-30 19:55:51.412898
8473 background_jobs_3       \N      2018-11-30 19:55:52.438576
8474 csv_import_report_cache \N      2018-11-30 19:55:52.441912
8475 schema_normalization_3  \N      2018-11-30 19:55:52.545456
8476 csv_import_reports_add_numheaders       \N      2018-11-30 19:55:52.587012
8477 release_2_6_2   \N      2018-11-30 19:55:52.616262
8478 chart_taxkey_id_from_taxkeys    \N      2018-11-30 19:55:52.619914
8479 custom_variables_indices        \N      2018-11-30 19:55:52.800664
8480 custom_variables_indices_2      \N      2018-11-30 19:55:52.836623
8481 units_id        \N      2018-11-30 19:55:52.869217
8482 release_2_6_3   \N      2018-11-30 19:55:52.908529
8483 auth_enable_ct_all_edit \N      2018-11-30 19:55:52.912995
8484 auth_enable_edit_prices \N      2018-11-30 19:55:52.917117
8485 customer_add_constraints        \N      2018-11-30 19:55:52.920242
8486 customer_vendor_add_currency    \N      2018-11-30 19:55:52.950447
8487 defaults_add_language_id        \N      2018-11-30 19:55:52.955503
8488 delivery_order_items_add_pricegroup_id  \N      2018-11-30 19:55:52.963557
8489 department_drop_role    \N      2018-11-30 19:55:52.972121
8490 drop_datevexport        \N      2018-11-30 19:55:53.013368
8491 employee_deleted        \N      2018-11-30 19:55:53.023429
8492 license_invoice_drop    \N      2018-11-30 19:55:53.130064
8493 oe_customer_vendor_fkeys        \N      2018-11-30 19:55:53.165439
8494 parts_add_unit_foreign_key      \N      2018-11-30 19:55:53.204733
8495 umstellung_eur  \N      2018-11-30 19:55:53.234867
8496 ustva_2010_fixes        \N      2018-11-30 19:55:53.239459
8497 vendor_add_constraints  \N      2018-11-30 19:55:53.243604
8498 warehouse_alter_chargenumber    \N      2018-11-30 19:55:53.286666
8499 release_2_7_0   \N      2018-11-30 19:55:53.32324
8500 chart_type_skonto       \N      2018-11-30 19:55:53.33005
8501 contacts_add_street_and_zipcode_and_city        \N      2018-11-30 19:55:53.360981
8502 contacts_convert_cp_birthday_to_date    \N      2018-11-30 19:55:53.374281
8503 convert_curr_to_text    \N      2018-11-30 19:55:53.387468
8504 custom_variables_sub_module_not_null    \N      2018-11-30 19:55:54.240094
8505 customer_add_taxincluded_checked        \N      2018-11-30 19:55:54.260719
8506 customer_vendor_phone_no_limits \N      2018-11-30 19:55:54.412641
8507 defaults_datev_check    \N      2018-11-30 19:55:54.431168
8508 defaults_posting_config \N      2018-11-30 19:55:54.821303
8509 defaults_posting_records_config \N      2018-11-30 19:55:54.967149
8510 defaults_show_bestbefore        \N      2018-11-30 19:55:55.492255
8511 defaults_show_delete_on_orders  \N      2018-11-30 19:55:55.615344
8512 defaults_show_mark_as_paid_config       \N      2018-11-30 19:55:55.88072
8513 finanzamt_update_fa_bufa_nr_hamburg     \N      2018-11-30 19:55:56.06931
8514 record_links_post_delete_triggers       \N      2018-11-30 19:55:56.091963
8515 rename_buchungsgruppe_16_19_to_19       \N      2018-11-30 19:55:56.186938
8516 self_test_background_job        \N      2018-11-30 19:55:56.663123
8517 ustva_setup_2007_update_chart_taxkeys_tax_skr04 \N      2018-11-30 19:55:56.668566
8518 customer_add_taxincluded_checked_2      \N      2018-11-30 19:55:56.712326
8519 record_links_post_delete_triggers2      \N      2018-11-30 19:55:56.718717
8520 release_3_0_0   \N      2018-11-30 19:55:56.751464
8521 acc_trans_booleans_not_null     \N      2018-11-30 19:55:56.754674
8522 accounts_tax_office_bad_homburg \N      2018-11-30 19:55:56.797126
8523 add_chart_link_to_acc_trans     \N      2018-11-30 19:55:56.824237
8524 add_customer_mandator_id        \N      2018-11-30 19:55:56.83626
8525 add_fk_to_gl    \N      2018-11-30 19:55:56.860613
8526 add_warehouse_defaults  \N      2018-11-30 19:55:56.870774
8527 ap_add_direct_debit     \N      2018-11-30 19:55:56.898818
8528 ap_deliverydate \N      2018-11-30 19:55:56.904262
8529 ar_add_direct_debit     \N      2018-11-30 19:55:56.908048
8530 ar_ap_foreign_keys      \N      2018-11-30 19:55:56.915304
8531 ar_ap_gl_delete_triggers_deletion_from_acc_trans        \N      2018-11-30 19:55:57.017982
8532 background_job_change_create_periodic_invoices_to_daily \N      2018-11-30 19:55:57.057265
8533 charts_without_taxkey   \N      2018-11-30 19:55:57.062694
8534 cleanup_after_customer_vendor_deletion  \N      2018-11-30 19:55:57.06846
8535 clients \N      2018-11-30 19:55:57.090444
8536 contacts_add_cp_position        \N      2018-11-30 19:55:57.134133
8537 custom_variable_configs_column_type_text        \N      2018-11-30 19:55:57.138664
8538 custom_variables_validity_index \N      2018-11-30 19:55:57.205951
8539 defaults_add_max_future_booking_intervall       \N      2018-11-30 19:55:57.221416
8540 defaults_add_precision  \N      2018-11-30 19:55:57.303136
8541 defaults_feature        \N      2018-11-30 19:55:57.353376
8542 defaults_feature2       \N      2018-11-30 19:55:57.725789
8543 del_exchangerate        \N      2018-11-30 19:55:57.795674
8544 delete_close_follow_ups_when_order_is_deleted_closed_fkey_deletion      \N      2018-11-30 19:55:57.80842
8545 delete_customertax_vendortax_partstax   \N      2018-11-30 19:55:57.819414
8546 delete_translations_on_tax_delete       \N      2018-11-30 19:55:57.851555
8547 delivery_terms  \N      2018-11-30 19:55:57.85984
8548 drop_audittrail \N      2018-11-30 19:55:57.921336
8549 drop_dpt_trans  \N      2018-11-30 19:55:57.938584
8550 drop_gifi       \N      2018-11-30 19:55:57.976808
8551 drop_rma        \N      2018-11-30 19:55:58.008264
8552 employee_drop_columns   \N      2018-11-30 19:55:58.036212
8553 erzeugnisnummern        \N      2018-11-30 19:55:58.061156
8554 first_aggregator        \N      2018-11-30 19:55:58.077335
8555 fix_datepaid_for_sepa_transfers \N      2018-11-30 19:55:58.09061
8556 gewichte        \N      2018-11-30 19:55:58.095963
8557 gl_add_employee_foreign_key     \N      2018-11-30 19:55:58.160346
8558 invoice_add_donumber    \N      2018-11-30 19:55:58.166968
8559 oe_delivery_orders_foreign_keys \N      2018-11-30 19:55:58.171402
8560 orderitems_delivery_order_items_invoice_foreign_keys    \N      2018-11-30 19:55:58.263485
8561 parts_translation_foreign_keys  \N      2018-11-30 19:55:58.297551
8562 project_customer_type_valid     \N      2018-11-30 19:55:58.340146
8563 project_types   \N      2018-11-30 19:55:58.353524
8564 requirement_specs       \N      2018-11-30 19:55:58.422952
8565 rm_whitespaces  \N      2018-11-30 19:55:59.021297
8566 add_tax_id_to_acc_trans \N      2018-11-30 19:55:59.032428
8567 add_warehouse_client_config_default     \N      2018-11-30 19:55:59.045832
8568 balance_startdate_method        \N      2018-11-30 19:55:59.255326
8569 currencies      \N      2018-11-30 19:55:59.262932
8570 custom_variables_delete_via_trigger     \N      2018-11-30 19:55:59.380564
8571 default_bin_parts       \N      2018-11-30 19:55:59.386089
8572 defaults_customer_hourly_rate   \N      2018-11-30 19:55:59.392549
8573 defaults_signature      \N      2018-11-30 19:55:59.404603
8574 delete_close_follow_ups_when_order_is_deleted_closed    \N      2018-11-30 19:55:59.408479
8575 delete_cust_vend_tax    \N      2018-11-30 19:55:59.45219
8576 delete_translations_on_delivery_term_delete     \N      2018-11-30 19:55:59.480771
8577 drop_gifi_2     \N      2018-11-30 19:55:59.51466
8578 oe_do_delete_via_trigger        \N      2018-11-30 19:55:59.520499
8579 project_bob_attributes  \N      2018-11-30 19:55:59.646932
8580 remove_role_from_employee       \N      2018-11-30 19:55:59.992561
8581 requirement_spec_items_item_type_index  \N      2018-11-30 19:55:59.998481
8582 requirement_spec_items_update_trigger_fix       \N      2018-11-30 19:56:00.014323
8583 requirement_spec_pictures       \N      2018-11-30 19:56:00.053884
8584 requirement_spec_predefined_texts_for_sections  \N      2018-11-30 19:56:00.098069
8585 requirement_spec_types_number_formats   \N      2018-11-30 19:56:00.137145
8586 requirement_spec_types_template_file_name       \N      2018-11-30 19:56:00.17203
8587 requirement_specs_print_templates       \N      2018-11-30 19:56:00.241945
8588 requirement_specs_section_templates     \N      2018-11-30 19:56:00.24846
8589 tax_constraints \N      2018-11-30 19:56:00.259202
8590 add_fkey_tax_id_to_acc_trans    \N      2018-11-30 19:56:00.415812
8591 custom_variables_delete_via_trigger_2   \N      2018-11-30 19:56:00.435628
8592 custom_variables_delete_via_trigger_requirement_specs   \N      2018-11-30 19:56:00.442452
8593 project_bob_attributes_itime_default_fix        \N      2018-11-30 19:56:00.449332
8594 requirement_spec_delete_trigger_fix     \N      2018-11-30 19:56:00.46838
8595 requirement_spec_type_for_template_fix  \N      2018-11-30 19:56:00.487709
8596 requirement_specs_orders        \N      2018-11-30 19:56:00.497071
8597 steuerfilterung \N      2018-11-30 19:56:00.564361
8598 unit_foreign_key_for_line_items \N      2018-11-30 19:56:00.608361
8599 project_bob_attributes_fix_project_status_table_name    \N      2018-11-30 19:56:00.621462
8600 release_3_1_0   \N      2018-11-30 19:56:00.625093
8601 requirement_spec_delete_trigger_fix2    \N      2018-11-30 19:56:00.634053
8602 requirement_spec_items_update_trigger_fix2      \N      2018-11-30 19:56:00.714148
8603 add_warehouse_client_config_default2    \N      2018-11-30 19:56:00.733746
8604 background_jobs_clean_auth_sessions     \N      2018-11-30 19:56:00.847779
8605 bank_accounts_add_name  \N      2018-11-30 19:56:00.851389
8606 column_type_text_instead_of_varchar     \N      2018-11-30 19:56:00.855235
8607 custom_variable_partsgroups     \N      2018-11-30 19:56:00.878701
8608 defaults_add_delivery_plan_config       \N      2018-11-30 19:56:00.905864
8609 defaults_add_rnd_accno_ids      \N      2018-11-30 19:56:01.027447
8610 defaults_global_bcc     \N      2018-11-30 19:56:01.038855
8611 defaults_only_customer_projects_in_sales        \N      2018-11-30 19:56:01.091037
8612 defaults_reqdate_interval       \N      2018-11-30 19:56:01.100144
8613 defaults_require_transaction_description        \N      2018-11-30 19:56:01.153359
8614 defaults_sales_purchase_order_show_ship_missing_column  \N      2018-11-30 19:56:01.182996
8615 defaults_sales_purchase_process_limitations     \N      2018-11-30 19:56:01.194119
8616 defaults_transport_cost_reminder        \N      2018-11-30 19:56:01.22542
8617 delete_cvars_on_trans_deletion  \N      2018-11-30 19:56:01.233129
8618 invoice_positions       \N      2018-11-30 19:56:01.33658
8619 orderitems_delivery_order_items_positions       \N      2018-11-30 19:56:01.342234
8620 periodic_invoices_order_value_periodicity       \N      2018-11-30 19:56:01.376289
8621 price_rules     \N      2018-11-30 19:56:01.418433
8622 price_source_client_config      \N      2018-11-30 19:56:01.468635
8623 project_status_default_entries  \N      2018-11-30 19:56:01.493701
8624 record_links_orderitems_delete_triggers \N      2018-11-30 19:56:01.501871
8625 recorditem_active_price_source  \N      2018-11-30 19:56:01.538923
8626 remove_redundant_customer_vendor_delete_triggers        \N      2018-11-30 19:56:01.696117
8627 requirement_spec_edit_html      \N      2018-11-30 19:56:01.703192
8628 requirement_spec_parts  \N      2018-11-30 19:56:01.741876
8629 taxzone_charts  \N      2018-11-30 19:56:01.814132
8630 vendor_long_entries     \N      2018-11-30 19:56:01.854945
8631 warehouse_add_delivery_order_items_stock_id     \N      2018-11-30 19:56:01.868471
8632 column_type_text_instead_of_varchar2    \N      2018-11-30 19:56:01.90471
8633 convert_taxzone \N      2018-11-30 19:56:01.945692
8634 defaults_drop_delivery_plan_calculate_transferred_do    \N      2018-11-30 19:56:01.995423
8635 defaults_transport_cost_reminder_id     \N      2018-11-30 19:56:02.018688
8636 delete_cvars_on_trans_deletion_fix1     \N      2018-11-30 19:56:02.02745
8637 oe_ar_ap_delivery_orders_edit_notes_as_html     \N      2018-11-30 19:56:02.055665
8638 price_rules_cascade_delete      \N      2018-11-30 19:56:02.062784
8639 recorditem_active_record_source \N      2018-11-30 19:56:02.097336
8640 remove_redundant_cvar_delete_triggers   \N      2018-11-30 19:56:02.255687
8641 requirement_spec_parts_foreign_key_cascade      \N      2018-11-30 19:56:02.277195
8642 taxzone_sortkey \N      2018-11-30 19:56:02.283896
8643 transfer_out_sales_invoice      \N      2018-11-30 19:56:02.296391
8644 ar_ap_fix_notes_as_html_for_non_invoices        \N      2018-11-30 19:56:02.347814
8645 column_type_text_instead_of_varchar3    \N      2018-11-30 19:56:02.376546
8646 delete_cvars_on_trans_deletion_fix2     \N      2018-11-30 19:56:02.380593
8647 price_rules_discount    \N      2018-11-30 19:56:02.384504
8648 taxzone_default_id      \N      2018-11-30 19:56:02.38971
8649 change_taxzone_id_0     \N      2018-11-30 19:56:02.396636
8650 tax_zones_obsolete      \N      2018-11-30 19:56:02.42588
8651 taxzone_id_in_oe_delivery_orders        \N      2018-11-30 19:56:02.467415
8652 release_3_2_0   \N      2018-11-30 19:56:02.502253
8653 ar_ap_default   \N      2018-11-30 19:56:02.506427
8654 bank_accounts_unique_chart_constraint   \N      2018-11-30 19:56:02.522983
8655 bank_transactions       \N      2018-11-30 19:56:02.539866
8656 bankaccounts_reconciliation     \N      2018-11-30 19:56:02.580931
8657 bankaccounts_sortkey_and_obsolete       \N      2018-11-30 19:56:02.589744
8658 defaults_drop_delivery_plan_config      \N      2018-11-30 19:56:02.653749
8659 delete_invalidated_custom_variables_for_parts   \N      2018-11-30 19:56:02.659977
8660 invoices_amount_paid_not_null   \N      2018-11-30 19:56:02.665446
8661 letter  \N      2018-11-30 19:56:02.700442
8662 payment_terms_automatic_calculation     \N      2018-11-30 19:56:02.730977
8663 remove_terms_add_payment_id     \N      2018-11-30 19:56:02.740121
8664 sepa_items_payment_type \N      2018-11-30 19:56:02.760265
8665 tax_skonto_automatic    \N      2018-11-30 19:56:02.766946
8666 automatic_reconciliation        \N      2018-11-30 19:56:02.831818
8667 letter_country_page     \N      2018-11-30 19:56:02.875924
8668 letter_date_type        \N      2018-11-30 19:56:02.880335
8669 letter_draft    \N      2018-11-30 19:56:02.912831
8670 letter_reference        \N      2018-11-30 19:56:02.955158
8671 letter_emplyee_salesman \N      2018-11-30 19:56:02.988352
8672 use_html_in_letter      \N      2018-11-30 19:56:02.996959
8673 letter_notes_internal   \N      2018-11-30 19:56:03.003208
8674 letter_cp_id    \N      2018-11-30 19:56:03.039006
8675 release_3_3_0   \N      2018-11-30 19:56:03.067277
8676 add_project_defaults    \N      2018-11-30 19:56:03.070344
8677 buchungsgruppen_forein_keys     \N      2018-11-30 19:56:03.155929
8678 chart_pos_er    \N      2018-11-30 19:56:03.190929
8679 customer_vendor_shipto_add_gln  \N      2018-11-30 19:56:04.106585
8680 defaults_add_features   \N      2018-11-30 19:56:04.115246
8681 defaults_order_warn_duplicate_parts     \N      2018-11-30 19:56:04.419568
8682 defaults_show_longdescription_select_item       \N      2018-11-30 19:56:04.524557
8683 email_journal   \N      2018-11-30 19:56:04.603919
8684 periodic_invoices_direct_debit_flag     \N      2018-11-30 19:56:04.718257
8685 project_mtime_trigger   \N      2018-11-30 19:56:04.761914
8686 remove_index    \N      2018-11-30 19:56:04.767183
8687 sepa_contained_in_message_ids   \N      2018-11-30 19:56:04.939482
8688 defaults_enable_email_journal   \N      2018-11-30 19:56:05.014202
8689 release_3_4_0   \N      2018-11-30 19:56:05.072335
8690 add_parts_price_history \N      2018-11-30 19:56:05.084919
8691 defaults_add_quick_search_modules       \N      2018-11-30 19:56:05.139561
8692 delete_from_generic_translations_on_language_deletion   \N      2018-11-30 19:56:05.1508
8693 letter_cleanup  \N      2018-11-30 19:56:05.183375
8694 payment_terms_for_invoices      \N      2018-11-30 19:56:05.216678
8695 periodic_invoices_send_email    \N      2018-11-30 19:56:05.232662
8696 transfer_type_assembled \N      2018-11-30 19:56:05.265398
8697 add_parts_price_history2        \N      2018-11-30 19:56:05.290026
8698 inventory_fix_shippingdate_assemblies   \N      2018-11-30 19:56:05.295348
8699 release_3_4_1   \N      2018-11-30 19:56:05.300693
8700 add_stocktaking_preselects_client_config_default        michael 2021-01-16 23:40:30.58469
8701 transfer_type_stocktaking       michael 2021-01-16 23:40:31.412921
8702 add_stocktaking_qty_threshold_client_config_default     michael 2021-01-16 23:40:31.625275
8703 auto_delete_sepa_export_items_on_ap_ar_deletion michael 2021-01-16 23:40:32.228015
8704 csv_mt940_add_profile   michael 2021-01-16 23:40:32.518712
8705 re_add_sepa_export_items_foreign_keys   michael 2021-01-16 23:40:32.564432
8706 requirement_spec_items_price_factor     michael 2021-01-16 23:40:32.642578
8707 defaults_bcc_to_login   michael 2021-01-16 23:40:32.696085
8708 delete_cvars_on_trans_deletion_add_shipto       michael 2021-01-16 23:40:32.738113
8709 create_part_if_not_found        michael 2021-01-16 23:40:32.961663
8710 bank_transactions_type  michael 2021-01-16 23:40:33.031552
8711 auto_delete_reconciliation_links_on_acc_trans_deletion  michael 2021-01-16 23:40:33.060787
8712 bank_transactions_type2 michael 2021-01-16 23:40:33.151907
8713 inventory_shippingdate_not_null michael 2021-01-16 23:40:33.160807
8714 add_test_mode_to_csv_import_report      michael 2021-01-16 23:40:33.173339
8715 add_warehouse_for_assembly      michael 2021-01-16 23:40:33.212551
8716 assembly_parts_foreign_key      michael 2021-01-16 23:40:33.247233
8717 assembly_position       michael 2021-01-16 23:40:33.335202
8718 create_record_template_tables   michael 2021-01-16 23:40:33.341782
8719 customer_klass_rename_to_pricegroup_id_and_foreign_key  michael 2021-01-16 23:40:33.544404
8720 defaults_add_feature_experimental       michael 2021-01-16 23:40:33.590079
8721 defaults_add_finanzamt_data     michael 2021-01-16 23:40:33.645565
8722 eur_bwa_category_views  michael 2021-01-16 23:40:33.665107
8723 filemanagement_feature  michael 2021-01-16 23:40:33.734956
8724 files   michael 2021-01-16 23:40:34.100462
8725 get_shipped_qty_config  michael 2021-01-16 23:40:34.139709
8726 letter_vendorletter     michael 2021-01-16 23:40:34.2561
8727 makemodel_add_vendor_foreign_key        michael 2021-01-16 23:40:34.29576
8728 part_classifications    michael 2021-01-16 23:40:34.35685
8729 part_type_enum  michael 2021-01-16 23:40:34.511701
8730 partsgroup_sortkey_obsolete     michael 2021-01-16 23:40:34.561047
8731 payment_terms_obsolete  michael 2021-01-16 23:40:34.607337
8732 periodic_invoices_order_value_periodicity2      michael 2021-01-16 23:40:34.647167
8733 pricegroup_sortkey_obsolete     michael 2021-01-16 23:40:34.658253
8734 prices_delete_cascade   michael 2021-01-16 23:40:34.722808
8735 prices_unique   michael 2021-01-16 23:40:34.777376
8736 remove_alternate_from_parts     michael 2021-01-16 23:40:34.800397
8737 sepa_export_items       michael 2021-01-16 23:40:34.808154
8738 sepa_reference_add_vc_vc_id     michael 2021-01-16 23:40:34.8179
8739 user_preferences        michael 2021-01-16 23:40:34.855644
8740 assembly_parts_foreign_key2     michael 2021-01-16 23:40:34.893172
8741 assortment_items        michael 2021-01-16 23:40:34.912997
8742 convert_drafts_to_record_templates      michael 2021-01-16 23:40:34.958573
8743 defaults_add_feature_experimental2      michael 2021-01-16 23:40:35.024917
8744 defaults_filemanagement_remove_doc_database     michael 2021-01-16 23:40:35.092305
8745 displayable_name_prefs_defaults michael 2021-01-16 23:40:35.101786
8746 email_journal_attachments_add_fileid    michael 2021-01-16 23:40:35.113991
8747 part_classification_report_separate     michael 2021-01-16 23:40:35.147792
8748 part_remove_unneeded_fields     michael 2021-01-16 23:40:35.190285
8749 assortment_charge       michael 2021-01-16 23:40:35.203611
8750 release_3_5_0   michael 2021-01-16 23:40:35.22207
8751 alter_record_template_tables    michael 2021-01-16 23:40:35.229772
8752 custom_data_export      michael 2021-01-16 23:40:35.265952
8753 shops   michael 2021-01-16 23:40:35.347702
8754 trigram_extension       michael 2021-01-16 23:40:35.372111
8755 custom_data_export_default_values_for_parameters        michael 2021-01-16 23:40:35.729949
8756 customer_orderlock      michael 2021-01-16 23:40:35.749169
8757 shop_1  michael 2021-01-16 23:40:35.830864
8758 shop_2  michael 2021-01-16 23:40:35.894373
8759 shop_3  michael 2021-01-16 23:40:35.904605
8760 shop_orders     michael 2021-01-16 23:40:35.964169
8761 shop_parts      michael 2021-01-16 23:40:36.014721
8762 trigram_indices michael 2021-01-16 23:40:36.058484
8763 trigram_indices_webshop michael 2021-01-16 23:40:36.147532
8764 shop_orders_add_active_price_source     michael 2021-01-16 23:40:36.157795
8765 shopimages      michael 2021-01-16 23:40:36.166391
8766 shop_orders_update_1    michael 2021-01-16 23:40:36.24673
8767 shopimages_2    michael 2021-01-16 23:40:36.275103
8768 shopimages_3    michael 2021-01-16 23:40:36.284092
8769 shop_orders_update_2    michael 2021-01-16 23:40:36.29175
8770 shop_orders_update_3    michael 2021-01-16 23:40:36.309621
8771 release_3_5_1   michael 2021-01-16 23:40:36.318018
8772 create_part_customerprices      michael 2021-01-16 23:40:36.323446
8773 datev_export_format     michael 2021-01-16 23:40:36.363188
8774 stocktakings    michael 2021-01-16 23:40:36.414757
8775 release_3_5_2   michael 2021-01-16 23:40:36.44582
8776 accounts_tax_office_leonberg    michael 2021-01-16 23:40:36.454251
8777 defaults_order_warn_no_deliverydate     michael 2021-01-16 23:40:36.533032
8778 sepa_recommended_execution_date michael 2021-01-16 23:40:36.576618
8779 release_3_5_3   michael 2021-01-16 23:40:36.679454
8780 add_emloyee_project_assignment_for_viewing_invoices     michael 2021-01-16 23:40:36.686634
8781 bank_transactions_check_constraint_invoice_amount       michael 2021-01-16 23:40:36.704924
8782 contacts_add_main_contact       michael 2021-01-16 23:40:36.715044
8783 customer_add_commercial_court   michael 2021-01-16 23:40:36.759885
8784 customer_add_fields     michael 2021-01-16 23:40:36.76751
8785 customer_add_generic_mail_delivery      michael 2021-01-16 23:40:36.777481
8786 defaults_delivery_date_interval michael 2021-01-16 23:40:36.785329
8787 defaults_doc_email_attachment   michael 2021-01-16 23:40:36.840007
8788 defaults_invoice_mail_priority  michael 2021-01-16 23:40:36.993982
8789 defaults_set_dunning_creator    michael 2021-01-16 23:40:37.036143
8790 drop_payment_terms_ranking      michael 2021-01-16 23:40:37.076804
8791 dunning_foreign_key_for_trans_id        michael 2021-01-16 23:40:37.088044
8792 record_links_bt_acc_trans       michael 2021-01-16 23:40:37.12479
8793 record_links_post_delete_triggers_gl2   michael 2021-01-16 23:40:37.156066
8794 remove_comma_aggregate_functions        michael 2021-01-16 23:40:37.239148
8795 release_3_5_4   michael 2021-01-16 23:40:37.254006
8796 add_node_id_to_background_jobs  michael 2021-01-16 23:40:37.258937
8797 bank_transaction_acc_trans_remove_wrong_primary_key     michael 2021-01-16 23:40:37.266506
8798 bank_transactions_nuke_trailing_spaces_in_purpose       michael 2021-01-16 23:40:37.274411
8799 defaults_split_address  michael 2021-01-16 23:40:37.283971
8800 defaults_workflow_po_ap_chart_id        michael 2021-01-16 23:40:37.316713
8801 defaults_year_end_charts        michael 2021-01-16 23:40:37.325699
8802 inventory_itime_parts_id_index  michael 2021-01-16 23:40:37.343525
8803 inventory_parts_id_index        michael 2021-01-16 23:40:37.363435
8804 tax_removed_taxnumber   michael 2021-01-16 23:40:37.37719
8805 release_3_5_5   michael 2021-01-16 23:40:37.411376
8806 bank_account_flag_for_zugferd_usage     michael 2021-01-16 23:40:37.418934
8807 contact_departments_own_table   michael 2021-01-16 23:40:37.43411
8808 contact_titles_own_table        michael 2021-01-16 23:40:37.465453
8809 customer_create_zugferd_invoices        michael 2021-01-16 23:40:37.501408
8810 customer_vendor_add_natural_person      michael 2021-01-16 23:40:37.54232
8811 defaults_contact_departments_use_textfield      michael 2021-01-16 23:40:37.638688
8812 defaults_contact_titles_use_textfield   michael 2021-01-16 23:40:37.648428
8813 defaults_create_zugferd_data    michael 2021-01-16 23:40:37.657516
8814 defaults_vc_greetings_use_textfield     michael 2021-01-16 23:40:37.670689
8815 dunning_config_print_original_invoice   michael 2021-01-16 23:40:37.67969
8816 exchangerate_in_oe      michael 2021-01-16 23:40:37.688851
8817 gl_add_deliverydate     michael 2021-01-16 23:40:37.720975
8818 greetings_own_table     michael 2021-01-16 23:40:37.730298
8819 konjunkturpaket_2020_SKR03      michael 2021-01-16 23:40:37.788147
8820 remove_double_tax_entries_skr04 michael 2021-01-16 23:40:37.942349
8821 remove_taxkey_15_17_skr04       michael 2021-01-16 23:40:37.952378
8822 defaults_zugferd_test_mode      michael 2021-01-16 23:40:37.964377
8823 konjunkturpaket_2020_SKR04      michael 2021-01-16 23:40:38.016065
8824 konjunkturpaket_2020    michael 2021-01-16 23:40:38.053275
8825 konjunkturpaket_2020_SKR04-korrekturen  michael 2021-01-16 23:40:38.132741
8826 konjunkturpaket_2020_SKR03-korrekturen  michael 2021-01-16 23:40:38.150544
8827 release_3_5_6   michael 2021-01-16 23:40:38.164561
8828 alter_default_shipped_qty_config        michael 2021-01-16 23:40:38.172842
8829 ap_set_payment_term_from_vendor michael 2021-01-16 23:40:38.183237
8830 transfer_out_serial_charge_number       michael 2021-01-16 23:40:38.190564
8831 release_3_5_6_1 michael 2021-01-16 23:40:38.235462
8832 link_requirement_spec_to_orders_created_from_quotations_created_from_requirement_spec   michael 2023-12-16 23:40:34.587493
8833 cvars_remove_duplicate_entries  michael 2023-12-16 23:40:34.609593
8834 ap_gl   michael 2023-12-16 23:40:34.621889
8835 shop_4  michael 2023-12-16 23:40:34.639841
8836 shops_5 michael 2023-12-16 23:40:34.650623
8837 file_storage_type_letter        michael 2023-12-16 23:40:34.65891
8838 shop_add_proxy  michael 2023-12-16 23:40:34.671228
8839 file_storage_type_dunning_orig_invoice  michael 2023-12-16 23:40:34.679351
8840 file_storage_dunning_invoice    michael 2023-12-16 23:40:34.693469
8841 file_storage_dunning_documents  michael 2023-12-16 23:40:34.707669
8842 file_storage_project    michael 2023-12-16 23:40:34.718796
8843 shop_orders_update_4    michael 2023-12-16 23:40:34.730785
8844 file_storage_partial_invoices   michael 2023-12-16 23:40:34.801845
8845 add_gl_imported michael 2023-12-16 23:40:34.814718
8846 customer_vendor_routing_id      michael 2023-12-16 23:40:34.822975
8847 add_transfer_doc_interval       michael 2023-12-16 23:40:34.832677
8848 bank_account_information_for_swiss_qrbill       michael 2023-12-16 23:40:34.842275
8849 custom_variables_add_edit_position      michael 2023-12-16 23:40:34.855099
8850 customer_vendor_add_postal_invoice      michael 2023-12-16 23:40:34.869355
8851 defaults_create_qrbill_data     michael 2023-12-16 23:40:34.878136
8852 defaults_customer_vendor_ustid_taxnummer_unique michael 2023-12-16 23:40:34.897812
8853 defaults_delivery_orders_check_stocked  michael 2023-12-16 23:40:34.911498
8854 defaults_posting_records_add    michael 2023-12-16 23:40:34.922328
8855 defaults_req_delivery_date      michael 2023-12-16 23:40:34.940033
8856 defaults_transfer_settings      michael 2023-12-16 23:40:34.950923
8857 dunning_original_invoice_printed        michael 2023-12-16 23:40:34.966584
8858 orderitems_optional     michael 2023-12-16 23:40:35.00464
8859 record_links_dunning_post_delete_trigger        michael 2023-12-16 23:40:35.021152
8860 record_template_payment_id      michael 2023-12-16 23:40:35.051842
8861 tax_point       michael 2023-12-16 23:40:35.060696
8862 time_recordings michael 2023-12-16 23:40:35.074962
8863 defaults_posting_records_default_false  michael 2023-12-16 23:40:35.124259
8864 defaults_qrbill_variants        michael 2023-12-16 23:40:35.146036
8865 tax_point2      michael 2023-12-16 23:40:35.18613
8866 time_recordings2        michael 2023-12-16 23:40:35.196949
8867 time_recordings_articles        michael 2023-12-16 23:40:35.206823
8868 time_recordings_date_duration   michael 2023-12-16 23:40:35.232489
8869 time_recordings_remove_type     michael 2023-12-16 23:40:35.252591
8870 time_recordings_add_order       michael 2023-12-16 23:40:35.300994
8871 release_3_5_7   michael 2023-12-16 23:40:35.309827
8872 change_warehouse_client_config_default  michael 2023-12-16 23:40:35.318396
8873 defaults_produce_assembly_transfer_service      michael 2023-12-16 23:40:35.326954
8874 delete_warehouse_for_assembly   michael 2023-12-16 23:40:35.336827
8875 drop_shipped_qty_config michael 2023-12-16 23:40:35.346106
8876 release_3_5_8   michael 2023-12-16 23:40:35.357944
8877 add_gl_transaction_description  michael 2023-12-16 23:40:35.364501
8878 add_record_templates_transaction_description    michael 2023-12-16 23:40:35.37189
8879 ar_add_qrbill_without_amount    michael 2023-12-16 23:40:35.379889
8880 convert_columns_to_html_for_sending_html_emails michael 2023-12-16 23:40:35.395529
8881 custom_variables_convert_width_height_to_pixels michael 2023-12-16 23:40:35.411334
8882 customer_additional_billing_addresses   michael 2023-12-16 23:40:35.42111
8883 defaults_invoice_warn_no_delivery_order michael 2023-12-16 23:40:35.466469
8884 defaults_order_controller       michael 2023-12-16 23:40:35.474294
8885 defaults_order_warn_no_cusordnumber     michael 2023-12-16 23:40:35.483332
8886 defaults_partsgroup_required    michael 2023-12-16 23:40:35.492686
8887 defaults_print_interpolate_variables_in_positions       michael 2023-12-16 23:40:35.50251
8888 defaults_sales_purchase_record_numbers_changeable       michael 2023-12-16 23:40:35.550433
8889 defaults_view_record_links      michael 2023-12-16 23:40:35.559225
8890 deliveryorder_transnumbers      michael 2023-12-16 23:40:35.569624
8891 deliveryorder_type      michael 2023-12-16 23:40:35.581251
8892 files_add_variant       michael 2023-12-16 23:40:35.592775
8893 new_chart_1593_1495     michael 2023-12-16 23:40:35.603336
8894 new_chart_3260_1711     michael 2023-12-16 23:40:35.617575
8895 new_chart_3272_1718     michael 2023-12-16 23:40:35.628546
8896 convert_columns_to_html_for_sending_html_emails2        michael 2023-12-16 23:40:35.645818
8897 customer_remove_empty_additional_billing_addresses      michael 2023-12-16 23:40:35.654736
8898 defaults_advance_payment_clearing_chart_id      michael 2023-12-16 23:40:35.663407
8899 defaults_advance_payment_transfer_charts        michael 2023-12-16 23:40:35.67778
8900 release_3_6_0   michael 2023-12-16 23:40:35.699868
8901 convert_real_qty        michael 2023-12-16 23:40:35.707491
8902 defaults_invoice_prevent_browser_back   michael 2023-12-16 23:40:35.79653
8903 delete_wrong_charts_for_taxkeys michael 2023-12-16 23:40:35.812153
8904 delete_wrong_charts_for_taxkeys_04      michael 2023-12-16 23:40:35.838207
8905 file_full_texts michael 2023-12-16 23:40:35.845515
8906 full_texts_background_job       michael 2023-12-16 23:40:35.875381
8907 language_obsolete       michael 2023-12-16 23:40:35.884557
8908 record_links_remove_to_quotation        michael 2023-12-16 23:40:35.895709
8909 remove_oids     michael 2023-12-16 23:40:35.905782
8910 tax_reverse_charge      michael 2023-12-16 23:40:35.919304
8911 clean_tax_18_19 michael 2023-12-16 23:40:35.945126
8912 tax_reverse_charge_key_18       michael 2023-12-16 23:40:35.975985
8913 tax_reverse_charge_key_19       michael 2023-12-16 23:40:35.99041
8914 release_3_6_1   michael 2023-12-16 23:40:36.008628
8915 \.
8916
8917
8918 --
8919 -- Data for Name: sepa_export; Type: TABLE DATA; Schema: public; Owner: kivitendo
8920 --
8921
8922 COPY public.sepa_export (id, employee_id, executed, closed, itime, vc) FROM stdin;
8923 \.
8924
8925
8926 --
8927 -- Data for Name: sepa_export_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
8928 --
8929
8930 COPY public.sepa_export_items (id, sepa_export_id, ap_id, chart_id, amount, reference, requested_execution_date, executed, execution_date, our_iban, our_bic, vc_iban, vc_bic, end_to_end_id, our_depositor, vc_depositor, ar_id, vc_mandator_id, vc_mandate_date_of_signature, payment_type, skonto_amount) FROM stdin;
8931 \.
8932
8933
8934 --
8935 -- Data for Name: sepa_export_message_ids; Type: TABLE DATA; Schema: public; Owner: kivitendo
8936 --
8937
8938 COPY public.sepa_export_message_ids (id, sepa_export_id, message_id) FROM stdin;
8939 \.
8940
8941
8942 --
8943 -- Data for Name: shipto; Type: TABLE DATA; Schema: public; Owner: kivitendo
8944 --
8945
8946 COPY public.shipto (trans_id, shiptoname, shiptodepartment_1, shiptodepartment_2, shiptostreet, shiptozipcode, shiptocity, shiptocountry, shiptocontact, shiptophone, shiptofax, shiptoemail, itime, mtime, module, shipto_id, shiptocp_gender, shiptogln) FROM stdin;
8947 \.
8948
8949
8950 --
8951 -- Data for Name: shop_images; Type: TABLE DATA; Schema: public; Owner: kivitendo
8952 --
8953
8954 COPY public.shop_images (id, file_id, "position", thumbnail_content, org_file_width, org_file_height, thumbnail_content_type, itime, mtime, object_id) FROM stdin;
8955 \.
8956
8957
8958 --
8959 -- Data for Name: shop_order_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
8960 --
8961
8962 COPY public.shop_order_items (id, shop_trans_id, shop_order_id, description, partnumber, "position", tax_rate, quantity, price, active_price_source) FROM stdin;
8963 \.
8964
8965
8966 --
8967 -- Data for Name: shop_orders; Type: TABLE DATA; Schema: public; Owner: kivitendo
8968 --
8969
8970 COPY public.shop_orders (id, shop_trans_id, shop_ordernumber, shop_customer_comment, amount, netamount, order_date, shipping_costs, shipping_costs_net, shipping_costs_id, tax_included, payment_id, payment_description, shop_id, host, remote_ip, transferred, transfer_date, kivi_customer_id, shop_customer_id, shop_customer_number, customer_lastname, customer_firstname, customer_company, customer_street, customer_zipcode, customer_city, customer_country, customer_greeting, customer_department, customer_vat, customer_phone, customer_fax, customer_email, customer_newsletter, shop_c_billing_id, shop_c_billing_number, billing_lastname, billing_firstname, billing_company, billing_street, billing_zipcode, billing_city, billing_country, billing_greeting, billing_department, billing_vat, billing_phone, billing_fax, billing_email, sepa_account_holder, sepa_iban, sepa_bic, shop_c_delivery_id, shop_c_delivery_number, delivery_lastname, delivery_firstname, delivery_company, delivery_street, delivery_zipcode, delivery_city, delivery_country, delivery_greeting, delivery_department, delivery_vat, delivery_phone, delivery_fax, delivery_email, obsolete, positions, itime, mtime) FROM stdin;
8971 \.
8972
8973
8974 --
8975 -- Data for Name: shop_parts; Type: TABLE DATA; Schema: public; Owner: kivitendo
8976 --
8977
8978 COPY public.shop_parts (id, shop_id, part_id, shop_description, itime, mtime, last_update, show_date, sortorder, front_page, active, shop_category, active_price_source, metatag_keywords, metatag_description, metatag_title) FROM stdin;
8979 \.
8980
8981
8982 --
8983 -- Data for Name: shops; Type: TABLE DATA; Schema: public; Owner: kivitendo
8984 --
8985
8986 COPY public.shops (id, description, obsolete, sortkey, connector, pricetype, price_source, taxzone_id, last_order_number, orders_to_fetch, server, port, login, password, protocol, path, realm, transaction_description, itime, mtime, shipping_costs_parts_id, use_part_longdescription, proxy) FROM stdin;
8987 \.
8988
8989
8990 --
8991 -- Data for Name: status; Type: TABLE DATA; Schema: public; Owner: kivitendo
8992 --
8993
8994 COPY public.status (trans_id, formname, printed, emailed, spoolfile, chart_id, itime, mtime, id) FROM stdin;
8995 \.
8996
8997
8998 --
8999 -- Data for Name: stocktakings; Type: TABLE DATA; Schema: public; Owner: kivitendo
9000 --
9001
9002 COPY public.stocktakings (id, inventory_id, warehouse_id, bin_id, parts_id, employee_id, qty, comment, chargenumber, bestbefore, cutoff_date, itime, mtime) FROM stdin;
9003 \.
9004
9005
9006 --
9007 -- Data for Name: tax; Type: TABLE DATA; Schema: public; Owner: kivitendo
9008 --
9009
9010 COPY public.tax (chart_id, rate, taxkey, taxdescription, itime, mtime, id, chart_categories, skonto_sales_chart_id, skonto_purchase_chart_id, reverse_charge_chart_id) FROM stdin;
9011 776     0.19000 9       Vorsteuer       2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      778     E       \N      43      \N
9012 259     0.07000 8       Vorsteuer       2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      380     E       \N      42      \N
9013 194     0.07000 2       Umsatzsteuer    2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      378     I       161     \N      \N
9014 775     0.19000 3       Umsatzsteuer    2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      777     I       162     \N      \N
9015 \N      0.00000 0       Keine Steuer    2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      0       ALQCIE  \N      \N      \N
9016 \N      0.00000 1       USt-frei        2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      377     ALQCIE  \N      \N      \N
9017 263     0.05000 2       Umsatzsteuer    2021-01-16 23:40:37.788147      \N      899     I       893     \N      \N
9018 897     0.05000 8       Vorsteuer       2021-01-16 23:40:37.788147      \N      900     E       \N      894     \N
9019 195     0.16000 3       Umsatzsteuer    2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      379     I       895     \N      \N
9020 261     0.16000 9       Vorsteuer       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      381     E       \N      896     \N
9021 196     0.00000 10      Im anderen EU-Staat steuerpflichtige Lieferung  2018-11-30 19:55:43.8645        2018-11-30 19:56:00.564361      382     I       \N      \N      \N
9022 \N      0.00000 11      Steuerfreie innergem. Lieferung an Abnehmer mit Id.-Nr. 2018-11-30 19:55:43.8645        2018-11-30 19:56:00.564361      383     I       \N      \N      \N
9023 262     0.07000 12      Steuerpflichtige EG-Lieferung zum ermäßigten Steuersatz       2018-11-30 19:55:43.8645        2018-11-30 19:56:00.564361      384     I       \N      \N      \N
9024 864     0.19000 13      Steuerpflichtige EG-Lieferung zum vollen Steuersatz     2018-11-30 19:55:46.317645      2018-11-30 19:56:00.564361      865     I       \N      \N      \N
9025 \N      0.16000 13      Steuerpflichtige EG-Lieferung zum vollen Steuersatz     2018-11-30 19:55:43.8645        2023-12-16 23:40:35.812153      385     I       \N      \N      \N
9026 258     0.07000 18      Stpf. innergemeinschaftlicher Erwerb zum verminderten Vor- und Ust.-satz        2023-12-16 23:40:35.975985      \N      1117    EI      \N      \N      262
9027 284     0.19000 94      19% Vorsteuer und 19% Umsatzsteuer      2023-12-16 23:40:35.919304      2023-12-16 23:40:35.99041       1115    EI      \N      \N      1114
9028 863     0.19000 19      Stpf. innergemeinschaftlicher Erwerb zum vollem Vor- und Ust.-satz      2023-12-16 23:40:35.99041       \N      1118    EI      \N      \N      864
9029 \.
9030
9031
9032 --
9033 -- Data for Name: tax_zones; Type: TABLE DATA; Schema: public; Owner: kivitendo
9034 --
9035
9036 COPY public.tax_zones (id, description, sortkey, obsolete) FROM stdin;
9037 1       EU mit USt-ID Nummer    2       f
9038 2       EU ohne USt-ID Nummer   3       f
9039 3       Außerhalb EU   4       f
9040 4       Inland  1       f
9041 \.
9042
9043
9044 --
9045 -- Data for Name: taxkeys; Type: TABLE DATA; Schema: public; Owner: kivitendo
9046 --
9047
9048 COPY public.taxkeys (id, chart_id, tax_id, taxkey_id, pos_ustva, startdate) FROM stdin;
9049 898     897     0       0       66      1970-01-01
9050 901     893     899     2       861     2020-07-01
9051 902     894     900     8       861     2020-07-01
9052 904     896     381     9       66      2020-07-01
9053 905     1       381     9       \N      2020-07-01
9054 906     1       778     9       \N      2021-01-01
9055 907     2       381     9       \N      2020-07-01
9056 908     2       778     9       \N      2021-01-01
9057 909     3       381     9       \N      2020-07-01
9058 910     3       778     9       \N      2021-01-01
9059 911     4       381     9       \N      2020-07-01
9060 912     4       778     9       \N      2021-01-01
9061 913     5       381     9       \N      2020-07-01
9062 914     5       778     9       \N      2021-01-01
9063 915     6       381     9       \N      2020-07-01
9064 916     6       778     9       \N      2021-01-01
9065 917     7       381     9       \N      2020-07-01
9066 918     7       778     9       \N      2021-01-01
9067 919     8       381     9       \N      2020-07-01
9068 920     8       778     9       \N      2021-01-01
9069 921     9       381     9       \N      2020-07-01
9070 922     9       778     9       \N      2021-01-01
9071 923     10      381     9       \N      2020-07-01
9072 924     10      778     9       \N      2021-01-01
9073 925     11      381     9       \N      2020-07-01
9074 926     11      778     9       \N      2021-01-01
9075 927     776     381     9       66      2020-07-01
9076 928     776     778     9       66      2021-01-01
9077 931     335     381     9       \N      2020-07-01
9078 932     335     778     9       \N      2021-01-01
9079 934     319     378     2       86      2021-01-01
9080 936     320     777     3       81      2021-01-01
9081 938     353     777     3       81      2021-01-01
9082 940     362     777     3       81      2021-01-01
9083 941     35      381     9       \N      2020-07-01
9084 942     35      778     9       \N      2021-01-01
9085 943     281     381     9       0       2020-07-01
9086 944     281     778     9       0       2021-01-01
9087 945     292     381     9       \N      2020-07-01
9088 946     292     778     9       \N      2021-01-01
9089 947     293     900     8       \N      2020-07-01
9090 948     293     380     8       \N      2021-01-01
9091 949     294     381     9       \N      2020-07-01
9092 950     294     778     9       \N      2021-01-01
9093 951     36      900     8       \N      2020-07-01
9094 952     36      380     8       \N      2021-01-01
9095 953     37      381     9       \N      2020-07-01
9096 954     37      778     9       \N      2021-01-01
9097 955     42      900     8       \N      2020-07-01
9098 956     42      380     8       \N      2021-01-01
9099 957     43      381     9       \N      2020-07-01
9100 958     43      778     9       \N      2021-01-01
9101 959     44      900     8       \N      2020-07-01
9102 960     44      380     8       \N      2021-01-01
9103 961     45      381     9       \N      2020-07-01
9104 962     45      778     9       \N      2021-01-01
9105 963     46      900     8       \N      2020-07-01
9106 964     46      380     8       \N      2021-01-01
9107 965     47      381     9       \N      2020-07-01
9108 966     47      778     9       \N      2021-01-01
9109 967     68      381     9       \N      2020-07-01
9110 968     68      778     9       \N      2021-01-01
9111 969     69      381     9       \N      2020-07-01
9112 970     69      778     9       \N      2021-01-01
9113 971     71      381     9       \N      2020-07-01
9114 972     71      778     9       \N      2021-01-01
9115 973     72      381     9       \N      2020-07-01
9116 974     72      778     9       \N      2021-01-01
9117 975     73      381     9       \N      2020-07-01
9118 976     73      778     9       \N      2021-01-01
9119 977     74      381     9       \N      2020-07-01
9120 978     74      778     9       \N      2021-01-01
9121 979     75      381     9       \N      2020-07-01
9122 980     75      778     9       \N      2021-01-01
9123 981     85      381     9       \N      2020-07-01
9124 982     85      778     9       \N      2021-01-01
9125 983     89      381     9       \N      2020-07-01
9126 984     89      778     9       \N      2021-01-01
9127 985     92      381     9       \N      2020-07-01
9128 986     92      778     9       \N      2021-01-01
9129 987     93      381     9       \N      2020-07-01
9130 988     93      778     9       \N      2021-01-01
9131 989     94      381     9       \N      2020-07-01
9132 990     94      778     9       \N      2021-01-01
9133 991     95      381     9       \N      2020-07-01
9134 992     95      778     9       \N      2021-01-01
9135 993     96      381     9       \N      2020-07-01
9136 994     96      778     9       \N      2021-01-01
9137 995     97      381     9       \N      2020-07-01
9138 996     97      778     9       \N      2021-01-01
9139 997     98      381     9       \N      2020-07-01
9140 998     98      778     9       \N      2021-01-01
9141 999     269     381     9       \N      2020-07-01
9142 1000    269     778     9       \N      2021-01-01
9143 1001    100     381     9       \N      2020-07-01
9144 1002    100     778     9       \N      2021-01-01
9145 1003    101     900     8       \N      2020-07-01
9146 1004    101     380     8       \N      2021-01-01
9147 1005    105     381     9       \N      2020-07-01
9148 1006    105     778     9       \N      2021-01-01
9149 1007    106     900     8       \N      2020-07-01
9150 1008    106     380     8       \N      2021-01-01
9151 1009    116     381     9       \N      2020-07-01
9152 1010    116     778     9       \N      2021-01-01
9153 1011    270     381     9       \N      2020-07-01
9154 1012    270     778     9       \N      2021-01-01
9155 1013    117     381     9       \N      2020-07-01
9156 1014    117     778     9       \N      2021-01-01
9157 1015    118     381     9       \N      2020-07-01
9158 1016    118     778     9       \N      2021-01-01
9159 1017    126     381     9       \N      2020-07-01
9160 1018    126     778     9       \N      2021-01-01
9161 1019    127     381     9       \N      2020-07-01
9162 1020    127     778     9       \N      2021-01-01
9163 1021    130     381     9       \N      2020-07-01
9164 1022    130     778     9       \N      2021-01-01
9165 1023    131     381     9       \N      2020-07-01
9166 1024    131     778     9       \N      2021-01-01
9167 1025    132     381     9       \N      2020-07-01
9168 1026    132     778     9       \N      2021-01-01
9169 1027    133     900     8       \N      2020-07-01
9170 1028    133     380     8       \N      2021-01-01
9171 1029    134     381     9       \N      2020-07-01
9172 1030    134     778     9       \N      2021-01-01
9173 1031    136     381     9       \N      2020-07-01
9174 1032    136     778     9       \N      2021-01-01
9175 1033    137     381     9       \N      2020-07-01
9176 1034    137     778     9       \N      2021-01-01
9177 1035    138     381     9       \N      2020-07-01
9178 1036    138     778     9       \N      2021-01-01
9179 1037    139     381     9       \N      2020-07-01
9180 1038    139     778     9       \N      2021-01-01
9181 1039    247     381     9       \N      2020-07-01
9182 1040    247     778     9       \N      2021-01-01
9183 1041    140     381     9       \N      2020-07-01
9184 1042    140     778     9       \N      2021-01-01
9185 1043    142     381     9       \N      2020-07-01
9186 1044    142     778     9       \N      2021-01-01
9187 1045    143     381     9       \N      2020-07-01
9188 1046    143     778     9       \N      2021-01-01
9189 1048    88      378     2       86      2021-01-01
9190 1050    184     777     3       81      2021-01-01
9191 1052    153     777     3       81      2021-01-01
9192 1054    154     378     2       86      2021-01-01
9193 1056    155     777     3       81      2021-01-01
9194 1057    156     379     3       \N      2020-07-01
9195 1058    156     777     3       \N      2021-01-01
9196 1060    157     777     3       81      2021-01-01
9197 1062    158     378     2       86      2021-01-01
9198 1064    159     777     3       81      2021-01-01
9199 1066    160     777     3       81      2021-01-01
9200 1068    343     378     2       86      2021-01-01
9201 1070    344     777     3       81      2021-01-01
9202 1072    161     378     2       86      2021-01-01
9203 1074    162     777     3       81      2021-01-01
9204 1076    163     378     2       86      2021-01-01
9205 1078    164     777     3       81      2021-01-01
9206 1080    165     378     2       86      2021-01-01
9207 1082    166     777     3       81      2021-01-01
9208 1084    185     777     3       81      2021-01-01
9209 1086    276     777     3       81      2021-01-01
9210 1088    167     777     3       81      2021-01-01
9211 1089    168     379     3       \N      2020-07-01
9212 1090    168     777     3       \N      2021-01-01
9213 1092    171     777     3       81      2021-01-01
9214 1094    172     378     2       86      2021-01-01
9215 1096    300     777     3       81      2021-01-01
9216 1098    175     777     3       81      2021-01-01
9217 1100    176     378     2       86      2021-01-01
9218 1102    177     777     3       81      2021-01-01
9219 1104    302     777     3       81      2021-01-01
9220 1106    303     378     2       86      2021-01-01
9221 929     194     0       0       861     2020-07-01
9222 930     194     0       0       861     2021-01-01
9223 933     319     899     2       35      2020-07-01
9224 1047    88      899     2       35      2020-07-01
9225 1053    154     899     2       35      2020-07-01
9226 1061    158     899     2       35      2020-07-01
9227 1067    343     899     2       35      2020-07-01
9228 1071    161     899     2       35      2020-07-01
9229 1075    163     899     2       35      2020-07-01
9230 1079    165     899     2       35      2020-07-01
9231 1093    172     899     2       35      2020-07-01
9232 1099    176     899     2       35      2020-07-01
9233 1105    303     899     2       35      2020-07-01
9234 903     895     379     3       35      2020-07-01
9235 935     320     379     3       35      2020-07-01
9236 937     353     379     3       35      2020-07-01
9237 939     362     379     3       35      2020-07-01
9238 1049    184     379     3       35      2020-07-01
9239 1051    153     379     3       35      2020-07-01
9240 1055    155     379     3       35      2020-07-01
9241 1059    157     379     3       35      2020-07-01
9242 1063    159     379     3       35      2020-07-01
9243 1065    160     379     3       35      2020-07-01
9244 1069    344     379     3       35      2020-07-01
9245 1073    162     379     3       35      2020-07-01
9246 1077    164     379     3       35      2020-07-01
9247 1081    166     379     3       35      2020-07-01
9248 1083    185     379     3       35      2020-07-01
9249 1085    276     379     3       35      2020-07-01
9250 1087    167     379     3       35      2020-07-01
9251 1091    171     379     3       35      2020-07-01
9252 1095    300     379     3       35      2020-07-01
9253 1097    175     379     3       35      2020-07-01
9254 1101    177     379     3       35      2020-07-01
9255 1103    302     379     3       35      2020-07-01
9256 657     343     378     2       86      1970-01-01
9257 658     319     378     2       86      1970-01-01
9258 659     303     378     2       86      1970-01-01
9259 660     176     378     2       86      1970-01-01
9260 661     172     378     2       86      1970-01-01
9261 662     165     378     2       86      1970-01-01
9262 663     163     378     2       86      1970-01-01
9263 664     161     378     2       86      1970-01-01
9264 665     158     378     2       86      1970-01-01
9265 666     154     378     2       86      1970-01-01
9266 667     88      378     2       86      1970-01-01
9267 668     362     379     3       51      1970-01-01
9268 669     353     379     3       51      1970-01-01
9269 670     344     379     3       51      1970-01-01
9270 671     320     379     3       51      1970-01-01
9271 672     302     379     3       51      1970-01-01
9272 673     300     379     3       51      1970-01-01
9273 674     276     379     3       51      1970-01-01
9274 675     185     379     3       51      1970-01-01
9275 676     184     379     3       51      1970-01-01
9276 677     177     379     3       51      1970-01-01
9277 678     175     379     3       51      1970-01-01
9278 679     171     379     3       51      1970-01-01
9279 680     168     379     3       \N      1970-01-01
9280 681     167     379     3       51      1970-01-01
9281 682     166     379     3       51      1970-01-01
9282 683     164     379     3       51      1970-01-01
9283 684     162     379     3       51      1970-01-01
9284 685     160     379     3       51      1970-01-01
9285 686     159     379     3       51      1970-01-01
9286 687     157     379     3       51      1970-01-01
9287 689     155     379     3       51      1970-01-01
9288 690     153     379     3       51      1970-01-01
9289 691     293     380     8       \N      1970-01-01
9290 692     133     380     8       \N      1970-01-01
9291 693     106     380     8       \N      1970-01-01
9292 694     101     380     8       \N      1970-01-01
9293 695     46      380     8       \N      1970-01-01
9294 696     44      380     8       \N      1970-01-01
9295 697     42      380     8       \N      1970-01-01
9296 698     36      380     8       \N      1970-01-01
9297 699     335     381     9       \N      1970-01-01
9298 700     294     381     9       \N      1970-01-01
9299 701     292     381     9       \N      1970-01-01
9300 702     281     381     9       0       1970-01-01
9301 703     270     381     9       \N      1970-01-01
9302 704     269     381     9       \N      1970-01-01
9303 705     247     381     9       \N      1970-01-01
9304 706     143     381     9       \N      1970-01-01
9305 707     142     381     9       \N      1970-01-01
9306 708     140     381     9       \N      1970-01-01
9307 709     139     381     9       \N      1970-01-01
9308 710     138     381     9       \N      1970-01-01
9309 711     137     381     9       \N      1970-01-01
9310 712     136     381     9       \N      1970-01-01
9311 713     134     381     9       \N      1970-01-01
9312 714     132     381     9       \N      1970-01-01
9313 715     131     381     9       \N      1970-01-01
9314 716     130     381     9       \N      1970-01-01
9315 717     127     381     9       \N      1970-01-01
9316 718     126     381     9       \N      1970-01-01
9317 719     118     381     9       \N      1970-01-01
9318 720     117     381     9       \N      1970-01-01
9319 721     116     381     9       \N      1970-01-01
9320 688     156     379     3       51      1970-01-01
9321 722     105     381     9       \N      1970-01-01
9322 723     100     381     9       \N      1970-01-01
9323 724     98      381     9       \N      1970-01-01
9324 725     97      381     9       \N      1970-01-01
9325 726     96      381     9       \N      1970-01-01
9326 727     95      381     9       \N      1970-01-01
9327 728     94      381     9       \N      1970-01-01
9328 729     93      381     9       \N      1970-01-01
9329 730     92      381     9       \N      1970-01-01
9330 731     89      381     9       \N      1970-01-01
9331 732     85      381     9       \N      1970-01-01
9332 733     75      381     9       \N      1970-01-01
9333 734     74      381     9       \N      1970-01-01
9334 735     73      381     9       \N      1970-01-01
9335 736     72      381     9       \N      1970-01-01
9336 737     71      381     9       \N      1970-01-01
9337 738     69      381     9       \N      1970-01-01
9338 739     68      381     9       \N      1970-01-01
9339 740     47      381     9       \N      1970-01-01
9340 741     45      381     9       \N      1970-01-01
9341 742     43      381     9       \N      1970-01-01
9342 743     37      381     9       \N      1970-01-01
9343 744     35      381     9       \N      1970-01-01
9344 745     11      381     9       \N      1970-01-01
9345 746     10      381     9       \N      1970-01-01
9346 747     9       381     9       \N      1970-01-01
9347 748     8       381     9       \N      1970-01-01
9348 749     7       381     9       \N      1970-01-01
9349 750     6       381     9       \N      1970-01-01
9350 751     5       381     9       \N      1970-01-01
9351 752     4       381     9       \N      1970-01-01
9352 753     3       381     9       \N      1970-01-01
9353 754     2       381     9       \N      1970-01-01
9354 755     1       381     9       \N      1970-01-01
9355 756     196     382     10      \N      1970-01-01
9356 757     152     382     10      \N      1970-01-01
9357 758     345     384     12      86      1970-01-01
9358 759     150     384     12      86      1970-01-01
9359 760     346     385     13      51      1970-01-01
9360 761     151     385     13      51      1970-01-01
9361 781     156     777     3       \N      2007-01-01
9362 789     168     777     3       \N      2007-01-01
9363 802     1       778     9       \N      2007-01-01
9364 803     2       778     9       \N      2007-01-01
9365 804     3       778     9       \N      2007-01-01
9366 805     4       778     9       \N      2007-01-01
9367 806     5       778     9       \N      2007-01-01
9368 807     6       778     9       \N      2007-01-01
9369 808     7       778     9       \N      2007-01-01
9370 809     8       778     9       \N      2007-01-01
9371 810     9       778     9       \N      2007-01-01
9372 811     10      778     9       \N      2007-01-01
9373 812     11      778     9       \N      2007-01-01
9374 813     35      778     9       \N      2007-01-01
9375 814     37      778     9       \N      2007-01-01
9376 815     43      778     9       \N      2007-01-01
9377 816     45      778     9       \N      2007-01-01
9378 817     47      778     9       \N      2007-01-01
9379 818     68      778     9       \N      2007-01-01
9380 819     69      778     9       \N      2007-01-01
9381 820     71      778     9       \N      2007-01-01
9382 821     72      778     9       \N      2007-01-01
9383 822     73      778     9       \N      2007-01-01
9384 823     74      778     9       \N      2007-01-01
9385 824     75      778     9       \N      2007-01-01
9386 825     85      778     9       \N      2007-01-01
9387 826     89      778     9       \N      2007-01-01
9388 827     92      778     9       \N      2007-01-01
9389 828     93      778     9       \N      2007-01-01
9390 829     94      778     9       \N      2007-01-01
9391 830     95      778     9       \N      2007-01-01
9392 831     96      778     9       \N      2007-01-01
9393 832     97      778     9       \N      2007-01-01
9394 833     98      778     9       \N      2007-01-01
9395 834     100     778     9       \N      2007-01-01
9396 835     105     778     9       \N      2007-01-01
9397 836     116     778     9       \N      2007-01-01
9398 837     117     778     9       \N      2007-01-01
9399 838     118     778     9       \N      2007-01-01
9400 839     126     778     9       \N      2007-01-01
9401 840     127     778     9       \N      2007-01-01
9402 841     130     778     9       \N      2007-01-01
9403 842     131     778     9       \N      2007-01-01
9404 843     132     778     9       \N      2007-01-01
9405 844     134     778     9       \N      2007-01-01
9406 845     136     778     9       \N      2007-01-01
9407 846     137     778     9       \N      2007-01-01
9408 847     138     778     9       \N      2007-01-01
9409 848     139     778     9       \N      2007-01-01
9410 849     140     778     9       \N      2007-01-01
9411 850     142     778     9       \N      2007-01-01
9412 851     143     778     9       \N      2007-01-01
9413 852     247     778     9       \N      2007-01-01
9414 853     269     778     9       \N      2007-01-01
9415 854     270     778     9       \N      2007-01-01
9416 855     281     778     9       0       2007-01-01
9417 856     292     778     9       \N      2007-01-01
9418 857     294     778     9       \N      2007-01-01
9419 858     335     778     9       \N      2007-01-01
9420 388     375     0       0       \N      1970-01-01
9421 779     153     777     3       81      2007-01-01
9422 780     155     777     3       81      2007-01-01
9423 782     157     777     3       81      2007-01-01
9424 783     159     777     3       81      2007-01-01
9425 784     160     777     3       81      2007-01-01
9426 785     162     777     3       81      2007-01-01
9427 786     164     777     3       81      2007-01-01
9428 787     166     777     3       81      2007-01-01
9429 788     167     777     3       81      2007-01-01
9430 790     171     777     3       81      2007-01-01
9431 791     175     777     3       81      2007-01-01
9432 792     177     777     3       81      2007-01-01
9433 793     184     777     3       81      2007-01-01
9434 794     185     777     3       81      2007-01-01
9435 795     276     777     3       81      2007-01-01
9436 796     300     777     3       81      2007-01-01
9437 797     302     777     3       81      2007-01-01
9438 798     320     777     3       81      2007-01-01
9439 799     344     777     3       81      2007-01-01
9440 800     353     777     3       81      2007-01-01
9441 801     362     777     3       81      2007-01-01
9442 482     262     0       0       \N      1970-01-01
9443 481     263     0       0       36      1970-01-01
9444 389     374     0       0       \N      1970-01-01
9445 390     373     0       0       \N      1970-01-01
9446 391     372     0       0       \N      1970-01-01
9447 392     371     0       0       \N      1970-01-01
9448 393     370     0       0       \N      1970-01-01
9449 394     369     0       0       \N      1970-01-01
9450 395     368     0       0       \N      1970-01-01
9451 396     367     0       0       \N      1970-01-01
9452 397     366     0       0       \N      1970-01-01
9453 398     365     0       0       \N      1970-01-01
9454 399     364     0       0       \N      1970-01-01
9455 400     363     0       0       \N      1970-01-01
9456 401     361     0       0       \N      1970-01-01
9457 402     360     0       0       \N      1970-01-01
9458 403     359     0       0       \N      1970-01-01
9459 404     358     0       0       \N      1970-01-01
9460 405     357     0       0       \N      1970-01-01
9461 406     356     0       0       \N      1970-01-01
9462 407     355     0       0       \N      1970-01-01
9463 408     354     0       0       \N      1970-01-01
9464 409     352     0       0       \N      1970-01-01
9465 410     351     0       0       \N      1970-01-01
9466 411     350     0       0       \N      1970-01-01
9467 412     349     0       0       \N      1970-01-01
9468 413     348     0       0       \N      1970-01-01
9469 414     347     0       0       \N      1970-01-01
9470 415     342     0       0       \N      1970-01-01
9471 416     341     0       0       \N      1970-01-01
9472 417     340     0       0       \N      1970-01-01
9473 418     339     0       0       \N      1970-01-01
9474 419     338     0       0       \N      1970-01-01
9475 420     337     0       0       \N      1970-01-01
9476 421     336     0       0       \N      1970-01-01
9477 422     334     0       0       \N      1970-01-01
9478 423     333     0       0       \N      1970-01-01
9479 424     332     0       0       \N      1970-01-01
9480 425     331     0       0       \N      1970-01-01
9481 426     330     0       0       \N      1970-01-01
9482 427     329     0       0       \N      1970-01-01
9483 428     328     0       0       \N      1970-01-01
9484 429     327     0       0       \N      1970-01-01
9485 430     326     0       0       \N      1970-01-01
9486 431     325     0       0       \N      1970-01-01
9487 432     324     0       0       \N      1970-01-01
9488 433     323     0       0       \N      1970-01-01
9489 434     322     0       0       \N      1970-01-01
9490 435     321     0       0       \N      1970-01-01
9491 436     318     0       0       \N      1970-01-01
9492 437     317     0       0       \N      1970-01-01
9493 438     316     0       0       \N      1970-01-01
9494 439     315     0       0       \N      1970-01-01
9495 440     314     0       0       \N      1970-01-01
9496 441     313     0       0       \N      1970-01-01
9497 442     312     0       0       \N      1970-01-01
9498 443     311     0       0       \N      1970-01-01
9499 444     310     0       0       \N      1970-01-01
9500 445     309     0       0       \N      1970-01-01
9501 446     308     0       0       \N      1970-01-01
9502 447     307     0       0       \N      1970-01-01
9503 448     306     0       0       \N      1970-01-01
9504 449     305     0       0       \N      1970-01-01
9505 450     304     0       0       \N      1970-01-01
9506 451     301     0       0       \N      1970-01-01
9507 452     299     0       0       0       1970-01-01
9508 453     298     0       0       \N      1970-01-01
9509 454     297     0       0       \N      1970-01-01
9510 455     296     0       0       \N      1970-01-01
9511 456     295     0       0       \N      1970-01-01
9512 457     291     0       0       \N      1970-01-01
9513 458     290     0       0       62      1970-01-01
9514 459     289     0       0       \N      1970-01-01
9515 460     288     0       0       \N      1970-01-01
9516 461     287     0       0       \N      1970-01-01
9517 462     286     0       0       \N      1970-01-01
9518 465     283     0       0       \N      1970-01-01
9519 466     282     0       0       \N      1970-01-01
9520 467     280     0       0       0       1970-01-01
9521 468     279     0       0       0       1970-01-01
9522 469     278     0       0       0       1970-01-01
9523 470     277     0       0       0       1970-01-01
9524 471     275     0       0       \N      1970-01-01
9525 472     274     0       0       \N      1970-01-01
9526 473     273     0       0       \N      1970-01-01
9527 474     272     0       0       \N      1970-01-01
9528 475     271     0       0       \N      1970-01-01
9529 476     268     0       0       \N      1970-01-01
9530 477     267     0       0       \N      1970-01-01
9531 478     266     0       0       0       1970-01-01
9532 479     265     0       0       \N      1970-01-01
9533 480     264     0       0       \N      1970-01-01
9534 483     261     0       0       66      1970-01-01
9535 484     260     0       0       61      1970-01-01
9536 485     259     0       0       66      1970-01-01
9537 486     258     0       0       61      1970-01-01
9538 487     257     0       0       \N      1970-01-01
9539 488     256     0       0       0       1970-01-01
9540 464     284     0       0       63      1970-01-01
9541 463     285     0       0       67      1970-01-01
9542 489     255     0       0       0       1970-01-01
9543 490     254     0       0       \N      1970-01-01
9544 491     253     0       0       \N      1970-01-01
9545 492     252     0       0       \N      1970-01-01
9546 493     251     0       0       0       1970-01-01
9547 494     250     0       0       0       1970-01-01
9548 495     249     0       0       0       1970-01-01
9549 496     248     0       0       \N      1970-01-01
9550 497     246     0       0       \N      1970-01-01
9551 498     245     0       0       \N      1970-01-01
9552 499     244     0       0       \N      1970-01-01
9553 500     243     0       0       \N      1970-01-01
9554 501     242     0       0       \N      1970-01-01
9555 502     241     0       0       \N      1970-01-01
9556 503     240     0       0       \N      1970-01-01
9557 504     239     0       0       \N      1970-01-01
9558 505     238     0       0       \N      1970-01-01
9559 506     237     0       0       \N      1970-01-01
9560 507     236     0       0       \N      1970-01-01
9561 508     235     0       0       \N      1970-01-01
9562 509     234     0       0       \N      1970-01-01
9563 510     233     0       0       \N      1970-01-01
9564 511     232     0       0       0       1970-01-01
9565 512     231     0       0       \N      1970-01-01
9566 513     230     0       0       \N      1970-01-01
9567 514     229     0       0       \N      1970-01-01
9568 515     228     0       0       \N      1970-01-01
9569 516     227     0       0       \N      1970-01-01
9570 517     226     0       0       \N      1970-01-01
9571 518     225     0       0       \N      1970-01-01
9572 519     224     0       0       0       1970-01-01
9573 520     223     0       0       \N      1970-01-01
9574 521     222     0       0       \N      1970-01-01
9575 522     221     0       0       \N      1970-01-01
9576 523     220     0       0       \N      1970-01-01
9577 524     218     0       0       0       1970-01-01
9578 525     217     0       0       0       1970-01-01
9579 526     216     0       0       91      1970-01-01
9580 527     215     0       0       \N      1970-01-01
9581 528     214     0       0       \N      1970-01-01
9582 529     213     0       0       \N      1970-01-01
9583 530     212     0       0       \N      1970-01-01
9584 531     211     0       0       \N      1970-01-01
9585 532     210     0       0       \N      1970-01-01
9586 533     209     0       0       \N      1970-01-01
9587 534     208     0       0       \N      1970-01-01
9588 535     207     0       0       \N      1970-01-01
9589 536     206     0       0       \N      1970-01-01
9590 537     205     0       0       \N      1970-01-01
9591 538     204     0       0       \N      1970-01-01
9592 539     203     0       0       \N      1970-01-01
9593 540     202     0       0       \N      1970-01-01
9594 541     201     0       0       \N      1970-01-01
9595 542     200     0       0       \N      1970-01-01
9596 543     199     0       0       \N      1970-01-01
9597 544     198     0       0       \N      1970-01-01
9598 545     197     0       0       \N      1970-01-01
9599 547     194     0       0       861     1970-01-01
9600 548     193     0       0       \N      1970-01-01
9601 549     192     0       0       \N      1970-01-01
9602 550     191     0       0       \N      1970-01-01
9603 551     190     0       0       \N      1970-01-01
9604 552     189     0       0       \N      1970-01-01
9605 553     188     0       0       \N      1970-01-01
9606 554     187     0       0       \N      1970-01-01
9607 555     186     0       0       \N      1970-01-01
9608 556     183     0       0       \N      1970-01-01
9609 557     182     0       0       \N      1970-01-01
9610 558     181     0       0       \N      1970-01-01
9611 559     180     0       0       \N      1970-01-01
9612 560     179     0       0       \N      1970-01-01
9613 561     178     0       0       \N      1970-01-01
9614 562     174     0       0       \N      1970-01-01
9615 563     173     0       0       \N      1970-01-01
9616 564     170     0       0       \N      1970-01-01
9617 565     169     0       0       \N      1970-01-01
9618 566     219     0       0       0       1970-01-01
9619 567     149     0       0       \N      1970-01-01
9620 568     148     0       0       \N      1970-01-01
9621 569     147     0       0       \N      1970-01-01
9622 570     146     0       0       \N      1970-01-01
9623 571     145     0       0       41      1970-01-01
9624 572     144     0       0       48      1970-01-01
9625 573     141     0       0       \N      1970-01-01
9626 574     135     0       0       \N      1970-01-01
9627 575     129     0       0       \N      1970-01-01
9628 576     128     0       0       \N      1970-01-01
9629 577     125     0       0       \N      1970-01-01
9630 578     124     0       0       \N      1970-01-01
9631 579     123     0       0       \N      1970-01-01
9632 580     122     0       0       \N      1970-01-01
9633 581     121     0       0       \N      1970-01-01
9634 582     120     0       0       \N      1970-01-01
9635 583     119     0       0       \N      1970-01-01
9636 584     115     0       0       \N      1970-01-01
9637 585     114     0       0       \N      1970-01-01
9638 586     113     0       0       \N      1970-01-01
9639 587     112     0       0       \N      1970-01-01
9640 588     111     0       0       \N      1970-01-01
9641 589     110     0       0       \N      1970-01-01
9642 590     109     0       0       \N      1970-01-01
9643 591     108     0       0       \N      1970-01-01
9644 592     107     0       0       \N      1970-01-01
9645 593     104     0       0       \N      1970-01-01
9646 594     103     0       0       \N      1970-01-01
9647 595     102     0       0       \N      1970-01-01
9648 596     99      0       0       \N      1970-01-01
9649 597     91      0       0       \N      1970-01-01
9650 598     90      0       0       \N      1970-01-01
9651 599     87      0       0       \N      1970-01-01
9652 600     86      0       0       0       1970-01-01
9653 601     84      0       0       \N      1970-01-01
9654 602     83      0       0       \N      1970-01-01
9655 603     82      0       0       \N      1970-01-01
9656 604     81      0       0       \N      1970-01-01
9657 605     80      0       0       \N      1970-01-01
9658 606     79      0       0       \N      1970-01-01
9659 607     78      0       0       \N      1970-01-01
9660 608     77      0       0       \N      1970-01-01
9661 609     76      0       0       \N      1970-01-01
9662 610     70      0       0       \N      1970-01-01
9663 611     67      0       0       \N      1970-01-01
9664 612     66      0       0       \N      1970-01-01
9665 613     65      0       0       \N      1970-01-01
9666 614     64      0       0       \N      1970-01-01
9667 615     63      0       0       \N      1970-01-01
9668 616     62      0       0       \N      1970-01-01
9669 617     61      0       0       \N      1970-01-01
9670 618     60      0       0       \N      1970-01-01
9671 619     59      0       0       \N      1970-01-01
9672 620     58      0       0       \N      1970-01-01
9673 621     57      0       0       \N      1970-01-01
9674 622     56      0       0       \N      1970-01-01
9675 623     55      0       0       \N      1970-01-01
9676 624     54      0       0       \N      1970-01-01
9677 625     53      0       0       \N      1970-01-01
9678 626     52      0       0       \N      1970-01-01
9679 627     51      0       0       \N      1970-01-01
9680 628     50      0       0       \N      1970-01-01
9681 629     49      0       0       \N      1970-01-01
9682 630     48      0       0       \N      1970-01-01
9683 631     41      0       0       91      1970-01-01
9684 632     39      0       0       97      1970-01-01
9685 633     38      0       0       93      1970-01-01
9686 634     34      0       0       \N      1970-01-01
9687 635     33      0       0       \N      1970-01-01
9688 636     32      0       0       \N      1970-01-01
9689 637     31      0       0       \N      1970-01-01
9690 638     30      0       0       \N      1970-01-01
9691 639     29      0       0       \N      1970-01-01
9692 640     28      0       0       \N      1970-01-01
9693 641     27      0       0       \N      1970-01-01
9694 642     26      0       0       \N      1970-01-01
9695 643     25      0       0       \N      1970-01-01
9696 644     24      0       0       \N      1970-01-01
9697 645     23      0       0       \N      1970-01-01
9698 646     22      0       0       \N      1970-01-01
9699 647     21      0       0       \N      1970-01-01
9700 648     20      0       0       \N      1970-01-01
9701 649     19      0       0       \N      1970-01-01
9702 650     18      0       0       \N      1970-01-01
9703 651     17      0       0       \N      1970-01-01
9704 652     16      0       0       \N      1970-01-01
9705 653     15      0       0       \N      1970-01-01
9706 654     14      0       0       \N      1970-01-01
9707 655     13      0       0       \N      1970-01-01
9708 656     12      0       0       \N      1970-01-01
9709 867     776     778     9       66      1970-01-01
9710 871     862     0       0       66      1970-01-01
9711 546     195     0       0       511     1970-01-01
9712 861     775     0       0       811     2007-01-01
9713 869     864     0       0       891     2007-01-01
9714 872     775     0       0       36      1970-01-01
9715 873     195     0       0       36      2007-01-01
9716 1109    1108    0       0       \N      1970-01-01
9717 1111    1110    0       0       \N      1970-01-01
9718 1113    1112    0       0       \N      1970-01-01
9719 1116    1114    0       0       \N      1970-01-01
9720 1119    863     0       0       \N      1970-01-01
9721 \.
9722
9723
9724 --
9725 -- Data for Name: taxzone_charts; Type: TABLE DATA; Schema: public; Owner: kivitendo
9726 --
9727
9728 COPY public.taxzone_charts (id, taxzone_id, buchungsgruppen_id, income_accno_id, expense_accno_id, itime) FROM stdin;
9729 3       1       860     145     41      2018-11-30 19:56:01.945692
9730 4       1       859     152     41      2018-11-30 19:56:01.945692
9731 5       2       860     150     38      2018-11-30 19:56:01.945692
9732 6       2       859     151     39      2018-11-30 19:56:01.945692
9733 7       3       860     144     216     2018-11-30 19:56:01.945692
9734 8       3       859     144     216     2018-11-30 19:56:01.945692
9735 1       4       860     88      36      2018-11-30 19:56:01.945692
9736 2       4       859     184     37      2018-11-30 19:56:01.945692
9737 \.
9738
9739
9740 --
9741 -- Data for Name: time_recording_articles; Type: TABLE DATA; Schema: public; Owner: kivitendo
9742 --
9743
9744 COPY public.time_recording_articles (id, part_id, "position") FROM stdin;
9745 \.
9746
9747
9748 --
9749 -- Data for Name: time_recordings; Type: TABLE DATA; Schema: public; Owner: kivitendo
9750 --
9751
9752 COPY public.time_recordings (id, customer_id, project_id, start_time, end_time, description, staff_member_id, employee_id, itime, mtime, booked, payroll, part_id, date, duration, order_id) FROM stdin;
9753 \.
9754
9755
9756 --
9757 -- Data for Name: todo_user_config; Type: TABLE DATA; Schema: public; Owner: kivitendo
9758 --
9759
9760 COPY public.todo_user_config (employee_id, show_after_login, show_follow_ups, show_follow_ups_login, show_overdue_sales_quotations, show_overdue_sales_quotations_login, id) FROM stdin;
9761 \.
9762
9763
9764 --
9765 -- Data for Name: transfer_type; Type: TABLE DATA; Schema: public; Owner: kivitendo
9766 --
9767
9768 COPY public.transfer_type (id, direction, description, sortkey, itime, mtime) FROM stdin;
9769 879     in      stock   1       2018-11-30 19:55:47.68458       \N
9770 880     in      found   2       2018-11-30 19:55:47.68458       \N
9771 881     in      correction      3       2018-11-30 19:55:47.68458       \N
9772 882     out     used    4       2018-11-30 19:55:47.68458       \N
9773 883     out     disposed        5       2018-11-30 19:55:47.68458       \N
9774 884     out     back    6       2018-11-30 19:55:47.68458       \N
9775 885     out     missing 7       2018-11-30 19:55:47.68458       \N
9776 886     out     correction      9       2018-11-30 19:55:47.68458       \N
9777 887     transfer        transfer        10      2018-11-30 19:55:47.68458       \N
9778 888     transfer        correction      11      2018-11-30 19:55:47.68458       \N
9779 889     out     shipped 12      2018-11-30 19:55:48.001091      \N
9780 890     in      assembled       13      2018-11-30 19:56:05.265398      \N
9781 891     in      stocktaking     14      2021-01-16 23:40:31.412921      \N
9782 892     out     stocktaking     15      2021-01-16 23:40:31.412921      \N
9783 \.
9784
9785
9786 --
9787 -- Data for Name: translation; Type: TABLE DATA; Schema: public; Owner: kivitendo
9788 --
9789
9790 COPY public.translation (parts_id, language_id, translation, itime, mtime, longdescription, id) FROM stdin;
9791 \.
9792
9793
9794 --
9795 -- Data for Name: trigger_information; Type: TABLE DATA; Schema: public; Owner: kivitendo
9796 --
9797
9798 COPY public.trigger_information (id, key, value) FROM stdin;
9799 \.
9800
9801
9802 --
9803 -- Data for Name: units; Type: TABLE DATA; Schema: public; Owner: kivitendo
9804 --
9805
9806 COPY public.units (name, base_unit, factor, type, sortkey, id) FROM stdin;
9807 Stck    \N      \N      dimension       1       1
9808 psch    \N      0.00000 service 2       2
9809 Tag     Std     8.00000 service 3       3
9810 Std     min     60.00000        service 4       4
9811 min     \N      0.00000 service 5       5
9812 t       kg      1000.00000      dimension       6       6
9813 kg      g       1000.00000      dimension       7       7
9814 g       mg      1000.00000      dimension       8       8
9815 mg      \N      \N      dimension       9       9
9816 L       ml      1000.00000      dimension       10      10
9817 ml      \N      \N      dimension       11      11
9818 \.
9819
9820
9821 --
9822 -- Data for Name: units_language; Type: TABLE DATA; Schema: public; Owner: kivitendo
9823 --
9824
9825 COPY public.units_language (unit, language_id, localized, localized_plural, id) FROM stdin;
9826 \.
9827
9828
9829 --
9830 -- Data for Name: user_preferences; Type: TABLE DATA; Schema: public; Owner: kivitendo
9831 --
9832
9833 COPY public.user_preferences (id, login, namespace, version, key, value) FROM stdin;
9834 1       #default#       DisplayableName 0.00000 SL::DB::Customer        <%customernumber%> <%name%>
9835 2       #default#       DisplayableName 0.00000 SL::DB::Vendor  <%vendornumber%> <%name%>
9836 3       #default#       DisplayableName 0.00000 SL::DB::Part    <%partnumber%> <%description%>
9837 \.
9838
9839
9840 --
9841 -- Data for Name: vendor; Type: TABLE DATA; Schema: public; Owner: kivitendo
9842 --
9843
9844 COPY public.vendor (id, name, department_1, department_2, street, zipcode, city, country, contact, phone, fax, homepage, email, notes, taxincluded, vendornumber, cc, bcc, business_id, taxnumber, discount, creditlimit, account_number, bank_code, bank, language, itime, mtime, obsolete, username, user_password, salesman_id, v_customer_id, language_id, payment_id, taxzone_id, greeting, ustid, iban, bic, direct_debit, depositor, delivery_term_id, currency_id, gln, natural_person) FROM stdin;
9845 \.
9846
9847
9848 --
9849 -- Data for Name: warehouse; Type: TABLE DATA; Schema: public; Owner: kivitendo
9850 --
9851
9852 COPY public.warehouse (id, description, itime, mtime, sortkey, invalid) FROM stdin;
9853 \.
9854
9855
9856 --
9857 -- Data for Name: report_categories; Type: TABLE DATA; Schema: tax; Owner: kivitendo
9858 --
9859
9860 COPY tax.report_categories (id, description, subdescription) FROM stdin;
9861 0               
9862 1       Lieferungen und sonstige Leistungen     (einschließlich unentgeltlicher Wertabgaben)
9863 2       Innergemeinschaftliche Erwerbe  
9864 3       Ergänzende Angaben zu Umsätzen        
9865 99      Summe   
9866 \.
9867
9868
9869 --
9870 -- Data for Name: report_headings; Type: TABLE DATA; Schema: tax; Owner: kivitendo
9871 --
9872
9873 COPY tax.report_headings (id, category_id, type, description, subdescription) FROM stdin;
9874 0       0                       
9875 1       1       received        Steuerfreie Umsätze mit Vorsteuerabzug 
9876 2       1       recieved        Steuerfreie Umsätze ohne Vorsteuerabzug        
9877 3       1       recieved        Steuerpflichtige Umsätze       (Lieferungen und sonstige Leistungen einschl. unentgeltlicher Wertabgaben)
9878 4       2       recieved        Steuerfreie innergemeinschaftliche Erwerbe      
9879 5       2       recieved        Steuerpflichtige innergemeinschaftliche Erwerbe 
9880 6       3       recieved        Umsätze, für die als Leistungsempfänger die Steuer nach Â§ 13b Abs. 2 UStG geschuldet wird   
9881 66      3       recieved                
9882 7       3       paied   Abziehbare Vorsteuerbeträge    
9883 8       3       paied   Andere Steuerbeträge   
9884 99      99              Summe   
9885 \.
9886
9887
9888 --
9889 -- Data for Name: report_variables; Type: TABLE DATA; Schema: tax; Owner: kivitendo
9890 --
9891
9892 COPY tax.report_variables (id, "position", heading_id, description, taxbase, dec_places, valid_from) FROM stdin;
9893 0       keine   0       < < < keine UStVa Position > > >                        1970-01-01
9894 1       41      1       Innergemeinschaftliche Lieferungen (§ 4 Nr. 1 Buchst. b UStG) an Abnehmer mit USt-IdNr.        0       0       1970-01-01
9895 2       44      1       neuer Fahrzeuge an Abnehmer ohne USt-IdNr.      0       0       1970-01-01
9896 3       49      1       neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG)      0       0       1970-01-01
9897 4       43      1       Weitere steuerfreie Umsätze mit Vorsteuerabzug 0       0       1970-01-01
9898 5       48      2       Umsätze nach Â§ 4 Nr. 8 bis 28 UStG    0       0       1970-01-01
9899 6       51      3       zum Steuersatz von 16 % 0       0       1970-01-01
9900 7       511     3               6       2       1970-01-01
9901 8       81      3       zum Steuersatz von 19 % 0       0       1970-01-01
9902 9       811     3               8       2       1970-01-01
9903 10      86      3       zum Steuersatz von 7 %  0       0       1970-01-01
9904 11      861     3               10      2       1970-01-01
9905 12      35      3       Umsätze, die anderen Steuersätzen unterliegen 0       0       1970-01-01
9906 13      36      3               12      2       1970-01-01
9907 14      77      3       Lieferungen in das Ã¼brige Gemeinschaftsgebiet an Abnehmer mit USt-IdNr.        0       0       1970-01-01
9908 15      76      3       Umsätze, für die eine Steuer nach Â§ 24 UStG zu entrichten ist        0       0       1970-01-01
9909 16      80      3               15      2       1970-01-01
9910 17      91      4       Erwerbe nach Â§ 4b UStG 0       0       1970-01-01
9911 18      97      5       zum Steuersatz von 16 % 0       0       1970-01-01
9912 19      971     5               18      2       1970-01-01
9913 20      89      5       zum Steuersatz von 19 % 0       0       1970-01-01
9914 21      891     5               20      2       1970-01-01
9915 22      93      5       zum Steuersatz von 7 %  0       0       1970-01-01
9916 23      931     5               22      2       1970-01-01
9917 24      95      5       zu anderen Steuersätzen        0       0       1970-01-01
9918 25      98      5               24      2       1970-01-01
9919 26      94      5       neuer Fahrzeuge von Lieferern ohne USt-IdNr. zum allgemeinen Steuersatz 0       0       1970-01-01
9920 27      96      5               26      2       1970-01-01
9921 28      42      66      Lieferungen des ersten Abnehmers bei innergemeinschaftlichen Dreiecksgeschäften (§ 25b Abs. 2 UStG)   0       0       1970-01-01
9922 29      60      66      Steuerpflichtige Umsätze im Sinne des Â§ 13b Abs. 1 Satz 1 Nr. 1 bis 5 UStG, für die der Leistungsempfänger die Steuer schuldet      0       0       1970-01-01
9923 30      45      66      Nicht steuerbare Umsätze (Leistungsort nicht im Inland)        0       0       1970-01-01
9924 31      52      6       Leistungen eines im Ausland ansässigen Unternehmers (§ 13b Abs. 1 Satz 1 Nr. 1 und 5 UStG)    0       0       1970-01-01
9925 32      53      6               31      2       1970-01-01
9926 33      73      6       Lieferungen sicherungsübereigneter Gegenstände und Umsätze, die unter das GrEStG fallen (§ 13b Abs. 1 Satz 1 Nr. 2 und 3 UStG)      0       0       1970-01-01
9927 34      74      6               33      2       1970-01-01
9928 35      84      6       Bauleistungen eines im Inland ansässigen Unternehmers (§ 13b Abs. 1 Satz 1 Nr. 4 UStG)        0       0       1970-01-01
9929 36      85      6               35      2       1970-01-01
9930 37      65      6       Steuer infolge Wechsels der Besteuerungsform sowie Nachsteuer auf versteuerte Anzahlungen u. Ã¤. wegen Steuersatzänderung              2       1970-01-01
9931 38      66      7       Vorsteuerbeträge aus Rechnungen von anderen Unternehmern (§ 15 Abs. 1 Satz 1 Nr. 1 UStG), aus Leistungen im Sinne des Â§ 13a Abs. 1 Nr. 6 UStG (§ 15 Abs. 1 Satz 1 Nr. 5 UStG) und aus innergemeinschaftlichen Dreiecksgeschäften (§ 25b Abs. 5 UStG)              2       1970-01-01
9932 39      61      7       Vorsteuerbeträge aus dem innergemeinschaftlichen Erwerb von Gegenständen (§ 15 Abs. 1 Satz 1 Nr. 3 UStG)             2       1970-01-01
9933 40      62      7       Entrichtete Einfuhrumsatzsteuer (§ 15 Abs. 1 Satz 1 Nr. 2 UStG)                2       1970-01-01
9934 41      67      7       Vorsteuerbeträge aus Leistungen im Sinne des Â§ 13b Abs. 1 UStG (§ 15 Abs. 1 Satz 1 Nr. 4 UStG)               2       1970-01-01
9935 42      63      7       Vorsteuerbeträge, die nach allgemeinen Durchschnittssätzen berechnet sind (§§ 23 und 23a UStG)              2       1970-01-01
9936 43      64      7       Berichtigung des Vorsteuerabzugs (§ 15a UStG)          2       1970-01-01
9937 44      59      7       Vorsteuerabzug für innergemeinschaftliche Lieferungen neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG) sowie von Kleinunternehmern im Sinne des Â§ 19 Abs. 1 UStG (§ 15 Abs. 4a UStG)               2       1970-01-01
9938 45      69      8       in Rechnungen unrichtig oder unberechtigt ausgewiesene Steuerbeträge (§ 14c UStG) sowie Steuerbeträge, die nach Â§ 4 Nr. 4a Satz 1 Buchst. a Satz 2, Â§ 6a Abs. 4 Satz 2, Â§ 17 Abs. 1 Satz 6 oder Â§ 25b Abs. 2 UStG geschuldet werden              2       1970-01-01
9939 46      39      8       Anrechnung (Abzug) der festgesetzten Sondervorauszahlung für Dauerfristverlängerung (nur auszufüllen in der letzten Voranmeldung des Besteuerungszeitraums, in der Regel Dezember)           2       1970-01-01
9940 47      21      66      Nicht steuerbare sonstige Leistungen gem. Â§ 18b Satz 1 Nr. 2 UStG      0       0       2010-01-01
9941 48      46      6       Im Inland steuerpflichtige sonstige Leistungen von im Ã¼brigen Gemeinschaftsgebiet ansässigen Unternehmen (§13b Abs. 1 UStG)  0       0       2010-01-01
9942 49      47      6               49      2       2010-01-01
9943 50      83      8       Verbleibender Ãœberschuss - bitte dem Betrag ein Minuszeichen voranstellen -    0       2       2010-01-01
9944 \.
9945
9946
9947 --
9948 -- Name: acc_trans_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
9949 --
9950
9951 SELECT pg_catalog.setval('public.acc_trans_id_seq', 1, true);
9952
9953
9954 --
9955 -- Name: additional_billing_addresses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
9956 --
9957
9958 SELECT pg_catalog.setval('public.additional_billing_addresses_id_seq', 1, false);
9959
9960
9961 --
9962 -- Name: assembly_assembly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
9963 --
9964
9965 SELECT pg_catalog.setval('public.assembly_assembly_id_seq', 1, false);
9966
9967
9968 --
9969 -- Name: background_job_histories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
9970 --
9971
9972 SELECT pg_catalog.setval('public.background_job_histories_id_seq', 1, false);
9973
9974
9975 --
9976 -- Name: background_jobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
9977 --
9978
9979 SELECT pg_catalog.setval('public.background_jobs_id_seq', 6, true);
9980
9981
9982 --
9983 -- Name: bank_transaction_acc_trans_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
9984 --
9985
9986 SELECT pg_catalog.setval('public.bank_transaction_acc_trans_id_seq', 1, false);
9987
9988
9989 --
9990 -- Name: bank_transactions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
9991 --
9992
9993 SELECT pg_catalog.setval('public.bank_transactions_id_seq', 1, false);
9994
9995
9996 --
9997 -- Name: contact_departments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
9998 --
9999
10000 SELECT pg_catalog.setval('public.contact_departments_id_seq', 1, false);
10001
10002
10003 --
10004 -- Name: contact_titles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10005 --
10006
10007 SELECT pg_catalog.setval('public.contact_titles_id_seq', 1, false);
10008
10009
10010 --
10011 -- Name: csv_import_profile_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10012 --
10013
10014 SELECT pg_catalog.setval('public.csv_import_profile_settings_id_seq', 10, true);
10015
10016
10017 --
10018 -- Name: csv_import_profiles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10019 --
10020
10021 SELECT pg_catalog.setval('public.csv_import_profiles_id_seq', 1, true);
10022
10023
10024 --
10025 -- Name: csv_import_report_rows_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10026 --
10027
10028 SELECT pg_catalog.setval('public.csv_import_report_rows_id_seq', 1, false);
10029
10030
10031 --
10032 -- Name: csv_import_report_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10033 --
10034
10035 SELECT pg_catalog.setval('public.csv_import_report_status_id_seq', 1, false);
10036
10037
10038 --
10039 -- Name: csv_import_reports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10040 --
10041
10042 SELECT pg_catalog.setval('public.csv_import_reports_id_seq', 1, false);
10043
10044
10045 --
10046 -- Name: currencies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10047 --
10048
10049 SELECT pg_catalog.setval('public.currencies_id_seq', 2, true);
10050
10051
10052 --
10053 -- Name: custom_data_export_queries_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10054 --
10055
10056 SELECT pg_catalog.setval('public.custom_data_export_queries_id_seq', 1, false);
10057
10058
10059 --
10060 -- Name: custom_data_export_query_parameters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10061 --
10062
10063 SELECT pg_catalog.setval('public.custom_data_export_query_parameters_id_seq', 1, false);
10064
10065
10066 --
10067 -- Name: custom_variable_configs_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10068 --
10069
10070 SELECT pg_catalog.setval('public.custom_variable_configs_id', 1, false);
10071
10072
10073 --
10074 -- Name: custom_variables_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10075 --
10076
10077 SELECT pg_catalog.setval('public.custom_variables_id', 1, false);
10078
10079
10080 --
10081 -- Name: datev_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10082 --
10083
10084 SELECT pg_catalog.setval('public.datev_id_seq', 1, false);
10085
10086
10087 --
10088 -- Name: defaults_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10089 --
10090
10091 SELECT pg_catalog.setval('public.defaults_id_seq', 1, true);
10092
10093
10094 --
10095 -- Name: delivery_order_items_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10096 --
10097
10098 SELECT pg_catalog.setval('public.delivery_order_items_id', 1, false);
10099
10100
10101 --
10102 -- Name: email_journal_attachments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10103 --
10104
10105 SELECT pg_catalog.setval('public.email_journal_attachments_id_seq', 1, false);
10106
10107
10108 --
10109 -- Name: email_journal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10110 --
10111
10112 SELECT pg_catalog.setval('public.email_journal_id_seq', 1, false);
10113
10114
10115 --
10116 -- Name: exchangerate_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10117 --
10118
10119 SELECT pg_catalog.setval('public.exchangerate_id_seq', 1, false);
10120
10121
10122 --
10123 -- Name: file_full_texts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10124 --
10125
10126 SELECT pg_catalog.setval('public.file_full_texts_id_seq', 1, false);
10127
10128
10129 --
10130 -- Name: files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10131 --
10132
10133 SELECT pg_catalog.setval('public.files_id_seq', 1, false);
10134
10135
10136 --
10137 -- Name: finanzamt_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10138 --
10139
10140 SELECT pg_catalog.setval('public.finanzamt_id_seq', 686, true);
10141
10142
10143 --
10144 -- Name: follow_up_access_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10145 --
10146
10147 SELECT pg_catalog.setval('public.follow_up_access_id_seq', 1, false);
10148
10149
10150 --
10151 -- Name: follow_up_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10152 --
10153
10154 SELECT pg_catalog.setval('public.follow_up_id', 1, false);
10155
10156
10157 --
10158 -- Name: follow_up_link_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10159 --
10160
10161 SELECT pg_catalog.setval('public.follow_up_link_id', 1, false);
10162
10163
10164 --
10165 -- Name: generic_translations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10166 --
10167
10168 SELECT pg_catalog.setval('public.generic_translations_id_seq', 1, false);
10169
10170
10171 --
10172 -- Name: glid; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10173 --
10174
10175 SELECT pg_catalog.setval('public.glid', 1, false);
10176
10177
10178 --
10179 -- Name: greetings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10180 --
10181
10182 SELECT pg_catalog.setval('public.greetings_id_seq', 1, false);
10183
10184
10185 --
10186 -- Name: id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10187 --
10188
10189 SELECT pg_catalog.setval('public.id', 1119, true);
10190
10191
10192 --
10193 -- Name: inventory_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10194 --
10195
10196 SELECT pg_catalog.setval('public.inventory_id_seq', 1, false);
10197
10198
10199 --
10200 -- Name: invoiceid; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10201 --
10202
10203 SELECT pg_catalog.setval('public.invoiceid', 1, false);
10204
10205
10206 --
10207 -- Name: makemodel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10208 --
10209
10210 SELECT pg_catalog.setval('public.makemodel_id_seq', 1, false);
10211
10212
10213 --
10214 -- Name: note_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10215 --
10216
10217 SELECT pg_catalog.setval('public.note_id', 1, false);
10218
10219
10220 --
10221 -- Name: orderitemsid; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10222 --
10223
10224 SELECT pg_catalog.setval('public.orderitemsid', 1, false);
10225
10226
10227 --
10228 -- Name: part_classifications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10229 --
10230
10231 SELECT pg_catalog.setval('public.part_classifications_id_seq', 4, true);
10232
10233
10234 --
10235 -- Name: part_customer_prices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10236 --
10237
10238 SELECT pg_catalog.setval('public.part_customer_prices_id_seq', 1, false);
10239
10240
10241 --
10242 -- Name: parts_price_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10243 --
10244
10245 SELECT pg_catalog.setval('public.parts_price_history_id_seq', 1, false);
10246
10247
10248 --
10249 -- Name: price_rule_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10250 --
10251
10252 SELECT pg_catalog.setval('public.price_rule_items_id_seq', 1, false);
10253
10254
10255 --
10256 -- Name: price_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10257 --
10258
10259 SELECT pg_catalog.setval('public.price_rules_id_seq', 1, false);
10260
10261
10262 --
10263 -- Name: prices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10264 --
10265
10266 SELECT pg_catalog.setval('public.prices_id_seq', 1, false);
10267
10268
10269 --
10270 -- Name: project_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10271 --
10272
10273 SELECT pg_catalog.setval('public.project_participants_id_seq', 1, false);
10274
10275
10276 --
10277 -- Name: project_phase_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10278 --
10279
10280 SELECT pg_catalog.setval('public.project_phase_participants_id_seq', 1, false);
10281
10282
10283 --
10284 -- Name: project_phases_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10285 --
10286
10287 SELECT pg_catalog.setval('public.project_phases_id_seq', 1, false);
10288
10289
10290 --
10291 -- Name: project_roles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10292 --
10293
10294 SELECT pg_catalog.setval('public.project_roles_id_seq', 1, false);
10295
10296
10297 --
10298 -- Name: project_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10299 --
10300
10301 SELECT pg_catalog.setval('public.project_status_id_seq', 4, true);
10302
10303
10304 --
10305 -- Name: project_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10306 --
10307
10308 SELECT pg_catalog.setval('public.project_types_id_seq', 3, true);
10309
10310
10311 --
10312 -- Name: record_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10313 --
10314
10315 SELECT pg_catalog.setval('public.record_links_id_seq', 1, false);
10316
10317
10318 --
10319 -- Name: record_template_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10320 --
10321
10322 SELECT pg_catalog.setval('public.record_template_items_id_seq', 1, false);
10323
10324
10325 --
10326 -- Name: record_templates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10327 --
10328
10329 SELECT pg_catalog.setval('public.record_templates_id_seq', 1, false);
10330
10331
10332 --
10333 -- Name: requirement_spec_acceptance_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10334 --
10335
10336 SELECT pg_catalog.setval('public.requirement_spec_acceptance_statuses_id_seq', 4, true);
10337
10338
10339 --
10340 -- Name: requirement_spec_complexities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10341 --
10342
10343 SELECT pg_catalog.setval('public.requirement_spec_complexities_id_seq', 5, true);
10344
10345
10346 --
10347 -- Name: requirement_spec_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10348 --
10349
10350 SELECT pg_catalog.setval('public.requirement_spec_items_id_seq', 1, false);
10351
10352
10353 --
10354 -- Name: requirement_spec_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10355 --
10356
10357 SELECT pg_catalog.setval('public.requirement_spec_orders_id_seq', 1, false);
10358
10359
10360 --
10361 -- Name: requirement_spec_parts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10362 --
10363
10364 SELECT pg_catalog.setval('public.requirement_spec_parts_id_seq', 1, false);
10365
10366
10367 --
10368 -- Name: requirement_spec_pictures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10369 --
10370
10371 SELECT pg_catalog.setval('public.requirement_spec_pictures_id_seq', 1, false);
10372
10373
10374 --
10375 -- Name: requirement_spec_predefined_texts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10376 --
10377
10378 SELECT pg_catalog.setval('public.requirement_spec_predefined_texts_id_seq', 1, false);
10379
10380
10381 --
10382 -- Name: requirement_spec_risks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10383 --
10384
10385 SELECT pg_catalog.setval('public.requirement_spec_risks_id_seq', 5, true);
10386
10387
10388 --
10389 -- Name: requirement_spec_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10390 --
10391
10392 SELECT pg_catalog.setval('public.requirement_spec_statuses_id_seq', 3, true);
10393
10394
10395 --
10396 -- Name: requirement_spec_text_blocks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10397 --
10398
10399 SELECT pg_catalog.setval('public.requirement_spec_text_blocks_id_seq', 1, false);
10400
10401
10402 --
10403 -- Name: requirement_spec_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10404 --
10405
10406 SELECT pg_catalog.setval('public.requirement_spec_types_id_seq', 2, true);
10407
10408
10409 --
10410 -- Name: requirement_spec_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10411 --
10412
10413 SELECT pg_catalog.setval('public.requirement_spec_versions_id_seq', 1, false);
10414
10415
10416 --
10417 -- Name: requirement_specs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10418 --
10419
10420 SELECT pg_catalog.setval('public.requirement_specs_id_seq', 1, false);
10421
10422
10423 --
10424 -- Name: sepa_export_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10425 --
10426
10427 SELECT pg_catalog.setval('public.sepa_export_id_seq', 1, false);
10428
10429
10430 --
10431 -- Name: sepa_export_message_ids_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10432 --
10433
10434 SELECT pg_catalog.setval('public.sepa_export_message_ids_id_seq', 1, false);
10435
10436
10437 --
10438 -- Name: shop_images_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10439 --
10440
10441 SELECT pg_catalog.setval('public.shop_images_id_seq', 1, false);
10442
10443
10444 --
10445 -- Name: shop_order_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10446 --
10447
10448 SELECT pg_catalog.setval('public.shop_order_items_id_seq', 1, false);
10449
10450
10451 --
10452 -- Name: shop_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10453 --
10454
10455 SELECT pg_catalog.setval('public.shop_orders_id_seq', 1, false);
10456
10457
10458 --
10459 -- Name: shop_parts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10460 --
10461
10462 SELECT pg_catalog.setval('public.shop_parts_id_seq', 1, false);
10463
10464
10465 --
10466 -- Name: shops_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10467 --
10468
10469 SELECT pg_catalog.setval('public.shops_id_seq', 1, false);
10470
10471
10472 --
10473 -- Name: status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10474 --
10475
10476 SELECT pg_catalog.setval('public.status_id_seq', 1, false);
10477
10478
10479 --
10480 -- Name: taxzone_charts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10481 --
10482
10483 SELECT pg_catalog.setval('public.taxzone_charts_id_seq', 8, true);
10484
10485
10486 --
10487 -- Name: time_recording_articles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10488 --
10489
10490 SELECT pg_catalog.setval('public.time_recording_articles_id_seq', 1, false);
10491
10492
10493 --
10494 -- Name: time_recordings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10495 --
10496
10497 SELECT pg_catalog.setval('public.time_recordings_id_seq', 1, false);
10498
10499
10500 --
10501 -- Name: todo_user_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10502 --
10503
10504 SELECT pg_catalog.setval('public.todo_user_config_id_seq', 1, false);
10505
10506
10507 --
10508 -- Name: translation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10509 --
10510
10511 SELECT pg_catalog.setval('public.translation_id_seq', 1, false);
10512
10513
10514 --
10515 -- Name: trigger_information_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10516 --
10517
10518 SELECT pg_catalog.setval('public.trigger_information_id_seq', 1, false);
10519
10520
10521 --
10522 -- Name: units_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10523 --
10524
10525 SELECT pg_catalog.setval('public.units_id_seq', 11, true);
10526
10527
10528 --
10529 -- Name: units_language_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10530 --
10531
10532 SELECT pg_catalog.setval('public.units_language_id_seq', 1, false);
10533
10534
10535 --
10536 -- Name: user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10537 --
10538
10539 SELECT pg_catalog.setval('public.user_preferences_id_seq', 3, true);
10540
10541
10542 --
10543 -- Name: acc_trans acc_trans_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10544 --
10545
10546 ALTER TABLE ONLY public.acc_trans
10547     ADD CONSTRAINT acc_trans_pkey PRIMARY KEY (acc_trans_id);
10548
10549
10550 --
10551 -- Name: additional_billing_addresses additional_billing_addresses_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10552 --
10553
10554 ALTER TABLE ONLY public.additional_billing_addresses
10555     ADD CONSTRAINT additional_billing_addresses_pkey PRIMARY KEY (id);
10556
10557
10558 --
10559 -- Name: ap_gl ap_gl_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10560 --
10561
10562 ALTER TABLE ONLY public.ap_gl
10563     ADD CONSTRAINT ap_gl_pkey PRIMARY KEY (ap_id, gl_id);
10564
10565
10566 --
10567 -- Name: ap ap_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10568 --
10569
10570 ALTER TABLE ONLY public.ap
10571     ADD CONSTRAINT ap_pkey PRIMARY KEY (id);
10572
10573
10574 --
10575 -- Name: ar ar_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10576 --
10577
10578 ALTER TABLE ONLY public.ar
10579     ADD CONSTRAINT ar_pkey PRIMARY KEY (id);
10580
10581
10582 --
10583 -- Name: assembly assembly_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10584 --
10585
10586 ALTER TABLE ONLY public.assembly
10587     ADD CONSTRAINT assembly_pkey PRIMARY KEY (assembly_id);
10588
10589
10590 --
10591 -- Name: assortment_items assortment_part_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10592 --
10593
10594 ALTER TABLE ONLY public.assortment_items
10595     ADD CONSTRAINT assortment_part_pkey PRIMARY KEY (assortment_id, parts_id);
10596
10597
10598 --
10599 -- Name: background_job_histories background_job_histories_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10600 --
10601
10602 ALTER TABLE ONLY public.background_job_histories
10603     ADD CONSTRAINT background_job_histories_pkey PRIMARY KEY (id);
10604
10605
10606 --
10607 -- Name: background_jobs background_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10608 --
10609
10610 ALTER TABLE ONLY public.background_jobs
10611     ADD CONSTRAINT background_jobs_pkey PRIMARY KEY (id);
10612
10613
10614 --
10615 -- Name: bank_accounts bank_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10616 --
10617
10618 ALTER TABLE ONLY public.bank_accounts
10619     ADD CONSTRAINT bank_accounts_pkey PRIMARY KEY (id);
10620
10621
10622 --
10623 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10624 --
10625
10626 ALTER TABLE ONLY public.bank_transaction_acc_trans
10627     ADD CONSTRAINT bank_transaction_acc_trans_pkey PRIMARY KEY (bank_transaction_id, acc_trans_id);
10628
10629
10630 --
10631 -- Name: bank_transactions bank_transactions_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10632 --
10633
10634 ALTER TABLE ONLY public.bank_transactions
10635     ADD CONSTRAINT bank_transactions_pkey PRIMARY KEY (id);
10636
10637
10638 --
10639 -- Name: bin bin_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10640 --
10641
10642 ALTER TABLE ONLY public.bin
10643     ADD CONSTRAINT bin_pkey PRIMARY KEY (id);
10644
10645
10646 --
10647 -- Name: buchungsgruppen buchungsgruppen_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10648 --
10649
10650 ALTER TABLE ONLY public.buchungsgruppen
10651     ADD CONSTRAINT buchungsgruppen_pkey PRIMARY KEY (id);
10652
10653
10654 --
10655 -- Name: business business_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10656 --
10657
10658 ALTER TABLE ONLY public.business
10659     ADD CONSTRAINT business_pkey PRIMARY KEY (id);
10660
10661
10662 --
10663 -- Name: bank_accounts chart_id_unique; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10664 --
10665
10666 ALTER TABLE ONLY public.bank_accounts
10667     ADD CONSTRAINT chart_id_unique UNIQUE (chart_id);
10668
10669
10670 --
10671 -- Name: tax chart_id_unique_tax; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10672 --
10673
10674 ALTER TABLE ONLY public.tax
10675     ADD CONSTRAINT chart_id_unique_tax UNIQUE (chart_id);
10676
10677
10678 --
10679 -- Name: chart chart_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10680 --
10681
10682 ALTER TABLE ONLY public.chart
10683     ADD CONSTRAINT chart_pkey PRIMARY KEY (id);
10684
10685
10686 --
10687 -- Name: contact_departments contact_departments_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10688 --
10689
10690 ALTER TABLE ONLY public.contact_departments
10691     ADD CONSTRAINT contact_departments_description_key UNIQUE (description);
10692
10693
10694 --
10695 -- Name: contact_departments contact_departments_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10696 --
10697
10698 ALTER TABLE ONLY public.contact_departments
10699     ADD CONSTRAINT contact_departments_pkey PRIMARY KEY (id);
10700
10701
10702 --
10703 -- Name: contact_titles contact_titles_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10704 --
10705
10706 ALTER TABLE ONLY public.contact_titles
10707     ADD CONSTRAINT contact_titles_description_key UNIQUE (description);
10708
10709
10710 --
10711 -- Name: contact_titles contact_titles_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10712 --
10713
10714 ALTER TABLE ONLY public.contact_titles
10715     ADD CONSTRAINT contact_titles_pkey PRIMARY KEY (id);
10716
10717
10718 --
10719 -- Name: contacts contacts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10720 --
10721
10722 ALTER TABLE ONLY public.contacts
10723     ADD CONSTRAINT contacts_pkey PRIMARY KEY (cp_id);
10724
10725
10726 --
10727 -- Name: csv_import_profile_settings csv_import_profile_settings_csv_import_profile_id_key_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10728 --
10729
10730 ALTER TABLE ONLY public.csv_import_profile_settings
10731     ADD CONSTRAINT csv_import_profile_settings_csv_import_profile_id_key_key UNIQUE (csv_import_profile_id, key);
10732
10733
10734 --
10735 -- Name: csv_import_profile_settings csv_import_profile_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10736 --
10737
10738 ALTER TABLE ONLY public.csv_import_profile_settings
10739     ADD CONSTRAINT csv_import_profile_settings_pkey PRIMARY KEY (id);
10740
10741
10742 --
10743 -- Name: csv_import_profiles csv_import_profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10744 --
10745
10746 ALTER TABLE ONLY public.csv_import_profiles
10747     ADD CONSTRAINT csv_import_profiles_pkey PRIMARY KEY (id);
10748
10749
10750 --
10751 -- Name: csv_import_report_rows csv_import_report_rows_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10752 --
10753
10754 ALTER TABLE ONLY public.csv_import_report_rows
10755     ADD CONSTRAINT csv_import_report_rows_pkey PRIMARY KEY (id);
10756
10757
10758 --
10759 -- Name: csv_import_report_status csv_import_report_status_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10760 --
10761
10762 ALTER TABLE ONLY public.csv_import_report_status
10763     ADD CONSTRAINT csv_import_report_status_pkey PRIMARY KEY (id);
10764
10765
10766 --
10767 -- Name: csv_import_reports csv_import_reports_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10768 --
10769
10770 ALTER TABLE ONLY public.csv_import_reports
10771     ADD CONSTRAINT csv_import_reports_pkey PRIMARY KEY (id);
10772
10773
10774 --
10775 -- Name: currencies currencies_name_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10776 --
10777
10778 ALTER TABLE ONLY public.currencies
10779     ADD CONSTRAINT currencies_name_key UNIQUE (name);
10780
10781
10782 --
10783 -- Name: currencies currencies_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10784 --
10785
10786 ALTER TABLE ONLY public.currencies
10787     ADD CONSTRAINT currencies_pkey PRIMARY KEY (id);
10788
10789
10790 --
10791 -- Name: custom_data_export_queries custom_data_export_queries_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10792 --
10793
10794 ALTER TABLE ONLY public.custom_data_export_queries
10795     ADD CONSTRAINT custom_data_export_queries_pkey PRIMARY KEY (id);
10796
10797
10798 --
10799 -- Name: custom_data_export_query_parameters custom_data_export_query_parameters_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10800 --
10801
10802 ALTER TABLE ONLY public.custom_data_export_query_parameters
10803     ADD CONSTRAINT custom_data_export_query_parameters_pkey PRIMARY KEY (id);
10804
10805
10806 --
10807 -- Name: custom_variable_config_partsgroups custom_variable_config_partsgroups_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10808 --
10809
10810 ALTER TABLE ONLY public.custom_variable_config_partsgroups
10811     ADD CONSTRAINT custom_variable_config_partsgroups_pkey PRIMARY KEY (custom_variable_config_id, partsgroup_id);
10812
10813
10814 --
10815 -- Name: custom_variable_configs custom_variable_configs_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10816 --
10817
10818 ALTER TABLE ONLY public.custom_variable_configs
10819     ADD CONSTRAINT custom_variable_configs_pkey PRIMARY KEY (id);
10820
10821
10822 --
10823 -- Name: custom_variables custom_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10824 --
10825
10826 ALTER TABLE ONLY public.custom_variables
10827     ADD CONSTRAINT custom_variables_pkey PRIMARY KEY (id);
10828
10829
10830 --
10831 -- Name: custom_variables_validity custom_variables_validity_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10832 --
10833
10834 ALTER TABLE ONLY public.custom_variables_validity
10835     ADD CONSTRAINT custom_variables_validity_pkey PRIMARY KEY (id);
10836
10837
10838 --
10839 -- Name: customer customer_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10840 --
10841
10842 ALTER TABLE ONLY public.customer
10843     ADD CONSTRAINT customer_pkey PRIMARY KEY (id);
10844
10845
10846 --
10847 -- Name: datev datev_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10848 --
10849
10850 ALTER TABLE ONLY public.datev
10851     ADD CONSTRAINT datev_pkey PRIMARY KEY (id);
10852
10853
10854 --
10855 -- Name: defaults defaults_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10856 --
10857
10858 ALTER TABLE ONLY public.defaults
10859     ADD CONSTRAINT defaults_pkey PRIMARY KEY (id);
10860
10861
10862 --
10863 -- Name: delivery_order_items delivery_order_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10864 --
10865
10866 ALTER TABLE ONLY public.delivery_order_items
10867     ADD CONSTRAINT delivery_order_items_pkey PRIMARY KEY (id);
10868
10869
10870 --
10871 -- Name: delivery_order_items_stock delivery_order_items_stock_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10872 --
10873
10874 ALTER TABLE ONLY public.delivery_order_items_stock
10875     ADD CONSTRAINT delivery_order_items_stock_pkey PRIMARY KEY (id);
10876
10877
10878 --
10879 -- Name: delivery_orders delivery_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10880 --
10881
10882 ALTER TABLE ONLY public.delivery_orders
10883     ADD CONSTRAINT delivery_orders_pkey PRIMARY KEY (id);
10884
10885
10886 --
10887 -- Name: delivery_terms delivery_terms_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10888 --
10889
10890 ALTER TABLE ONLY public.delivery_terms
10891     ADD CONSTRAINT delivery_terms_pkey PRIMARY KEY (id);
10892
10893
10894 --
10895 -- Name: department department_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10896 --
10897
10898 ALTER TABLE ONLY public.department
10899     ADD CONSTRAINT department_pkey PRIMARY KEY (id);
10900
10901
10902 --
10903 -- Name: drafts drafts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10904 --
10905
10906 ALTER TABLE ONLY public.drafts
10907     ADD CONSTRAINT drafts_pkey PRIMARY KEY (id);
10908
10909
10910 --
10911 -- Name: dunning_config dunning_config_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10912 --
10913
10914 ALTER TABLE ONLY public.dunning_config
10915     ADD CONSTRAINT dunning_config_pkey PRIMARY KEY (id);
10916
10917
10918 --
10919 -- Name: dunning dunning_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10920 --
10921
10922 ALTER TABLE ONLY public.dunning
10923     ADD CONSTRAINT dunning_pkey PRIMARY KEY (id);
10924
10925
10926 --
10927 -- Name: email_journal_attachments email_journal_attachments_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10928 --
10929
10930 ALTER TABLE ONLY public.email_journal_attachments
10931     ADD CONSTRAINT email_journal_attachments_pkey PRIMARY KEY (id);
10932
10933
10934 --
10935 -- Name: email_journal email_journal_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10936 --
10937
10938 ALTER TABLE ONLY public.email_journal
10939     ADD CONSTRAINT email_journal_pkey PRIMARY KEY (id);
10940
10941
10942 --
10943 -- Name: employee employee_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10944 --
10945
10946 ALTER TABLE ONLY public.employee
10947     ADD CONSTRAINT employee_pkey PRIMARY KEY (id);
10948
10949
10950 --
10951 -- Name: employee_project_invoices employee_project_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10952 --
10953
10954 ALTER TABLE ONLY public.employee_project_invoices
10955     ADD CONSTRAINT employee_project_invoices_pkey PRIMARY KEY (employee_id, project_id);
10956
10957
10958 --
10959 -- Name: exchangerate exchangerate_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10960 --
10961
10962 ALTER TABLE ONLY public.exchangerate
10963     ADD CONSTRAINT exchangerate_pkey PRIMARY KEY (id);
10964
10965
10966 --
10967 -- Name: file_full_texts file_full_texts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10968 --
10969
10970 ALTER TABLE ONLY public.file_full_texts
10971     ADD CONSTRAINT file_full_texts_pkey PRIMARY KEY (id);
10972
10973
10974 --
10975 -- Name: files files_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10976 --
10977
10978 ALTER TABLE ONLY public.files
10979     ADD CONSTRAINT files_pkey PRIMARY KEY (id);
10980
10981
10982 --
10983 -- Name: finanzamt finanzamt_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10984 --
10985
10986 ALTER TABLE ONLY public.finanzamt
10987     ADD CONSTRAINT finanzamt_pkey PRIMARY KEY (id);
10988
10989
10990 --
10991 -- Name: follow_up_access follow_up_access_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
10992 --
10993
10994 ALTER TABLE ONLY public.follow_up_access
10995     ADD CONSTRAINT follow_up_access_pkey PRIMARY KEY (id);
10996
10997
10998 --
10999 -- Name: follow_up_links follow_up_links_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11000 --
11001
11002 ALTER TABLE ONLY public.follow_up_links
11003     ADD CONSTRAINT follow_up_links_pkey PRIMARY KEY (id);
11004
11005
11006 --
11007 -- Name: follow_ups follow_ups_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11008 --
11009
11010 ALTER TABLE ONLY public.follow_ups
11011     ADD CONSTRAINT follow_ups_pkey PRIMARY KEY (id);
11012
11013
11014 --
11015 -- Name: generic_translations generic_translations_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11016 --
11017
11018 ALTER TABLE ONLY public.generic_translations
11019     ADD CONSTRAINT generic_translations_pkey PRIMARY KEY (id);
11020
11021
11022 --
11023 -- Name: gl gl_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11024 --
11025
11026 ALTER TABLE ONLY public.gl
11027     ADD CONSTRAINT gl_pkey PRIMARY KEY (id);
11028
11029
11030 --
11031 -- Name: greetings greetings_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11032 --
11033
11034 ALTER TABLE ONLY public.greetings
11035     ADD CONSTRAINT greetings_description_key UNIQUE (description);
11036
11037
11038 --
11039 -- Name: greetings greetings_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11040 --
11041
11042 ALTER TABLE ONLY public.greetings
11043     ADD CONSTRAINT greetings_pkey PRIMARY KEY (id);
11044
11045
11046 --
11047 -- Name: history_erp history_erp_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11048 --
11049
11050 ALTER TABLE ONLY public.history_erp
11051     ADD CONSTRAINT history_erp_pkey PRIMARY KEY (id);
11052
11053
11054 --
11055 -- Name: inventory inventory_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11056 --
11057
11058 ALTER TABLE ONLY public.inventory
11059     ADD CONSTRAINT inventory_pkey PRIMARY KEY (id);
11060
11061
11062 --
11063 -- Name: invoice invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11064 --
11065
11066 ALTER TABLE ONLY public.invoice
11067     ADD CONSTRAINT invoice_pkey PRIMARY KEY (id);
11068
11069
11070 --
11071 -- Name: language language_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11072 --
11073
11074 ALTER TABLE ONLY public.language
11075     ADD CONSTRAINT language_pkey PRIMARY KEY (id);
11076
11077
11078 --
11079 -- Name: letter_draft letter_draft_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11080 --
11081
11082 ALTER TABLE ONLY public.letter_draft
11083     ADD CONSTRAINT letter_draft_pkey PRIMARY KEY (id);
11084
11085
11086 --
11087 -- Name: letter letter_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11088 --
11089
11090 ALTER TABLE ONLY public.letter
11091     ADD CONSTRAINT letter_pkey PRIMARY KEY (id);
11092
11093
11094 --
11095 -- Name: makemodel makemodel_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11096 --
11097
11098 ALTER TABLE ONLY public.makemodel
11099     ADD CONSTRAINT makemodel_pkey PRIMARY KEY (id);
11100
11101
11102 --
11103 -- Name: notes notes_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11104 --
11105
11106 ALTER TABLE ONLY public.notes
11107     ADD CONSTRAINT notes_pkey PRIMARY KEY (id);
11108
11109
11110 --
11111 -- Name: oe oe_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11112 --
11113
11114 ALTER TABLE ONLY public.oe
11115     ADD CONSTRAINT oe_pkey PRIMARY KEY (id);
11116
11117
11118 --
11119 -- Name: orderitems orderitems_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11120 --
11121
11122 ALTER TABLE ONLY public.orderitems
11123     ADD CONSTRAINT orderitems_pkey PRIMARY KEY (id);
11124
11125
11126 --
11127 -- Name: part_classifications part_classifications_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11128 --
11129
11130 ALTER TABLE ONLY public.part_classifications
11131     ADD CONSTRAINT part_classifications_pkey PRIMARY KEY (id);
11132
11133
11134 --
11135 -- Name: part_customer_prices part_customer_prices_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11136 --
11137
11138 ALTER TABLE ONLY public.part_customer_prices
11139     ADD CONSTRAINT part_customer_prices_pkey PRIMARY KEY (id);
11140
11141
11142 --
11143 -- Name: prices parts_id_pricegroup_id_unique; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11144 --
11145
11146 ALTER TABLE ONLY public.prices
11147     ADD CONSTRAINT parts_id_pricegroup_id_unique UNIQUE (parts_id, pricegroup_id);
11148
11149
11150 --
11151 -- Name: parts parts_partnumber_key1; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11152 --
11153
11154 ALTER TABLE ONLY public.parts
11155     ADD CONSTRAINT parts_partnumber_key1 UNIQUE (partnumber);
11156
11157
11158 --
11159 -- Name: parts parts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11160 --
11161
11162 ALTER TABLE ONLY public.parts
11163     ADD CONSTRAINT parts_pkey PRIMARY KEY (id);
11164
11165
11166 --
11167 -- Name: parts_price_history parts_price_history_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11168 --
11169
11170 ALTER TABLE ONLY public.parts_price_history
11171     ADD CONSTRAINT parts_price_history_pkey PRIMARY KEY (id);
11172
11173
11174 --
11175 -- Name: partsgroup partsgroup_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11176 --
11177
11178 ALTER TABLE ONLY public.partsgroup
11179     ADD CONSTRAINT partsgroup_pkey PRIMARY KEY (id);
11180
11181
11182 --
11183 -- Name: payment_terms payment_terms_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11184 --
11185
11186 ALTER TABLE ONLY public.payment_terms
11187     ADD CONSTRAINT payment_terms_pkey PRIMARY KEY (id);
11188
11189
11190 --
11191 -- Name: periodic_invoices_configs periodic_invoices_configs_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11192 --
11193
11194 ALTER TABLE ONLY public.periodic_invoices_configs
11195     ADD CONSTRAINT periodic_invoices_configs_pkey PRIMARY KEY (id);
11196
11197
11198 --
11199 -- Name: periodic_invoices periodic_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11200 --
11201
11202 ALTER TABLE ONLY public.periodic_invoices
11203     ADD CONSTRAINT periodic_invoices_pkey PRIMARY KEY (id);
11204
11205
11206 --
11207 -- Name: price_factors price_factors_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11208 --
11209
11210 ALTER TABLE ONLY public.price_factors
11211     ADD CONSTRAINT price_factors_pkey PRIMARY KEY (id);
11212
11213
11214 --
11215 -- Name: price_rule_items price_rule_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11216 --
11217
11218 ALTER TABLE ONLY public.price_rule_items
11219     ADD CONSTRAINT price_rule_items_pkey PRIMARY KEY (id);
11220
11221
11222 --
11223 -- Name: price_rules price_rules_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11224 --
11225
11226 ALTER TABLE ONLY public.price_rules
11227     ADD CONSTRAINT price_rules_pkey PRIMARY KEY (id);
11228
11229
11230 --
11231 -- Name: pricegroup pricegroup_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11232 --
11233
11234 ALTER TABLE ONLY public.pricegroup
11235     ADD CONSTRAINT pricegroup_pkey PRIMARY KEY (id);
11236
11237
11238 --
11239 -- Name: prices prices_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11240 --
11241
11242 ALTER TABLE ONLY public.prices
11243     ADD CONSTRAINT prices_pkey PRIMARY KEY (id);
11244
11245
11246 --
11247 -- Name: printers printers_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11248 --
11249
11250 ALTER TABLE ONLY public.printers
11251     ADD CONSTRAINT printers_pkey PRIMARY KEY (id);
11252
11253
11254 --
11255 -- Name: project_participants project_participants_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11256 --
11257
11258 ALTER TABLE ONLY public.project_participants
11259     ADD CONSTRAINT project_participants_pkey PRIMARY KEY (id);
11260
11261
11262 --
11263 -- Name: project_phase_participants project_phase_participants_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11264 --
11265
11266 ALTER TABLE ONLY public.project_phase_participants
11267     ADD CONSTRAINT project_phase_participants_pkey PRIMARY KEY (id);
11268
11269
11270 --
11271 -- Name: project_phases project_phases_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11272 --
11273
11274 ALTER TABLE ONLY public.project_phases
11275     ADD CONSTRAINT project_phases_pkey PRIMARY KEY (id);
11276
11277
11278 --
11279 -- Name: project project_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11280 --
11281
11282 ALTER TABLE ONLY public.project
11283     ADD CONSTRAINT project_pkey PRIMARY KEY (id);
11284
11285
11286 --
11287 -- Name: project project_projectnumber_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11288 --
11289
11290 ALTER TABLE ONLY public.project
11291     ADD CONSTRAINT project_projectnumber_key UNIQUE (projectnumber);
11292
11293
11294 --
11295 -- Name: project_roles project_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11296 --
11297
11298 ALTER TABLE ONLY public.project_roles
11299     ADD CONSTRAINT project_roles_pkey PRIMARY KEY (id);
11300
11301
11302 --
11303 -- Name: project_statuses project_status_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11304 --
11305
11306 ALTER TABLE ONLY public.project_statuses
11307     ADD CONSTRAINT project_status_pkey PRIMARY KEY (id);
11308
11309
11310 --
11311 -- Name: project_types project_types_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11312 --
11313
11314 ALTER TABLE ONLY public.project_types
11315     ADD CONSTRAINT project_types_pkey PRIMARY KEY (id);
11316
11317
11318 --
11319 -- Name: reconciliation_links reconciliation_links_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11320 --
11321
11322 ALTER TABLE ONLY public.reconciliation_links
11323     ADD CONSTRAINT reconciliation_links_pkey PRIMARY KEY (id);
11324
11325
11326 --
11327 -- Name: record_links record_links_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11328 --
11329
11330 ALTER TABLE ONLY public.record_links
11331     ADD CONSTRAINT record_links_pkey PRIMARY KEY (id);
11332
11333
11334 --
11335 -- Name: record_template_items record_template_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11336 --
11337
11338 ALTER TABLE ONLY public.record_template_items
11339     ADD CONSTRAINT record_template_items_pkey PRIMARY KEY (id);
11340
11341
11342 --
11343 -- Name: record_templates record_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11344 --
11345
11346 ALTER TABLE ONLY public.record_templates
11347     ADD CONSTRAINT record_templates_pkey PRIMARY KEY (id);
11348
11349
11350 --
11351 -- Name: requirement_spec_acceptance_statuses requirement_spec_acceptance_statuses_name_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11352 --
11353
11354 ALTER TABLE ONLY public.requirement_spec_acceptance_statuses
11355     ADD CONSTRAINT requirement_spec_acceptance_statuses_name_description_key UNIQUE (name, description);
11356
11357
11358 --
11359 -- Name: requirement_spec_acceptance_statuses requirement_spec_acceptance_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11360 --
11361
11362 ALTER TABLE ONLY public.requirement_spec_acceptance_statuses
11363     ADD CONSTRAINT requirement_spec_acceptance_statuses_pkey PRIMARY KEY (id);
11364
11365
11366 --
11367 -- Name: requirement_spec_complexities requirement_spec_complexities_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11368 --
11369
11370 ALTER TABLE ONLY public.requirement_spec_complexities
11371     ADD CONSTRAINT requirement_spec_complexities_description_key UNIQUE (description);
11372
11373
11374 --
11375 -- Name: requirement_spec_complexities requirement_spec_complexities_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11376 --
11377
11378 ALTER TABLE ONLY public.requirement_spec_complexities
11379     ADD CONSTRAINT requirement_spec_complexities_pkey PRIMARY KEY (id);
11380
11381
11382 --
11383 -- Name: requirement_spec_orders requirement_spec_id_order_id_unique; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11384 --
11385
11386 ALTER TABLE ONLY public.requirement_spec_orders
11387     ADD CONSTRAINT requirement_spec_id_order_id_unique UNIQUE (requirement_spec_id, order_id);
11388
11389
11390 --
11391 -- Name: requirement_spec_item_dependencies requirement_spec_item_dependencies_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11392 --
11393
11394 ALTER TABLE ONLY public.requirement_spec_item_dependencies
11395     ADD CONSTRAINT requirement_spec_item_dependencies_pkey PRIMARY KEY (depending_item_id, depended_item_id);
11396
11397
11398 --
11399 -- Name: requirement_spec_items requirement_spec_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11400 --
11401
11402 ALTER TABLE ONLY public.requirement_spec_items
11403     ADD CONSTRAINT requirement_spec_items_pkey PRIMARY KEY (id);
11404
11405
11406 --
11407 -- Name: requirement_spec_orders requirement_spec_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11408 --
11409
11410 ALTER TABLE ONLY public.requirement_spec_orders
11411     ADD CONSTRAINT requirement_spec_orders_pkey PRIMARY KEY (id);
11412
11413
11414 --
11415 -- Name: requirement_spec_parts requirement_spec_parts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11416 --
11417
11418 ALTER TABLE ONLY public.requirement_spec_parts
11419     ADD CONSTRAINT requirement_spec_parts_pkey PRIMARY KEY (id);
11420
11421
11422 --
11423 -- Name: requirement_spec_pictures requirement_spec_pictures_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11424 --
11425
11426 ALTER TABLE ONLY public.requirement_spec_pictures
11427     ADD CONSTRAINT requirement_spec_pictures_pkey PRIMARY KEY (id);
11428
11429
11430 --
11431 -- Name: requirement_spec_predefined_texts requirement_spec_predefined_texts_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11432 --
11433
11434 ALTER TABLE ONLY public.requirement_spec_predefined_texts
11435     ADD CONSTRAINT requirement_spec_predefined_texts_description_key UNIQUE (description);
11436
11437
11438 --
11439 -- Name: requirement_spec_predefined_texts requirement_spec_predefined_texts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11440 --
11441
11442 ALTER TABLE ONLY public.requirement_spec_predefined_texts
11443     ADD CONSTRAINT requirement_spec_predefined_texts_pkey PRIMARY KEY (id);
11444
11445
11446 --
11447 -- Name: requirement_spec_risks requirement_spec_risks_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11448 --
11449
11450 ALTER TABLE ONLY public.requirement_spec_risks
11451     ADD CONSTRAINT requirement_spec_risks_description_key UNIQUE (description);
11452
11453
11454 --
11455 -- Name: requirement_spec_risks requirement_spec_risks_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11456 --
11457
11458 ALTER TABLE ONLY public.requirement_spec_risks
11459     ADD CONSTRAINT requirement_spec_risks_pkey PRIMARY KEY (id);
11460
11461
11462 --
11463 -- Name: requirement_spec_statuses requirement_spec_statuses_name_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11464 --
11465
11466 ALTER TABLE ONLY public.requirement_spec_statuses
11467     ADD CONSTRAINT requirement_spec_statuses_name_description_key UNIQUE (name, description);
11468
11469
11470 --
11471 -- Name: requirement_spec_statuses requirement_spec_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11472 --
11473
11474 ALTER TABLE ONLY public.requirement_spec_statuses
11475     ADD CONSTRAINT requirement_spec_statuses_pkey PRIMARY KEY (id);
11476
11477
11478 --
11479 -- Name: requirement_spec_text_blocks requirement_spec_text_blocks_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11480 --
11481
11482 ALTER TABLE ONLY public.requirement_spec_text_blocks
11483     ADD CONSTRAINT requirement_spec_text_blocks_pkey PRIMARY KEY (id);
11484
11485
11486 --
11487 -- Name: requirement_spec_types requirement_spec_types_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11488 --
11489
11490 ALTER TABLE ONLY public.requirement_spec_types
11491     ADD CONSTRAINT requirement_spec_types_description_key UNIQUE (description);
11492
11493
11494 --
11495 -- Name: requirement_spec_types requirement_spec_types_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11496 --
11497
11498 ALTER TABLE ONLY public.requirement_spec_types
11499     ADD CONSTRAINT requirement_spec_types_pkey PRIMARY KEY (id);
11500
11501
11502 --
11503 -- Name: requirement_spec_versions requirement_spec_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11504 --
11505
11506 ALTER TABLE ONLY public.requirement_spec_versions
11507     ADD CONSTRAINT requirement_spec_versions_pkey PRIMARY KEY (id);
11508
11509
11510 --
11511 -- Name: requirement_specs requirement_specs_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11512 --
11513
11514 ALTER TABLE ONLY public.requirement_specs
11515     ADD CONSTRAINT requirement_specs_pkey PRIMARY KEY (id);
11516
11517
11518 --
11519 -- Name: schema_info schema_info_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11520 --
11521
11522 ALTER TABLE ONLY public.schema_info
11523     ADD CONSTRAINT schema_info_pkey PRIMARY KEY (tag);
11524
11525
11526 --
11527 -- Name: sepa_export_items sepa_export_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11528 --
11529
11530 ALTER TABLE ONLY public.sepa_export_items
11531     ADD CONSTRAINT sepa_export_items_pkey PRIMARY KEY (id);
11532
11533
11534 --
11535 -- Name: sepa_export_message_ids sepa_export_message_ids_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11536 --
11537
11538 ALTER TABLE ONLY public.sepa_export_message_ids
11539     ADD CONSTRAINT sepa_export_message_ids_pkey PRIMARY KEY (id);
11540
11541
11542 --
11543 -- Name: sepa_export sepa_export_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11544 --
11545
11546 ALTER TABLE ONLY public.sepa_export
11547     ADD CONSTRAINT sepa_export_pkey PRIMARY KEY (id);
11548
11549
11550 --
11551 -- Name: shipto shipto_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11552 --
11553
11554 ALTER TABLE ONLY public.shipto
11555     ADD CONSTRAINT shipto_pkey PRIMARY KEY (shipto_id);
11556
11557
11558 --
11559 -- Name: shop_images shop_images_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11560 --
11561
11562 ALTER TABLE ONLY public.shop_images
11563     ADD CONSTRAINT shop_images_pkey PRIMARY KEY (id);
11564
11565
11566 --
11567 -- Name: shop_order_items shop_order_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11568 --
11569
11570 ALTER TABLE ONLY public.shop_order_items
11571     ADD CONSTRAINT shop_order_items_pkey PRIMARY KEY (id);
11572
11573
11574 --
11575 -- Name: shop_orders shop_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11576 --
11577
11578 ALTER TABLE ONLY public.shop_orders
11579     ADD CONSTRAINT shop_orders_pkey PRIMARY KEY (id);
11580
11581
11582 --
11583 -- Name: shop_parts shop_parts_part_id_shop_id_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11584 --
11585
11586 ALTER TABLE ONLY public.shop_parts
11587     ADD CONSTRAINT shop_parts_part_id_shop_id_key UNIQUE (part_id, shop_id);
11588
11589
11590 --
11591 -- Name: shop_parts shop_parts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11592 --
11593
11594 ALTER TABLE ONLY public.shop_parts
11595     ADD CONSTRAINT shop_parts_pkey PRIMARY KEY (id);
11596
11597
11598 --
11599 -- Name: shops shops_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11600 --
11601
11602 ALTER TABLE ONLY public.shops
11603     ADD CONSTRAINT shops_pkey PRIMARY KEY (id);
11604
11605
11606 --
11607 -- Name: status status_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11608 --
11609
11610 ALTER TABLE ONLY public.status
11611     ADD CONSTRAINT status_pkey PRIMARY KEY (id);
11612
11613
11614 --
11615 -- Name: stocktakings stocktakings_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11616 --
11617
11618 ALTER TABLE ONLY public.stocktakings
11619     ADD CONSTRAINT stocktakings_pkey PRIMARY KEY (id);
11620
11621
11622 --
11623 -- Name: tax tax_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11624 --
11625
11626 ALTER TABLE ONLY public.tax
11627     ADD CONSTRAINT tax_pkey PRIMARY KEY (id);
11628
11629
11630 --
11631 -- Name: tax_zones tax_zones_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11632 --
11633
11634 ALTER TABLE ONLY public.tax_zones
11635     ADD CONSTRAINT tax_zones_pkey PRIMARY KEY (id);
11636
11637
11638 --
11639 -- Name: taxkeys taxkeys_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11640 --
11641
11642 ALTER TABLE ONLY public.taxkeys
11643     ADD CONSTRAINT taxkeys_pkey PRIMARY KEY (id);
11644
11645
11646 --
11647 -- Name: taxzone_charts taxzone_charts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11648 --
11649
11650 ALTER TABLE ONLY public.taxzone_charts
11651     ADD CONSTRAINT taxzone_charts_pkey PRIMARY KEY (id);
11652
11653
11654 --
11655 -- Name: time_recording_articles time_recording_articles_part_id_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11656 --
11657
11658 ALTER TABLE ONLY public.time_recording_articles
11659     ADD CONSTRAINT time_recording_articles_part_id_key UNIQUE (part_id);
11660
11661
11662 --
11663 -- Name: time_recording_articles time_recording_articles_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11664 --
11665
11666 ALTER TABLE ONLY public.time_recording_articles
11667     ADD CONSTRAINT time_recording_articles_pkey PRIMARY KEY (id);
11668
11669
11670 --
11671 -- Name: time_recordings time_recordings_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11672 --
11673
11674 ALTER TABLE ONLY public.time_recordings
11675     ADD CONSTRAINT time_recordings_pkey PRIMARY KEY (id);
11676
11677
11678 --
11679 -- Name: todo_user_config todo_user_config_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11680 --
11681
11682 ALTER TABLE ONLY public.todo_user_config
11683     ADD CONSTRAINT todo_user_config_pkey PRIMARY KEY (id);
11684
11685
11686 --
11687 -- Name: transfer_type transfer_type_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11688 --
11689
11690 ALTER TABLE ONLY public.transfer_type
11691     ADD CONSTRAINT transfer_type_pkey PRIMARY KEY (id);
11692
11693
11694 --
11695 -- Name: translation translation_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11696 --
11697
11698 ALTER TABLE ONLY public.translation
11699     ADD CONSTRAINT translation_pkey PRIMARY KEY (id);
11700
11701
11702 --
11703 -- Name: trigger_information trigger_information_key_value_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11704 --
11705
11706 ALTER TABLE ONLY public.trigger_information
11707     ADD CONSTRAINT trigger_information_key_value_key UNIQUE (key, value);
11708
11709
11710 --
11711 -- Name: trigger_information trigger_information_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11712 --
11713
11714 ALTER TABLE ONLY public.trigger_information
11715     ADD CONSTRAINT trigger_information_pkey PRIMARY KEY (id);
11716
11717
11718 --
11719 -- Name: units units_id_unique; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11720 --
11721
11722 ALTER TABLE ONLY public.units
11723     ADD CONSTRAINT units_id_unique UNIQUE (id);
11724
11725
11726 --
11727 -- Name: units_language units_language_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11728 --
11729
11730 ALTER TABLE ONLY public.units_language
11731     ADD CONSTRAINT units_language_pkey PRIMARY KEY (id);
11732
11733
11734 --
11735 -- Name: units units_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11736 --
11737
11738 ALTER TABLE ONLY public.units
11739     ADD CONSTRAINT units_pkey PRIMARY KEY (name);
11740
11741
11742 --
11743 -- Name: user_preferences user_preferences_login_namespace_version_key_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11744 --
11745
11746 ALTER TABLE ONLY public.user_preferences
11747     ADD CONSTRAINT user_preferences_login_namespace_version_key_key UNIQUE (login, namespace, version, key);
11748
11749
11750 --
11751 -- Name: user_preferences user_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11752 --
11753
11754 ALTER TABLE ONLY public.user_preferences
11755     ADD CONSTRAINT user_preferences_pkey PRIMARY KEY (id);
11756
11757
11758 --
11759 -- Name: vendor vendor_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11760 --
11761
11762 ALTER TABLE ONLY public.vendor
11763     ADD CONSTRAINT vendor_pkey PRIMARY KEY (id);
11764
11765
11766 --
11767 -- Name: warehouse warehouse_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11768 --
11769
11770 ALTER TABLE ONLY public.warehouse
11771     ADD CONSTRAINT warehouse_pkey PRIMARY KEY (id);
11772
11773
11774 --
11775 -- Name: report_categories report_categorys_pkey; Type: CONSTRAINT; Schema: tax; Owner: kivitendo
11776 --
11777
11778 ALTER TABLE ONLY tax.report_categories
11779     ADD CONSTRAINT report_categorys_pkey PRIMARY KEY (id);
11780
11781
11782 --
11783 -- Name: report_headings report_headings_pkey; Type: CONSTRAINT; Schema: tax; Owner: kivitendo
11784 --
11785
11786 ALTER TABLE ONLY tax.report_headings
11787     ADD CONSTRAINT report_headings_pkey PRIMARY KEY (id);
11788
11789
11790 --
11791 -- Name: report_variables report_variables_pkey; Type: CONSTRAINT; Schema: tax; Owner: kivitendo
11792 --
11793
11794 ALTER TABLE ONLY tax.report_variables
11795     ADD CONSTRAINT report_variables_pkey PRIMARY KEY (id);
11796
11797
11798 --
11799 -- Name: acc_trans_chart_id_key; Type: INDEX; Schema: public; Owner: kivitendo
11800 --
11801
11802 CREATE INDEX acc_trans_chart_id_key ON public.acc_trans USING btree (chart_id);
11803
11804
11805 --
11806 -- Name: acc_trans_source_key; Type: INDEX; Schema: public; Owner: kivitendo
11807 --
11808
11809 CREATE INDEX acc_trans_source_key ON public.acc_trans USING btree (lower(source));
11810
11811
11812 --
11813 -- Name: acc_trans_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
11814 --
11815
11816 CREATE INDEX acc_trans_trans_id_key ON public.acc_trans USING btree (trans_id);
11817
11818
11819 --
11820 -- Name: acc_trans_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
11821 --
11822
11823 CREATE INDEX acc_trans_transdate_key ON public.acc_trans USING btree (transdate);
11824
11825
11826 --
11827 -- Name: ap_employee_id_key; Type: INDEX; Schema: public; Owner: kivitendo
11828 --
11829
11830 CREATE INDEX ap_employee_id_key ON public.ap USING btree (employee_id);
11831
11832
11833 --
11834 -- Name: ap_invnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11835 --
11836
11837 CREATE INDEX ap_invnumber_gin_trgm_idx ON public.ap USING gin (invnumber public.gin_trgm_ops);
11838
11839
11840 --
11841 -- Name: ap_invnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
11842 --
11843
11844 CREATE INDEX ap_invnumber_key ON public.ap USING btree (lower(invnumber));
11845
11846
11847 --
11848 -- Name: ap_ordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11849 --
11850
11851 CREATE INDEX ap_ordnumber_gin_trgm_idx ON public.ap USING gin (ordnumber public.gin_trgm_ops);
11852
11853
11854 --
11855 -- Name: ap_ordnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
11856 --
11857
11858 CREATE INDEX ap_ordnumber_key ON public.ap USING btree (lower(ordnumber));
11859
11860
11861 --
11862 -- Name: ap_quonumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11863 --
11864
11865 CREATE INDEX ap_quonumber_gin_trgm_idx ON public.ap USING gin (quonumber public.gin_trgm_ops);
11866
11867
11868 --
11869 -- Name: ap_quonumber_key; Type: INDEX; Schema: public; Owner: kivitendo
11870 --
11871
11872 CREATE INDEX ap_quonumber_key ON public.ap USING btree (lower(quonumber));
11873
11874
11875 --
11876 -- Name: ap_transaction_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11877 --
11878
11879 CREATE INDEX ap_transaction_description_gin_trgm_idx ON public.ap USING gin (transaction_description public.gin_trgm_ops);
11880
11881
11882 --
11883 -- Name: ap_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
11884 --
11885
11886 CREATE INDEX ap_transdate_key ON public.ap USING btree (transdate);
11887
11888
11889 --
11890 -- Name: ap_vendor_id_key; Type: INDEX; Schema: public; Owner: kivitendo
11891 --
11892
11893 CREATE INDEX ap_vendor_id_key ON public.ap USING btree (vendor_id);
11894
11895
11896 --
11897 -- Name: ar_cusordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11898 --
11899
11900 CREATE INDEX ar_cusordnumber_gin_trgm_idx ON public.ar USING gin (cusordnumber public.gin_trgm_ops);
11901
11902
11903 --
11904 -- Name: ar_customer_id_key; Type: INDEX; Schema: public; Owner: kivitendo
11905 --
11906
11907 CREATE INDEX ar_customer_id_key ON public.ar USING btree (customer_id);
11908
11909
11910 --
11911 -- Name: ar_employee_id_key; Type: INDEX; Schema: public; Owner: kivitendo
11912 --
11913
11914 CREATE INDEX ar_employee_id_key ON public.ar USING btree (employee_id);
11915
11916
11917 --
11918 -- Name: ar_invnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11919 --
11920
11921 CREATE INDEX ar_invnumber_gin_trgm_idx ON public.ar USING gin (invnumber public.gin_trgm_ops);
11922
11923
11924 --
11925 -- Name: ar_invnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
11926 --
11927
11928 CREATE INDEX ar_invnumber_key ON public.ar USING btree (lower(invnumber));
11929
11930
11931 --
11932 -- Name: ar_ordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11933 --
11934
11935 CREATE INDEX ar_ordnumber_gin_trgm_idx ON public.ar USING gin (ordnumber public.gin_trgm_ops);
11936
11937
11938 --
11939 -- Name: ar_ordnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
11940 --
11941
11942 CREATE INDEX ar_ordnumber_key ON public.ar USING btree (lower(ordnumber));
11943
11944
11945 --
11946 -- Name: ar_quonumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11947 --
11948
11949 CREATE INDEX ar_quonumber_gin_trgm_idx ON public.ar USING gin (quonumber public.gin_trgm_ops);
11950
11951
11952 --
11953 -- Name: ar_quonumber_key; Type: INDEX; Schema: public; Owner: kivitendo
11954 --
11955
11956 CREATE INDEX ar_quonumber_key ON public.ar USING btree (lower(quonumber));
11957
11958
11959 --
11960 -- Name: ar_transaction_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
11961 --
11962
11963 CREATE INDEX ar_transaction_description_gin_trgm_idx ON public.ar USING gin (transaction_description public.gin_trgm_ops);
11964
11965
11966 --
11967 -- Name: ar_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
11968 --
11969
11970 CREATE INDEX ar_transdate_key ON public.ar USING btree (transdate);
11971
11972
11973 --
11974 -- Name: assembly_id_key; Type: INDEX; Schema: public; Owner: kivitendo
11975 --
11976
11977 CREATE INDEX assembly_id_key ON public.assembly USING btree (id);
11978
11979
11980 --
11981 -- Name: chart_accno_key; Type: INDEX; Schema: public; Owner: kivitendo
11982 --
11983
11984 CREATE UNIQUE INDEX chart_accno_key ON public.chart USING btree (accno);
11985
11986
11987 --
11988 -- Name: chart_category_key; Type: INDEX; Schema: public; Owner: kivitendo
11989 --
11990
11991 CREATE INDEX chart_category_key ON public.chart USING btree (category);
11992
11993
11994 --
11995 -- Name: chart_link_key; Type: INDEX; Schema: public; Owner: kivitendo
11996 --
11997
11998 CREATE INDEX chart_link_key ON public.chart USING btree (link);
11999
12000
12001 --
12002 -- Name: csv_import_report_rows_index_row; Type: INDEX; Schema: public; Owner: kivitendo
12003 --
12004
12005 CREATE INDEX csv_import_report_rows_index_row ON public.csv_import_report_rows USING btree ("row");
12006
12007
12008 --
12009 -- Name: custom_variables_config_id_idx; Type: INDEX; Schema: public; Owner: kivitendo
12010 --
12011
12012 CREATE INDEX custom_variables_config_id_idx ON public.custom_variables USING btree (config_id);
12013
12014
12015 --
12016 -- Name: custom_variables_sub_module_idx; Type: INDEX; Schema: public; Owner: kivitendo
12017 --
12018
12019 CREATE INDEX custom_variables_sub_module_idx ON public.custom_variables USING btree (sub_module);
12020
12021
12022 --
12023 -- Name: custom_variables_trans_config_module_idx; Type: INDEX; Schema: public; Owner: kivitendo
12024 --
12025
12026 CREATE INDEX custom_variables_trans_config_module_idx ON public.custom_variables USING btree (config_id, trans_id, sub_module);
12027
12028
12029 --
12030 -- Name: customer_contact_key; Type: INDEX; Schema: public; Owner: kivitendo
12031 --
12032
12033 CREATE INDEX customer_contact_key ON public.customer USING btree (contact);
12034
12035
12036 --
12037 -- Name: customer_customernumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12038 --
12039
12040 CREATE INDEX customer_customernumber_gin_trgm_idx ON public.customer USING gin (customernumber public.gin_trgm_ops);
12041
12042
12043 --
12044 -- Name: customer_customernumber_key; Type: INDEX; Schema: public; Owner: kivitendo
12045 --
12046
12047 CREATE INDEX customer_customernumber_key ON public.customer USING btree (customernumber);
12048
12049
12050 --
12051 -- Name: customer_name_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12052 --
12053
12054 CREATE INDEX customer_name_gin_trgm_idx ON public.customer USING gin (name public.gin_trgm_ops);
12055
12056
12057 --
12058 -- Name: customer_name_key; Type: INDEX; Schema: public; Owner: kivitendo
12059 --
12060
12061 CREATE INDEX customer_name_key ON public.customer USING btree (name);
12062
12063
12064 --
12065 -- Name: customer_street_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12066 --
12067
12068 CREATE INDEX customer_street_gin_trgm_idx ON public.customer USING gin (street public.gin_trgm_ops);
12069
12070
12071 --
12072 -- Name: do_cusordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12073 --
12074
12075 CREATE INDEX do_cusordnumber_gin_trgm_idx ON public.delivery_orders USING gin (cusordnumber public.gin_trgm_ops);
12076
12077
12078 --
12079 -- Name: do_donumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12080 --
12081
12082 CREATE INDEX do_donumber_gin_trgm_idx ON public.delivery_orders USING gin (donumber public.gin_trgm_ops);
12083
12084
12085 --
12086 -- Name: do_ordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12087 --
12088
12089 CREATE INDEX do_ordnumber_gin_trgm_idx ON public.delivery_orders USING gin (ordnumber public.gin_trgm_ops);
12090
12091
12092 --
12093 -- Name: do_transaction_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12094 --
12095
12096 CREATE INDEX do_transaction_description_gin_trgm_idx ON public.delivery_orders USING gin (transaction_description public.gin_trgm_ops);
12097
12098
12099 --
12100 -- Name: doi_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12101 --
12102
12103 CREATE INDEX doi_description_gin_trgm_idx ON public.delivery_order_items USING gin (description public.gin_trgm_ops);
12104
12105
12106 --
12107 -- Name: employee_login_key; Type: INDEX; Schema: public; Owner: kivitendo
12108 --
12109
12110 CREATE UNIQUE INDEX employee_login_key ON public.employee USING btree (login);
12111
12112
12113 --
12114 -- Name: employee_name_key; Type: INDEX; Schema: public; Owner: kivitendo
12115 --
12116
12117 CREATE INDEX employee_name_key ON public.employee USING btree (name);
12118
12119
12120 --
12121 -- Name: generic_translations_type_id_idx; Type: INDEX; Schema: public; Owner: kivitendo
12122 --
12123
12124 CREATE INDEX generic_translations_type_id_idx ON public.generic_translations USING btree (language_id, translation_type, translation_id);
12125
12126
12127 --
12128 -- Name: gl_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12129 --
12130
12131 CREATE INDEX gl_description_gin_trgm_idx ON public.gl USING gin (description public.gin_trgm_ops);
12132
12133
12134 --
12135 -- Name: gl_description_key; Type: INDEX; Schema: public; Owner: kivitendo
12136 --
12137
12138 CREATE INDEX gl_description_key ON public.gl USING btree (lower(description));
12139
12140
12141 --
12142 -- Name: gl_employee_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12143 --
12144
12145 CREATE INDEX gl_employee_id_key ON public.gl USING btree (employee_id);
12146
12147
12148 --
12149 -- Name: gl_reference_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12150 --
12151
12152 CREATE INDEX gl_reference_gin_trgm_idx ON public.gl USING gin (reference public.gin_trgm_ops);
12153
12154
12155 --
12156 -- Name: gl_reference_key; Type: INDEX; Schema: public; Owner: kivitendo
12157 --
12158
12159 CREATE INDEX gl_reference_key ON public.gl USING btree (lower(reference));
12160
12161
12162 --
12163 -- Name: gl_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
12164 --
12165
12166 CREATE INDEX gl_transdate_key ON public.gl USING btree (transdate);
12167
12168
12169 --
12170 -- Name: idx_custom_variables_validity_config_id_trans_id; Type: INDEX; Schema: public; Owner: kivitendo
12171 --
12172
12173 CREATE INDEX idx_custom_variables_validity_config_id_trans_id ON public.custom_variables_validity USING btree (config_id, trans_id);
12174
12175
12176 --
12177 -- Name: idx_custom_variables_validity_trans_id; Type: INDEX; Schema: public; Owner: kivitendo
12178 --
12179
12180 CREATE INDEX idx_custom_variables_validity_trans_id ON public.custom_variables_validity USING btree (trans_id);
12181
12182
12183 --
12184 -- Name: idx_record_links_from_id; Type: INDEX; Schema: public; Owner: kivitendo
12185 --
12186
12187 CREATE INDEX idx_record_links_from_id ON public.record_links USING btree (from_id);
12188
12189
12190 --
12191 -- Name: idx_record_links_from_table; Type: INDEX; Schema: public; Owner: kivitendo
12192 --
12193
12194 CREATE INDEX idx_record_links_from_table ON public.record_links USING btree (from_table);
12195
12196
12197 --
12198 -- Name: idx_record_links_to_id; Type: INDEX; Schema: public; Owner: kivitendo
12199 --
12200
12201 CREATE INDEX idx_record_links_to_id ON public.record_links USING btree (to_id);
12202
12203
12204 --
12205 -- Name: idx_record_links_to_table; Type: INDEX; Schema: public; Owner: kivitendo
12206 --
12207
12208 CREATE INDEX idx_record_links_to_table ON public.record_links USING btree (to_table);
12209
12210
12211 --
12212 -- Name: inventory_itime_parts_id_idx; Type: INDEX; Schema: public; Owner: kivitendo
12213 --
12214
12215 CREATE INDEX inventory_itime_parts_id_idx ON public.inventory USING btree (itime, parts_id);
12216
12217
12218 --
12219 -- Name: inventory_parts_id_idx; Type: INDEX; Schema: public; Owner: kivitendo
12220 --
12221
12222 CREATE INDEX inventory_parts_id_idx ON public.inventory USING btree (parts_id);
12223
12224
12225 --
12226 -- Name: invoice_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12227 --
12228
12229 CREATE INDEX invoice_description_gin_trgm_idx ON public.invoice USING gin (description public.gin_trgm_ops);
12230
12231
12232 --
12233 -- Name: invoice_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12234 --
12235
12236 CREATE INDEX invoice_trans_id_key ON public.invoice USING btree (trans_id);
12237
12238
12239 --
12240 -- Name: makemodel_model_key; Type: INDEX; Schema: public; Owner: kivitendo
12241 --
12242
12243 CREATE INDEX makemodel_model_key ON public.makemodel USING btree (lower(model));
12244
12245
12246 --
12247 -- Name: makemodel_parts_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12248 --
12249
12250 CREATE INDEX makemodel_parts_id_key ON public.makemodel USING btree (parts_id);
12251
12252
12253 --
12254 -- Name: oe_cusordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12255 --
12256
12257 CREATE INDEX oe_cusordnumber_gin_trgm_idx ON public.oe USING gin (cusordnumber public.gin_trgm_ops);
12258
12259
12260 --
12261 -- Name: oe_employee_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12262 --
12263
12264 CREATE INDEX oe_employee_id_key ON public.oe USING btree (employee_id);
12265
12266
12267 --
12268 -- Name: oe_ordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12269 --
12270
12271 CREATE INDEX oe_ordnumber_gin_trgm_idx ON public.oe USING gin (ordnumber public.gin_trgm_ops);
12272
12273
12274 --
12275 -- Name: oe_ordnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
12276 --
12277
12278 CREATE INDEX oe_ordnumber_key ON public.oe USING btree (lower(ordnumber));
12279
12280
12281 --
12282 -- Name: oe_quonumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12283 --
12284
12285 CREATE INDEX oe_quonumber_gin_trgm_idx ON public.oe USING gin (quonumber public.gin_trgm_ops);
12286
12287
12288 --
12289 -- Name: oe_transaction_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12290 --
12291
12292 CREATE INDEX oe_transaction_description_gin_trgm_idx ON public.oe USING gin (transaction_description public.gin_trgm_ops);
12293
12294
12295 --
12296 -- Name: oe_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
12297 --
12298
12299 CREATE INDEX oe_transdate_key ON public.oe USING btree (transdate);
12300
12301
12302 --
12303 -- Name: orderitems_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12304 --
12305
12306 CREATE INDEX orderitems_description_gin_trgm_idx ON public.orderitems USING gin (description public.gin_trgm_ops);
12307
12308
12309 --
12310 -- Name: orderitems_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12311 --
12312
12313 CREATE INDEX orderitems_trans_id_key ON public.orderitems USING btree (trans_id);
12314
12315
12316 --
12317 -- Name: part_customer_prices_customer_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12318 --
12319
12320 CREATE INDEX part_customer_prices_customer_id_key ON public.part_customer_prices USING btree (customer_id);
12321
12322
12323 --
12324 -- Name: part_customer_prices_parts_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12325 --
12326
12327 CREATE INDEX part_customer_prices_parts_id_key ON public.part_customer_prices USING btree (parts_id);
12328
12329
12330 --
12331 -- Name: parts_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12332 --
12333
12334 CREATE INDEX parts_description_gin_trgm_idx ON public.parts USING gin (description public.gin_trgm_ops);
12335
12336
12337 --
12338 -- Name: parts_description_key; Type: INDEX; Schema: public; Owner: kivitendo
12339 --
12340
12341 CREATE INDEX parts_description_key ON public.parts USING btree (lower(description));
12342
12343
12344 --
12345 -- Name: parts_partnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12346 --
12347
12348 CREATE INDEX parts_partnumber_gin_trgm_idx ON public.parts USING gin (partnumber public.gin_trgm_ops);
12349
12350
12351 --
12352 -- Name: parts_partnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
12353 --
12354
12355 CREATE INDEX parts_partnumber_key ON public.parts USING btree (lower(partnumber));
12356
12357
12358 --
12359 -- Name: requirement_spec_items_item_type_key; Type: INDEX; Schema: public; Owner: kivitendo
12360 --
12361
12362 CREATE INDEX requirement_spec_items_item_type_key ON public.requirement_spec_items USING btree (item_type);
12363
12364
12365 --
12366 -- Name: shipto_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12367 --
12368
12369 CREATE INDEX shipto_trans_id_key ON public.shipto USING btree (trans_id);
12370
12371
12372 --
12373 -- Name: status_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12374 --
12375
12376 CREATE INDEX status_trans_id_key ON public.status USING btree (trans_id);
12377
12378
12379 --
12380 -- Name: taxkeys_chartid_startdate; Type: INDEX; Schema: public; Owner: kivitendo
12381 --
12382
12383 CREATE UNIQUE INDEX taxkeys_chartid_startdate ON public.taxkeys USING btree (chart_id, startdate);
12384
12385
12386 --
12387 -- Name: units_language_unit_idx; Type: INDEX; Schema: public; Owner: kivitendo
12388 --
12389
12390 CREATE INDEX units_language_unit_idx ON public.units_language USING btree (unit);
12391
12392
12393 --
12394 -- Name: vendor_contact_key; Type: INDEX; Schema: public; Owner: kivitendo
12395 --
12396
12397 CREATE INDEX vendor_contact_key ON public.vendor USING btree (contact);
12398
12399
12400 --
12401 -- Name: vendor_name_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12402 --
12403
12404 CREATE INDEX vendor_name_gin_trgm_idx ON public.vendor USING gin (name public.gin_trgm_ops);
12405
12406
12407 --
12408 -- Name: vendor_name_key; Type: INDEX; Schema: public; Owner: kivitendo
12409 --
12410
12411 CREATE INDEX vendor_name_key ON public.vendor USING btree (name);
12412
12413
12414 --
12415 -- Name: vendor_vendornumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12416 --
12417
12418 CREATE INDEX vendor_vendornumber_gin_trgm_idx ON public.vendor USING gin (vendornumber public.gin_trgm_ops);
12419
12420
12421 --
12422 -- Name: vendor_vendornumber_key; Type: INDEX; Schema: public; Owner: kivitendo
12423 --
12424
12425 CREATE INDEX vendor_vendornumber_key ON public.vendor USING btree (vendornumber);
12426
12427
12428 --
12429 -- Name: parts add_parts_price_history_entry_after_changes_on_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
12430 --
12431
12432 CREATE TRIGGER add_parts_price_history_entry_after_changes_on_parts AFTER INSERT OR UPDATE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.add_parts_price_history_entry();
12433
12434
12435 --
12436 -- Name: ap after_delete_ap_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12437 --
12438
12439 CREATE TRIGGER after_delete_ap_trigger AFTER DELETE ON public.ap FOR EACH ROW EXECUTE FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete();
12440
12441
12442 --
12443 -- Name: ar after_delete_ar_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12444 --
12445
12446 CREATE TRIGGER after_delete_ar_trigger AFTER DELETE ON public.ar FOR EACH ROW EXECUTE FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete();
12447
12448
12449 --
12450 -- Name: customer after_delete_customer_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12451 --
12452
12453 CREATE TRIGGER after_delete_customer_trigger AFTER DELETE ON public.customer FOR EACH ROW EXECUTE FUNCTION public.clean_up_after_customer_vendor_delete();
12454
12455
12456 --
12457 -- Name: delivery_terms after_delete_delivery_term_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12458 --
12459
12460 CREATE TRIGGER after_delete_delivery_term_trigger AFTER DELETE ON public.delivery_terms FOR EACH ROW EXECUTE FUNCTION public.generic_translations_delete_on_delivery_terms_delete_trigger();
12461
12462
12463 --
12464 -- Name: gl after_delete_gl_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12465 --
12466
12467 CREATE TRIGGER after_delete_gl_trigger AFTER DELETE ON public.gl FOR EACH ROW EXECUTE FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete();
12468
12469
12470 --
12471 -- Name: payment_terms after_delete_payment_term_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12472 --
12473
12474 CREATE TRIGGER after_delete_payment_term_trigger AFTER DELETE ON public.payment_terms FOR EACH ROW EXECUTE FUNCTION public.generic_translations_delete_on_payment_terms_delete_trigger();
12475
12476
12477 --
12478 -- Name: requirement_specs after_delete_requirement_spec_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
12479 --
12480
12481 CREATE TRIGGER after_delete_requirement_spec_dependencies AFTER DELETE ON public.requirement_specs FOR EACH ROW EXECUTE FUNCTION public.requirement_spec_delete_trigger();
12482
12483
12484 --
12485 -- Name: tax after_delete_tax_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12486 --
12487
12488 CREATE TRIGGER after_delete_tax_trigger AFTER DELETE ON public.tax FOR EACH ROW EXECUTE FUNCTION public.generic_translations_delete_on_tax_delete_trigger();
12489
12490
12491 --
12492 -- Name: vendor after_delete_vendor_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12493 --
12494
12495 CREATE TRIGGER after_delete_vendor_trigger AFTER DELETE ON public.vendor FOR EACH ROW EXECUTE FUNCTION public.clean_up_after_customer_vendor_delete();
12496
12497
12498 --
12499 -- Name: ap before_delete_ap_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12500 --
12501
12502 CREATE TRIGGER before_delete_ap_trigger BEFORE DELETE ON public.ap FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_ap_delete();
12503
12504
12505 --
12506 -- Name: ar before_delete_ar_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12507 --
12508
12509 CREATE TRIGGER before_delete_ar_trigger BEFORE DELETE ON public.ar FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_ar_delete();
12510
12511
12512 --
12513 -- Name: delivery_order_items before_delete_delivery_order_items_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12514 --
12515
12516 CREATE TRIGGER before_delete_delivery_order_items_trigger BEFORE DELETE ON public.delivery_order_items FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_delivery_order_items_delete();
12517
12518
12519 --
12520 -- Name: delivery_orders before_delete_delivery_orders_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12521 --
12522
12523 CREATE TRIGGER before_delete_delivery_orders_trigger BEFORE DELETE ON public.delivery_orders FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_delivery_orders_delete();
12524
12525
12526 --
12527 -- Name: dunning before_delete_dunning_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12528 --
12529
12530 CREATE TRIGGER before_delete_dunning_trigger BEFORE DELETE ON public.dunning FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_dunning_delete();
12531
12532
12533 --
12534 -- Name: gl before_delete_gl_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12535 --
12536
12537 CREATE TRIGGER before_delete_gl_trigger BEFORE DELETE ON public.gl FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_gl_delete();
12538
12539
12540 --
12541 -- Name: invoice before_delete_invoice_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12542 --
12543
12544 CREATE TRIGGER before_delete_invoice_trigger BEFORE DELETE ON public.invoice FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_invoice_delete();
12545
12546
12547 --
12548 -- Name: letter before_delete_letter_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12549 --
12550
12551 CREATE TRIGGER before_delete_letter_trigger BEFORE DELETE ON public.letter FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_letter_delete();
12552
12553
12554 --
12555 -- Name: oe before_delete_oe_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12556 --
12557
12558 CREATE TRIGGER before_delete_oe_trigger BEFORE DELETE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_oe_delete();
12559
12560
12561 --
12562 -- Name: orderitems before_delete_orderitems_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
12563 --
12564
12565 CREATE TRIGGER before_delete_orderitems_trigger BEFORE DELETE ON public.orderitems FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_orderitems_delete();
12566
12567
12568 --
12569 -- Name: delivery_order_items_stock check_bin_wh_delivery_order_items_stock; Type: TRIGGER; Schema: public; Owner: kivitendo
12570 --
12571
12572 CREATE TRIGGER check_bin_wh_delivery_order_items_stock BEFORE INSERT OR UPDATE ON public.delivery_order_items_stock FOR EACH ROW EXECUTE FUNCTION public.check_bin_belongs_to_wh();
12573
12574
12575 --
12576 -- Name: inventory check_bin_wh_inventory; Type: TRIGGER; Schema: public; Owner: kivitendo
12577 --
12578
12579 CREATE TRIGGER check_bin_wh_inventory BEFORE INSERT OR UPDATE ON public.inventory FOR EACH ROW EXECUTE FUNCTION public.check_bin_belongs_to_wh();
12580
12581
12582 --
12583 -- Name: parts check_bin_wh_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
12584 --
12585
12586 CREATE TRIGGER check_bin_wh_parts BEFORE INSERT OR UPDATE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.check_bin_belongs_to_wh();
12587
12588
12589 --
12590 -- Name: contacts contacts_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
12591 --
12592
12593 CREATE TRIGGER contacts_delete_custom_variables_after_deletion AFTER DELETE ON public.contacts FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
12594
12595
12596 --
12597 -- Name: customer customer_before_delete_clear_follow_ups; Type: TRIGGER; Schema: public; Owner: kivitendo
12598 --
12599
12600 CREATE TRIGGER customer_before_delete_clear_follow_ups AFTER DELETE ON public.customer FOR EACH ROW EXECUTE FUNCTION public.follow_up_delete_when_customer_vendor_is_deleted_trigger();
12601
12602
12603 --
12604 -- Name: customer customer_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
12605 --
12606
12607 CREATE TRIGGER customer_delete_custom_variables_after_deletion AFTER DELETE ON public.customer FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
12608
12609
12610 --
12611 -- Name: delivery_orders delete_delivery_orders_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
12612 --
12613
12614 CREATE TRIGGER delete_delivery_orders_dependencies BEFORE DELETE ON public.delivery_orders FOR EACH ROW EXECUTE FUNCTION public.delivery_orders_before_delete_trigger();
12615
12616
12617 --
12618 -- Name: oe delete_oe_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
12619 --
12620
12621 CREATE TRIGGER delete_oe_dependencies BEFORE DELETE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.oe_before_delete_trigger();
12622
12623
12624 --
12625 -- Name: requirement_specs delete_requirement_spec_custom_variables; Type: TRIGGER; Schema: public; Owner: kivitendo
12626 --
12627
12628 CREATE TRIGGER delete_requirement_spec_custom_variables BEFORE DELETE ON public.requirement_specs FOR EACH ROW EXECUTE FUNCTION public.delete_requirement_spec_custom_variables_trigger();
12629
12630
12631 --
12632 -- Name: requirement_specs delete_requirement_spec_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
12633 --
12634
12635 CREATE TRIGGER delete_requirement_spec_dependencies BEFORE DELETE ON public.requirement_specs FOR EACH ROW EXECUTE FUNCTION public.requirement_spec_delete_trigger();
12636
12637
12638 --
12639 -- Name: requirement_spec_items delete_requirement_spec_item_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
12640 --
12641
12642 CREATE TRIGGER delete_requirement_spec_item_dependencies BEFORE DELETE ON public.requirement_spec_items FOR EACH ROW EXECUTE FUNCTION public.requirement_spec_item_before_delete_trigger();
12643
12644
12645 --
12646 -- Name: delivery_order_items delivery_order_items_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
12647 --
12648
12649 CREATE TRIGGER delivery_order_items_delete_custom_variables_after_deletion AFTER DELETE ON public.delivery_order_items FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
12650
12651
12652 --
12653 -- Name: delivery_orders delivery_orders_on_update_close_follow_up; Type: TRIGGER; Schema: public; Owner: kivitendo
12654 --
12655
12656 CREATE TRIGGER delivery_orders_on_update_close_follow_up AFTER UPDATE ON public.delivery_orders FOR EACH ROW EXECUTE FUNCTION public.follow_up_close_when_oe_closed_trigger();
12657
12658
12659 --
12660 -- Name: follow_ups follow_up_delete_notes; Type: TRIGGER; Schema: public; Owner: kivitendo
12661 --
12662
12663 CREATE TRIGGER follow_up_delete_notes AFTER DELETE ON public.follow_ups FOR EACH ROW EXECUTE FUNCTION public.follow_up_delete_notes_trigger();
12664
12665
12666 --
12667 -- Name: invoice invoice_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
12668 --
12669
12670 CREATE TRIGGER invoice_delete_custom_variables_after_deletion AFTER DELETE ON public.invoice FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
12671
12672
12673 --
12674 -- Name: acc_trans mtime_acc_trans; Type: TRIGGER; Schema: public; Owner: kivitendo
12675 --
12676
12677 CREATE TRIGGER mtime_acc_trans BEFORE UPDATE ON public.acc_trans FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12678
12679
12680 --
12681 -- Name: additional_billing_addresses mtime_additional_billing_addresses; Type: TRIGGER; Schema: public; Owner: kivitendo
12682 --
12683
12684 CREATE TRIGGER mtime_additional_billing_addresses BEFORE UPDATE ON public.additional_billing_addresses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12685
12686
12687 --
12688 -- Name: ap mtime_ap; Type: TRIGGER; Schema: public; Owner: kivitendo
12689 --
12690
12691 CREATE TRIGGER mtime_ap BEFORE UPDATE ON public.ap FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12692
12693
12694 --
12695 -- Name: ar mtime_ar; Type: TRIGGER; Schema: public; Owner: kivitendo
12696 --
12697
12698 CREATE TRIGGER mtime_ar BEFORE UPDATE ON public.ar FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12699
12700
12701 --
12702 -- Name: bin mtime_bin; Type: TRIGGER; Schema: public; Owner: kivitendo
12703 --
12704
12705 CREATE TRIGGER mtime_bin BEFORE UPDATE ON public.bin FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12706
12707
12708 --
12709 -- Name: chart mtime_chart; Type: TRIGGER; Schema: public; Owner: kivitendo
12710 --
12711
12712 CREATE TRIGGER mtime_chart BEFORE UPDATE ON public.chart FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12713
12714
12715 --
12716 -- Name: contacts mtime_contacts; Type: TRIGGER; Schema: public; Owner: kivitendo
12717 --
12718
12719 CREATE TRIGGER mtime_contacts BEFORE UPDATE ON public.contacts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12720
12721
12722 --
12723 -- Name: custom_data_export_queries mtime_custom_data_export_queries; Type: TRIGGER; Schema: public; Owner: kivitendo
12724 --
12725
12726 CREATE TRIGGER mtime_custom_data_export_queries BEFORE UPDATE ON public.custom_data_export_queries FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12727
12728
12729 --
12730 -- Name: custom_data_export_query_parameters mtime_custom_data_export_query_parameters; Type: TRIGGER; Schema: public; Owner: kivitendo
12731 --
12732
12733 CREATE TRIGGER mtime_custom_data_export_query_parameters BEFORE UPDATE ON public.custom_data_export_query_parameters FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12734
12735
12736 --
12737 -- Name: custom_variable_config_partsgroups mtime_custom_variable_config_partsgroups; Type: TRIGGER; Schema: public; Owner: kivitendo
12738 --
12739
12740 CREATE TRIGGER mtime_custom_variable_config_partsgroups BEFORE UPDATE ON public.custom_variable_config_partsgroups FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12741
12742
12743 --
12744 -- Name: custom_variable_configs mtime_custom_variable_configs; Type: TRIGGER; Schema: public; Owner: kivitendo
12745 --
12746
12747 CREATE TRIGGER mtime_custom_variable_configs BEFORE UPDATE ON public.custom_variable_configs FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12748
12749
12750 --
12751 -- Name: custom_variables mtime_custom_variables; Type: TRIGGER; Schema: public; Owner: kivitendo
12752 --
12753
12754 CREATE TRIGGER mtime_custom_variables BEFORE UPDATE ON public.custom_variables FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12755
12756
12757 --
12758 -- Name: customer mtime_customer; Type: TRIGGER; Schema: public; Owner: kivitendo
12759 --
12760
12761 CREATE TRIGGER mtime_customer BEFORE UPDATE ON public.customer FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12762
12763
12764 --
12765 -- Name: delivery_order_items mtime_delivery_order_items_id; Type: TRIGGER; Schema: public; Owner: kivitendo
12766 --
12767
12768 CREATE TRIGGER mtime_delivery_order_items_id BEFORE UPDATE ON public.delivery_order_items FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12769
12770
12771 --
12772 -- Name: delivery_order_items_stock mtime_delivery_order_items_stock; Type: TRIGGER; Schema: public; Owner: kivitendo
12773 --
12774
12775 CREATE TRIGGER mtime_delivery_order_items_stock BEFORE UPDATE ON public.delivery_order_items_stock FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12776
12777
12778 --
12779 -- Name: delivery_orders mtime_delivery_orders; Type: TRIGGER; Schema: public; Owner: kivitendo
12780 --
12781
12782 CREATE TRIGGER mtime_delivery_orders BEFORE UPDATE ON public.delivery_orders FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12783
12784
12785 --
12786 -- Name: delivery_terms mtime_delivery_terms; Type: TRIGGER; Schema: public; Owner: kivitendo
12787 --
12788
12789 CREATE TRIGGER mtime_delivery_terms BEFORE UPDATE ON public.delivery_terms FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12790
12791
12792 --
12793 -- Name: department mtime_department; Type: TRIGGER; Schema: public; Owner: kivitendo
12794 --
12795
12796 CREATE TRIGGER mtime_department BEFORE UPDATE ON public.department FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12797
12798
12799 --
12800 -- Name: dunning mtime_dunning; Type: TRIGGER; Schema: public; Owner: kivitendo
12801 --
12802
12803 CREATE TRIGGER mtime_dunning BEFORE UPDATE ON public.dunning FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12804
12805
12806 --
12807 -- Name: email_journal mtime_email_journal; Type: TRIGGER; Schema: public; Owner: kivitendo
12808 --
12809
12810 CREATE TRIGGER mtime_email_journal BEFORE UPDATE ON public.email_journal FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12811
12812
12813 --
12814 -- Name: email_journal_attachments mtime_email_journal_attachments; Type: TRIGGER; Schema: public; Owner: kivitendo
12815 --
12816
12817 CREATE TRIGGER mtime_email_journal_attachments BEFORE UPDATE ON public.email_journal_attachments FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12818
12819
12820 --
12821 -- Name: file_full_texts mtime_file_full_texts; Type: TRIGGER; Schema: public; Owner: kivitendo
12822 --
12823
12824 CREATE TRIGGER mtime_file_full_texts BEFORE UPDATE ON public.file_full_texts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12825
12826
12827 --
12828 -- Name: follow_up_links mtime_follow_up_links; Type: TRIGGER; Schema: public; Owner: kivitendo
12829 --
12830
12831 CREATE TRIGGER mtime_follow_up_links BEFORE UPDATE ON public.follow_up_links FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12832
12833
12834 --
12835 -- Name: follow_ups mtime_follow_ups; Type: TRIGGER; Schema: public; Owner: kivitendo
12836 --
12837
12838 CREATE TRIGGER mtime_follow_ups BEFORE UPDATE ON public.follow_ups FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12839
12840
12841 --
12842 -- Name: gl mtime_gl; Type: TRIGGER; Schema: public; Owner: kivitendo
12843 --
12844
12845 CREATE TRIGGER mtime_gl BEFORE UPDATE ON public.gl FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12846
12847
12848 --
12849 -- Name: inventory mtime_inventory; Type: TRIGGER; Schema: public; Owner: kivitendo
12850 --
12851
12852 CREATE TRIGGER mtime_inventory BEFORE UPDATE ON public.inventory FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12853
12854
12855 --
12856 -- Name: invoice mtime_invoice; Type: TRIGGER; Schema: public; Owner: kivitendo
12857 --
12858
12859 CREATE TRIGGER mtime_invoice BEFORE UPDATE ON public.invoice FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12860
12861
12862 --
12863 -- Name: notes mtime_notes; Type: TRIGGER; Schema: public; Owner: kivitendo
12864 --
12865
12866 CREATE TRIGGER mtime_notes BEFORE UPDATE ON public.notes FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12867
12868
12869 --
12870 -- Name: oe mtime_oe; Type: TRIGGER; Schema: public; Owner: kivitendo
12871 --
12872
12873 CREATE TRIGGER mtime_oe BEFORE UPDATE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12874
12875
12876 --
12877 -- Name: orderitems mtime_orderitems; Type: TRIGGER; Schema: public; Owner: kivitendo
12878 --
12879
12880 CREATE TRIGGER mtime_orderitems BEFORE UPDATE ON public.orderitems FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12881
12882
12883 --
12884 -- Name: parts mtime_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
12885 --
12886
12887 CREATE TRIGGER mtime_parts BEFORE UPDATE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12888
12889
12890 --
12891 -- Name: partsgroup mtime_partsgroup; Type: TRIGGER; Schema: public; Owner: kivitendo
12892 --
12893
12894 CREATE TRIGGER mtime_partsgroup BEFORE UPDATE ON public.partsgroup FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12895
12896
12897 --
12898 -- Name: price_rule_items mtime_price_rule_items; Type: TRIGGER; Schema: public; Owner: kivitendo
12899 --
12900
12901 CREATE TRIGGER mtime_price_rule_items BEFORE UPDATE ON public.price_rule_items FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12902
12903
12904 --
12905 -- Name: price_rules mtime_price_rules; Type: TRIGGER; Schema: public; Owner: kivitendo
12906 --
12907
12908 CREATE TRIGGER mtime_price_rules BEFORE UPDATE ON public.price_rules FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12909
12910
12911 --
12912 -- Name: project mtime_project; Type: TRIGGER; Schema: public; Owner: kivitendo
12913 --
12914
12915 CREATE TRIGGER mtime_project BEFORE UPDATE ON public.project FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12916
12917
12918 --
12919 -- Name: project_participants mtime_project_participants; Type: TRIGGER; Schema: public; Owner: kivitendo
12920 --
12921
12922 CREATE TRIGGER mtime_project_participants BEFORE UPDATE ON public.project_participants FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12923
12924
12925 --
12926 -- Name: project_phase_participants mtime_project_phase_paticipants; Type: TRIGGER; Schema: public; Owner: kivitendo
12927 --
12928
12929 CREATE TRIGGER mtime_project_phase_paticipants BEFORE UPDATE ON public.project_phase_participants FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12930
12931
12932 --
12933 -- Name: project_phases mtime_project_phases; Type: TRIGGER; Schema: public; Owner: kivitendo
12934 --
12935
12936 CREATE TRIGGER mtime_project_phases BEFORE UPDATE ON public.project_phases FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12937
12938
12939 --
12940 -- Name: project_roles mtime_project_roles; Type: TRIGGER; Schema: public; Owner: kivitendo
12941 --
12942
12943 CREATE TRIGGER mtime_project_roles BEFORE UPDATE ON public.project_roles FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12944
12945
12946 --
12947 -- Name: project_statuses mtime_project_status; Type: TRIGGER; Schema: public; Owner: kivitendo
12948 --
12949
12950 CREATE TRIGGER mtime_project_status BEFORE UPDATE ON public.project_statuses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12951
12952
12953 --
12954 -- Name: record_templates mtime_record_templates; Type: TRIGGER; Schema: public; Owner: kivitendo
12955 --
12956
12957 CREATE TRIGGER mtime_record_templates BEFORE UPDATE ON public.record_templates FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12958
12959
12960 --
12961 -- Name: requirement_spec_acceptance_statuses mtime_requirement_spec_acceptance_statuses; Type: TRIGGER; Schema: public; Owner: kivitendo
12962 --
12963
12964 CREATE TRIGGER mtime_requirement_spec_acceptance_statuses BEFORE UPDATE ON public.requirement_spec_acceptance_statuses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12965
12966
12967 --
12968 -- Name: requirement_spec_complexities mtime_requirement_spec_complexities; Type: TRIGGER; Schema: public; Owner: kivitendo
12969 --
12970
12971 CREATE TRIGGER mtime_requirement_spec_complexities BEFORE UPDATE ON public.requirement_spec_complexities FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12972
12973
12974 --
12975 -- Name: requirement_spec_items mtime_requirement_spec_items; Type: TRIGGER; Schema: public; Owner: kivitendo
12976 --
12977
12978 CREATE TRIGGER mtime_requirement_spec_items BEFORE UPDATE ON public.requirement_spec_items FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12979
12980
12981 --
12982 -- Name: requirement_spec_orders mtime_requirement_spec_orders; Type: TRIGGER; Schema: public; Owner: kivitendo
12983 --
12984
12985 CREATE TRIGGER mtime_requirement_spec_orders BEFORE UPDATE ON public.requirement_spec_orders FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12986
12987
12988 --
12989 -- Name: requirement_spec_pictures mtime_requirement_spec_pictures; Type: TRIGGER; Schema: public; Owner: kivitendo
12990 --
12991
12992 CREATE TRIGGER mtime_requirement_spec_pictures BEFORE UPDATE ON public.requirement_spec_pictures FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
12993
12994
12995 --
12996 -- Name: requirement_spec_predefined_texts mtime_requirement_spec_predefined_texts; Type: TRIGGER; Schema: public; Owner: kivitendo
12997 --
12998
12999 CREATE TRIGGER mtime_requirement_spec_predefined_texts BEFORE UPDATE ON public.requirement_spec_predefined_texts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13000
13001
13002 --
13003 -- Name: requirement_spec_risks mtime_requirement_spec_risks; Type: TRIGGER; Schema: public; Owner: kivitendo
13004 --
13005
13006 CREATE TRIGGER mtime_requirement_spec_risks BEFORE UPDATE ON public.requirement_spec_risks FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13007
13008
13009 --
13010 -- Name: requirement_spec_statuses mtime_requirement_spec_statuses; Type: TRIGGER; Schema: public; Owner: kivitendo
13011 --
13012
13013 CREATE TRIGGER mtime_requirement_spec_statuses BEFORE UPDATE ON public.requirement_spec_statuses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13014
13015
13016 --
13017 -- Name: requirement_spec_text_blocks mtime_requirement_spec_text_blocks; Type: TRIGGER; Schema: public; Owner: kivitendo
13018 --
13019
13020 CREATE TRIGGER mtime_requirement_spec_text_blocks BEFORE UPDATE ON public.requirement_spec_text_blocks FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13021
13022
13023 --
13024 -- Name: requirement_spec_types mtime_requirement_spec_types; Type: TRIGGER; Schema: public; Owner: kivitendo
13025 --
13026
13027 CREATE TRIGGER mtime_requirement_spec_types BEFORE UPDATE ON public.requirement_spec_types FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13028
13029
13030 --
13031 -- Name: requirement_spec_versions mtime_requirement_spec_versions; Type: TRIGGER; Schema: public; Owner: kivitendo
13032 --
13033
13034 CREATE TRIGGER mtime_requirement_spec_versions BEFORE UPDATE ON public.requirement_spec_versions FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13035
13036
13037 --
13038 -- Name: requirement_specs mtime_requirement_specs; Type: TRIGGER; Schema: public; Owner: kivitendo
13039 --
13040
13041 CREATE TRIGGER mtime_requirement_specs BEFORE UPDATE ON public.requirement_specs FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13042
13043
13044 --
13045 -- Name: shop_images mtime_shop_images; Type: TRIGGER; Schema: public; Owner: kivitendo
13046 --
13047
13048 CREATE TRIGGER mtime_shop_images BEFORE UPDATE ON public.shop_images FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13049
13050
13051 --
13052 -- Name: shop_parts mtime_shop_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
13053 --
13054
13055 CREATE TRIGGER mtime_shop_parts BEFORE UPDATE ON public.shop_parts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13056
13057
13058 --
13059 -- Name: shops mtime_shops; Type: TRIGGER; Schema: public; Owner: kivitendo
13060 --
13061
13062 CREATE TRIGGER mtime_shops BEFORE UPDATE ON public.shops FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13063
13064
13065 --
13066 -- Name: status mtime_status; Type: TRIGGER; Schema: public; Owner: kivitendo
13067 --
13068
13069 CREATE TRIGGER mtime_status BEFORE UPDATE ON public.status FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13070
13071
13072 --
13073 -- Name: stocktakings mtime_stocktakings; Type: TRIGGER; Schema: public; Owner: kivitendo
13074 --
13075
13076 CREATE TRIGGER mtime_stocktakings BEFORE UPDATE ON public.stocktakings FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13077
13078
13079 --
13080 -- Name: tax mtime_tax; Type: TRIGGER; Schema: public; Owner: kivitendo
13081 --
13082
13083 CREATE TRIGGER mtime_tax BEFORE UPDATE ON public.tax FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13084
13085
13086 --
13087 -- Name: time_recordings mtime_time_recordings; Type: TRIGGER; Schema: public; Owner: kivitendo
13088 --
13089
13090 CREATE TRIGGER mtime_time_recordings BEFORE UPDATE ON public.time_recordings FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13091
13092
13093 --
13094 -- Name: transfer_type mtime_transfer_type; Type: TRIGGER; Schema: public; Owner: kivitendo
13095 --
13096
13097 CREATE TRIGGER mtime_transfer_type BEFORE UPDATE ON public.transfer_type FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13098
13099
13100 --
13101 -- Name: vendor mtime_vendor; Type: TRIGGER; Schema: public; Owner: kivitendo
13102 --
13103
13104 CREATE TRIGGER mtime_vendor BEFORE UPDATE ON public.vendor FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13105
13106
13107 --
13108 -- Name: warehouse mtime_warehouse; Type: TRIGGER; Schema: public; Owner: kivitendo
13109 --
13110
13111 CREATE TRIGGER mtime_warehouse BEFORE UPDATE ON public.warehouse FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13112
13113
13114 --
13115 -- Name: oe oe_before_delete_clear_follow_ups; Type: TRIGGER; Schema: public; Owner: kivitendo
13116 --
13117
13118 CREATE TRIGGER oe_before_delete_clear_follow_ups BEFORE DELETE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.follow_up_delete_when_oe_is_deleted_trigger();
13119
13120
13121 --
13122 -- Name: oe oe_on_update_close_follow_up; Type: TRIGGER; Schema: public; Owner: kivitendo
13123 --
13124
13125 CREATE TRIGGER oe_on_update_close_follow_up AFTER UPDATE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.follow_up_close_when_oe_closed_trigger();
13126
13127
13128 --
13129 -- Name: orderitems orderitems_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13130 --
13131
13132 CREATE TRIGGER orderitems_delete_custom_variables_after_deletion AFTER DELETE ON public.orderitems FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13133
13134
13135 --
13136 -- Name: parts parts_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13137 --
13138
13139 CREATE TRIGGER parts_delete_custom_variables_after_deletion AFTER DELETE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13140
13141
13142 --
13143 -- Name: parts priceupdate_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
13144 --
13145
13146 CREATE TRIGGER priceupdate_parts AFTER UPDATE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.set_priceupdate_parts();
13147
13148
13149 --
13150 -- Name: project project_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13151 --
13152
13153 CREATE TRIGGER project_delete_custom_variables_after_deletion AFTER DELETE ON public.project FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13154
13155
13156 --
13157 -- Name: shipto shipto_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13158 --
13159
13160 CREATE TRIGGER shipto_delete_custom_variables_after_deletion AFTER DELETE ON public.shipto FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13161
13162
13163 --
13164 -- Name: time_recordings time_recordings_set_date; Type: TRIGGER; Schema: public; Owner: kivitendo
13165 --
13166
13167 CREATE TRIGGER time_recordings_set_date BEFORE INSERT OR UPDATE ON public.time_recordings FOR EACH ROW EXECUTE FUNCTION public.time_recordings_set_date_trigger();
13168
13169
13170 --
13171 -- Name: time_recordings time_recordings_set_duration; Type: TRIGGER; Schema: public; Owner: kivitendo
13172 --
13173
13174 CREATE TRIGGER time_recordings_set_duration BEFORE INSERT OR UPDATE ON public.time_recordings FOR EACH ROW EXECUTE FUNCTION public.time_recordings_set_duration_trigger();
13175
13176
13177 --
13178 -- Name: assembly trig_assembly_purchase_price; Type: TRIGGER; Schema: public; Owner: kivitendo
13179 --
13180
13181 CREATE TRIGGER trig_assembly_purchase_price AFTER INSERT OR DELETE OR UPDATE ON public.assembly FOR EACH ROW EXECUTE FUNCTION public.update_purchase_price();
13182
13183
13184 --
13185 -- Name: inventory trig_update_onhand; Type: TRIGGER; Schema: public; Owner: kivitendo
13186 --
13187
13188 CREATE TRIGGER trig_update_onhand AFTER INSERT OR DELETE OR UPDATE ON public.inventory FOR EACH ROW EXECUTE FUNCTION public.update_onhand();
13189
13190
13191 --
13192 -- Name: requirement_spec_items update_requirement_spec_item_time_estimation; Type: TRIGGER; Schema: public; Owner: kivitendo
13193 --
13194
13195 CREATE TRIGGER update_requirement_spec_item_time_estimation AFTER INSERT OR DELETE OR UPDATE ON public.requirement_spec_items FOR EACH ROW EXECUTE FUNCTION public.requirement_spec_item_time_estimation_updater_trigger();
13196
13197
13198 --
13199 -- Name: vendor vendor_before_delete_clear_follow_ups; Type: TRIGGER; Schema: public; Owner: kivitendo
13200 --
13201
13202 CREATE TRIGGER vendor_before_delete_clear_follow_ups AFTER DELETE ON public.vendor FOR EACH ROW EXECUTE FUNCTION public.follow_up_delete_when_customer_vendor_is_deleted_trigger();
13203
13204
13205 --
13206 -- Name: vendor vendor_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13207 --
13208
13209 CREATE TRIGGER vendor_delete_custom_variables_after_deletion AFTER DELETE ON public.vendor FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13210
13211
13212 --
13213 -- Name: invoice $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13214 --
13215
13216 ALTER TABLE ONLY public.invoice
13217     ADD CONSTRAINT "$1" FOREIGN KEY (parts_id) REFERENCES public.parts(id);
13218
13219
13220 --
13221 -- Name: ar $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13222 --
13223
13224 ALTER TABLE ONLY public.ar
13225     ADD CONSTRAINT "$1" FOREIGN KEY (customer_id) REFERENCES public.customer(id);
13226
13227
13228 --
13229 -- Name: ap $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13230 --
13231
13232 ALTER TABLE ONLY public.ap
13233     ADD CONSTRAINT "$1" FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
13234
13235
13236 --
13237 -- Name: units $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13238 --
13239
13240 ALTER TABLE ONLY public.units
13241     ADD CONSTRAINT "$1" FOREIGN KEY (base_unit) REFERENCES public.units(name);
13242
13243
13244 --
13245 -- Name: parts $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13246 --
13247
13248 ALTER TABLE ONLY public.parts
13249     ADD CONSTRAINT "$1" FOREIGN KEY (buchungsgruppen_id) REFERENCES public.buchungsgruppen(id);
13250
13251
13252 --
13253 -- Name: acc_trans $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13254 --
13255
13256 ALTER TABLE ONLY public.acc_trans
13257     ADD CONSTRAINT "$1" FOREIGN KEY (chart_id) REFERENCES public.chart(id);
13258
13259
13260 --
13261 -- Name: acc_trans acc_trans_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13262 --
13263
13264 ALTER TABLE ONLY public.acc_trans
13265     ADD CONSTRAINT acc_trans_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
13266
13267
13268 --
13269 -- Name: acc_trans acc_trans_tax_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13270 --
13271
13272 ALTER TABLE ONLY public.acc_trans
13273     ADD CONSTRAINT acc_trans_tax_id_fkey FOREIGN KEY (tax_id) REFERENCES public.tax(id);
13274
13275
13276 --
13277 -- Name: additional_billing_addresses additional_billing_addresses_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13278 --
13279
13280 ALTER TABLE ONLY public.additional_billing_addresses
13281     ADD CONSTRAINT additional_billing_addresses_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
13282
13283
13284 --
13285 -- Name: ap ap_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13286 --
13287
13288 ALTER TABLE ONLY public.ap
13289     ADD CONSTRAINT ap_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
13290
13291
13292 --
13293 -- Name: ap ap_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13294 --
13295
13296 ALTER TABLE ONLY public.ap
13297     ADD CONSTRAINT ap_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
13298
13299
13300 --
13301 -- Name: ap ap_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13302 --
13303
13304 ALTER TABLE ONLY public.ap
13305     ADD CONSTRAINT ap_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
13306
13307
13308 --
13309 -- Name: ap ap_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13310 --
13311
13312 ALTER TABLE ONLY public.ap
13313     ADD CONSTRAINT ap_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
13314
13315
13316 --
13317 -- Name: ap ap_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13318 --
13319
13320 ALTER TABLE ONLY public.ap
13321     ADD CONSTRAINT ap_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
13322
13323
13324 --
13325 -- Name: ap_gl ap_gl_ap_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13326 --
13327
13328 ALTER TABLE ONLY public.ap_gl
13329     ADD CONSTRAINT ap_gl_ap_id_fkey FOREIGN KEY (ap_id) REFERENCES public.ap(id);
13330
13331
13332 --
13333 -- Name: ap_gl ap_gl_gl_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13334 --
13335
13336 ALTER TABLE ONLY public.ap_gl
13337     ADD CONSTRAINT ap_gl_gl_id_fkey FOREIGN KEY (gl_id) REFERENCES public.gl(id) ON DELETE CASCADE;
13338
13339
13340 --
13341 -- Name: ap ap_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13342 --
13343
13344 ALTER TABLE ONLY public.ap
13345     ADD CONSTRAINT ap_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
13346
13347
13348 --
13349 -- Name: ap ap_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13350 --
13351
13352 ALTER TABLE ONLY public.ap
13353     ADD CONSTRAINT ap_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
13354
13355
13356 --
13357 -- Name: ap ap_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13358 --
13359
13360 ALTER TABLE ONLY public.ap
13361     ADD CONSTRAINT ap_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
13362
13363
13364 --
13365 -- Name: ap ap_storno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13366 --
13367
13368 ALTER TABLE ONLY public.ap
13369     ADD CONSTRAINT ap_storno_id_fkey FOREIGN KEY (storno_id) REFERENCES public.ap(id);
13370
13371
13372 --
13373 -- Name: ap ap_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13374 --
13375
13376 ALTER TABLE ONLY public.ap
13377     ADD CONSTRAINT ap_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
13378
13379
13380 --
13381 -- Name: ar ar_billing_address_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13382 --
13383
13384 ALTER TABLE ONLY public.ar
13385     ADD CONSTRAINT ar_billing_address_id_fkey FOREIGN KEY (billing_address_id) REFERENCES public.additional_billing_addresses(id);
13386
13387
13388 --
13389 -- Name: ar ar_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13390 --
13391
13392 ALTER TABLE ONLY public.ar
13393     ADD CONSTRAINT ar_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
13394
13395
13396 --
13397 -- Name: ar ar_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13398 --
13399
13400 ALTER TABLE ONLY public.ar
13401     ADD CONSTRAINT ar_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
13402
13403
13404 --
13405 -- Name: ar ar_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13406 --
13407
13408 ALTER TABLE ONLY public.ar
13409     ADD CONSTRAINT ar_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
13410
13411
13412 --
13413 -- Name: ar ar_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13414 --
13415
13416 ALTER TABLE ONLY public.ar
13417     ADD CONSTRAINT ar_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
13418
13419
13420 --
13421 -- Name: ar ar_dunning_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13422 --
13423
13424 ALTER TABLE ONLY public.ar
13425     ADD CONSTRAINT ar_dunning_config_id_fkey FOREIGN KEY (dunning_config_id) REFERENCES public.dunning_config(id);
13426
13427
13428 --
13429 -- Name: ar ar_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13430 --
13431
13432 ALTER TABLE ONLY public.ar
13433     ADD CONSTRAINT ar_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
13434
13435
13436 --
13437 -- Name: ar ar_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13438 --
13439
13440 ALTER TABLE ONLY public.ar
13441     ADD CONSTRAINT ar_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
13442
13443
13444 --
13445 -- Name: ar ar_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13446 --
13447
13448 ALTER TABLE ONLY public.ar
13449     ADD CONSTRAINT ar_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
13450
13451
13452 --
13453 -- Name: ar ar_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13454 --
13455
13456 ALTER TABLE ONLY public.ar
13457     ADD CONSTRAINT ar_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
13458
13459
13460 --
13461 -- Name: ar ar_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13462 --
13463
13464 ALTER TABLE ONLY public.ar
13465     ADD CONSTRAINT ar_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
13466
13467
13468 --
13469 -- Name: ar ar_shipto_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13470 --
13471
13472 ALTER TABLE ONLY public.ar
13473     ADD CONSTRAINT ar_shipto_id_fkey FOREIGN KEY (shipto_id) REFERENCES public.shipto(shipto_id);
13474
13475
13476 --
13477 -- Name: ar ar_storno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13478 --
13479
13480 ALTER TABLE ONLY public.ar
13481     ADD CONSTRAINT ar_storno_id_fkey FOREIGN KEY (storno_id) REFERENCES public.ar(id);
13482
13483
13484 --
13485 -- Name: ar ar_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13486 --
13487
13488 ALTER TABLE ONLY public.ar
13489     ADD CONSTRAINT ar_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
13490
13491
13492 --
13493 -- Name: assembly assembly_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13494 --
13495
13496 ALTER TABLE ONLY public.assembly
13497     ADD CONSTRAINT assembly_id_fkey FOREIGN KEY (id) REFERENCES public.parts(id);
13498
13499
13500 --
13501 -- Name: assembly assembly_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13502 --
13503
13504 ALTER TABLE ONLY public.assembly
13505     ADD CONSTRAINT assembly_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
13506
13507
13508 --
13509 -- Name: assortment_items assortment_items_assortment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13510 --
13511
13512 ALTER TABLE ONLY public.assortment_items
13513     ADD CONSTRAINT assortment_items_assortment_id_fkey FOREIGN KEY (assortment_id) REFERENCES public.parts(id) ON DELETE CASCADE;
13514
13515
13516 --
13517 -- Name: assortment_items assortment_items_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13518 --
13519
13520 ALTER TABLE ONLY public.assortment_items
13521     ADD CONSTRAINT assortment_items_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
13522
13523
13524 --
13525 -- Name: assortment_items assortment_items_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13526 --
13527
13528 ALTER TABLE ONLY public.assortment_items
13529     ADD CONSTRAINT assortment_items_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
13530
13531
13532 --
13533 -- Name: bank_accounts bank_accounts_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13534 --
13535
13536 ALTER TABLE ONLY public.bank_accounts
13537     ADD CONSTRAINT bank_accounts_chart_id_fkey FOREIGN KEY (chart_id) REFERENCES public.chart(id);
13538
13539
13540 --
13541 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_acc_trans_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13542 --
13543
13544 ALTER TABLE ONLY public.bank_transaction_acc_trans
13545     ADD CONSTRAINT bank_transaction_acc_trans_acc_trans_id_fkey FOREIGN KEY (acc_trans_id) REFERENCES public.acc_trans(acc_trans_id);
13546
13547
13548 --
13549 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_ap_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13550 --
13551
13552 ALTER TABLE ONLY public.bank_transaction_acc_trans
13553     ADD CONSTRAINT bank_transaction_acc_trans_ap_id_fkey FOREIGN KEY (ap_id) REFERENCES public.ap(id);
13554
13555
13556 --
13557 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_ar_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13558 --
13559
13560 ALTER TABLE ONLY public.bank_transaction_acc_trans
13561     ADD CONSTRAINT bank_transaction_acc_trans_ar_id_fkey FOREIGN KEY (ar_id) REFERENCES public.ar(id);
13562
13563
13564 --
13565 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_bank_transaction_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13566 --
13567
13568 ALTER TABLE ONLY public.bank_transaction_acc_trans
13569     ADD CONSTRAINT bank_transaction_acc_trans_bank_transaction_id_fkey FOREIGN KEY (bank_transaction_id) REFERENCES public.bank_transactions(id);
13570
13571
13572 --
13573 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_gl_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13574 --
13575
13576 ALTER TABLE ONLY public.bank_transaction_acc_trans
13577     ADD CONSTRAINT bank_transaction_acc_trans_gl_id_fkey FOREIGN KEY (gl_id) REFERENCES public.gl(id);
13578
13579
13580 --
13581 -- Name: bank_transactions bank_transactions_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13582 --
13583
13584 ALTER TABLE ONLY public.bank_transactions
13585     ADD CONSTRAINT bank_transactions_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
13586
13587
13588 --
13589 -- Name: bank_transactions bank_transactions_local_bank_account_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13590 --
13591
13592 ALTER TABLE ONLY public.bank_transactions
13593     ADD CONSTRAINT bank_transactions_local_bank_account_id_fkey FOREIGN KEY (local_bank_account_id) REFERENCES public.bank_accounts(id);
13594
13595
13596 --
13597 -- Name: bin bin_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13598 --
13599
13600 ALTER TABLE ONLY public.bin
13601     ADD CONSTRAINT bin_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
13602
13603
13604 --
13605 -- Name: buchungsgruppen buchungsgruppen_inventory_accno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13606 --
13607
13608 ALTER TABLE ONLY public.buchungsgruppen
13609     ADD CONSTRAINT buchungsgruppen_inventory_accno_id_fkey FOREIGN KEY (inventory_accno_id) REFERENCES public.chart(id);
13610
13611
13612 --
13613 -- Name: csv_import_profile_settings csv_import_profile_settings_csv_import_profile_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13614 --
13615
13616 ALTER TABLE ONLY public.csv_import_profile_settings
13617     ADD CONSTRAINT csv_import_profile_settings_csv_import_profile_id_fkey FOREIGN KEY (csv_import_profile_id) REFERENCES public.csv_import_profiles(id);
13618
13619
13620 --
13621 -- Name: csv_import_report_rows csv_import_report_rows_csv_import_report_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13622 --
13623
13624 ALTER TABLE ONLY public.csv_import_report_rows
13625     ADD CONSTRAINT csv_import_report_rows_csv_import_report_id_fkey FOREIGN KEY (csv_import_report_id) REFERENCES public.csv_import_reports(id);
13626
13627
13628 --
13629 -- Name: csv_import_report_status csv_import_report_status_csv_import_report_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13630 --
13631
13632 ALTER TABLE ONLY public.csv_import_report_status
13633     ADD CONSTRAINT csv_import_report_status_csv_import_report_id_fkey FOREIGN KEY (csv_import_report_id) REFERENCES public.csv_import_reports(id);
13634
13635
13636 --
13637 -- Name: csv_import_reports csv_import_reports_profile_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13638 --
13639
13640 ALTER TABLE ONLY public.csv_import_reports
13641     ADD CONSTRAINT csv_import_reports_profile_id_fkey FOREIGN KEY (profile_id) REFERENCES public.csv_import_profiles(id);
13642
13643
13644 --
13645 -- Name: custom_data_export_query_parameters custom_data_export_query_parameters_query_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13646 --
13647
13648 ALTER TABLE ONLY public.custom_data_export_query_parameters
13649     ADD CONSTRAINT custom_data_export_query_parameters_query_id_fkey FOREIGN KEY (query_id) REFERENCES public.custom_data_export_queries(id) ON DELETE CASCADE;
13650
13651
13652 --
13653 -- Name: custom_variable_config_partsgroups custom_variable_config_partsgrou_custom_variable_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13654 --
13655
13656 ALTER TABLE ONLY public.custom_variable_config_partsgroups
13657     ADD CONSTRAINT custom_variable_config_partsgrou_custom_variable_config_id_fkey FOREIGN KEY (custom_variable_config_id) REFERENCES public.custom_variable_configs(id);
13658
13659
13660 --
13661 -- Name: custom_variable_config_partsgroups custom_variable_config_partsgroups_partsgroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13662 --
13663
13664 ALTER TABLE ONLY public.custom_variable_config_partsgroups
13665     ADD CONSTRAINT custom_variable_config_partsgroups_partsgroup_id_fkey FOREIGN KEY (partsgroup_id) REFERENCES public.partsgroup(id);
13666
13667
13668 --
13669 -- Name: custom_variables custom_variables_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13670 --
13671
13672 ALTER TABLE ONLY public.custom_variables
13673     ADD CONSTRAINT custom_variables_config_id_fkey FOREIGN KEY (config_id) REFERENCES public.custom_variable_configs(id);
13674
13675
13676 --
13677 -- Name: custom_variables_validity custom_variables_validity_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13678 --
13679
13680 ALTER TABLE ONLY public.custom_variables_validity
13681     ADD CONSTRAINT custom_variables_validity_config_id_fkey FOREIGN KEY (config_id) REFERENCES public.custom_variable_configs(id);
13682
13683
13684 --
13685 -- Name: customer customer_business_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13686 --
13687
13688 ALTER TABLE ONLY public.customer
13689     ADD CONSTRAINT customer_business_id_fkey FOREIGN KEY (business_id) REFERENCES public.business(id);
13690
13691
13692 --
13693 -- Name: customer customer_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13694 --
13695
13696 ALTER TABLE ONLY public.customer
13697     ADD CONSTRAINT customer_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
13698
13699
13700 --
13701 -- Name: customer customer_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13702 --
13703
13704 ALTER TABLE ONLY public.customer
13705     ADD CONSTRAINT customer_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
13706
13707
13708 --
13709 -- Name: customer customer_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13710 --
13711
13712 ALTER TABLE ONLY public.customer
13713     ADD CONSTRAINT customer_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
13714
13715
13716 --
13717 -- Name: customer customer_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13718 --
13719
13720 ALTER TABLE ONLY public.customer
13721     ADD CONSTRAINT customer_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
13722
13723
13724 --
13725 -- Name: customer customer_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13726 --
13727
13728 ALTER TABLE ONLY public.customer
13729     ADD CONSTRAINT customer_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id);
13730
13731
13732 --
13733 -- Name: customer customer_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13734 --
13735
13736 ALTER TABLE ONLY public.customer
13737     ADD CONSTRAINT customer_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
13738
13739
13740 --
13741 -- Name: defaults defaults_ap_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13742 --
13743
13744 ALTER TABLE ONLY public.defaults
13745     ADD CONSTRAINT defaults_ap_chart_id_fkey FOREIGN KEY (ap_chart_id) REFERENCES public.chart(id);
13746
13747
13748 --
13749 -- Name: defaults defaults_ar_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13750 --
13751
13752 ALTER TABLE ONLY public.defaults
13753     ADD CONSTRAINT defaults_ar_chart_id_fkey FOREIGN KEY (ar_chart_id) REFERENCES public.chart(id);
13754
13755
13756 --
13757 -- Name: defaults defaults_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13758 --
13759
13760 ALTER TABLE ONLY public.defaults
13761     ADD CONSTRAINT defaults_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id);
13762
13763
13764 --
13765 -- Name: defaults defaults_bin_id_ignore_onhand_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13766 --
13767
13768 ALTER TABLE ONLY public.defaults
13769     ADD CONSTRAINT defaults_bin_id_ignore_onhand_fkey FOREIGN KEY (bin_id_ignore_onhand) REFERENCES public.bin(id);
13770
13771
13772 --
13773 -- Name: defaults defaults_carry_over_account_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13774 --
13775
13776 ALTER TABLE ONLY public.defaults
13777     ADD CONSTRAINT defaults_carry_over_account_chart_id_fkey FOREIGN KEY (carry_over_account_chart_id) REFERENCES public.chart(id);
13778
13779
13780 --
13781 -- Name: defaults defaults_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13782 --
13783
13784 ALTER TABLE ONLY public.defaults
13785     ADD CONSTRAINT defaults_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
13786
13787
13788 --
13789 -- Name: defaults defaults_loss_carried_forward_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13790 --
13791
13792 ALTER TABLE ONLY public.defaults
13793     ADD CONSTRAINT defaults_loss_carried_forward_chart_id_fkey FOREIGN KEY (loss_carried_forward_chart_id) REFERENCES public.chart(id);
13794
13795
13796 --
13797 -- Name: defaults defaults_profit_carried_forward_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13798 --
13799
13800 ALTER TABLE ONLY public.defaults
13801     ADD CONSTRAINT defaults_profit_carried_forward_chart_id_fkey FOREIGN KEY (profit_carried_forward_chart_id) REFERENCES public.chart(id);
13802
13803
13804 --
13805 -- Name: defaults defaults_project_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13806 --
13807
13808 ALTER TABLE ONLY public.defaults
13809     ADD CONSTRAINT defaults_project_status_id_fkey FOREIGN KEY (project_status_id) REFERENCES public.project_statuses(id);
13810
13811
13812 --
13813 -- Name: defaults defaults_project_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13814 --
13815
13816 ALTER TABLE ONLY public.defaults
13817     ADD CONSTRAINT defaults_project_type_id_fkey FOREIGN KEY (project_type_id) REFERENCES public.project_types(id);
13818
13819
13820 --
13821 -- Name: defaults defaults_requirement_spec_section_order_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13822 --
13823
13824 ALTER TABLE ONLY public.defaults
13825     ADD CONSTRAINT defaults_requirement_spec_section_order_part_id_fkey FOREIGN KEY (requirement_spec_section_order_part_id) REFERENCES public.parts(id) ON DELETE SET NULL;
13826
13827
13828 --
13829 -- Name: defaults defaults_stocktaking_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13830 --
13831
13832 ALTER TABLE ONLY public.defaults
13833     ADD CONSTRAINT defaults_stocktaking_bin_id_fkey FOREIGN KEY (stocktaking_bin_id) REFERENCES public.bin(id);
13834
13835
13836 --
13837 -- Name: defaults defaults_stocktaking_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13838 --
13839
13840 ALTER TABLE ONLY public.defaults
13841     ADD CONSTRAINT defaults_stocktaking_warehouse_id_fkey FOREIGN KEY (stocktaking_warehouse_id) REFERENCES public.warehouse(id);
13842
13843
13844 --
13845 -- Name: defaults defaults_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13846 --
13847
13848 ALTER TABLE ONLY public.defaults
13849     ADD CONSTRAINT defaults_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
13850
13851
13852 --
13853 -- Name: defaults defaults_warehouse_id_ignore_onhand_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13854 --
13855
13856 ALTER TABLE ONLY public.defaults
13857     ADD CONSTRAINT defaults_warehouse_id_ignore_onhand_fkey FOREIGN KEY (warehouse_id_ignore_onhand) REFERENCES public.warehouse(id);
13858
13859
13860 --
13861 -- Name: delivery_order_items delivery_order_items_delivery_order_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13862 --
13863
13864 ALTER TABLE ONLY public.delivery_order_items
13865     ADD CONSTRAINT delivery_order_items_delivery_order_id_fkey FOREIGN KEY (delivery_order_id) REFERENCES public.delivery_orders(id) ON DELETE CASCADE;
13866
13867
13868 --
13869 -- Name: delivery_order_items delivery_order_items_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13870 --
13871
13872 ALTER TABLE ONLY public.delivery_order_items
13873     ADD CONSTRAINT delivery_order_items_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id) ON DELETE RESTRICT;
13874
13875
13876 --
13877 -- Name: delivery_order_items delivery_order_items_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13878 --
13879
13880 ALTER TABLE ONLY public.delivery_order_items
13881     ADD CONSTRAINT delivery_order_items_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id) ON DELETE RESTRICT;
13882
13883
13884 --
13885 -- Name: delivery_order_items delivery_order_items_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13886 --
13887
13888 ALTER TABLE ONLY public.delivery_order_items
13889     ADD CONSTRAINT delivery_order_items_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id) ON DELETE RESTRICT;
13890
13891
13892 --
13893 -- Name: delivery_order_items delivery_order_items_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13894 --
13895
13896 ALTER TABLE ONLY public.delivery_order_items
13897     ADD CONSTRAINT delivery_order_items_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
13898
13899
13900 --
13901 -- Name: delivery_order_items_stock delivery_order_items_stock_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13902 --
13903
13904 ALTER TABLE ONLY public.delivery_order_items_stock
13905     ADD CONSTRAINT delivery_order_items_stock_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id) ON DELETE RESTRICT;
13906
13907
13908 --
13909 -- Name: delivery_order_items_stock delivery_order_items_stock_delivery_order_item_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13910 --
13911
13912 ALTER TABLE ONLY public.delivery_order_items_stock
13913     ADD CONSTRAINT delivery_order_items_stock_delivery_order_item_id_fkey FOREIGN KEY (delivery_order_item_id) REFERENCES public.delivery_order_items(id) ON DELETE CASCADE;
13914
13915
13916 --
13917 -- Name: inventory delivery_order_items_stock_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13918 --
13919
13920 ALTER TABLE ONLY public.inventory
13921     ADD CONSTRAINT delivery_order_items_stock_id_fkey FOREIGN KEY (delivery_order_items_stock_id) REFERENCES public.delivery_order_items_stock(id);
13922
13923
13924 --
13925 -- Name: delivery_order_items_stock delivery_order_items_stock_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13926 --
13927
13928 ALTER TABLE ONLY public.delivery_order_items_stock
13929     ADD CONSTRAINT delivery_order_items_stock_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id) ON DELETE RESTRICT;
13930
13931
13932 --
13933 -- Name: delivery_order_items delivery_order_items_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13934 --
13935
13936 ALTER TABLE ONLY public.delivery_order_items
13937     ADD CONSTRAINT delivery_order_items_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
13938
13939
13940 --
13941 -- Name: delivery_orders delivery_orders_billing_address_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13942 --
13943
13944 ALTER TABLE ONLY public.delivery_orders
13945     ADD CONSTRAINT delivery_orders_billing_address_id_fkey FOREIGN KEY (billing_address_id) REFERENCES public.additional_billing_addresses(id);
13946
13947
13948 --
13949 -- Name: delivery_orders delivery_orders_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13950 --
13951
13952 ALTER TABLE ONLY public.delivery_orders
13953     ADD CONSTRAINT delivery_orders_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
13954
13955
13956 --
13957 -- Name: delivery_orders delivery_orders_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13958 --
13959
13960 ALTER TABLE ONLY public.delivery_orders
13961     ADD CONSTRAINT delivery_orders_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
13962
13963
13964 --
13965 -- Name: delivery_orders delivery_orders_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13966 --
13967
13968 ALTER TABLE ONLY public.delivery_orders
13969     ADD CONSTRAINT delivery_orders_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
13970
13971
13972 --
13973 -- Name: delivery_orders delivery_orders_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13974 --
13975
13976 ALTER TABLE ONLY public.delivery_orders
13977     ADD CONSTRAINT delivery_orders_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
13978
13979
13980 --
13981 -- Name: delivery_orders delivery_orders_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13982 --
13983
13984 ALTER TABLE ONLY public.delivery_orders
13985     ADD CONSTRAINT delivery_orders_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
13986
13987
13988 --
13989 -- Name: delivery_orders delivery_orders_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13990 --
13991
13992 ALTER TABLE ONLY public.delivery_orders
13993     ADD CONSTRAINT delivery_orders_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
13994
13995
13996 --
13997 -- Name: delivery_orders delivery_orders_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
13998 --
13999
14000 ALTER TABLE ONLY public.delivery_orders
14001     ADD CONSTRAINT delivery_orders_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
14002
14003
14004 --
14005 -- Name: delivery_orders delivery_orders_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14006 --
14007
14008 ALTER TABLE ONLY public.delivery_orders
14009     ADD CONSTRAINT delivery_orders_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
14010
14011
14012 --
14013 -- Name: delivery_orders delivery_orders_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14014 --
14015
14016 ALTER TABLE ONLY public.delivery_orders
14017     ADD CONSTRAINT delivery_orders_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
14018
14019
14020 --
14021 -- Name: delivery_orders delivery_orders_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14022 --
14023
14024 ALTER TABLE ONLY public.delivery_orders
14025     ADD CONSTRAINT delivery_orders_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
14026
14027
14028 --
14029 -- Name: delivery_orders delivery_orders_shipto_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14030 --
14031
14032 ALTER TABLE ONLY public.delivery_orders
14033     ADD CONSTRAINT delivery_orders_shipto_id_fkey FOREIGN KEY (shipto_id) REFERENCES public.shipto(shipto_id);
14034
14035
14036 --
14037 -- Name: delivery_orders delivery_orders_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14038 --
14039
14040 ALTER TABLE ONLY public.delivery_orders
14041     ADD CONSTRAINT delivery_orders_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
14042
14043
14044 --
14045 -- Name: delivery_orders delivery_orders_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14046 --
14047
14048 ALTER TABLE ONLY public.delivery_orders
14049     ADD CONSTRAINT delivery_orders_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
14050
14051
14052 --
14053 -- Name: drafts drafts_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14054 --
14055
14056 ALTER TABLE ONLY public.drafts
14057     ADD CONSTRAINT drafts_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14058
14059
14060 --
14061 -- Name: dunning dunning_dunning_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14062 --
14063
14064 ALTER TABLE ONLY public.dunning
14065     ADD CONSTRAINT dunning_dunning_config_id_fkey FOREIGN KEY (dunning_config_id) REFERENCES public.dunning_config(id);
14066
14067
14068 --
14069 -- Name: dunning dunning_fee_interest_ar_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14070 --
14071
14072 ALTER TABLE ONLY public.dunning
14073     ADD CONSTRAINT dunning_fee_interest_ar_id_fkey FOREIGN KEY (fee_interest_ar_id) REFERENCES public.ar(id);
14074
14075
14076 --
14077 -- Name: dunning dunning_trans_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14078 --
14079
14080 ALTER TABLE ONLY public.dunning
14081     ADD CONSTRAINT dunning_trans_id_fkey FOREIGN KEY (trans_id) REFERENCES public.ar(id) ON DELETE CASCADE;
14082
14083
14084 --
14085 -- Name: email_journal_attachments email_journal_attachments_email_journal_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14086 --
14087
14088 ALTER TABLE ONLY public.email_journal_attachments
14089     ADD CONSTRAINT email_journal_attachments_email_journal_id_fkey FOREIGN KEY (email_journal_id) REFERENCES public.email_journal(id) ON DELETE CASCADE;
14090
14091
14092 --
14093 -- Name: email_journal email_journal_sender_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14094 --
14095
14096 ALTER TABLE ONLY public.email_journal
14097     ADD CONSTRAINT email_journal_sender_id_fkey FOREIGN KEY (sender_id) REFERENCES public.employee(id);
14098
14099
14100 --
14101 -- Name: employee_project_invoices employee_project_invoices_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14102 --
14103
14104 ALTER TABLE ONLY public.employee_project_invoices
14105     ADD CONSTRAINT employee_project_invoices_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id) ON DELETE CASCADE;
14106
14107
14108 --
14109 -- Name: employee_project_invoices employee_project_invoices_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14110 --
14111
14112 ALTER TABLE ONLY public.employee_project_invoices
14113     ADD CONSTRAINT employee_project_invoices_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE CASCADE;
14114
14115
14116 --
14117 -- Name: exchangerate exchangerate_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14118 --
14119
14120 ALTER TABLE ONLY public.exchangerate
14121     ADD CONSTRAINT exchangerate_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
14122
14123
14124 --
14125 -- Name: file_full_texts file_full_texts_file_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14126 --
14127
14128 ALTER TABLE ONLY public.file_full_texts
14129     ADD CONSTRAINT file_full_texts_file_id_fkey FOREIGN KEY (file_id) REFERENCES public.files(id) ON DELETE CASCADE;
14130
14131
14132 --
14133 -- Name: follow_up_access follow_up_access_what_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14134 --
14135
14136 ALTER TABLE ONLY public.follow_up_access
14137     ADD CONSTRAINT follow_up_access_what_fkey FOREIGN KEY (what) REFERENCES public.employee(id);
14138
14139
14140 --
14141 -- Name: follow_up_access follow_up_access_who_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14142 --
14143
14144 ALTER TABLE ONLY public.follow_up_access
14145     ADD CONSTRAINT follow_up_access_who_fkey FOREIGN KEY (who) REFERENCES public.employee(id);
14146
14147
14148 --
14149 -- Name: follow_up_links follow_up_links_follow_up_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14150 --
14151
14152 ALTER TABLE ONLY public.follow_up_links
14153     ADD CONSTRAINT follow_up_links_follow_up_id_fkey FOREIGN KEY (follow_up_id) REFERENCES public.follow_ups(id) ON DELETE CASCADE;
14154
14155
14156 --
14157 -- Name: follow_ups follow_ups_created_by_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14158 --
14159
14160 ALTER TABLE ONLY public.follow_ups
14161     ADD CONSTRAINT follow_ups_created_by_fkey FOREIGN KEY (created_by) REFERENCES public.employee(id);
14162
14163
14164 --
14165 -- Name: follow_ups follow_ups_created_for_user_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14166 --
14167
14168 ALTER TABLE ONLY public.follow_ups
14169     ADD CONSTRAINT follow_ups_created_for_user_fkey FOREIGN KEY (created_for_user) REFERENCES public.employee(id);
14170
14171
14172 --
14173 -- Name: follow_ups follow_ups_note_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14174 --
14175
14176 ALTER TABLE ONLY public.follow_ups
14177     ADD CONSTRAINT follow_ups_note_id_fkey FOREIGN KEY (note_id) REFERENCES public.notes(id);
14178
14179
14180 --
14181 -- Name: generic_translations generic_translations_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14182 --
14183
14184 ALTER TABLE ONLY public.generic_translations
14185     ADD CONSTRAINT generic_translations_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id) ON DELETE CASCADE;
14186
14187
14188 --
14189 -- Name: gl gl_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14190 --
14191
14192 ALTER TABLE ONLY public.gl
14193     ADD CONSTRAINT gl_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
14194
14195
14196 --
14197 -- Name: gl gl_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14198 --
14199
14200 ALTER TABLE ONLY public.gl
14201     ADD CONSTRAINT gl_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14202
14203
14204 --
14205 -- Name: gl gl_storno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14206 --
14207
14208 ALTER TABLE ONLY public.gl
14209     ADD CONSTRAINT gl_storno_id_fkey FOREIGN KEY (storno_id) REFERENCES public.gl(id);
14210
14211
14212 --
14213 -- Name: history_erp history_erp_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14214 --
14215
14216 ALTER TABLE ONLY public.history_erp
14217     ADD CONSTRAINT history_erp_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14218
14219
14220 --
14221 -- Name: inventory inventory_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14222 --
14223
14224 ALTER TABLE ONLY public.inventory
14225     ADD CONSTRAINT inventory_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id);
14226
14227
14228 --
14229 -- Name: inventory inventory_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14230 --
14231
14232 ALTER TABLE ONLY public.inventory
14233     ADD CONSTRAINT inventory_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14234
14235
14236 --
14237 -- Name: inventory inventory_invoice_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14238 --
14239
14240 ALTER TABLE ONLY public.inventory
14241     ADD CONSTRAINT inventory_invoice_id_fkey FOREIGN KEY (invoice_id) REFERENCES public.invoice(id);
14242
14243
14244 --
14245 -- Name: inventory inventory_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14246 --
14247
14248 ALTER TABLE ONLY public.inventory
14249     ADD CONSTRAINT inventory_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
14250
14251
14252 --
14253 -- Name: inventory inventory_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14254 --
14255
14256 ALTER TABLE ONLY public.inventory
14257     ADD CONSTRAINT inventory_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
14258
14259
14260 --
14261 -- Name: inventory inventory_trans_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14262 --
14263
14264 ALTER TABLE ONLY public.inventory
14265     ADD CONSTRAINT inventory_trans_type_id_fkey FOREIGN KEY (trans_type_id) REFERENCES public.transfer_type(id);
14266
14267
14268 --
14269 -- Name: inventory inventory_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14270 --
14271
14272 ALTER TABLE ONLY public.inventory
14273     ADD CONSTRAINT inventory_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
14274
14275
14276 --
14277 -- Name: invoice invoice_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14278 --
14279
14280 ALTER TABLE ONLY public.invoice
14281     ADD CONSTRAINT invoice_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id);
14282
14283
14284 --
14285 -- Name: invoice invoice_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14286 --
14287
14288 ALTER TABLE ONLY public.invoice
14289     ADD CONSTRAINT invoice_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id);
14290
14291
14292 --
14293 -- Name: invoice invoice_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14294 --
14295
14296 ALTER TABLE ONLY public.invoice
14297     ADD CONSTRAINT invoice_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
14298
14299
14300 --
14301 -- Name: invoice invoice_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14302 --
14303
14304 ALTER TABLE ONLY public.invoice
14305     ADD CONSTRAINT invoice_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
14306
14307
14308 --
14309 -- Name: letter letter_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14310 --
14311
14312 ALTER TABLE ONLY public.letter
14313     ADD CONSTRAINT letter_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
14314
14315
14316 --
14317 -- Name: letter letter_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14318 --
14319
14320 ALTER TABLE ONLY public.letter
14321     ADD CONSTRAINT letter_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
14322
14323
14324 --
14325 -- Name: letter_draft letter_draft_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14326 --
14327
14328 ALTER TABLE ONLY public.letter_draft
14329     ADD CONSTRAINT letter_draft_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
14330
14331
14332 --
14333 -- Name: letter_draft letter_draft_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14334 --
14335
14336 ALTER TABLE ONLY public.letter_draft
14337     ADD CONSTRAINT letter_draft_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
14338
14339
14340 --
14341 -- Name: letter_draft letter_draft_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14342 --
14343
14344 ALTER TABLE ONLY public.letter_draft
14345     ADD CONSTRAINT letter_draft_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14346
14347
14348 --
14349 -- Name: letter_draft letter_draft_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14350 --
14351
14352 ALTER TABLE ONLY public.letter_draft
14353     ADD CONSTRAINT letter_draft_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
14354
14355
14356 --
14357 -- Name: letter_draft letter_draft_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14358 --
14359
14360 ALTER TABLE ONLY public.letter_draft
14361     ADD CONSTRAINT letter_draft_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
14362
14363
14364 --
14365 -- Name: letter letter_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14366 --
14367
14368 ALTER TABLE ONLY public.letter
14369     ADD CONSTRAINT letter_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14370
14371
14372 --
14373 -- Name: letter letter_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14374 --
14375
14376 ALTER TABLE ONLY public.letter
14377     ADD CONSTRAINT letter_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
14378
14379
14380 --
14381 -- Name: letter letter_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14382 --
14383
14384 ALTER TABLE ONLY public.letter
14385     ADD CONSTRAINT letter_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
14386
14387
14388 --
14389 -- Name: makemodel makemodel_make_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14390 --
14391
14392 ALTER TABLE ONLY public.makemodel
14393     ADD CONSTRAINT makemodel_make_fkey FOREIGN KEY (make) REFERENCES public.vendor(id);
14394
14395
14396 --
14397 -- Name: notes notes_created_by_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14398 --
14399
14400 ALTER TABLE ONLY public.notes
14401     ADD CONSTRAINT notes_created_by_fkey FOREIGN KEY (created_by) REFERENCES public.employee(id);
14402
14403
14404 --
14405 -- Name: oe oe_billing_address_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14406 --
14407
14408 ALTER TABLE ONLY public.oe
14409     ADD CONSTRAINT oe_billing_address_id_fkey FOREIGN KEY (billing_address_id) REFERENCES public.additional_billing_addresses(id);
14410
14411
14412 --
14413 -- Name: oe oe_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14414 --
14415
14416 ALTER TABLE ONLY public.oe
14417     ADD CONSTRAINT oe_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
14418
14419
14420 --
14421 -- Name: oe oe_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14422 --
14423
14424 ALTER TABLE ONLY public.oe
14425     ADD CONSTRAINT oe_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
14426
14427
14428 --
14429 -- Name: oe oe_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14430 --
14431
14432 ALTER TABLE ONLY public.oe
14433     ADD CONSTRAINT oe_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
14434
14435
14436 --
14437 -- Name: oe oe_delivery_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14438 --
14439
14440 ALTER TABLE ONLY public.oe
14441     ADD CONSTRAINT oe_delivery_customer_id_fkey FOREIGN KEY (delivery_customer_id) REFERENCES public.customer(id);
14442
14443
14444 --
14445 -- Name: oe oe_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14446 --
14447
14448 ALTER TABLE ONLY public.oe
14449     ADD CONSTRAINT oe_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
14450
14451
14452 --
14453 -- Name: oe oe_delivery_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14454 --
14455
14456 ALTER TABLE ONLY public.oe
14457     ADD CONSTRAINT oe_delivery_vendor_id_fkey FOREIGN KEY (delivery_vendor_id) REFERENCES public.vendor(id);
14458
14459
14460 --
14461 -- Name: oe oe_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14462 --
14463
14464 ALTER TABLE ONLY public.oe
14465     ADD CONSTRAINT oe_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
14466
14467
14468 --
14469 -- Name: oe oe_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14470 --
14471
14472 ALTER TABLE ONLY public.oe
14473     ADD CONSTRAINT oe_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14474
14475
14476 --
14477 -- Name: oe oe_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14478 --
14479
14480 ALTER TABLE ONLY public.oe
14481     ADD CONSTRAINT oe_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
14482
14483
14484 --
14485 -- Name: inventory oe_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14486 --
14487
14488 ALTER TABLE ONLY public.inventory
14489     ADD CONSTRAINT oe_id_fkey FOREIGN KEY (oe_id) REFERENCES public.delivery_orders(id);
14490
14491
14492 --
14493 -- Name: oe oe_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14494 --
14495
14496 ALTER TABLE ONLY public.oe
14497     ADD CONSTRAINT oe_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
14498
14499
14500 --
14501 -- Name: oe oe_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14502 --
14503
14504 ALTER TABLE ONLY public.oe
14505     ADD CONSTRAINT oe_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
14506
14507
14508 --
14509 -- Name: oe oe_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14510 --
14511
14512 ALTER TABLE ONLY public.oe
14513     ADD CONSTRAINT oe_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
14514
14515
14516 --
14517 -- Name: oe oe_shipto_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14518 --
14519
14520 ALTER TABLE ONLY public.oe
14521     ADD CONSTRAINT oe_shipto_id_fkey FOREIGN KEY (shipto_id) REFERENCES public.shipto(shipto_id);
14522
14523
14524 --
14525 -- Name: oe oe_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14526 --
14527
14528 ALTER TABLE ONLY public.oe
14529     ADD CONSTRAINT oe_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
14530
14531
14532 --
14533 -- Name: oe oe_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14534 --
14535
14536 ALTER TABLE ONLY public.oe
14537     ADD CONSTRAINT oe_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
14538
14539
14540 --
14541 -- Name: orderitems orderitems_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14542 --
14543
14544 ALTER TABLE ONLY public.orderitems
14545     ADD CONSTRAINT orderitems_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id) ON DELETE RESTRICT;
14546
14547
14548 --
14549 -- Name: orderitems orderitems_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14550 --
14551
14552 ALTER TABLE ONLY public.orderitems
14553     ADD CONSTRAINT orderitems_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id) ON DELETE RESTRICT;
14554
14555
14556 --
14557 -- Name: orderitems orderitems_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14558 --
14559
14560 ALTER TABLE ONLY public.orderitems
14561     ADD CONSTRAINT orderitems_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id) ON DELETE RESTRICT;
14562
14563
14564 --
14565 -- Name: orderitems orderitems_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14566 --
14567
14568 ALTER TABLE ONLY public.orderitems
14569     ADD CONSTRAINT orderitems_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
14570
14571
14572 --
14573 -- Name: orderitems orderitems_trans_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14574 --
14575
14576 ALTER TABLE ONLY public.orderitems
14577     ADD CONSTRAINT orderitems_trans_id_fkey FOREIGN KEY (trans_id) REFERENCES public.oe(id) ON DELETE CASCADE;
14578
14579
14580 --
14581 -- Name: orderitems orderitems_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14582 --
14583
14584 ALTER TABLE ONLY public.orderitems
14585     ADD CONSTRAINT orderitems_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
14586
14587
14588 --
14589 -- Name: parts part_classification_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14590 --
14591
14592 ALTER TABLE ONLY public.parts
14593     ADD CONSTRAINT part_classification_id_fkey FOREIGN KEY (classification_id) REFERENCES public.part_classifications(id);
14594
14595
14596 --
14597 -- Name: part_customer_prices part_customer_prices_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14598 --
14599
14600 ALTER TABLE ONLY public.part_customer_prices
14601     ADD CONSTRAINT part_customer_prices_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
14602
14603
14604 --
14605 -- Name: part_customer_prices part_customer_prices_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14606 --
14607
14608 ALTER TABLE ONLY public.part_customer_prices
14609     ADD CONSTRAINT part_customer_prices_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
14610
14611
14612 --
14613 -- Name: parts parts_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14614 --
14615
14616 ALTER TABLE ONLY public.parts
14617     ADD CONSTRAINT parts_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id);
14618
14619
14620 --
14621 -- Name: parts parts_partsgroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14622 --
14623
14624 ALTER TABLE ONLY public.parts
14625     ADD CONSTRAINT parts_partsgroup_id_fkey FOREIGN KEY (partsgroup_id) REFERENCES public.partsgroup(id);
14626
14627
14628 --
14629 -- Name: parts parts_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14630 --
14631
14632 ALTER TABLE ONLY public.parts
14633     ADD CONSTRAINT parts_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
14634
14635
14636 --
14637 -- Name: parts parts_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14638 --
14639
14640 ALTER TABLE ONLY public.parts
14641     ADD CONSTRAINT parts_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id);
14642
14643
14644 --
14645 -- Name: parts_price_history parts_price_history_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14646 --
14647
14648 ALTER TABLE ONLY public.parts_price_history
14649     ADD CONSTRAINT parts_price_history_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id) ON DELETE CASCADE;
14650
14651
14652 --
14653 -- Name: parts parts_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14654 --
14655
14656 ALTER TABLE ONLY public.parts
14657     ADD CONSTRAINT parts_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
14658
14659
14660 --
14661 -- Name: parts parts_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14662 --
14663
14664 ALTER TABLE ONLY public.parts
14665     ADD CONSTRAINT parts_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
14666
14667
14668 --
14669 -- Name: periodic_invoices periodic_invoices_ar_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14670 --
14671
14672 ALTER TABLE ONLY public.periodic_invoices
14673     ADD CONSTRAINT periodic_invoices_ar_id_fkey FOREIGN KEY (ar_id) REFERENCES public.ar(id) ON DELETE CASCADE;
14674
14675
14676 --
14677 -- Name: periodic_invoices periodic_invoices_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14678 --
14679
14680 ALTER TABLE ONLY public.periodic_invoices
14681     ADD CONSTRAINT periodic_invoices_config_id_fkey FOREIGN KEY (config_id) REFERENCES public.periodic_invoices_configs(id) ON DELETE CASCADE;
14682
14683
14684 --
14685 -- Name: periodic_invoices_configs periodic_invoices_configs_ar_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14686 --
14687
14688 ALTER TABLE ONLY public.periodic_invoices_configs
14689     ADD CONSTRAINT periodic_invoices_configs_ar_chart_id_fkey FOREIGN KEY (ar_chart_id) REFERENCES public.chart(id) ON DELETE RESTRICT;
14690
14691
14692 --
14693 -- Name: periodic_invoices_configs periodic_invoices_configs_email_recipient_contact_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14694 --
14695
14696 ALTER TABLE ONLY public.periodic_invoices_configs
14697     ADD CONSTRAINT periodic_invoices_configs_email_recipient_contact_id_fkey FOREIGN KEY (email_recipient_contact_id) REFERENCES public.contacts(cp_id) ON DELETE SET NULL;
14698
14699
14700 --
14701 -- Name: periodic_invoices_configs periodic_invoices_configs_oe_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14702 --
14703
14704 ALTER TABLE ONLY public.periodic_invoices_configs
14705     ADD CONSTRAINT periodic_invoices_configs_oe_id_fkey FOREIGN KEY (oe_id) REFERENCES public.oe(id) ON DELETE CASCADE;
14706
14707
14708 --
14709 -- Name: periodic_invoices_configs periodic_invoices_configs_printer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14710 --
14711
14712 ALTER TABLE ONLY public.periodic_invoices_configs
14713     ADD CONSTRAINT periodic_invoices_configs_printer_id_fkey FOREIGN KEY (printer_id) REFERENCES public.printers(id) ON DELETE SET NULL;
14714
14715
14716 --
14717 -- Name: price_rule_items price_rule_items_custom_variable_configs_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14718 --
14719
14720 ALTER TABLE ONLY public.price_rule_items
14721     ADD CONSTRAINT price_rule_items_custom_variable_configs_id_fkey FOREIGN KEY (custom_variable_configs_id) REFERENCES public.custom_variable_configs(id);
14722
14723
14724 --
14725 -- Name: price_rule_items price_rule_items_price_rules_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14726 --
14727
14728 ALTER TABLE ONLY public.price_rule_items
14729     ADD CONSTRAINT price_rule_items_price_rules_id_fkey FOREIGN KEY (price_rules_id) REFERENCES public.price_rules(id) ON DELETE CASCADE;
14730
14731
14732 --
14733 -- Name: prices prices_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14734 --
14735
14736 ALTER TABLE ONLY public.prices
14737     ADD CONSTRAINT prices_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id) ON DELETE CASCADE;
14738
14739
14740 --
14741 -- Name: prices prices_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14742 --
14743
14744 ALTER TABLE ONLY public.prices
14745     ADD CONSTRAINT prices_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id) ON DELETE CASCADE;
14746
14747
14748 --
14749 -- Name: project project_billable_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14750 --
14751
14752 ALTER TABLE ONLY public.project
14753     ADD CONSTRAINT project_billable_customer_id_fkey FOREIGN KEY (billable_customer_id) REFERENCES public.customer(id);
14754
14755
14756 --
14757 -- Name: project project_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14758 --
14759
14760 ALTER TABLE ONLY public.project
14761     ADD CONSTRAINT project_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
14762
14763
14764 --
14765 -- Name: project_participants project_participants_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14766 --
14767
14768 ALTER TABLE ONLY public.project_participants
14769     ADD CONSTRAINT project_participants_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14770
14771
14772 --
14773 -- Name: project_participants project_participants_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14774 --
14775
14776 ALTER TABLE ONLY public.project_participants
14777     ADD CONSTRAINT project_participants_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
14778
14779
14780 --
14781 -- Name: project_participants project_participants_project_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14782 --
14783
14784 ALTER TABLE ONLY public.project_participants
14785     ADD CONSTRAINT project_participants_project_role_id_fkey FOREIGN KEY (project_role_id) REFERENCES public.project_roles(id);
14786
14787
14788 --
14789 -- Name: project_phase_participants project_phase_participants_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14790 --
14791
14792 ALTER TABLE ONLY public.project_phase_participants
14793     ADD CONSTRAINT project_phase_participants_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14794
14795
14796 --
14797 -- Name: project_phase_participants project_phase_participants_project_phase_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14798 --
14799
14800 ALTER TABLE ONLY public.project_phase_participants
14801     ADD CONSTRAINT project_phase_participants_project_phase_id_fkey FOREIGN KEY (project_phase_id) REFERENCES public.project_phases(id);
14802
14803
14804 --
14805 -- Name: project_phase_participants project_phase_participants_project_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14806 --
14807
14808 ALTER TABLE ONLY public.project_phase_participants
14809     ADD CONSTRAINT project_phase_participants_project_role_id_fkey FOREIGN KEY (project_role_id) REFERENCES public.project_roles(id);
14810
14811
14812 --
14813 -- Name: project_phases project_phases_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14814 --
14815
14816 ALTER TABLE ONLY public.project_phases
14817     ADD CONSTRAINT project_phases_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
14818
14819
14820 --
14821 -- Name: project project_project_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14822 --
14823
14824 ALTER TABLE ONLY public.project
14825     ADD CONSTRAINT project_project_status_id_fkey FOREIGN KEY (project_status_id) REFERENCES public.project_statuses(id);
14826
14827
14828 --
14829 -- Name: project project_project_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14830 --
14831
14832 ALTER TABLE ONLY public.project
14833     ADD CONSTRAINT project_project_type_id_fkey FOREIGN KEY (project_type_id) REFERENCES public.project_types(id);
14834
14835
14836 --
14837 -- Name: reconciliation_links reconciliation_links_acc_trans_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14838 --
14839
14840 ALTER TABLE ONLY public.reconciliation_links
14841     ADD CONSTRAINT reconciliation_links_acc_trans_id_fkey FOREIGN KEY (acc_trans_id) REFERENCES public.acc_trans(acc_trans_id) ON DELETE CASCADE;
14842
14843
14844 --
14845 -- Name: reconciliation_links reconciliation_links_bank_transaction_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14846 --
14847
14848 ALTER TABLE ONLY public.reconciliation_links
14849     ADD CONSTRAINT reconciliation_links_bank_transaction_id FOREIGN KEY (bank_transaction_id) REFERENCES public.bank_transactions(id) ON DELETE CASCADE;
14850
14851
14852 --
14853 -- Name: record_template_items record_template_items_chart_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14854 --
14855
14856 ALTER TABLE ONLY public.record_template_items
14857     ADD CONSTRAINT record_template_items_chart_id FOREIGN KEY (chart_id) REFERENCES public.chart(id) ON DELETE CASCADE;
14858
14859
14860 --
14861 -- Name: record_template_items record_template_items_project_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14862 --
14863
14864 ALTER TABLE ONLY public.record_template_items
14865     ADD CONSTRAINT record_template_items_project_id FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
14866
14867
14868 --
14869 -- Name: record_template_items record_template_items_record_template_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14870 --
14871
14872 ALTER TABLE ONLY public.record_template_items
14873     ADD CONSTRAINT record_template_items_record_template_id FOREIGN KEY (record_template_id) REFERENCES public.record_templates(id) ON DELETE CASCADE;
14874
14875
14876 --
14877 -- Name: record_template_items record_template_items_tax_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14878 --
14879
14880 ALTER TABLE ONLY public.record_template_items
14881     ADD CONSTRAINT record_template_items_tax_id FOREIGN KEY (tax_id) REFERENCES public.tax(id) ON DELETE CASCADE;
14882
14883
14884 --
14885 -- Name: record_templates record_templates_ar_ap_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14886 --
14887
14888 ALTER TABLE ONLY public.record_templates
14889     ADD CONSTRAINT record_templates_ar_ap_chart_id_fkey FOREIGN KEY (ar_ap_chart_id) REFERENCES public.chart(id) ON DELETE SET NULL;
14890
14891
14892 --
14893 -- Name: record_templates record_templates_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14894 --
14895
14896 ALTER TABLE ONLY public.record_templates
14897     ADD CONSTRAINT record_templates_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id) ON DELETE CASCADE;
14898
14899
14900 --
14901 -- Name: record_templates record_templates_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14902 --
14903
14904 ALTER TABLE ONLY public.record_templates
14905     ADD CONSTRAINT record_templates_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id) ON DELETE SET NULL;
14906
14907
14908 --
14909 -- Name: record_templates record_templates_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14910 --
14911
14912 ALTER TABLE ONLY public.record_templates
14913     ADD CONSTRAINT record_templates_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id) ON DELETE SET NULL;
14914
14915
14916 --
14917 -- Name: record_templates record_templates_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14918 --
14919
14920 ALTER TABLE ONLY public.record_templates
14921     ADD CONSTRAINT record_templates_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id) ON DELETE SET NULL;
14922
14923
14924 --
14925 -- Name: record_templates record_templates_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14926 --
14927
14928 ALTER TABLE ONLY public.record_templates
14929     ADD CONSTRAINT record_templates_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
14930
14931
14932 --
14933 -- Name: record_templates record_templates_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14934 --
14935
14936 ALTER TABLE ONLY public.record_templates
14937     ADD CONSTRAINT record_templates_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
14938
14939
14940 --
14941 -- Name: record_templates record_templates_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14942 --
14943
14944 ALTER TABLE ONLY public.record_templates
14945     ADD CONSTRAINT record_templates_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id) ON DELETE SET NULL;
14946
14947
14948 --
14949 -- Name: requirement_spec_item_dependencies requirement_spec_item_dependencies_depended_item_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14950 --
14951
14952 ALTER TABLE ONLY public.requirement_spec_item_dependencies
14953     ADD CONSTRAINT requirement_spec_item_dependencies_depended_item_id_fkey FOREIGN KEY (depended_item_id) REFERENCES public.requirement_spec_items(id) ON DELETE CASCADE;
14954
14955
14956 --
14957 -- Name: requirement_spec_item_dependencies requirement_spec_item_dependencies_depending_item_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14958 --
14959
14960 ALTER TABLE ONLY public.requirement_spec_item_dependencies
14961     ADD CONSTRAINT requirement_spec_item_dependencies_depending_item_id_fkey FOREIGN KEY (depending_item_id) REFERENCES public.requirement_spec_items(id) ON DELETE CASCADE;
14962
14963
14964 --
14965 -- Name: requirement_spec_items requirement_spec_items_acceptance_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14966 --
14967
14968 ALTER TABLE ONLY public.requirement_spec_items
14969     ADD CONSTRAINT requirement_spec_items_acceptance_status_id_fkey FOREIGN KEY (acceptance_status_id) REFERENCES public.requirement_spec_acceptance_statuses(id);
14970
14971
14972 --
14973 -- Name: requirement_spec_items requirement_spec_items_complexity_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14974 --
14975
14976 ALTER TABLE ONLY public.requirement_spec_items
14977     ADD CONSTRAINT requirement_spec_items_complexity_id_fkey FOREIGN KEY (complexity_id) REFERENCES public.requirement_spec_complexities(id);
14978
14979
14980 --
14981 -- Name: requirement_spec_items requirement_spec_items_order_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14982 --
14983
14984 ALTER TABLE ONLY public.requirement_spec_items
14985     ADD CONSTRAINT requirement_spec_items_order_part_id_fkey FOREIGN KEY (order_part_id) REFERENCES public.parts(id) ON DELETE SET NULL;
14986
14987
14988 --
14989 -- Name: requirement_spec_items requirement_spec_items_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14990 --
14991
14992 ALTER TABLE ONLY public.requirement_spec_items
14993     ADD CONSTRAINT requirement_spec_items_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES public.requirement_spec_items(id);
14994
14995
14996 --
14997 -- Name: requirement_spec_items requirement_spec_items_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14998 --
14999
15000 ALTER TABLE ONLY public.requirement_spec_items
15001     ADD CONSTRAINT requirement_spec_items_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
15002
15003
15004 --
15005 -- Name: requirement_spec_items requirement_spec_items_risk_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15006 --
15007
15008 ALTER TABLE ONLY public.requirement_spec_items
15009     ADD CONSTRAINT requirement_spec_items_risk_id_fkey FOREIGN KEY (risk_id) REFERENCES public.requirement_spec_risks(id);
15010
15011
15012 --
15013 -- Name: requirement_spec_orders requirement_spec_orders_order_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15014 --
15015
15016 ALTER TABLE ONLY public.requirement_spec_orders
15017     ADD CONSTRAINT requirement_spec_orders_order_id_fkey FOREIGN KEY (order_id) REFERENCES public.oe(id) ON DELETE CASCADE;
15018
15019
15020 --
15021 -- Name: requirement_spec_orders requirement_spec_orders_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15022 --
15023
15024 ALTER TABLE ONLY public.requirement_spec_orders
15025     ADD CONSTRAINT requirement_spec_orders_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
15026
15027
15028 --
15029 -- Name: requirement_spec_orders requirement_spec_orders_version_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15030 --
15031
15032 ALTER TABLE ONLY public.requirement_spec_orders
15033     ADD CONSTRAINT requirement_spec_orders_version_id_fkey FOREIGN KEY (version_id) REFERENCES public.requirement_spec_versions(id) ON DELETE SET NULL;
15034
15035
15036 --
15037 -- Name: requirement_spec_parts requirement_spec_parts_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15038 --
15039
15040 ALTER TABLE ONLY public.requirement_spec_parts
15041     ADD CONSTRAINT requirement_spec_parts_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
15042
15043
15044 --
15045 -- Name: requirement_spec_parts requirement_spec_parts_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15046 --
15047
15048 ALTER TABLE ONLY public.requirement_spec_parts
15049     ADD CONSTRAINT requirement_spec_parts_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
15050
15051
15052 --
15053 -- Name: requirement_spec_parts requirement_spec_parts_unit_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15054 --
15055
15056 ALTER TABLE ONLY public.requirement_spec_parts
15057     ADD CONSTRAINT requirement_spec_parts_unit_id_fkey FOREIGN KEY (unit_id) REFERENCES public.units(id);
15058
15059
15060 --
15061 -- Name: requirement_spec_pictures requirement_spec_pictures_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15062 --
15063
15064 ALTER TABLE ONLY public.requirement_spec_pictures
15065     ADD CONSTRAINT requirement_spec_pictures_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
15066
15067
15068 --
15069 -- Name: requirement_spec_pictures requirement_spec_pictures_text_block_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15070 --
15071
15072 ALTER TABLE ONLY public.requirement_spec_pictures
15073     ADD CONSTRAINT requirement_spec_pictures_text_block_id_fkey FOREIGN KEY (text_block_id) REFERENCES public.requirement_spec_text_blocks(id) ON DELETE CASCADE;
15074
15075
15076 --
15077 -- Name: requirement_spec_text_blocks requirement_spec_text_blocks_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15078 --
15079
15080 ALTER TABLE ONLY public.requirement_spec_text_blocks
15081     ADD CONSTRAINT requirement_spec_text_blocks_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
15082
15083
15084 --
15085 -- Name: requirement_spec_versions requirement_spec_versions_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15086 --
15087
15088 ALTER TABLE ONLY public.requirement_spec_versions
15089     ADD CONSTRAINT requirement_spec_versions_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
15090
15091
15092 --
15093 -- Name: requirement_spec_versions requirement_spec_versions_working_copy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15094 --
15095
15096 ALTER TABLE ONLY public.requirement_spec_versions
15097     ADD CONSTRAINT requirement_spec_versions_working_copy_id_fkey FOREIGN KEY (working_copy_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
15098
15099
15100 --
15101 -- Name: requirement_specs requirement_specs_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15102 --
15103
15104 ALTER TABLE ONLY public.requirement_specs
15105     ADD CONSTRAINT requirement_specs_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
15106
15107
15108 --
15109 -- Name: requirement_specs requirement_specs_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15110 --
15111
15112 ALTER TABLE ONLY public.requirement_specs
15113     ADD CONSTRAINT requirement_specs_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
15114
15115
15116 --
15117 -- Name: requirement_specs requirement_specs_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15118 --
15119
15120 ALTER TABLE ONLY public.requirement_specs
15121     ADD CONSTRAINT requirement_specs_status_id_fkey FOREIGN KEY (status_id) REFERENCES public.requirement_spec_statuses(id);
15122
15123
15124 --
15125 -- Name: requirement_specs requirement_specs_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15126 --
15127
15128 ALTER TABLE ONLY public.requirement_specs
15129     ADD CONSTRAINT requirement_specs_type_id_fkey FOREIGN KEY (type_id) REFERENCES public.requirement_spec_types(id);
15130
15131
15132 --
15133 -- Name: requirement_specs requirement_specs_working_copy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15134 --
15135
15136 ALTER TABLE ONLY public.requirement_specs
15137     ADD CONSTRAINT requirement_specs_working_copy_id_fkey FOREIGN KEY (working_copy_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
15138
15139
15140 --
15141 -- Name: sepa_export sepa_export_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15142 --
15143
15144 ALTER TABLE ONLY public.sepa_export
15145     ADD CONSTRAINT sepa_export_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15146
15147
15148 --
15149 -- Name: sepa_export_items sepa_export_items_ap_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15150 --
15151
15152 ALTER TABLE ONLY public.sepa_export_items
15153     ADD CONSTRAINT sepa_export_items_ap_id_fkey FOREIGN KEY (ap_id) REFERENCES public.ap(id) ON DELETE CASCADE;
15154
15155
15156 --
15157 -- Name: sepa_export_items sepa_export_items_ar_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15158 --
15159
15160 ALTER TABLE ONLY public.sepa_export_items
15161     ADD CONSTRAINT sepa_export_items_ar_id_fkey FOREIGN KEY (ar_id) REFERENCES public.ar(id) ON DELETE CASCADE;
15162
15163
15164 --
15165 -- Name: sepa_export_items sepa_export_items_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15166 --
15167
15168 ALTER TABLE ONLY public.sepa_export_items
15169     ADD CONSTRAINT sepa_export_items_chart_id_fkey FOREIGN KEY (chart_id) REFERENCES public.chart(id);
15170
15171
15172 --
15173 -- Name: sepa_export_items sepa_export_items_sepa_export_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15174 --
15175
15176 ALTER TABLE ONLY public.sepa_export_items
15177     ADD CONSTRAINT sepa_export_items_sepa_export_id_fkey FOREIGN KEY (sepa_export_id) REFERENCES public.sepa_export(id) ON DELETE CASCADE;
15178
15179
15180 --
15181 -- Name: sepa_export_message_ids sepa_export_message_ids_sepa_export_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15182 --
15183
15184 ALTER TABLE ONLY public.sepa_export_message_ids
15185     ADD CONSTRAINT sepa_export_message_ids_sepa_export_id_fkey FOREIGN KEY (sepa_export_id) REFERENCES public.sepa_export(id) ON DELETE CASCADE;
15186
15187
15188 --
15189 -- Name: shop_images shop_images_file_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15190 --
15191
15192 ALTER TABLE ONLY public.shop_images
15193     ADD CONSTRAINT shop_images_file_id_fkey FOREIGN KEY (file_id) REFERENCES public.files(id) ON DELETE CASCADE;
15194
15195
15196 --
15197 -- Name: shop_order_items shop_order_items_shop_order_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15198 --
15199
15200 ALTER TABLE ONLY public.shop_order_items
15201     ADD CONSTRAINT shop_order_items_shop_order_id_fkey FOREIGN KEY (shop_order_id) REFERENCES public.shop_orders(id) ON DELETE CASCADE;
15202
15203
15204 --
15205 -- Name: shop_orders shop_orders_kivi_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15206 --
15207
15208 ALTER TABLE ONLY public.shop_orders
15209     ADD CONSTRAINT shop_orders_kivi_customer_id_fkey FOREIGN KEY (kivi_customer_id) REFERENCES public.customer(id);
15210
15211
15212 --
15213 -- Name: shop_orders shop_orders_shop_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15214 --
15215
15216 ALTER TABLE ONLY public.shop_orders
15217     ADD CONSTRAINT shop_orders_shop_id_fkey FOREIGN KEY (shop_id) REFERENCES public.shops(id);
15218
15219
15220 --
15221 -- Name: shop_parts shop_parts_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15222 --
15223
15224 ALTER TABLE ONLY public.shop_parts
15225     ADD CONSTRAINT shop_parts_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
15226
15227
15228 --
15229 -- Name: shop_parts shop_parts_shop_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15230 --
15231
15232 ALTER TABLE ONLY public.shop_parts
15233     ADD CONSTRAINT shop_parts_shop_id_fkey FOREIGN KEY (shop_id) REFERENCES public.shops(id);
15234
15235
15236 --
15237 -- Name: stocktakings stocktakings_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15238 --
15239
15240 ALTER TABLE ONLY public.stocktakings
15241     ADD CONSTRAINT stocktakings_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id);
15242
15243
15244 --
15245 -- Name: stocktakings stocktakings_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15246 --
15247
15248 ALTER TABLE ONLY public.stocktakings
15249     ADD CONSTRAINT stocktakings_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15250
15251
15252 --
15253 -- Name: stocktakings stocktakings_inventory_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15254 --
15255
15256 ALTER TABLE ONLY public.stocktakings
15257     ADD CONSTRAINT stocktakings_inventory_id_fkey FOREIGN KEY (inventory_id) REFERENCES public.inventory(id);
15258
15259
15260 --
15261 -- Name: stocktakings stocktakings_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15262 --
15263
15264 ALTER TABLE ONLY public.stocktakings
15265     ADD CONSTRAINT stocktakings_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
15266
15267
15268 --
15269 -- Name: stocktakings stocktakings_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15270 --
15271
15272 ALTER TABLE ONLY public.stocktakings
15273     ADD CONSTRAINT stocktakings_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
15274
15275
15276 --
15277 -- Name: tax tax_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15278 --
15279
15280 ALTER TABLE ONLY public.tax
15281     ADD CONSTRAINT tax_chart_id_fkey FOREIGN KEY (chart_id) REFERENCES public.chart(id);
15282
15283
15284 --
15285 -- Name: tax tax_skonto_purchase_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15286 --
15287
15288 ALTER TABLE ONLY public.tax
15289     ADD CONSTRAINT tax_skonto_purchase_chart_id_fkey FOREIGN KEY (skonto_purchase_chart_id) REFERENCES public.chart(id);
15290
15291
15292 --
15293 -- Name: tax tax_skonto_sales_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15294 --
15295
15296 ALTER TABLE ONLY public.tax
15297     ADD CONSTRAINT tax_skonto_sales_chart_id_fkey FOREIGN KEY (skonto_sales_chart_id) REFERENCES public.chart(id);
15298
15299
15300 --
15301 -- Name: taxkeys taxkeys_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15302 --
15303
15304 ALTER TABLE ONLY public.taxkeys
15305     ADD CONSTRAINT taxkeys_chart_id_fkey FOREIGN KEY (chart_id) REFERENCES public.chart(id);
15306
15307
15308 --
15309 -- Name: taxkeys taxkeys_tax_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15310 --
15311
15312 ALTER TABLE ONLY public.taxkeys
15313     ADD CONSTRAINT taxkeys_tax_id_fkey FOREIGN KEY (tax_id) REFERENCES public.tax(id);
15314
15315
15316 --
15317 -- Name: taxzone_charts taxzone_charts_buchungsgruppen_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15318 --
15319
15320 ALTER TABLE ONLY public.taxzone_charts
15321     ADD CONSTRAINT taxzone_charts_buchungsgruppen_id_fkey FOREIGN KEY (buchungsgruppen_id) REFERENCES public.buchungsgruppen(id);
15322
15323
15324 --
15325 -- Name: taxzone_charts taxzone_charts_expense_accno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15326 --
15327
15328 ALTER TABLE ONLY public.taxzone_charts
15329     ADD CONSTRAINT taxzone_charts_expense_accno_id_fkey FOREIGN KEY (expense_accno_id) REFERENCES public.chart(id);
15330
15331
15332 --
15333 -- Name: taxzone_charts taxzone_charts_income_accno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15334 --
15335
15336 ALTER TABLE ONLY public.taxzone_charts
15337     ADD CONSTRAINT taxzone_charts_income_accno_id_fkey FOREIGN KEY (income_accno_id) REFERENCES public.chart(id);
15338
15339
15340 --
15341 -- Name: taxzone_charts taxzone_charts_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15342 --
15343
15344 ALTER TABLE ONLY public.taxzone_charts
15345     ADD CONSTRAINT taxzone_charts_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
15346
15347
15348 --
15349 -- Name: time_recording_articles time_recording_articles_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15350 --
15351
15352 ALTER TABLE ONLY public.time_recording_articles
15353     ADD CONSTRAINT time_recording_articles_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
15354
15355
15356 --
15357 -- Name: time_recordings time_recordings_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15358 --
15359
15360 ALTER TABLE ONLY public.time_recordings
15361     ADD CONSTRAINT time_recordings_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
15362
15363
15364 --
15365 -- Name: time_recordings time_recordings_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15366 --
15367
15368 ALTER TABLE ONLY public.time_recordings
15369     ADD CONSTRAINT time_recordings_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15370
15371
15372 --
15373 -- Name: time_recordings time_recordings_order_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15374 --
15375
15376 ALTER TABLE ONLY public.time_recordings
15377     ADD CONSTRAINT time_recordings_order_id_fkey FOREIGN KEY (order_id) REFERENCES public.oe(id);
15378
15379
15380 --
15381 -- Name: time_recordings time_recordings_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15382 --
15383
15384 ALTER TABLE ONLY public.time_recordings
15385     ADD CONSTRAINT time_recordings_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
15386
15387
15388 --
15389 -- Name: time_recordings time_recordings_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15390 --
15391
15392 ALTER TABLE ONLY public.time_recordings
15393     ADD CONSTRAINT time_recordings_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
15394
15395
15396 --
15397 -- Name: time_recordings time_recordings_staff_member_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15398 --
15399
15400 ALTER TABLE ONLY public.time_recordings
15401     ADD CONSTRAINT time_recordings_staff_member_id_fkey FOREIGN KEY (staff_member_id) REFERENCES public.employee(id);
15402
15403
15404 --
15405 -- Name: todo_user_config todo_user_config_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15406 --
15407
15408 ALTER TABLE ONLY public.todo_user_config
15409     ADD CONSTRAINT todo_user_config_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15410
15411
15412 --
15413 -- Name: translation translation_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15414 --
15415
15416 ALTER TABLE ONLY public.translation
15417     ADD CONSTRAINT translation_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
15418
15419
15420 --
15421 -- Name: units_language units_language_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15422 --
15423
15424 ALTER TABLE ONLY public.units_language
15425     ADD CONSTRAINT units_language_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
15426
15427
15428 --
15429 -- Name: units_language units_language_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15430 --
15431
15432 ALTER TABLE ONLY public.units_language
15433     ADD CONSTRAINT units_language_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
15434
15435
15436 --
15437 -- Name: vendor vendor_business_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15438 --
15439
15440 ALTER TABLE ONLY public.vendor
15441     ADD CONSTRAINT vendor_business_id_fkey FOREIGN KEY (business_id) REFERENCES public.business(id);
15442
15443
15444 --
15445 -- Name: vendor vendor_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15446 --
15447
15448 ALTER TABLE ONLY public.vendor
15449     ADD CONSTRAINT vendor_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
15450
15451
15452 --
15453 -- Name: vendor vendor_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15454 --
15455
15456 ALTER TABLE ONLY public.vendor
15457     ADD CONSTRAINT vendor_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
15458
15459
15460 --
15461 -- Name: vendor vendor_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15462 --
15463
15464 ALTER TABLE ONLY public.vendor
15465     ADD CONSTRAINT vendor_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
15466
15467
15468 --
15469 -- Name: vendor vendor_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15470 --
15471
15472 ALTER TABLE ONLY public.vendor
15473     ADD CONSTRAINT vendor_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
15474
15475
15476 --
15477 -- Name: vendor vendor_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15478 --
15479
15480 ALTER TABLE ONLY public.vendor
15481     ADD CONSTRAINT vendor_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
15482
15483
15484 --
15485 -- Name: report_headings report_headings_category_id_fkey; Type: FK CONSTRAINT; Schema: tax; Owner: kivitendo
15486 --
15487
15488 ALTER TABLE ONLY tax.report_headings
15489     ADD CONSTRAINT report_headings_category_id_fkey FOREIGN KEY (category_id) REFERENCES tax.report_categories(id);
15490
15491
15492 --
15493 -- Name: report_variables report_variables_heading_id_fkey; Type: FK CONSTRAINT; Schema: tax; Owner: kivitendo
15494 --
15495
15496 ALTER TABLE ONLY tax.report_variables
15497     ADD CONSTRAINT report_variables_heading_id_fkey FOREIGN KEY (heading_id) REFERENCES tax.report_headings(id);
15498
15499
15500 --
15501 -- PostgreSQL database dump complete
15502 --
15503