Entity Invoice » History » Version 4

Blaise Carrupt, 26.03.2015 18:13

1 1 Blaise Carrupt
h1. Invoice entity
2 1 Blaise Carrupt
3 1 Blaise Carrupt
An invoice is a list of [[Entity Stock Item|stock items]] that a [[Entity Customer|customer]] should pay for.
4 1 Blaise Carrupt
An invoice is expressed in a [[Entity Currency|currency]].
5 1 Blaise Carrupt
An invoice is related to a [[Entity Project|project]].
6 1 Blaise Carrupt
An invoice is related to a [[Entity Company|company]].
7 1 Blaise Carrupt
8 4 Blaise Carrupt
An invoice is created from a [[Entity Invoice Template|template]].
9 4 Blaise Carrupt
10 1 Blaise Carrupt
An invoice is subdivided in Master and Details.
11 1 Blaise Carrupt
12 1 Blaise Carrupt
h2. Master
13 1 Blaise Carrupt
14 1 Blaise Carrupt
* Invoice date
15 1 Blaise Carrupt
* Invoice status
16 1 Blaise Carrupt
* [[Entity Customer|Customer]]
17 1 Blaise Carrupt
* Delivery [[Entity address|address]]
18 1 Blaise Carrupt
* Invoicing [[Entity Address|address]]
19 1 Blaise Carrupt
* [[Entity Currency|Currency]]
20 1 Blaise Carrupt
* [[Entity Project|Project]]
21 1 Blaise Carrupt
* Total amount
22 1 Blaise Carrupt
23 1 Blaise Carrupt
h2. Detail
24 1 Blaise Carrupt
25 1 Blaise Carrupt
The detail of an invoice is a list of groups containing [[Entity Stock Item|stock items]], operations, comments or sub-totals.
26 1 Blaise Carrupt
27 1 Blaise Carrupt
Each group has a label and a total amount. It can be specified as Visible or not. Its detail can also be specified as Visible or not. If a group is not visible it will never appear on printouts. If its detail is visible but not its detail, only the label and total amount will appear on printouts.
28 1 Blaise Carrupt
29 1 Blaise Carrupt
There a two kinds of groups :
30 1 Blaise Carrupt
* groups for items, containing [[Entity Stock Item|stock items]], operations, comments
31 1 Blaise Carrupt
* groups for sub-totals
32 1 Blaise Carrupt
33 1 Blaise Carrupt
h3. Groups for items
34 1 Blaise Carrupt
35 3 Blaise Carrupt
Items groups contain different kinds of lines
36 1 Blaise Carrupt
* [[Entity Stock Item|stock items]]
37 1 Blaise Carrupt
* operations
38 1 Blaise Carrupt
* comments
39 1 Blaise Carrupt
40 3 Blaise Carrupt
A [[Entity Stock Item|stock item]] line is a relation with a [[Entity Stock Item|stock item]], a [[Entity Unit|Unit]], a quantity and a price. Each line has a value. In simple case, the value of the line is the price multiplied by the quantity. If then [[Entity Stock Item|stock item]] has stock item's operations, they will be reckoned in the line.
41 1 Blaise Carrupt
42 3 Blaise Carrupt
{TODO} examples
43 3 Blaise Carrupt
44 3 Blaise Carrupt
As for a [[Entity Stock Item|stock item]] line, an operation line has a value that can be
45 1 Blaise Carrupt
* a fix value
46 1 Blaise Carrupt
* a % of a previously defined group
47 1 Blaise Carrupt
48 3 Blaise Carrupt
{TODO} examples
49 2 Blaise Carrupt
50 3 Blaise Carrupt
Comments are just lines of text. They have no value.
51 1 Blaise Carrupt
52 1 Blaise Carrupt
h3. Groups for sub-totals
53 1 Blaise Carrupt
54 1 Blaise Carrupt
Sub-total groups regroups previously created group for which the total will be summed.
55 1 Blaise Carrupt
56 1 Blaise Carrupt
57 1 Blaise Carrupt
58 1 Blaise Carrupt
59 1 Blaise Carrupt
60 1 Blaise Carrupt
61 1 Blaise Carrupt
62 1 Blaise Carrupt
h2. Standard features
63 1 Blaise Carrupt
64 1 Blaise Carrupt
* Numbering
65 1 Blaise Carrupt
** to each invoice is assigned a unique number
66 1 Blaise Carrupt
** this number can be generated, optionnaly using the year or month in it
67 1 Blaise Carrupt
** the number can be used to find the invoice
68 1 Blaise Carrupt
* Generated from a [[Entity Invoice Template|template]]
69 1 Blaise Carrupt
* Translatable
70 1 Blaise Carrupt
71 1 Blaise Carrupt
72 1 Blaise Carrupt
h2. Using entities
73 1 Blaise Carrupt
74 1 Blaise Carrupt
* [[Entity Customer|customer]]
75 1 Blaise Carrupt
* [[Entity Address|address]]
76 1 Blaise Carrupt
* [[Entity Company|company]] : defines the visibility of the customer
Add picture from clipboard (Maximum size: 32 MB)