[IMP] l10n_it, l10n_it_edi: Internal Reverse Charge, import & export

Add support for Internal Reverse Charge invoicing flows in Italy.

- Add 0% sale taxes and purchase taxes targeting VJ grids in `l10n_it`
  for every Tax Exemption Reason involved (Scrap, Gold...)
- Add a Fiscal Position (equivalent to the Belgian "CoContractant" one)
  mapping the sale tax and purchase taxes to their Reverse Charge
  corresponding taxes. Those fiscal positions all have a different
  law-required note (with the law reference) that has to be printed
  on the PDF invoice through Odoo standard mechanisms.
- The way we compare the invoice features and each document type
  requirements has been revised and expanded for the tax_tags sets case.
  Now it should also avoid comparisons after the first failure, instead
  of doing all the comparison anyway.
- Imported vendor bills that have TD16, TD17, TD18 now have their
  0% reverse charge sale taxes converted to their purchase
  22% VAT reverse charge corresponding tax impacting VJ tax grids,
  following this mapping:

  Sale tax examption reason -> VJ grid targeted by purchase tax
    N3.2:  VJ3
    N3.3:  VJ1
    N6.1:  VJ6
    N6.2:  VJ7
    N6.3:  VJ12
    N6.4:  VJ13
    N6.5:  VJ14
    N6.6:  VJ15
    N6.7:  VJ16
    N6.8:  VJ17

- Vendor bills that have taxes targeting grids VJ6, VJ7, VJ8, VJ12,
  VJ13, VJ14, VJ15, VJ16, VJ17 are exported as Tax Integrations XMLs
  to be sent to the Tax Agency with the document type TD16
- Vendor bills that have taxes targeting grids VJ3 are exported
  as Tax Integrations XMLs to be sent to the Tax Agency with
  the document type TD17
- Vendor bills that have taxes targeting grids VJ9 are exported
  as Tax Integrations XMLs to be sent to the Tax Agency with
  the document type TD18

Link: https://www.odoo.com/web#model=project.task&id=3724926
task-3724926

closes odoo/odoo#153556

