Difference between revisions of "Table llx c tva"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 11: Line 11:
  
 
= Structure =
 
= Structure =
'''Version 1.3 2007/12/02'''
+
== Table ==
 
+
{|  align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
{|  align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0" style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5"
 
 
  |style="background-color: #e9e9ef"| <b>Field</b>
 
  |style="background-color: #e9e9ef"| <b>Field</b>
 
  |style="background-color: #e9e9ef"| <b>Type</b>
 
  |style="background-color: #e9e9ef"| <b>Type</b>
Line 26: Line 25:
 
| NO
 
| NO
 
| PRI
 
| PRI
| NULL
+
|  
 
| auto_increment  
 
| auto_increment  
 
| technical index
 
| technical index
Line 40: Line 39:
 
| taux
 
| taux
 
| double
 
| double
| YES
+
| NO
 +
|
 
|  
 
|  
| NULL
 
 
|  
 
|  
 
| VAT rate
 
| VAT rate
 +
|-
 +
| localtax1
 +
| double
 +
| NO
 +
|
 +
| 0
 +
|
 +
| Local tax 1 rate (Spain=RE)
 +
|-
 +
| localtax2
 +
| double
 +
| NO
 +
|
 +
| 0
 +
|
 +
| Local tax 2 rate (Spain=IRPF)
 
|-  
 
|-  
 
| recuperableonly
 
| recuperableonly
Line 56: Line 71:
 
| note
 
| note
 
| varchar(128)
 
| varchar(128)
 +
| YES
 +
|
 
| NULL
 
| NULL
| NO
 
|
 
 
|  
 
|  
 
| comentary about VAT
 
| comentary about VAT
Line 69: Line 84:
 
|  
 
|  
 
| Is the VAT active?
 
| Is the VAT active?
 +
|}&nbsp;
 +
 +
== Keys ==
 +
{|  align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
 +
|style="background-color: #e9e9ef"| <b>Key</b>
 +
|style="background-color: #e9e9ef"| <b>Type</b>
 +
|style="background-color: #e9e9ef"| <b>Fields</b>
 +
|-
 +
| PRIMARY
 +
| PRIMARY
 +
| rowid
 
|}&nbsp;
 
|}&nbsp;

Latest revision as of 12:23, 5 September 2012


En verysmall.png The documentation related to other tables is available on the page: Table SQL
Fr verysmall.png La documentation relative aux autres tables est disponible sur la page: Table SQL
Es verysmall.png La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
De verysmall.png Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
Cn verysmall.png与其他表相关的文档请参阅:Table SQL


Content/Contenu/Contenido

Fr verysmall.png Contient les taux de TVA applicables. Utilisé pour générer des listes déroulantes et trier des résultats.

En verysmall.png Contains the possible VAT rates. Used to generate drop-down lists and filter results.

Es verysmall.png Contiene las tasas de IVA aplicables. Utilizada para generar las listas despleglables y filtar los resultados.

Structure

Table

Field Type Null Key Default Extra Description
rowid int(11) NO PRI auto_increment technical index
fk_pays int(11) NO ID of related country (llx_c_pays->rowid)
taux double NO VAT rate
localtax1 double NO 0 Local tax 1 rate (Spain=RE)
localtax2 double NO 0 Local tax 2 rate (Spain=IRPF)
recuperableonly int(11) NO 0 Is the VAT recuperable?
note varchar(128) YES NULL comentary about VAT
active tinyint(4) NO 1 Is the VAT active?

 

Keys

Key Type Fields
PRIMARY PRIMARY rowid