-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbilling.er
74 lines (64 loc) · 1.5 KB
/
billing.er
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
title {label: "billing"}
#include organization
[products]
*id {label: "bigint"}
name
price {label: "float", length: "8,2"}
+tax {label: "integer"}
tax_amount {label: "float"}
quantity {label: "float", length: "8,2"}
+category {label: "bigint, null"}
+unit
[invoice_serial]
*id {label: "bigint"}
+tenant {label: "bigint"}
serial_number_series
serial_number_sequence {label: "integer"}
serial_number_format
pay_until_days {label: "integer"}
[invoice]
*id {label: "uuid"}
[invoice_detail]
*id {label: "bigint"}
+invoice_id {label: "bigint, null"}
+area {label: "bigint, null"}
date {label: "date"}
amount {label: "float"}
tax_amount {label: "float"}
+customer {label: "bigint"}
code
order_nr
remark {label: "text"}
pay_before
+tenant {label: "bigint"}
[invoice_item_detail]
*id {label: "bigint"}
+invoice_id {label: "bigint, null"}
+description
tax {label: "integer"}
tax_amount {label: "float"}
qty {label: "float"}
+unit
price {label: "float", length: "8,2"}
item_total {label: "float"}
[category]
*id {label: "bigint"}
name
[unit]
*id {label: "bigint"}
name
[tax]
*id {label: "bigint"}
name
percentage {label: "float"}
invoice_serial *--1 organization {label: "tenant"}
invoice_detail *--1 place {label: "area"}
invoice_detail *--1 invoice
invoice_detail *--1 organization {label: "customer"}
invoice_detail *--1 organization {label: "tenant"}
invoice_item_detail *--1 invoice_detail
invoice_item_detail *--1 products {label: "description"}
invoice_item_detail *--1 unit
products *--1 category
products *--1 unit
products *--1 tax