Changes

m
no edit summary
Line 7: Line 7:     
= Feature =
 
= Feature =
{{ToTranslate}}
+
The invoice module is to manage the following entities:
Le module Facture permet de gérer dans Dolibarr les entités suivantes:
+
* Customer invoices
* Factures clients
+
* Lines of customer invoices
* Lignes de factures
+
* Predefined invoices
Les factures fournisseurs sont gérées par le module Fournisseur.
+
The suppliers invoices are managed by the module [[Module Supplies]].
   −
Les arrondis de calcul de TVA doivent se faire "au plus près".
+
Rounding of VAT lines is done by the rule "the nearest".
   −
Exemple:
+
Example:
   −
de 0,0000 à 0,0049 --> 0,00
+
for 0,0000 to 0,0049 --> 0,00
   −
de 0,0050 à 0,0099 --> 0,01
+
for 0,0050 to 0,0099 --> 0,01
    
''Number : 30''
 
''Number : 30''
Line 28: Line 28:     
'''Business rules''':
 
'''Business rules''':
* Une facture a plusieurs lignes de factures
+
* An invoice has several invoice lines
* Il est possible de rattacher 1 à n contacts à une facture
+
* You can attach 1 to n contacts to an invoice
* A compléter...
+
* To complete...
   −
'''Cycle de vie''':
+
'''Life cycle''':
   −
* Une facture peut être créée en mode brouillon (Provoque appel du trigger BILL_CREATE)
+
* An invoice can be create as a draft (This call trigger BILL_CREATE)
* Une facture peut être modifiée (Provoque appel du trigger BILL_UPDATE)
+
* An invoice can be modified (This call trigger BILL_UPDATE)
* Une facture peut être validée (Provoque appel du trigger BILL_VALIDATE)
+
* An invoice can be validated (This call trigger BILL_VALIDATE)
* Une facture peut recevoir un paiement
+
* An invoice can receive one or several payments
* Une facture peut être classée abandonnée ou payée (Provoque appel du trigger BILL_CANCEL ou BILL_UPDATE)
+
* An invoice can be closed by status Abandoned or Payed (This call trigger BILL_CANCEL or BILL_UPDATE)
    
= Entity Invoice line =
 
= Entity Invoice line =
Line 47: Line 47:  
* An invoice line represent a product into an invoice (with a unit price, a qty, a vat and a discount)
 
* An invoice line represent a product into an invoice (with a unit price, a qty, a vat and a discount)
 
* Each invoice has between 1 and n invoice lines
 
* Each invoice has between 1 and n invoice lines
 +
 +
= Entity Predefined invoice =
 +
{{TemplateDocDevEntityEn|
 +
class=htdocs/compta/facture/facture-rec.class.php}}
    
= Permissions =
 
= Permissions =