
ALTER TABLE `co_documenti` ADD `codice_xml` varchar(255);

ALTER TABLE `co_iva` ADD `codice_natura_fe` varchar(4);


INSERT INTO `co_iva` (`descrizione`, `percentuale`, `indetraibile`, `esente`, `codice_natura_fe`) VALUES
("Fuori campo IVA", 0, 0, 1, "N2"),
("Es.art27DL98/11", 0, 0, 1, "N2"),
("Escluso art. 2", 0, 0, 1, "N2"),
("Escluso art. 3", 0, 0, 1, "N2"),
("Escluso art. 4", 0, 0, 1, "N2"),
("Escluso art. 5", 0, 0, 1, "N2"),
("Esc.art7tr noUE", 0, 0, 1, "N2"),
("Escl.art7ter UE", 0, 0, 1, "N6"),
("Es. art.10 n.18", 0, 0, 1, "N4"),
("Es.art.10 n.1/9", 0, 0, 1, "N4"),
("Esente art. 10", 0, 0, 1, "N4"),
("Art8,1/a triang", 0, 0, 1, "N3"),
("N.I.art.8,2 ITA", 0, 0, 1, "N3"),
("N.I.art.8,2 UE", 0, 0, 1, "N3"),
("N.I. art. 9 c.1", 0, 0, 1, "N3"),
("Escluso art. 15", 0, 0, 1, "N1"),
("Art.17,6 let.a-", 0, 0, 1, "N6"),
("N.I. art.74 ter", 0, 0, 1, "N5"),
("N.I.art.14 L.49", 0, 0, 1, "N3"),
("Es.art.10 n.27q", 0, 0, 1, "N4"),
("N.I.a.8,2 no-UE", 0, 0, 1, "N3"),
("Es. art.10 n.11", 0, 0, 1, "N4"),
("N.I. art. 8 bis", 0, 0, 1, "N3"),
("N.I. art.8,1 b", 0, 0, 1, "N3"),
("N.I. art.8,1 c", 0, 0, 1, "N3"),
("N.I. art.8,1 a", 0, 0, 1, "N3"),
("N.V.escl.art.26", 0, 0, 1, "N2"),
("N.I. altri acq.", 0, 0, 1, "N3"),
("Op. non sog.ter", 0, 0, 1, "N2"),
("N.I. art. 9 c.2", 0, 0, 1, "N3"),
("Esc.art7quatrUE", 0, 0, 1, "N6"),
("Esc.art7qtrNOUE", 0, 0, 1, "N2"),
("Esc.art7quinqUE", 0, 0, 1, "N6"),
("Esc.art7qnqNOUE", 0, 0, 1, "N2"),
("Art.36-bis", 0, 0, 1, "N2"),
("Art.17 comma 3", 0, 0, 1, "N2"),
("DL41/95 art.36", 0, 0, 1, "N5"),
("Es.art.19c3abis", 0, 0, 1, "N4"),
("N.I. art.38 q.", 0, 0, 1, "N3"),
("Escl.art.7nodet", 0, 0, 1, "N2"),
("Esc.art.7spt/sx", 0, 0, 1, "N2"),
("DL331/93 art.41", 0, 0, 1, "N3"),
("DL331art42,40c2", 0, 0, 1, "N3"),
("N.I.art.8,1 b2", 0, 0, 1, "N3"),
("Escl.art.7bisUE", 0, 0, 1, "N6"),
("DL331 a.50b,4-g", 0, 0, 1, "N3"),
("DL331 a.50b,4-f", 0, 0, 1, "N3"),
("Cess. dep. IVA", 0, 0, 1, "N2"),
("N.I.Acq.dep.IVA", 0, 0, 1, "N2"),
("Es.art1 L190/14", 0, 0, 1, "N2"),
("Ces.gratuiteExp", 0, 0, 1, "N3"),
("DL331/93 a.58,1", 0, 0, 1, "N3"),
("Esc.legge67/88", 0, 0, 1, "N2"),
("Imp.n.s. art.68", 0, 0, 1, "N3"),
("Art.74 ter c. 8", 0, 0, 1, "N6"),
("Escl.art.7bis", 0, 0, 1, "N2"),
("N.I.art.71 V-SM", 0, 0, 1, "N3"),
("N.I. art. 72", 0, 0, 1, "N3"),
("N.I.art.74c.1-2", 0, 0, 1, "N2"),
("Art. 74 c. 7-8", 0, 0, 1, "N6"),
("Art. 17 c. 5", 0, 0, 1, "N6"),
("Art.17,6 lett.a", 0, 0, 1, "N6"),
("Art.74 ter c. 8", 0, 0, 1, "N3"),
("Art.17,6 lett.b", 0, 0, 1, "N6"),
("Art.17,6 lett.c", 0, 0, 1, "N6"),
("Art.17,6 let.a3", 0, 0, 1, "N6"),
("Art.17,6,lett.d", 0, 0, 1, "N6");

