Entity Invoice » History » Version 3

Blaise Carrupt, 26.03.2015 18:09

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 1 Blaise Carrupt
An invoice is subdivided in Master and Details.
9 1 Blaise Carrupt
10 1 Blaise Carrupt
h2. Master
11 1 Blaise Carrupt
12 1 Blaise Carrupt
* Invoice date
13 1 Blaise Carrupt
* Invoice status
14 1 Blaise Carrupt
* [[Entity Customer|Customer]]
15 1 Blaise Carrupt
* Delivery [[Entity address|address]]
16 1 Blaise Carrupt
* Invoicing [[Entity Address|address]]
17 1 Blaise Carrupt
* [[Entity Currency|Currency]]
18 1 Blaise Carrupt
* [[Entity Project|Project]]
19 1 Blaise Carrupt
* Total amount
20 1 Blaise Carrupt
21 1 Blaise Carrupt
h2. Detail
22 1 Blaise Carrupt
23 1 Blaise Carrupt
The detail of an invoice is a list of groups containing [[Entity Stock Item|stock items]], operations, comments or sub-totals.
24 1 Blaise Carrupt
25 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.
26 1 Blaise Carrupt
27 1 Blaise Carrupt
There a two kinds of groups :
28 1 Blaise Carrupt
* groups for items, containing [[Entity Stock Item|stock items]], operations, comments
29 1 Blaise Carrupt
* groups for sub-totals
30 1 Blaise Carrupt
31 1 Blaise Carrupt
h3. Groups for items
32 1 Blaise Carrupt
33 3 Blaise Carrupt
Items groups contain different kinds of lines
34 1 Blaise Carrupt
* [[Entity Stock Item|stock items]]
35 1 Blaise Carrupt
* operations
36 1 Blaise Carrupt
* comments
37 1 Blaise Carrupt
38 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.
39 1 Blaise Carrupt
40 3 Blaise Carrupt
{TODO} examples
41 3 Blaise Carrupt
42 3 Blaise Carrupt
As for a [[Entity Stock Item|stock item]] line, an operation line has a value that can be
43 1 Blaise Carrupt
* a fix value
44 1 Blaise Carrupt
* a % of a previously defined group
45 1 Blaise Carrupt
46 3 Blaise Carrupt
{TODO} examples
47 2 Blaise Carrupt
48 3 Blaise Carrupt
Comments are just lines of text. They have no value.
49 1 Blaise Carrupt
50 1 Blaise Carrupt
h3. Groups for sub-totals
51 1 Blaise Carrupt
52 1 Blaise Carrupt
Sub-total groups regroups previously created group for which the total will be summed.
53 1 Blaise Carrupt
54 1 Blaise Carrupt
55 1 Blaise Carrupt
56 1 Blaise Carrupt
57 1 Blaise Carrupt
58 1 Blaise Carrupt
59 1 Blaise Carrupt
60 1 Blaise Carrupt
h2. Standard features
61 1 Blaise Carrupt
62 1 Blaise Carrupt
* Numbering
63 1 Blaise Carrupt
** to each invoice is assigned a unique number
64 1 Blaise Carrupt
** this number can be generated, optionnaly using the year or month in it
65 1 Blaise Carrupt
** the number can be used to find the invoice
66 1 Blaise Carrupt
* Generated from a [[Entity Invoice Template|template]]
67 1 Blaise Carrupt
* Translatable
68 1 Blaise Carrupt
69 1 Blaise Carrupt
70 1 Blaise Carrupt
h2. Using entities
71 1 Blaise Carrupt
72 1 Blaise Carrupt
* [[Entity Customer|customer]]
73 1 Blaise Carrupt
* [[Entity Address|address]]
74 1 Blaise Carrupt
* [[Entity Company|company]] : defines the visibility of the customer
Add picture from clipboard (Maximum size: 32 MB)