Signed-off-by: Josse Colpaert <jco@odoo.com>
This commit is contained in:
Paolo Gatti (pgi)
2024-03-08 12:48:55 +00:00
parent 449433b73e
commit e6cfef7084
10 changed files with 883 additions and 257 deletions
@@ -20,4 +20,9 @@
"split_payment_fiscal_position","Split Payment","5","0","0",,,"22v","22vsp_group","Scissione dei Pagamenti","Operations subject to split payment – the seller does not collect the VAT pursuant to ex art.17-ter of the D.P.R. 633/1972, the buyer is obliged to pay the Revenue Agency.","Operazione soggetta a split payment – il cedente non incassa l’Iva ai sensi dell’ex art.17-ter del D.P.R. 633/1972, l’acquirente è obbligato al versamento all’Agenzia delle Entrate."
"","","","","","","","10v","10vsp_group","","",""
"","","","","","","","5v","5vsp_group","","",""
"","","","","","","","4v","4vsp_group","","",""
"","","","","","","","4v","4vsp_group","","",""
"construction_fiscal_position","Construction Subcontractors - RC","9","0","0",,,"22as","22rc_n63","Subappalto Edilizia - IC","Operation subject to Reverse Charge and exempt from stamp duty – the seller does not collect the VAT pursuant to ex art.17, comma 6, letter a, DPR 633/1972","Operazione soggetta a reverse charge ed esente da imposta da bollo – il cedente non incassa l’Iva ai sensi dell’ex art. 17, comma 6, lettera a, DPR 633/1972."
"","","","","","","","10as","10rc_n63","","",""
"","","","","","","","5as","5rc_n63","","",""
"","","","","","","","4as","4rc_n63","","",""
"","","","","","","","00v","0rc_n63","","",""
1 id name sequence auto_apply vat_required country_id country_group_id tax_ids/tax_src_id tax_ids/tax_dest_id name@it note note@it
20 split_payment_fiscal_position Split Payment 5 0 0 22v 22vsp_group Scissione dei Pagamenti Operations subject to split payment – the seller does not collect the VAT pursuant to ex art.17-ter of the D.P.R. 633/1972, the buyer is obliged to pay the Revenue Agency. Operazione soggetta a split payment – il cedente non incassa l’Iva ai sensi dell’ex art.17-ter del D.P.R. 633/1972, l’acquirente è obbligato al versamento all’Agenzia delle Entrate.
21 10v 10vsp_group
22 5v 5vsp_group
23 4v 4vsp_group
24 construction_fiscal_position Construction Subcontractors - RC 9 0 0 22as 22rc_n63 Subappalto Edilizia - IC Operation subject to Reverse Charge and exempt from stamp duty – the seller does not collect the VAT pursuant to ex art.17, comma 6, letter a, DPR 633/1972 Operazione soggetta a reverse charge ed esente da imposta da bollo – il cedente non incassa l’Iva ai sensi dell’ex art. 17, comma 6, lettera a, DPR 633/1972.
25 10as 10rc_n63
26 5as 5rc_n63
27 4as 4rc_n63
28 00v 0rc_n63
+451 -199
View File
@@ -1,199 +1,451 @@
"id","description","invoice_label","name","sequence","amount","amount_type","type_tax_use","price_include","tax_group_id","active","tax_scope","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","repartition_line_ids/factor_percent","name@it","children_tax_ids","l10n_it_exempt_reason","l10n_it_law_reference"
"22v","","22%","22%","30","22.0","percent","sale","False","tax_group_iva_22","","","base","invoice","+02","","","22%","","",""
"","","","","","","","","","","","","tax","invoice","+4v","2601","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","2601","","","","",""
"10v","","10%","10%","40","10.0","percent","sale","False","tax_group_iva_10","","","base","invoice","+02","","","10%","","",""
"","","","","","","","","","","","","tax","invoice","+4v","2601","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","2601","","","","",""
"5v","","5%","5%","50","5.0","percent","sale","False","tax_group_iva_5","False","","base","invoice","+02","","","","","",""
"","","","","","","","","","","","","tax","invoice","+4v","2601","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","2601","","","","",""
"4v","","4%","4%","60","4.0","percent","sale","False","tax_group_iva_4","False","","base","invoice","+02","","","","","",""
"","","","","","","","","","","","","tax","invoice","+4v","2601","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","2601","","","","",""
"00v","","0%","0%","70","0.0","percent","sale","False","tax_group_fuori","","","base","invoice","","","","","","N1","Art. 15 DPR 633/1972"
"","","","","","","","","","","","","tax","invoice","","","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","",""
"22am","","22%","22% G","80","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03","","","22% M","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"10am","","10%","10% G","90","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03","","","10% M","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"5am","","5%","5% G","100","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03","","","5% M","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"4am","","4%","4% G","110","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03","","","4% M","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"00am","","0%","0% G","120","0.0","percent","purchase","False","tax_group_fuori","","consu","base","invoice","+03","","","0% M","","N1","Art. 15 DPR 633/1972"
"","","","","","","","","","","","","tax","invoice","","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","",""
"22as","","22%","22% S","130","22.0","percent","purchase","False","tax_group_iva_22","","service","base","invoice","+03","","","22% S","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"10as","","10%","10% S","140","10.0","percent","purchase","False","tax_group_iva_10","","service","base","invoice","+03","","","10% S","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"5as","","5%","5% S","150","5.0","percent","purchase","False","tax_group_iva_5","False","service","base","invoice","+03","","","5% S","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"4as","","4%","4% S","160","4.0","percent","purchase","False","tax_group_iva_4","False","service","base","invoice","+03","","","4% S","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"00as","","0%","0% S","170","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+02","","","0% S","","N1","Art. 15 DPR 633/1972"
"","","","","","","","","","","","","tax","invoice","","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","",""
"00eu","","0%","0% EU","180","0.0","percent","sale","False","tax_group_fuori","","","base","invoice","+02","","","0% EU","","N3.2","Art. 41, DL 331/93"
"","","","","","","","","","","","","tax","invoice","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","",""
"00art15v","","0%","0% Art.15","190","0.0","percent","sale","False","tax_group_imp_esc_art_15","","","base","invoice","+02","","","0% Art.15","","N1","Art. 15 DPR 633/1972"
"","","","","","","","","","","","","tax","invoice","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","",""
"00art15a","","00art15a","0% Art.15","200","0.0","percent","purchase","False","tax_group_imp_esc_art_15","","","base","invoice","+03","","","0% Art.15","","N1","Art. 15 DPR 633/1972"
"","","","","","","","","","","","","tax","invoice","","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","",""
"22rcs","","22%","22% S RC","210","22.0","percent","purchase","False","tax_group_iva_22","","service","base","invoice","+03||+vj3","","","22% S IC","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"10rcs","","10%","10% S RC","220","10.0","percent","purchase","False","tax_group_iva_10","","service","base","invoice","+03||+vj3","","","10% S IC","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"5rcs","","5%","5% S RC","230","5.0","percent","purchase","False","tax_group_iva_5","False","service","base","invoice","+03||+vj3","","","5% S IC","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"4rcs","","4%","4% S RC","240","4.0","percent","purchase","False","tax_group_iva_4","False","service","base","invoice","+03||+vj3","","","4% S IC","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"00rcs","","0%","0% S RC","250","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+03||+vj3","","","0% S CI","","N1","Art. 15 DPR 633/1972"
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"22rcm","","22%","22% G RC","260","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03||+vj9","","","22% M IC","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"10rcm","","10%","10% G RC","270","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03||+vj9","","","10% M IC","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"5rcm","","5%","5% G RC","280","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03||+vj9","","","5% M IC","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"4rcm","","4%","4% G RC","290","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03||+vj9","","","4% M IC","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"00rcm","","0%","0% G RC","300","0.0","percent","purchase","False","tax_group_fuori","","consu","base","invoice","+03||+vj9","","","0% M CI","","N1","Art. 15 DPR 633/1972"
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"22rcd","22% G Deposit","22%","22% G D","310","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03||+vj3","","","22% M Deposito","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"10rcd","10% G Deposit","10%","10% G D","320","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03||+vj3","","","10% M Deposito","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"5rcd","5% G Deposit","5%","5% G D","330","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03||+vj3","","","5% M Deposito","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"4rcd","4% G Deposit","4%","4% G D","340","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03||+vj3","","","4% M Deposito","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"00rcd","0% G Deposit","0%","0% G D","350","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+03||+vj3","","","0% M Deposito","","N1","Art. 15 DPR 633/1972"
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","",""
"22vsp","22% Scissione dei Pagamenti pos.","22%","22% SP pos.","360","22.0","percent","none","False","tax_group_iva_22","","","base","invoice","+02||+ve38","","","","","",""
"","","","","","","","","","","","","tax","invoice","","2608","","","","",""
"","","","","","","","","","","","","base","refund","-02||-ve38","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","",""
"22vsp_storno","22% Scissione dei Pagamenti neg.","22%","22% SP neg.","360","-22.0","percent","none","False","tax_group_split_payment","","","base","invoice","","","","","","",""
"","","","","","","","","","","","","tax","invoice","","2608","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","",""
"22vsp_group","","22%","22% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","22vsp,22vsp_storno","",""
"10vsp","10% Scissione dei Pagamenti pos.","10%","10% SP pos.","360","10.0","percent","none","False","tax_group_iva_10","","","base","invoice","+02||+ve38","","","","","",""
"","","","","","","","","","","","","tax","invoice","","2608","","","","",""
"","","","","","","","","","","","","base","refund","-02||-ve38","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","",""
"10vsp_storno","10% Scissione dei Pagamenti neg.","10%","10% SP neg.","360","-10.0","percent","none","False","tax_group_split_payment","","","base","invoice","","","","","","",""
"","","","","","","","","","","","","tax","invoice","","2608","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","",""
"10vsp_group","","10%","10% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","10vsp,10vsp_storno","",""
"5vsp","5% Scissione dei Pagamenti pos.","5%","5% SP pos.","360","5.0","percent","none","False","tax_group_iva_5","","","base","invoice","+02||+ve38","","","","","",""
"","","","","","","","","","","","","tax","invoice","","2608","","","","",""
"","","","","","","","","","","","","base","refund","-02||-ve38","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","",""
"5vsp_storno","5% Scissione dei Pagamenti neg.","5%","5% SP neg.","360","-5.0","percent","none","False","tax_group_split_payment","","","base","invoice","","","","","","",""
"","","","","","","","","","","","","tax","invoice","","2608","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","",""
"5vsp_group","","5%","5% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","5vsp,5vsp_storno","",""
"4vsp","4% Scissione dei Pagamenti pos.","4%","4% SP pos.","360","4.0","percent","none","False","tax_group_iva_4","","","base","invoice","+02||+ve38","","","","","",""
"","","","","","","","","","","","","tax","invoice","","2608","","","","",""
"","","","","","","","","","","","","base","refund","-02||-ve38","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","",""
"4vsp_storno","4% Scissione dei Pagamenti neg.","4%","4% SP neg.","360","-4.0","percent","none","False","tax_group_split_payment","","","base","invoice","","","","","","",""
"","","","","","","","","","","","","tax","invoice","","2608","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","",""
"4vsp_group","","4%","4% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","4vsp,4vsp_storno","",""
"id","description","invoice_label","name","sequence","amount","amount_type","type_tax_use","price_include","tax_group_id","active","tax_scope","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","repartition_line_ids/factor_percent","name@it","children_tax_ids","l10n_it_exempt_reason","l10n_it_law_reference","description@it"
"22v","","22%","22%","30","22.0","percent","sale","False","tax_group_iva_22","","","base","invoice","+02","","","22%","","","",""
"","","","","","","","","","","","","tax","invoice","+4v","2601","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","2601","","","","","",""
"10v","","10%","10%","40","10.0","percent","sale","False","tax_group_iva_10","","","base","invoice","+02","","","10%","","","",""
"","","","","","","","","","","","","tax","invoice","+4v","2601","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","2601","","","","","",""
"5v","","5%","5%","50","5.0","percent","sale","False","tax_group_iva_5","False","","base","invoice","+02","","","","","","",""
"","","","","","","","","","","","","tax","invoice","+4v","2601","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","2601","","","","","",""
"4v","","4%","4%","60","4.0","percent","sale","False","tax_group_iva_4","False","","base","invoice","+02","","","","","","",""
"","","","","","","","","","","","","tax","invoice","+4v","2601","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","2601","","","","","",""
"00v","","0%","0%","70","0.0","percent","sale","False","tax_group_fuori","","","base","invoice","","","","","","N1","Art. 15 DPR 633/1972",""
"","","","","","","","","","","","","tax","invoice","","","","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","","",""
"22am","","22%","22% G","80","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03","","","22% M","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"10am","","10%","10% G","90","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03","","","10% M","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"5am","","5%","5% G","100","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03","","","5% M","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"4am","","4%","4% G","110","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03","","","4% M","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"00am","","0%","0% G","120","0.0","percent","purchase","False","tax_group_fuori","","consu","base","invoice","+03","","","0% M","","N1","Art. 15 DPR 633/1972",""
"","","","","","","","","","","","","tax","invoice","","","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","","",""
"22as","","22%","22% S","130","22.0","percent","purchase","False","tax_group_iva_22","","service","base","invoice","+03","","","22% S","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"10as","","10%","10% S","140","10.0","percent","purchase","False","tax_group_iva_10","","service","base","invoice","+03","","","10% S","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"5as","","5%","5% S","150","5.0","percent","purchase","False","tax_group_iva_5","False","service","base","invoice","+03","","","5% S","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"4as","","4%","4% S","160","4.0","percent","purchase","False","tax_group_iva_4","False","service","base","invoice","+03","","","4% S","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"00as","","0%","0% S","170","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+02","","","0% S","","N1","Art. 15 DPR 633/1972",""
"","","","","","","","","","","","","tax","invoice","","","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","","",""
"00eu","","0%","0% EU","180","0.0","percent","sale","False","tax_group_fuori","","","base","invoice","+02","","","0% EU","","N3.2","Art. 41, DL 331/93",""
"","","","","","","","","","","","","tax","invoice","","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","","",""
"00art15v","","0%","0% Art.15","190","0.0","percent","sale","False","tax_group_imp_esc_art_15","","","base","invoice","+02","","","0% Art.15","","N1","Art. 15 DPR 633/1972",""
"","","","","","","","","","","","","tax","invoice","","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","","",""
"00art15a","","00art15a","0% Art.15","200","0.0","percent","purchase","False","tax_group_imp_esc_art_15","","","base","invoice","+03","","","0% Art.15","","N1","Art. 15 DPR 633/1972",""
"","","","","","","","","","","","","tax","invoice","","","","","","","",""
"","","","","","","","","","","","","base","refund","-03","","","","","","",""
"","","","","","","","","","","","","tax","refund","","","","","","","",""
"22rcs","","22%","22% S RC","210","22.0","percent","purchase","False","tax_group_iva_22","","service","base","invoice","+03||+vj3","","","22% S IC","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"10rcs","","10%","10% S RC","220","10.0","percent","purchase","False","tax_group_iva_10","","service","base","invoice","+03||+vj3","","","10% S IC","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"5rcs","","5%","5% S RC","230","5.0","percent","purchase","False","tax_group_iva_5","False","service","base","invoice","+03||+vj3","","","5% S IC","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"4rcs","","4%","4% S RC","240","4.0","percent","purchase","False","tax_group_iva_4","False","service","base","invoice","+03||+vj3","","","4% S IC","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"00rcs","","0%","0% S RC","250","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+03||+vj3","","","0% S CI","","N1","Art. 15 DPR 633/1972",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"22rcm","","22%","22% G RC","260","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03||+vj9","","","22% M IC","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"10rcm","","10%","10% G RC","270","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03||+vj9","","","10% M IC","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"5rcm","","5%","5% G RC","280","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03||+vj9","","","5% M IC","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"4rcm","","4%","4% G RC","290","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03||+vj9","","","4% M IC","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"00rcm","","0%","0% G RC","300","0.0","percent","purchase","False","tax_group_fuori","","consu","base","invoice","+03||+vj9","","","0% M CI","","N1","Art. 15 DPR 633/1972",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"22rcd","22% G Deposit","22%","22% G D","310","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03||+vj3","","","22% M Deposito","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"10rcd","10% G Deposit","10%","10% G D","320","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03||+vj3","","","10% M Deposito","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"5rcd","5% G Deposit","5%","5% G D","330","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03||+vj3","","","5% M Deposito","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"4rcd","4% G Deposit","4%","4% G D","340","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03||+vj3","","","4% M Deposito","","","",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"00rcd","0% G Deposit","0%","0% G D","350","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+03||+vj3","","","0% M Deposito","","N1","Art. 15 DPR 633/1972",""
"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","",""
"22vsp","22% Split Payment pos.","22%","22% SP pos.","360","22.0","percent","none","False","tax_group_iva_22","","","base","invoice","+02||+ve38","","","","","","","22% Scissione dei Pagamenti pos."
"","","","","","","","","","","","","tax","invoice","","2608","","","","","",""
"","","","","","","","","","","","","base","refund","-02||-ve38","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","","",""
"22vsp_storno","22% Split Payment neg.","22%","22% SP neg.","360","-22.0","percent","none","False","tax_group_split_payment","","","base","invoice","","","","","","","","22% Scissione dei Pagamenti neg."
"","","","","","","","","","","","","tax","invoice","","2608","","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","","",""
"22vsp_group","","22%","22% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","22vsp,22vsp_storno","","",""
"10vsp","10% Split Payment pos.","10%","10% SP pos.","360","10.0","percent","none","False","tax_group_iva_10","","","base","invoice","+02||+ve38","","","","","","","10% Scissione dei Pagamenti pos."
"","","","","","","","","","","","","tax","invoice","","2608","","","","","",""
"","","","","","","","","","","","","base","refund","-02||-ve38","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","","",""
"10vsp_storno","10% Split Payment neg.","10%","10% SP neg.","360","-10.0","percent","none","False","tax_group_split_payment","","","base","invoice","","","","","","","","10% Scissione dei Pagamenti neg."
"","","","","","","","","","","","","tax","invoice","","2608","","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","","",""
"10vsp_group","","10%","10% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","10vsp,10vsp_storno","","",""
"5vsp","5% Split Payment pos.","5%","5% SP pos.","360","5.0","percent","none","False","tax_group_iva_5","","","base","invoice","+02||+ve38","","","","","","","5% Scissione dei Pagamenti pos."
"","","","","","","","","","","","","tax","invoice","","2608","","","","","",""
"","","","","","","","","","","","","base","refund","-02||-ve38","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","","",""
"5vsp_storno","5% Split Payment neg.","5%","5% SP neg.","360","-5.0","percent","none","False","tax_group_split_payment","","","base","invoice","","","","","","","","5% Scissione dei Pagamenti neg."
"","","","","","","","","","","","","tax","invoice","","2608","","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","","",""
"5vsp_group","","5%","5% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","5vsp,5vsp_storno","","",""
"4vsp","4% Split Payment pos.","4%","4% SP pos.","360","4.0","percent","none","False","tax_group_iva_4","","","base","invoice","+02||+ve38","","","","","","","4% Scissione dei Pagamenti pos."
"","","","","","","","","","","","","tax","invoice","","2608","","","","","",""
"","","","","","","","","","","","","base","refund","-02||-ve38","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","","",""
"4vsp_storno","4% Split Payment neg.","4%","4% SP neg.","360","-4.0","percent","none","False","tax_group_split_payment","","","base","invoice","","","","","","","","4% Scissione dei Pagamenti neg."
"","","","","","","","","","","","","tax","invoice","","2608","","","","","",""
"","","","","","","","","","","","","base","refund","","","","","","","",""
"","","","","","","","","","","","","tax","refund","","2608","","","","","",""
"4vsp_group","","4%","4% SP","460","","group","sale","False","tax_group_split_payment","","","","","","","","","4vsp,4vsp_storno","","",""
"0rc_n61","Scrap","0%","0% RC N6.1","500","0.0","percent","sale","False","tax_group_fuori","False","","base","invoice","+02","","","0% IC N6.1","","N6.1","art.74, comma 7-8, D.P.R. 633/1972","Materiali di Scarto"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"0rc_n62","Gold","0%","0% RC N6.2","510","0.0","percent","sale","False","tax_group_fuori","False","","base","invoice","+02","","","0% IC N6.2","","N6.2","art.17, comma 5, D.P.R. 633/1972","Oro"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"0rc_n62b","Gold Investments","0%","0% RC N6.2b","520","0.0","percent","sale","False","tax_group_fuori","False","","base","invoice","+02","","","0% IC N6.2b","","N6.2","art.17, comma 5, D.P.R. 633/1972","Investimenti in Oro"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"0rc_n63","Construction subcontractors","0%","0% RC N6.3","530","0.0","percent","sale","False","tax_group_fuori","False","","base","invoice","+02","","","0% IC N6.3","","N6.3","art.17, comma 6, lett. a, D.P.R. 633/1972","Subappalto Edilizia"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"0rc_n64","Investments in construction","0%","0% RC N6.4","540","0.0","percent","sale","False","tax_group_fuori","False","","base","invoice","+02","","","0% IC N6.4","","N6.4","art.17, comma 6, lett. a-bis, D.P.R. 633/1972","Investimenti in Edilizia"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"0rc_n65","Cellphones","0%","0% RC N6.5","550","0.0","percent","sale","False","tax_group_fuori","False","","base","invoice","+02","","","0% IC N6.5","","N6.5","art.17, comma 6, lett. b, D.P.R. 633/1972","Cellulari"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"0rc_n66","Electronics","0%","0% RC N6.6","560","0.0","percent","sale","False","tax_group_fuori","False","","base","invoice","+02","","","0% IC N6.6","","N6.6","art.17, comma 6, lett. c, D.P.R. 633/1972","Elettronica"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"0rc_n67","Construction services","0%","0% RC N6.7","570","0.0","percent","sale","False","tax_group_fuori","True","","base","invoice","+02","","","0% IC N6.7","","N6.7","art 17, comma 6, lett. a-ter, D.P.R. 633/1972","Servizi edilizia"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"0rc_n68","Energy","0%","0% RC N6.8","580","0.0","percent","sale","False","tax_group_fuori","False","","base","invoice","+02","","","0% IC N6.8","","N6.8","art.17, comma 6, lett. d-bis, d-ter, d-quater, D.P.R. 633/1972","Energia"
"","","","","","","","","","","","","tax","invoice","+4v","","","","","","",""
"","","","","","","","","","","","","base","refund","-02","","","","","","",""
"","","","","","","","","","","","","tax","refund","-4v","","","","","","",""
"4rc_n61","Scrap","4%","4% RC N6.1","590","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj6","","","4% IC N6.1","","","","Materiali di Scarto"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj6","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"4rc_n62","Gold","4%","4% RC N6.2","600","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj7","","","4% IC N6.2","","","","Oro"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj7","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"4rc_n62b","Investments in gold","4%","4% RC N6.2b","610","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj8","","","4% IC N6.2b","","","","Investimenti in Oro"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj8","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"4rc_n63","Construction subcontractors","4%","4% RC N6.3","620","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj12","","","4% IC N6.3","","","","Subappalto Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj12","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"4rc_n64","Investments in construction","4%","4% RC N6.4","630","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj13","","","4% IC N6.4","","","","Investimenti in Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj13","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"4rc_n65","Cellphones","4%","4% RC N6.5","640","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj14","","","4% IC N6.5","","","","Cellulari"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj14","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"4rc_n66","Electronics","4%","4% RC N6.6","650","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj15","","","4% IC N6.6","","","","Elettronica"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj15","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"4rc_n67","Construction services","4%","4% RC N6.7","660","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj16","","","4% IC N6.7","","","","Servizi Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj16","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"4rc_n68","Energy","4%","4% RC N6.8","670","4.0","percent","purchase","False","tax_group_iva_4","False","","base","invoice","+03||+vj17","","","4% IC N6.8","","","","Energia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj17","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n61","Scrap","5%","5% RC N6.1","680","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj6","","","5% IC N6.1","","","","Materiali di Scarto"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj6","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n62","Gold","5%","5% RC N6.2","690","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj7","","","5% IC N6.2","","","","Oro"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj7","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n62b","Investments in gold","5%","5% RC N6.2b","700","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj8","","","5% IC N6.2b","","","","Investimenti in Oro"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj8","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n63","Construction subcontractors","5%","5% RC N6.3","710","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj12","","","5% IC N6.3","","","","Subappalti Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj12","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n64","Investments in construction","5%","5% RC N6.4","720","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj13","","","5% IC N6.4","","","","Investimenti in Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj13","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n65","Cellphones","5%","5% RC N6.5","730","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj14","","","5% IC N6.5","","","","Cellulari"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj14","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n66","Electronics","5%","5% RC N6.6","740","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj15","","","5% IC N6.6","","","","Elettronica"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj15","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n67","Construction services","5%","5% RC N6.7","750","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj16","","","5% IC N6.7","","","","Servizi Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj16","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"5rc_n68","Energy","5%","5% RC N6.8","760","5.0","percent","purchase","False","tax_group_iva_5","False","","base","invoice","+03||+vj17","","","5% IC N6.8","","","","Energia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj17","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n61","Scrap","10%","10% RC N6.1","770","10.0","percent","purchase","False","tax_group_iva_10","False","","base","invoice","+03||+vj6","","","10% IC N6.1","","","","Materiali di Scarto"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj6","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n62","Gold","10%","10% RC N6.2","780","10.0","percent","purchase","False","tax_group_iva_10","False","","base","invoice","+03||+vj7","","","10% IC N6.2","","","","Oro"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj7","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n62b","Investments in gold","10%","10% RC N6.2b","790","10.0","percent","purchase","False","tax_group_iva_10","False","","base","invoice","+03||+vj8","","","10% IC N6.2b","","","","Investimenti in Oro"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj8","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n63","Construction subcontractors","10%","10% RC N6.3","800","10.0","percent","purchase","False","tax_group_iva_10","False","","base","invoice","+03||+vj12","","","10% IC N6.3","","","","Subappalti Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj12","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n64","Investments in construction","10%","10% RC N6.4","810","10.0","percent","purchase","False","tax_group_iva_10","False","","base","invoice","+03||+vj13","","","10% IC N6.4","","","","Investimenti in Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj13","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n65","Cellphones","10%","10% RC N6.5","820","10.0","percent","purchase","False","tax_group_iva_10","False","","base","invoice","+03||+vj14","","","10% IC N6.5","","","","Cellulari"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj14","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n66","Electronics","10%","10% RC N6.6","830","10.0","percent","purchase","False","tax_group_iva_10","False","","base","invoice","+03||+vj15","","","10% IC N6.6","","","","Elettronica"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj15","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n67","Construction services","10%","10% RC N6.7","840","10.0","percent","purchase","False","tax_group_iva_10","True","","base","invoice","+03||+vj16","","","10% IC N6.7","","","","Servizi Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj16","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"10rc_n68","Energy","10%","10% RC N6.8","850","10.0","percent","purchase","False","tax_group_iva_10","False","","base","invoice","+03||+vj17","","","10% IC N6.8","","","","Energia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj17","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n61","Scrap","22%","22% RC N6.1","860","22.0","percent","purchase","False","tax_group_iva_22","False","","base","invoice","+03||+vj6","","","22% IC N6.1","","","","Materiali di Scarto"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj6","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n62","Gold","22%","22% RC N6.2","870","22.0","percent","purchase","False","tax_group_iva_22","False","","base","invoice","+03||+vj7","","","22% IC N6.2","","","","Oro"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj7","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n62b","Investments in gold","22%","22% RC N6.2b","880","22.0","percent","purchase","False","tax_group_iva_22","False","","base","invoice","+03||+vj8","","","22% IC N6.2b","","","","Investimenti in Oro"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj8","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n63","Construction subcontractors","22%","22% RC N6.3","890","22.0","percent","purchase","False","tax_group_iva_22","False","","base","invoice","+03||+vj12","","","22% IC N6.3","","","","Subappalti Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj12","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n64","Investments in construction","22%","22% RC N6.4","900","22.0","percent","purchase","False","tax_group_iva_22","False","","base","invoice","+03||+vj13","","","22% IC N6.4","","","","Investimenti in Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj13","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n65","Cellphones","22%","22% RC N6.5","910","22.0","percent","purchase","False","tax_group_iva_22","False","","base","invoice","+03||+vj14","","","22% IC N6.5","","","","Cellulari"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj14","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n66","Electronics","22%","22% RC N6.6","920","22.0","percent","purchase","False","tax_group_iva_22","False","","base","invoice","+03||+vj15","","","22% IC N6.6","","","","Elettronica"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj15","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n67","Construction services","22%","22% RC N6.7","930","22.0","percent","purchase","False","tax_group_iva_22","True","","base","invoice","+03||+vj16","","","22% IC N6.7","","","","Servizi Edilizia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj16","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
"22rc_n68","Energy","22%","22% RC N6.8","940","22.0","percent","purchase","False","tax_group_iva_22","False","","base","invoice","+03||+vj17","","","22% IC N6.8","","","","Energia"
"","","","","","","","","","","","","tax","invoice","+5v","","","","","","",""
"","","","","","","","","","","","","tax","invoice","-4v","","-100","","","","",""
"","","","","","","","","","","","","base","refund","-03||-vj17","","","","","","",""
"","","","","","","","","","","","","tax","refund","-5v","","","","","","",""
"","","","","","","","","","","","","tax","refund","+4v","","-100","","","","",""
1 id description invoice_label name sequence amount amount_type type_tax_use price_include tax_group_id active tax_scope repartition_line_ids/repartition_type repartition_line_ids/document_type repartition_line_ids/tag_ids repartition_line_ids/account_id repartition_line_ids/factor_percent name@it children_tax_ids l10n_it_exempt_reason l10n_it_law_reference description@it
2 22v 22% 22% 30 22.0 percent sale False tax_group_iva_22 base invoice +02 22%
3 tax invoice +4v 2601
4 base refund -02
5 tax refund -4v 2601
6 10v 10% 10% 40 10.0 percent sale False tax_group_iva_10 base invoice +02 10%
7 tax invoice +4v 2601
8 base refund -02
9 tax refund -4v 2601
10 5v 5% 5% 50 5.0 percent sale False tax_group_iva_5 False base invoice +02
11 tax invoice +4v 2601
12 base refund -02
13 tax refund -4v 2601
14 4v 4% 4% 60 4.0 percent sale False tax_group_iva_4 False base invoice +02
15 tax invoice +4v 2601
16 base refund -02
17 tax refund -4v 2601
18 00v 0% 0% 70 0.0 percent sale False tax_group_fuori base invoice N1 Art. 15 DPR 633/1972
19 tax invoice
20 base refund
21 tax refund
22 22am 22% 22% G 80 22.0 percent purchase False tax_group_iva_22 consu base invoice +03 22% M
23 tax invoice +5v 1601
24 base refund -03
25 tax refund -5v 1601
26 10am 10% 10% G 90 10.0 percent purchase False tax_group_iva_10 consu base invoice +03 10% M
27 tax invoice +5v 1601
28 base refund -03
29 tax refund -5v 1601
30 5am 5% 5% G 100 5.0 percent purchase False tax_group_iva_5 False consu base invoice +03 5% M
31 tax invoice +5v 1601
32 base refund -03
33 tax refund -5v 1601
34 4am 4% 4% G 110 4.0 percent purchase False tax_group_iva_4 False consu base invoice +03 4% M
35 tax invoice +5v 1601
36 base refund -03
37 tax refund -5v 1601
38 00am 0% 0% G 120 0.0 percent purchase False tax_group_fuori consu base invoice +03 0% M N1 Art. 15 DPR 633/1972
39 tax invoice
40 base refund -03
41 tax refund
42 22as 22% 22% S 130 22.0 percent purchase False tax_group_iva_22 service base invoice +03 22% S
43 tax invoice +5v 1601
44 base refund -03
45 tax refund -5v 1601
46 10as 10% 10% S 140 10.0 percent purchase False tax_group_iva_10 service base invoice +03 10% S
47 tax invoice +5v 1601
48 base refund -03
49 tax refund -5v 1601
50 5as 5% 5% S 150 5.0 percent purchase False tax_group_iva_5 False service base invoice +03 5% S
51 tax invoice +5v 1601
52 base refund -03
53 tax refund -5v 1601
54 4as 4% 4% S 160 4.0 percent purchase False tax_group_iva_4 False service base invoice +03 4% S
55 tax invoice +5v 1601
56 base refund -03
57 tax refund -5v 1601
58 00as 0% 0% S 170 0.0 percent purchase False tax_group_fuori service base invoice +02 0% S N1 Art. 15 DPR 633/1972
59 tax invoice
60 base refund -03
61 tax refund
62 00eu 0% 0% EU 180 0.0 percent sale False tax_group_fuori base invoice +02 0% EU N3.2 Art. 41, DL 331/93
63 tax invoice
64 base refund -02
65 tax refund
66 00art15v 0% 0% Art.15 190 0.0 percent sale False tax_group_imp_esc_art_15 base invoice +02 0% Art.15 N1 Art. 15 DPR 633/1972
67 tax invoice
68 base refund -02
69 tax refund
70 00art15a 00art15a 0% Art.15 200 0.0 percent purchase False tax_group_imp_esc_art_15 base invoice +03 0% Art.15 N1 Art. 15 DPR 633/1972
71 tax invoice
72 base refund -03
73 tax refund
74 22rcs 22% 22% S RC 210 22.0 percent purchase False tax_group_iva_22 service base invoice +03||+vj3 22% S IC
75 tax invoice +5v 1601
76 tax invoice -4v 2601 -100
77 base refund -03||-vj3
78 tax refund -5v 1601
79 tax refund +4v 2601 -100
80 10rcs 10% 10% S RC 220 10.0 percent purchase False tax_group_iva_10 service base invoice +03||+vj3 10% S IC
81 tax invoice +5v 1601
82 tax invoice -4v 2601 -100
83 base refund -03||-vj3
84 tax refund -5v 1601
85 tax refund +4v 2601 -100
86 5rcs 5% 5% S RC 230 5.0 percent purchase False tax_group_iva_5 False service base invoice +03||+vj3 5% S IC
87 tax invoice +5v 1601
88 tax invoice -4v 2601 -100
89 base refund -03||-vj3
90 tax refund -5v 1601
91 tax refund +4v 2601 -100
92 4rcs 4% 4% S RC 240 4.0 percent purchase False tax_group_iva_4 False service base invoice +03||+vj3 4% S IC
93 tax invoice +5v 1601
94 tax invoice -4v 2601 -100
95 base refund -03||-vj3
96 tax refund -5v 1601
97 tax refund +4v 2601 -100
98 00rcs 0% 0% S RC 250 0.0 percent purchase False tax_group_fuori service base invoice +03||+vj3 0% S CI N1 Art. 15 DPR 633/1972
99 tax invoice +5v 1601
100 tax invoice -4v 2601 -100
101 base refund -03||-vj3
102 tax refund -5v 1601
103 tax refund +4v 2601 -100
104 22rcm 22% 22% G RC 260 22.0 percent purchase False tax_group_iva_22 consu base invoice +03||+vj9 22% M IC
105 tax invoice +5v 1601
106 tax invoice -4v 2601 -100
107 base refund -03||-vj9
108 tax refund -5v 1601
109 tax refund +4v 2601 -100
110 10rcm 10% 10% G RC 270 10.0 percent purchase False tax_group_iva_10 consu base invoice +03||+vj9 10% M IC
111 tax invoice +5v 1601
112 tax invoice -4v 2601 -100
113 base refund -03||-vj9
114 tax refund -5v 1601
115 tax refund +4v 2601 -100
116 5rcm 5% 5% G RC 280 5.0 percent purchase False tax_group_iva_5 False consu base invoice +03||+vj9 5% M IC
117 tax invoice +5v 1601
118 tax invoice -4v 2601 -100
119 base refund -03||-vj9
120 tax refund -5v 1601
121 tax refund +4v 2601 -100
122 4rcm 4% 4% G RC 290 4.0 percent purchase False tax_group_iva_4 False consu base invoice +03||+vj9 4% M IC
123 tax invoice +5v 1601
124 tax invoice -4v 2601 -100
125 base refund -03||-vj9
126 tax refund -5v 1601
127 tax refund +4v 2601 -100
128 00rcm 0% 0% G RC 300 0.0 percent purchase False tax_group_fuori consu base invoice +03||+vj9 0% M CI N1 Art. 15 DPR 633/1972
129 tax invoice +5v 1601
130 tax invoice -4v 2601 -100
131 base refund -03||-vj9
132 tax refund -5v 1601
133 tax refund +4v 2601 -100
134 22rcd 22% G Deposit 22% 22% G D 310 22.0 percent purchase False tax_group_iva_22 consu base invoice +03||+vj3 22% M Deposito
135 tax invoice +5v 1601
136 tax invoice -4v 2601 -100
137 base refund -03||-vj3
138 tax refund -5v 1601
139 tax refund +4v 2601 -100
140 10rcd 10% G Deposit 10% 10% G D 320 10.0 percent purchase False tax_group_iva_10 consu base invoice +03||+vj3 10% M Deposito
141 tax invoice +5v 1601
142 tax invoice -4v 2601 -100
143 base refund -03||-vj3
144 tax refund -5v 1601
145 tax refund +4v 2601 -100
146 5rcd 5% G Deposit 5% 5% G D 330 5.0 percent purchase False tax_group_iva_5 False consu base invoice +03||+vj3 5% M Deposito
147 tax invoice +5v 1601
148 tax invoice -4v 2601 -100
149 base refund -03||-vj3
150 tax refund -5v 1601
151 tax refund +4v 2601 -100
152 4rcd 4% G Deposit 4% 4% G D 340 4.0 percent purchase False tax_group_iva_4 False consu base invoice +03||+vj3 4% M Deposito
153 tax invoice +5v 1601
154 tax invoice -4v 2601 -100
155 base refund -03||-vj3
156 tax refund -5v 1601
157 tax refund +4v 2601 -100
158 00rcd 0% G Deposit 0% 0% G D 350 0.0 percent purchase False tax_group_fuori service base invoice +03||+vj3 0% M Deposito N1 Art. 15 DPR 633/1972
159 tax invoice +5v 1601
160 tax invoice -4v 2601 -100
161 base refund -03||-vj3
162 tax refund -5v 1601
163 tax refund +4v 2601 -100
164 22vsp 22% Scissione dei Pagamenti pos. 22% Split Payment pos. 22% 22% SP pos. 360 22.0 percent none False tax_group_iva_22 base invoice +02||+ve38 22% Scissione dei Pagamenti pos.
165 tax invoice 2608
166 base refund -02||-ve38
167 tax refund 2608
168 22vsp_storno 22% Scissione dei Pagamenti neg. 22% Split Payment neg. 22% 22% SP neg. 360 -22.0 percent none False tax_group_split_payment base invoice 22% Scissione dei Pagamenti neg.
169 tax invoice 2608
170 base refund
171 tax refund 2608
172 22vsp_group 22% 22% SP 360 group sale False tax_group_split_payment 22vsp,22vsp_storno
173 10vsp 10% Scissione dei Pagamenti pos. 10% Split Payment pos. 10% 10% SP pos. 360 10.0 percent none False tax_group_iva_10 base invoice +02||+ve38 10% Scissione dei Pagamenti pos.
174 tax invoice 2608
175 base refund -02||-ve38
176 tax refund 2608
177 10vsp_storno 10% Scissione dei Pagamenti neg. 10% Split Payment neg. 10% 10% SP neg. 360 -10.0 percent none False tax_group_split_payment base invoice 10% Scissione dei Pagamenti neg.
178 tax invoice 2608
179 base refund
180 tax refund 2608
181 10vsp_group 10% 10% SP 360 group sale False tax_group_split_payment 10vsp,10vsp_storno
182 5vsp 5% Scissione dei Pagamenti pos. 5% Split Payment pos. 5% 5% SP pos. 360 5.0 percent none False tax_group_iva_5 base invoice +02||+ve38 5% Scissione dei Pagamenti pos.
183 tax invoice 2608
184 base refund -02||-ve38
185 tax refund 2608
186 5vsp_storno 5% Scissione dei Pagamenti neg. 5% Split Payment neg. 5% 5% SP neg. 360 -5.0 percent none False tax_group_split_payment base invoice 5% Scissione dei Pagamenti neg.
187 tax invoice 2608
188 base refund
189 tax refund 2608
190 5vsp_group 5% 5% SP 360 group sale False tax_group_split_payment 5vsp,5vsp_storno
191 4vsp 4% Scissione dei Pagamenti pos. 4% Split Payment pos. 4% 4% SP pos. 360 4.0 percent none False tax_group_iva_4 base invoice +02||+ve38 4% Scissione dei Pagamenti pos.
192 tax invoice 2608
193 base refund -02||-ve38
194 tax refund 2608
195 4vsp_storno 4% Scissione dei Pagamenti neg. 4% Split Payment neg. 4% 4% SP neg. 360 -4.0 percent none False tax_group_split_payment base invoice 4% Scissione dei Pagamenti neg.
196 tax invoice 2608
197 base refund
198 tax refund 2608
199 4vsp_group 4% 4% SP 360 460 group sale False tax_group_split_payment 4vsp,4vsp_storno
200 0rc_n61 Scrap 0% 0% RC N6.1 500 0.0 percent sale False tax_group_fuori False base invoice +02 0% IC N6.1 N6.1 art.74, comma 7-8, D.P.R. 633/1972 Materiali di Scarto
201 tax invoice +4v
202 base refund -02
203 tax refund -4v
204 0rc_n62 Gold 0% 0% RC N6.2 510 0.0 percent sale False tax_group_fuori False base invoice +02 0% IC N6.2 N6.2 art.17, comma 5, D.P.R. 633/1972 Oro
205 tax invoice +4v
206 base refund -02
207 tax refund -4v
208 0rc_n62b Gold Investments 0% 0% RC N6.2b 520 0.0 percent sale False tax_group_fuori False base invoice +02 0% IC N6.2b N6.2 art.17, comma 5, D.P.R. 633/1972 Investimenti in Oro
209 tax invoice +4v
210 base refund -02
211 tax refund -4v
212 0rc_n63 Construction subcontractors 0% 0% RC N6.3 530 0.0 percent sale False tax_group_fuori False base invoice +02 0% IC N6.3 N6.3 art.17, comma 6, lett. a, D.P.R. 633/1972 Subappalto Edilizia
213 tax invoice +4v
214 base refund -02
215 tax refund -4v
216 0rc_n64 Investments in construction 0% 0% RC N6.4 540 0.0 percent sale False tax_group_fuori False base invoice +02 0% IC N6.4 N6.4 art.17, comma 6, lett. a-bis, D.P.R. 633/1972 Investimenti in Edilizia
217 tax invoice +4v
218 base refund -02
219 tax refund -4v
220 0rc_n65 Cellphones 0% 0% RC N6.5 550 0.0 percent sale False tax_group_fuori False base invoice +02 0% IC N6.5 N6.5 art.17, comma 6, lett. b, D.P.R. 633/1972 Cellulari
221 tax invoice +4v
222 base refund -02
223 tax refund -4v
224 0rc_n66 Electronics 0% 0% RC N6.6 560 0.0 percent sale False tax_group_fuori False base invoice +02 0% IC N6.6 N6.6 art.17, comma 6, lett. c, D.P.R. 633/1972 Elettronica
225 tax invoice +4v
226 base refund -02
227 tax refund -4v
228 0rc_n67 Construction services 0% 0% RC N6.7 570 0.0 percent sale False tax_group_fuori True base invoice +02 0% IC N6.7 N6.7 art 17, comma 6, lett. a-ter, D.P.R. 633/1972 Servizi edilizia
229 tax invoice +4v
230 base refund -02
231 tax refund -4v
232 0rc_n68 Energy 0% 0% RC N6.8 580 0.0 percent sale False tax_group_fuori False base invoice +02 0% IC N6.8 N6.8 art.17, comma 6, lett. d-bis, d-ter, d-quater, D.P.R. 633/1972 Energia
233 tax invoice +4v
234 base refund -02
235 tax refund -4v
236 4rc_n61 Scrap 4% 4% RC N6.1 590 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj6 4% IC N6.1 Materiali di Scarto
237 tax invoice +5v
238 tax invoice -4v -100
239 base refund -03||-vj6
240 tax refund -5v
241 tax refund +4v -100
242 4rc_n62 Gold 4% 4% RC N6.2 600 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj7 4% IC N6.2 Oro
243 tax invoice +5v
244 tax invoice -4v -100
245 base refund -03||-vj7
246 tax refund -5v
247 tax refund +4v -100
248 4rc_n62b Investments in gold 4% 4% RC N6.2b 610 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj8 4% IC N6.2b Investimenti in Oro
249 tax invoice +5v
250 tax invoice -4v -100
251 base refund -03||-vj8
252 tax refund -5v
253 tax refund +4v -100
254 4rc_n63 Construction subcontractors 4% 4% RC N6.3 620 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj12 4% IC N6.3 Subappalto Edilizia
255 tax invoice +5v
256 tax invoice -4v -100
257 base refund -03||-vj12
258 tax refund -5v
259 tax refund +4v -100
260 4rc_n64 Investments in construction 4% 4% RC N6.4 630 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj13 4% IC N6.4 Investimenti in Edilizia
261 tax invoice +5v
262 tax invoice -4v -100
263 base refund -03||-vj13
264 tax refund -5v
265 tax refund +4v -100
266 4rc_n65 Cellphones 4% 4% RC N6.5 640 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj14 4% IC N6.5 Cellulari
267 tax invoice +5v
268 tax invoice -4v -100
269 base refund -03||-vj14
270 tax refund -5v
271 tax refund +4v -100
272 4rc_n66 Electronics 4% 4% RC N6.6 650 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj15 4% IC N6.6 Elettronica
273 tax invoice +5v
274 tax invoice -4v -100
275 base refund -03||-vj15
276 tax refund -5v
277 tax refund +4v -100
278 4rc_n67 Construction services 4% 4% RC N6.7 660 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj16 4% IC N6.7 Servizi Edilizia
279 tax invoice +5v
280 tax invoice -4v -100
281 base refund -03||-vj16
282 tax refund -5v
283 tax refund +4v -100
284 4rc_n68 Energy 4% 4% RC N6.8 670 4.0 percent purchase False tax_group_iva_4 False base invoice +03||+vj17 4% IC N6.8 Energia
285 tax invoice +5v
286 tax invoice -4v -100
287 base refund -03||-vj17
288 tax refund -5v
289 tax refund +4v -100
290 5rc_n61 Scrap 5% 5% RC N6.1 680 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj6 5% IC N6.1 Materiali di Scarto
291 tax invoice +5v
292 tax invoice -4v -100
293 base refund -03||-vj6
294 tax refund -5v
295 tax refund +4v -100
296 5rc_n62 Gold 5% 5% RC N6.2 690 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj7 5% IC N6.2 Oro
297 tax invoice +5v
298 tax invoice -4v -100
299 base refund -03||-vj7
300 tax refund -5v
301 tax refund +4v -100
302 5rc_n62b Investments in gold 5% 5% RC N6.2b 700 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj8 5% IC N6.2b Investimenti in Oro
303 tax invoice +5v
304 tax invoice -4v -100
305 base refund -03||-vj8
306 tax refund -5v
307 tax refund +4v -100
308 5rc_n63 Construction subcontractors 5% 5% RC N6.3 710 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj12 5% IC N6.3 Subappalti Edilizia
309 tax invoice +5v
310 tax invoice -4v -100
311 base refund -03||-vj12
312 tax refund -5v
313 tax refund +4v -100
314 5rc_n64 Investments in construction 5% 5% RC N6.4 720 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj13 5% IC N6.4 Investimenti in Edilizia
315 tax invoice +5v
316 tax invoice -4v -100
317 base refund -03||-vj13
318 tax refund -5v
319 tax refund +4v -100
320 5rc_n65 Cellphones 5% 5% RC N6.5 730 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj14 5% IC N6.5 Cellulari
321 tax invoice +5v
322 tax invoice -4v -100
323 base refund -03||-vj14
324 tax refund -5v
325 tax refund +4v -100
326 5rc_n66 Electronics 5% 5% RC N6.6 740 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj15 5% IC N6.6 Elettronica
327 tax invoice +5v
328 tax invoice -4v -100
329 base refund -03||-vj15
330 tax refund -5v
331 tax refund +4v -100
332 5rc_n67 Construction services 5% 5% RC N6.7 750 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj16 5% IC N6.7 Servizi Edilizia
333 tax invoice +5v
334 tax invoice -4v -100
335 base refund -03||-vj16
336 tax refund -5v
337 tax refund +4v -100
338 5rc_n68 Energy 5% 5% RC N6.8 760 5.0 percent purchase False tax_group_iva_5 False base invoice +03||+vj17 5% IC N6.8 Energia
339 tax invoice +5v
340 tax invoice -4v -100
341 base refund -03||-vj17
342 tax refund -5v
343 tax refund +4v -100
344 10rc_n61 Scrap 10% 10% RC N6.1 770 10.0 percent purchase False tax_group_iva_10 False base invoice +03||+vj6 10% IC N6.1 Materiali di Scarto
345 tax invoice +5v
346 tax invoice -4v -100
347 base refund -03||-vj6
348 tax refund -5v
349 tax refund +4v -100
350 10rc_n62 Gold 10% 10% RC N6.2 780 10.0 percent purchase False tax_group_iva_10 False base invoice +03||+vj7 10% IC N6.2 Oro
351 tax invoice +5v
352 tax invoice -4v -100
353 base refund -03||-vj7
354 tax refund -5v
355 tax refund +4v -100
356 10rc_n62b Investments in gold 10% 10% RC N6.2b 790 10.0 percent purchase False tax_group_iva_10 False base invoice +03||+vj8 10% IC N6.2b Investimenti in Oro
357 tax invoice +5v
358 tax invoice -4v -100
359 base refund -03||-vj8
360 tax refund -5v
361 tax refund +4v -100
362 10rc_n63 Construction subcontractors 10% 10% RC N6.3 800 10.0 percent purchase False tax_group_iva_10 False base invoice +03||+vj12 10% IC N6.3 Subappalti Edilizia
363 tax invoice +5v
364 tax invoice -4v -100
365 base refund -03||-vj12
366 tax refund -5v
367 tax refund +4v -100
368 10rc_n64 Investments in construction 10% 10% RC N6.4 810 10.0 percent purchase False tax_group_iva_10 False base invoice +03||+vj13 10% IC N6.4 Investimenti in Edilizia
369 tax invoice +5v
370 tax invoice -4v -100
371 base refund -03||-vj13
372 tax refund -5v
373 tax refund +4v -100
374 10rc_n65 Cellphones 10% 10% RC N6.5 820 10.0 percent purchase False tax_group_iva_10 False base invoice +03||+vj14 10% IC N6.5 Cellulari
375 tax invoice +5v
376 tax invoice -4v -100
377 base refund -03||-vj14
378 tax refund -5v
379 tax refund +4v -100
380 10rc_n66 Electronics 10% 10% RC N6.6 830 10.0 percent purchase False tax_group_iva_10 False base invoice +03||+vj15 10% IC N6.6 Elettronica
381 tax invoice +5v
382 tax invoice -4v -100
383 base refund -03||-vj15
384 tax refund -5v
385 tax refund +4v -100
386 10rc_n67 Construction services 10% 10% RC N6.7 840 10.0 percent purchase False tax_group_iva_10 True base invoice +03||+vj16 10% IC N6.7 Servizi Edilizia
387 tax invoice +5v
388 tax invoice -4v -100
389 base refund -03||-vj16
390 tax refund -5v
391 tax refund +4v -100
392 10rc_n68 Energy 10% 10% RC N6.8 850 10.0 percent purchase False tax_group_iva_10 False base invoice +03||+vj17 10% IC N6.8 Energia
393 tax invoice +5v
394 tax invoice -4v -100
395 base refund -03||-vj17
396 tax refund -5v
397 tax refund +4v -100
398 22rc_n61 Scrap 22% 22% RC N6.1 860 22.0 percent purchase False tax_group_iva_22 False base invoice +03||+vj6 22% IC N6.1 Materiali di Scarto
399 tax invoice +5v
400 tax invoice -4v -100
401 base refund -03||-vj6
402 tax refund -5v
403 tax refund +4v -100
404 22rc_n62 Gold 22% 22% RC N6.2 870 22.0 percent purchase False tax_group_iva_22 False base invoice +03||+vj7 22% IC N6.2 Oro
405 tax invoice +5v
406 tax invoice -4v -100
407 base refund -03||-vj7
408 tax refund -5v
409 tax refund +4v -100
410 22rc_n62b Investments in gold 22% 22% RC N6.2b 880 22.0 percent purchase False tax_group_iva_22 False base invoice +03||+vj8 22% IC N6.2b Investimenti in Oro
411 tax invoice +5v
412 tax invoice -4v -100
413 base refund -03||-vj8
414 tax refund -5v
415 tax refund +4v -100
416 22rc_n63 Construction subcontractors 22% 22% RC N6.3 890 22.0 percent purchase False tax_group_iva_22 False base invoice +03||+vj12 22% IC N6.3 Subappalti Edilizia
417 tax invoice +5v
418 tax invoice -4v -100
419 base refund -03||-vj12
420 tax refund -5v
421 tax refund +4v -100
422 22rc_n64 Investments in construction 22% 22% RC N6.4 900 22.0 percent purchase False tax_group_iva_22 False base invoice +03||+vj13 22% IC N6.4 Investimenti in Edilizia
423 tax invoice +5v
424 tax invoice -4v -100
425 base refund -03||-vj13
426 tax refund -5v
427 tax refund +4v -100
428 22rc_n65 Cellphones 22% 22% RC N6.5 910 22.0 percent purchase False tax_group_iva_22 False base invoice +03||+vj14 22% IC N6.5 Cellulari
429 tax invoice +5v
430 tax invoice -4v -100
431 base refund -03||-vj14
432 tax refund -5v
433 tax refund +4v -100
434 22rc_n66 Electronics 22% 22% RC N6.6 920 22.0 percent purchase False tax_group_iva_22 False base invoice +03||+vj15 22% IC N6.6 Elettronica
435 tax invoice +5v
436 tax invoice -4v -100
437 base refund -03||-vj15
438 tax refund -5v
439 tax refund +4v -100
440 22rc_n67 Construction services 22% 22% RC N6.7 930 22.0 percent purchase False tax_group_iva_22 True base invoice +03||+vj16 22% IC N6.7 Servizi Edilizia
441 tax invoice +5v
442 tax invoice -4v -100
443 base refund -03||-vj16
444 tax refund -5v
445 tax refund +4v -100
446 22rc_n68 Energy 22% 22% RC N6.8 940 22.0 percent purchase False tax_group_iva_22 False base invoice +03||+vj17 22% IC N6.8 Energia
447 tax invoice +5v
448 tax invoice -4v -100
449 base refund -03||-vj17
450 tax refund -5v
451 tax refund +4v -100
+77 -40
View File
@@ -125,18 +125,34 @@ class AccountMove(models.Model):
We recognize these cases based on the taxes that target the VJ tax grids, which imply
the use of VAT External Reverse Charge.
"""
it_tax_report_vj_lines = self.env['account.report.line'].search([
('report_id.country_id.code', '=', 'IT'),
('code', '=like', 'VJ%'),
])
vj_lines_tags = it_tax_report_vj_lines.expression_ids._get_matching_tags()
for move in self:
if not move.is_purchase_document():
move.l10n_it_edi_is_self_invoice = False
continue
invoice_lines_tags = move.line_ids.tax_tag_ids
ids_intersection = set(invoice_lines_tags.ids) & set(vj_lines_tags.ids)
move.l10n_it_edi_is_self_invoice = bool(ids_intersection)
purchases = self.filtered(lambda m: m.is_purchase_document())
others = self - purchases
for move in others:
move.l10n_it_edi_is_self_invoice = False
if purchases:
it_tax_report_vj_lines = self.env['account.report.line'].search([
('report_id.country_id.code', '=', 'IT'),
('code', '=like', 'VJ%')
])
vj_lines_tags = it_tax_report_vj_lines.expression_ids._get_matching_tags()
for move in purchases:
invoice_lines_tags = move.line_ids.tax_tag_ids
ids_intersection = set(invoice_lines_tags.ids) & set(vj_lines_tags.ids)
move.l10n_it_edi_is_self_invoice = bool(ids_intersection)
def _l10n_it_edi_exempt_reason_tag_mapping(self):
return {
"N3.2": "VJ3",
"N3.3": "VJ1",
"N6.1": "VJ6",
"N6.2": "VJ7",
"N6.3": "VJ12",
"N6.4": "VJ13",
"N6.5": "VJ14",
"N6.6": "VJ15",
"N6.7": "VJ16",
"N6.8": "VJ17",
}
# -------------------------------------------------------------------------
# Overrides
@@ -327,7 +343,7 @@ class AccountMove(models.Model):
document_type = self._l10n_it_edi_get_document_type()
# Represent if the document is a reverse charge refund in a single variable
reverse_charge = document_type in ['TD17', 'TD18', 'TD19']
reverse_charge = document_type in ['TD16', 'TD17', 'TD18', 'TD19']
is_downpayment = document_type in ['TD02']
reverse_charge_refund = self.move_type == 'in_refund' and reverse_charge
convert_to_euros = self.currency_id.name != 'EUR'
@@ -479,6 +495,7 @@ class AccountMove(models.Model):
'partner_country_code': partner_values.get('country_code', False),
'simplified': self._l10n_it_edi_is_simplified(),
'self_invoice': self.l10n_it_edi_is_self_invoice,
'tax_tags': {tag for tag in self.line_ids.tax_tag_ids.mapped(lambda x: (x.name or '').upper().replace("+", "").replace("-", "")) if tag},
'downpayment': self._is_downpayment(),
'services_or_goods': services_or_goods,
'goods_in_italy': services_or_goods == 'consu' and self._l10n_it_edi_goods_in_italy(),
@@ -518,42 +535,54 @@ class AccountMove(models.Model):
'simplified': False,
'self_invoice': True,
'partner_country_code': "SM"},
'TD16': {'move_types': ['in_invoice', 'in_refund'],
'import_type': 'in_invoice',
'simplified': False,
'self_invoice': True,
'tax_tags': {'VJ6', 'VJ7', 'VJ8', 'VJ12', 'VJ13', 'VJ14', 'VJ15', 'VJ16', 'VJ17'}},
'TD17': {'move_types': ['in_invoice', 'in_refund'],
'import_type': 'in_invoice',
'simplified': False,
'self_invoice': True,
'services_or_goods': "service"},
'services_or_goods': "service",
'tax_tags': {'VJ3'}},
'TD18': {'move_types': ['in_invoice', 'in_refund'],
'import_type': 'in_invoice',
'simplified': False,
'self_invoice': True,
'services_or_goods': "consu",
'goods_in_italy': False,
'partner_in_eu': True},
'partner_in_eu': True,
'tax_tags': {'VJ9'}},
'TD19': {'move_types': ['in_invoice', 'in_refund'],
'import_type': 'in_invoice',
'simplified': False,
'self_invoice': True,
'services_or_goods': "consu",
'goods_in_italy': True},
'goods_in_italy': True,
'tax_tags': {'VJ3'}},
}
def _l10n_it_edi_get_document_type(self):
""" Compare the features of the invoice to the requirements of each TDxx FatturaPA
document type until you find a valid one. """
""" Compare the features of the invoice to the requirements of each Document Type (TDxx)
FatturaPA until you find a valid one. """
def compare(actual_values, expected_values):
""" Compare a single entry from the invoice features with the one of the document_type """
if isinstance(expected_values, set | list | tuple):
# i.e. When we compare actual tax_tags from the invoice with expected tags, we see if there is at least one in common
if isinstance(actual_values, set):
return actual_values & set(expected_values)
# i.e. When we compare the move_type with the available ones, these can be more than one
return actual_values in expected_values
# We compare other features directly, one on one
return actual_values == expected_values
invoice_features = self._l10n_it_edi_features_for_document_type_selection()
for code, document_type_features in self._l10n_it_edi_document_type_mapping().items():
comparisons = []
for key, invoice_feature in invoice_features.items():
if key not in document_type_features:
continue
document_type_feature = document_type_features.get(key)
if isinstance(document_type_feature, list):
comparisons.append(invoice_feature in document_type_feature)
else:
comparisons.append(invoice_feature == document_type_feature)
if all(comparisons):
return code
for document_type_code, document_type_features in self._l10n_it_edi_document_type_mapping().items():
# By using a generator instead of a list, we can avoid some comparisons
if all(compare(invoice_values, document_type_features[k]) for k, invoice_values in invoice_features.items() if k in document_type_features):
return document_type_code
return False
def _l10n_it_edi_is_simplified_document_type(self, document_type):
@@ -701,21 +730,30 @@ class AccountMove(models.Model):
return partner
return self.env['res.partner']
def _l10n_it_edi_search_tax_for_import(self, company, percentage, extra_domain=None):
def _l10n_it_edi_search_tax_for_import(self, company, percentage, extra_domain=None, l10n_it_exempt_reason=None):
""" Returns the VAT, Withholding or Pension Fund tax that suits the conditions given
and matches the percentage found in the XML for the company. """
domain = [
*self.env['account.tax']._check_company_domain(company),
('amount', '=', percentage),
('amount_type', '=', 'percent'),
('type_tax_use', '=', 'purchase'),
] + (extra_domain or [])
# As we're importing vendor bills, we're excluding Reverse Charge Taxes
# which have a [100.0, 100.0, -100.0] repartition lines factor_percent distribution.
# We only allow for taxes that have all positive repartition lines factor_percent distribution.
taxes = self.env['account.tax'].search(domain).filtered(
lambda tax: all(rep_line.factor_percent >= 0 for rep_line in tax.invoice_repartition_line_ids))
# We suppose we're importing a file that comes in as a customer invoice where the sale tax will be 0%.
# To retrieve the correct purchase tax, we examine the sale tax's l10n_it_exempt_reason.
# We determine whether the l10n_it_exempt_reason is specific to reverse charge.
reversed_tax_tag = self._l10n_it_edi_exempt_reason_tag_mapping().get(l10n_it_exempt_reason, '')
if not reversed_tax_tag:
# Normal VAT taxes have a known percentage and generally have all positive repartition lines
domain += [('amount', '=', percentage), ('l10n_it_exempt_reason', '=', l10n_it_exempt_reason)]
taxes = self.env['account.tax'].search(domain).filtered(
lambda tax: all(rep_line.factor_percent >= 0 for rep_line in tax.invoice_repartition_line_ids))
else:
# In case of reverse charge, the purchase tax has a negative repartition line.
domain += [('invoice_repartition_line_ids.tag_ids.name', '=', f'+{reversed_tax_tag.lower()}')]
taxes = self.env['account.tax'].search(domain, order="amount desc").filtered(
lambda tax: any(rep_line.factor_percent < 0 for rep_line in tax.invoice_repartition_line_ids))
return taxes[0] if taxes else taxes
@@ -978,9 +1016,8 @@ class AccountMove(models.Model):
move_line.tax_ids = []
if percentage is not None:
l10n_it_exempt_reason = get_text(element, './/Natura') or False
conditions = [('l10n_it_exempt_reason', '=', l10n_it_exempt_reason)]
if tax := self._l10n_it_edi_search_tax_for_import(company, percentage, conditions):
l10n_it_exempt_reason = get_text(element, './/Natura').upper() or False
if tax := self._l10n_it_edi_search_tax_for_import(company, percentage, None, l10n_it_exempt_reason=l10n_it_exempt_reason):
move_line.tax_ids += tax
else:
message = Markup("<br/>").join((
+4
View File
@@ -113,6 +113,10 @@ class TestItEdi(AccountTestInvoicingCommon):
raise
def _assert_import_invoice(self, filename, expected_values_list, xml_to_apply=None):
""" Tests an invoice imported from an XML vendor bill file on the filesystem
against expected values. XPATHs can be applied with the `xml_to_apply`
argument to the XML content before it's imported.
"""
path = f'{self.module}/tests/import_xmls/{filename}'
with tools.file_open(path, mode='rb') as fd:
import_content = fd.read()
@@ -0,0 +1,129 @@
<?xml version="1.0"?>
<p:FatturaElettronica xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2 http://www.fatturapa.gov.it/export/fatturazione/sdi/fatturapa/v1.2/Schema_del_file_xml_FatturaPA_versione_1.2.xsd" versione="FPR12">
<FatturaElettronicaHeader>
<DatiTrasmissione>
<IdTrasmittente>
<IdPaese>IT</IdPaese>
<IdCodice>01234560157</IdCodice>
</IdTrasmittente>
<ProgressivoInvio>___ignore___</ProgressivoInvio>
<FormatoTrasmissione>FPR12</FormatoTrasmissione>
<CodiceDestinatario>0000000</CodiceDestinatario>
<ContattiTrasmittente>
<Telefono>0266766700</Telefono>
<Email>test@test.it</Email>
</ContattiTrasmittente>
</DatiTrasmissione>
<CedentePrestatore>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>IT</IdPaese>
<IdCodice>01234560157</IdCodice>
</IdFiscaleIVA>
<CodiceFiscale>01234560157</CodiceFiscale>
<Anagrafica>
<Denominazione>company_2_data</Denominazione>
</Anagrafica>
<RegimeFiscale>RF01</RegimeFiscale>
</DatiAnagrafici>
<Sede>
<Indirizzo>1234 Test Street</Indirizzo>
<CAP>12345</CAP>
<Comune>Prova</Comune>
<Nazione>IT</Nazione>
</Sede>
</CedentePrestatore>
<CessionarioCommittente>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>IT</IdPaese>
<IdCodice>00465840031</IdCodice>
</IdFiscaleIVA>
<CodiceFiscale>93026890017</CodiceFiscale>
<Anagrafica>
<Denominazione>Alessi</Denominazione>
</Anagrafica>
</DatiAnagrafici>
<Sede>
<Indirizzo>Via Privata Alessi 6</Indirizzo>
<CAP>28887</CAP>
<Comune>Milan</Comune>
<Nazione>IT</Nazione>
</Sede>
</CessionarioCommittente>
</FatturaElettronicaHeader>
<FatturaElettronicaBody>
<DatiGenerali>
<DatiGeneraliDocumento>
<TipoDocumento>TD01</TipoDocumento>
<Divisa>EUR</Divisa>
<Data>2022-03-24</Data>
<Numero>___ignore___</Numero>
<ImportoTotaleDocumento>750.00</ImportoTotaleDocumento>
</DatiGeneraliDocumento>
</DatiGenerali>
<DatiBeniServizi>
<DettaglioLinee>
<NumeroLinea>1</NumeroLinea>
<Descrizione>
Construction subcontracting service January
</Descrizione>
<Quantita>1.00</Quantita>
<PrezzoUnitario>350.000000</PrezzoUnitario>
<PrezzoTotale>350.00</PrezzoTotale>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
</DettaglioLinee>
<DettaglioLinee>
<NumeroLinea>2</NumeroLinea>
<Descrizione>
Construction subcontracting service February
</Descrizione>
<Quantita>1.00</Quantita>
<PrezzoUnitario>300.000000</PrezzoUnitario>
<PrezzoTotale>300.00</PrezzoTotale>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
</DettaglioLinee>
<DettaglioLinee>
<NumeroLinea>3</NumeroLinea>
<Descrizione>
Construction subcontracting service March
</Descrizione>
<Quantita>1.00</Quantita>
<PrezzoUnitario>50.000000</PrezzoUnitario>
<PrezzoTotale>50.00</PrezzoTotale>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
</DettaglioLinee>
<DettaglioLinee>
<NumeroLinea>4</NumeroLinea>
<Descrizione>
Construction subcontracting service April
</Descrizione>
<Quantita>1.00</Quantita>
<PrezzoUnitario>50.000000</PrezzoUnitario>
<PrezzoTotale>50.00</PrezzoTotale>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
</DettaglioLinee>
<DatiRiepilogo>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
<ImponibileImporto>750.00</ImponibileImporto>
<Imposta>0.00</Imposta>
<EsigibilitaIVA>I</EsigibilitaIVA>
<RiferimentoNormativo>test</RiferimentoNormativo>
</DatiRiepilogo>
</DatiBeniServizi>
<DatiPagamento>
<CondizioniPagamento>TP02</CondizioniPagamento>
<DettaglioPagamento>
<ModalitaPagamento>MP05</ModalitaPagamento>
<DataScadenzaPagamento>2022-03-24</DataScadenzaPagamento>
<ImportoPagamento>750.00</ImportoPagamento>
<CodicePagamento>___ignore___</CodicePagamento>
</DettaglioPagamento>
</DatiPagamento>
</FatturaElettronicaBody>
</p:FatturaElettronica>
@@ -99,8 +99,7 @@
<PrezzoTotale>5.00</PrezzoTotale>
<AliquotaIVA>22.00</AliquotaIVA>
</DettaglioLinee>
<DettaglioLinee>
<DettaglioLinee>
<NumeroLinea>2</NumeroLinea>
<Descrizione>OtherAccount</Descrizione>
<Quantita>3.00</Quantita>
@@ -108,7 +107,6 @@
<PrezzoTotale>24.00</PrezzoTotale>
<AliquotaIVA>22.00</AliquotaIVA>
</DettaglioLinee>
<DettaglioLinee>
<NumeroLinea>3</NumeroLinea>
<Descrizione>GuessTaxes</Descrizione>
@@ -116,13 +114,10 @@
<PrezzoUnitario>10.00</PrezzoUnitario>
<PrezzoTotale>10.00</PrezzoTotale>
</DettaglioLinee>
<DatiRiepilogo>
<AliquotaIVA>10.00</AliquotaIVA>
<AliquotaIVA>22.00</AliquotaIVA>
<ImponibileImporto>39.00</ImponibileImporto>
<Imposta>7.38</Imposta>
<ImponibileImporto>29.00</ImponibileImporto>
<Imposta>6.38</Imposta>
<EsigibilitaIVA>I</EsigibilitaIVA>
</DatiRiepilogo>
</DatiBeniServizi>
@@ -131,7 +126,7 @@
<DettaglioPagamento>
<ModalitaPagamento>MP01</ModalitaPagamento>
<DataScadenzaPagamento>2015-01-30</DataScadenzaPagamento>
<ImportoPagamento>46.38</ImportoPagamento>
<ImportoPagamento>36.48</ImportoPagamento>
</DettaglioPagamento>
</DatiPagamento>
</FatturaElettronicaBody>
@@ -0,0 +1,129 @@
<?xml version="1.0"?>
<p:FatturaElettronica xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2 http://www.fatturapa.gov.it/export/fatturazione/sdi/fatturapa/v1.2/Schema_del_file_xml_FatturaPA_versione_1.2.xsd" versione="FPR12">
<FatturaElettronicaHeader>
<DatiTrasmissione>
<IdTrasmittente>
<IdPaese>IT</IdPaese>
<IdCodice>01234560157</IdCodice>
</IdTrasmittente>
<ProgressivoInvio>___ignore___</ProgressivoInvio>
<FormatoTrasmissione>FPR12</FormatoTrasmissione>
<CodiceDestinatario>0000000</CodiceDestinatario>
<ContattiTrasmittente>
<Telefono>0266766700</Telefono>
<Email>test@test.it</Email>
</ContattiTrasmittente>
</DatiTrasmissione>
<CedentePrestatore>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>IT</IdPaese>
<IdCodice>00465840031</IdCodice>
</IdFiscaleIVA>
<CodiceFiscale>93026890017</CodiceFiscale>
<Anagrafica>
<Denominazione>Alessi</Denominazione>
</Anagrafica>
<RegimeFiscale>RF01</RegimeFiscale>
</DatiAnagrafici>
<Sede>
<Indirizzo>Via Privata Alessi 6</Indirizzo>
<CAP>28887</CAP>
<Comune>Milan</Comune>
<Nazione>IT</Nazione>
</Sede>
</CedentePrestatore>
<CessionarioCommittente>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>IT</IdPaese>
<IdCodice>01234560157</IdCodice>
</IdFiscaleIVA>
<CodiceFiscale>01234560157</CodiceFiscale>
<Anagrafica>
<Denominazione>company_2_data</Denominazione>
</Anagrafica>
</DatiAnagrafici>
<Sede>
<Indirizzo>1234 Test Street</Indirizzo>
<CAP>12345</CAP>
<Comune>Prova</Comune>
<Nazione>IT</Nazione>
</Sede>
</CessionarioCommittente>
</FatturaElettronicaHeader>
<FatturaElettronicaBody>
<DatiGenerali>
<DatiGeneraliDocumento>
<TipoDocumento>TD01</TipoDocumento>
<Divisa>EUR</Divisa>
<Data>2022-03-24</Data>
<Numero>___ignore___</Numero>
<ImportoTotaleDocumento>750.00</ImportoTotaleDocumento>
</DatiGeneraliDocumento>
</DatiGenerali>
<DatiBeniServizi>
<DettaglioLinee>
<NumeroLinea>1</NumeroLinea>
<Descrizione>
Construction subcontracting service January
</Descrizione>
<Quantita>1.00</Quantita>
<PrezzoUnitario>350.000000</PrezzoUnitario>
<PrezzoTotale>350.00</PrezzoTotale>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
</DettaglioLinee>
<DettaglioLinee>
<NumeroLinea>2</NumeroLinea>
<Descrizione>
Construction subcontracting service February
</Descrizione>
<Quantita>1.00</Quantita>
<PrezzoUnitario>300.000000</PrezzoUnitario>
<PrezzoTotale>300.00</PrezzoTotale>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
</DettaglioLinee>
<DettaglioLinee>
<NumeroLinea>3</NumeroLinea>
<Descrizione>
Construction subcontracting service March
</Descrizione>
<Quantita>1.00</Quantita>
<PrezzoUnitario>50.000000</PrezzoUnitario>
<PrezzoTotale>50.00</PrezzoTotale>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
</DettaglioLinee>
<DettaglioLinee>
<NumeroLinea>4</NumeroLinea>
<Descrizione>
Construction subcontracting service April
</Descrizione>
<Quantita>1.00</Quantita>
<PrezzoUnitario>50.000000</PrezzoUnitario>
<PrezzoTotale>50.00</PrezzoTotale>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
</DettaglioLinee>
<DatiRiepilogo>
<AliquotaIVA>0.00</AliquotaIVA>
<Natura>N6.3</Natura>
<ImponibileImporto>750.00</ImponibileImporto>
<Imposta>0.00</Imposta>
<EsigibilitaIVA>I</EsigibilitaIVA>
<RiferimentoNormativo>test</RiferimentoNormativo>
</DatiRiepilogo>
</DatiBeniServizi>
<DatiPagamento>
<CondizioniPagamento>TP02</CondizioniPagamento>
<DettaglioPagamento>
<ModalitaPagamento>MP05</ModalitaPagamento>
<DataScadenzaPagamento>2022-03-24</DataScadenzaPagamento>
<ImportoPagamento>750.00</ImportoPagamento>
<CodicePagamento>___ignore___</CodicePagamento>
</DettaglioPagamento>
</DatiPagamento>
</FatturaElettronicaBody>
</p:FatturaElettronica>
@@ -3,7 +3,7 @@
from collections import namedtuple
from odoo import Command
from odoo import Command, fields
from odoo.tests import tagged
from odoo.addons.l10n_it_edi.tests.common import TestItEdi
@@ -71,7 +71,7 @@ class TestItEdiReverseCharge(TestItEdi):
# Purchase tax 4% with Reverse Charge
cls.purchase_tax_4p = cls.env['account.tax'].with_company(cls.company).create(tax_data)
# Purchase tax 4% with Reverse Charge, targeting the tax grid for import of goods
# Purchase tax 4% with External Reverse Charge, targeting the tax grid for import of goods
# already in Italy in a VAT deposit
cls.purchase_tax_4p_already_in_italy = cls.env['account.tax'].with_company(cls.company).create({
**tax_data,
@@ -86,6 +86,22 @@ class TestItEdiReverseCharge(TestItEdi):
RepartitionLine(-100, 'tax', False)),
})
# Purchase tax 22% with Reverse Charge, targeting the tax grid for Construction Subcontractors
# already in Italy in a VAT deposit
cls.purchase_tax_vj12 = cls.env['account.tax'].with_company(cls.company).create({
**tax_data,
'name': '22% purchase RC Construction Subcontractors',
'amount': 22.0,
'invoice_repartition_line_ids': repartition_lines(
RepartitionLine(100, 'base', ('+03', '+vj12')),
RepartitionLine(100, 'tax', ('+5v',)),
RepartitionLine(-100, 'tax', ('-4v',))),
'refund_repartition_line_ids': repartition_lines(
RepartitionLine(100, 'base', ('-03', '-vj12')),
RepartitionLine(100, 'tax', False),
RepartitionLine(-100, 'tax', False)),
})
# Purchase tax 22% with Reverse Charge
cls.purchase_tax_22p = cls.env['account.tax'].with_company(cls.company).create({
**tax_data,
@@ -97,13 +113,24 @@ class TestItEdiReverseCharge(TestItEdi):
cls.sale_tax_0v = cls.env['account.tax'].with_company(cls.company).create({
**tax_data,
'type_tax_use': 'sale',
'amount': 0,
'amount': 0.0,
'amount_type': 'percent',
'l10n_it_exempt_reason': 'N1',
'l10n_it_law_reference': 'test',
})
def test_invoice_reverse_charge(self):
# Export tax 0% Internal Reverse Charge
cls.sale_tax_n63 = cls.env['account.tax'].with_company(cls.company).create({
**tax_data,
'name': 'Construction subcontractors',
'type_tax_use': 'sale',
'amount': 0.0,
'amount_type': 'percent',
'l10n_it_exempt_reason': 'N6.3',
'l10n_it_law_reference': 'test',
})
def test_invoice_external_reverse_charge(self):
invoice = self.env['account.move'].with_company(self.company).create({
'move_type': 'out_invoice',
'invoice_date': '2022-03-24',
@@ -126,7 +153,26 @@ class TestItEdiReverseCharge(TestItEdi):
],
})
invoice.action_post()
self._assert_export_invoice(invoice, 'invoice_reverse_charge.xml')
self._assert_export_invoice(invoice, 'invoice_external_reverse_charge.xml')
def test_invoice_internal_reverse_charge(self):
invoice = self.env['account.move'].with_company(self.company).create({
'move_type': 'out_invoice',
'invoice_date': '2022-03-24',
'invoice_date_due': '2022-03-24',
'partner_id': self.italian_partner_a.id,
'partner_bank_id': self.test_bank.id,
'invoice_line_ids': [
Command.create({
'name': f"Construction subcontracting service {month}",
'product_id': self.product_a.id,
'price_unit': price,
'tax_ids': [Command.set(self.sale_tax_n63.ids)],
}) for month, price in [("January", 350.0), ("February", 300.0), ("March", 50.0), ("April", 50.0)]
],
})
invoice.action_post()
self._assert_export_invoice(invoice, 'invoice_internal_reverse_charge.xml')
def test_bill_reverse_charge_and_refund(self):
bill = self.env['account.move'].with_company(self.company).create({
@@ -206,3 +252,32 @@ class TestItEdiReverseCharge(TestItEdi):
})
bill.action_post()
self._assert_export_invoice(bill, 'bill_reverse_charge_san_marino.xml')
def test_receive_bill_reverse_charge_internal(self):
""" Imported Internal Reverse Charge bill about Construction Subcontractors
has the Sale 0% RC Tax Exemption N6.3 tax turned into Purchase 22% RC tax,
targeting tag +VJ12
"""
invoice = self._assert_import_invoice('IT01234567891_FPR01.xml', [{
'invoice_date': fields.Date.from_string('2022-03-24'),
'amount_untaxed': 750.0,
'amount_tax': 0.0,
'invoice_line_ids': [{
'name': 'Construction subcontracting service January',
'price_unit': 350.0,
}, {
'name': 'Construction subcontracting service February',
'price_unit': 300.0,
}, {
'name': 'Construction subcontracting service March',
'price_unit': 50.0,
}, {
'name': 'Construction subcontracting service April',
'price_unit': 50.0,
}]
}])
for line in invoice.invoice_line_ids:
self.assertEqual(len(line.tax_ids), 1)
rc_tax = line.tax_ids[0]
self.assertEqual(rc_tax.amount, 22.0)
self.assertTrue('+vj12' in rc_tax.invoice_repartition_line_ids[0].tag_ids.mapped("name"))
@@ -117,13 +117,13 @@ class AccountMove(models.Model):
# Import
# -------------------------------------------------------------------------
def _l10n_it_edi_search_tax_for_import(self, company, percentage, extra_domain=None, vat_only=True):
def _l10n_it_edi_search_tax_for_import(self, company, percentage, extra_domain=None, vat_only=True, l10n_it_exempt_reason=False):
""" In case no withholding_type or pension_fund is specified, exclude taxes that have it.
It means that we're searching for VAT taxes, especially in the base l10n_it_edi module
"""
if vat_only:
extra_domain += [('l10n_it_withholding_type', '=', False), ('l10n_it_pension_fund_type', '=', False)]
return super()._l10n_it_edi_search_tax_for_import(company, percentage, extra_domain)
extra_domain = (extra_domain or []) + [('l10n_it_withholding_type', '=', False), ('l10n_it_pension_fund_type', '=', False)]
return super()._l10n_it_edi_search_tax_for_import(company, percentage, extra_domain=extra_domain, l10n_it_exempt_reason=l10n_it_exempt_reason)
def _l10n_it_edi_get_extra_info(self, company, document_type, body_tree):
extra_info, message_to_log = super()._l10n_it_edi_get_extra_info(company, document_type, body_tree)