From MAILER-DAEMON Sat Jan 04 10:46:08 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzTQO-0003TM-Kf
	for mharc-phpcompta-dev@gnu.org; Sat, 04 Jan 2014 10:46:08 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sat,  4 Jan 2014 16:34:01 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154108.1388850368.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5639 - phpcompta/tags/rel671/html
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jan 2014 15:46:07 -0000

Author: danydb
Date: 2014-01-04 16:34:00 +0100 (Sat, 04 Jan 2014)
New Revision: 5639

Modified:
   phpcompta/tags/rel671/html/style-light.css
Log:
Bug in style.css

Modified: phpcompta/tags/rel671/html/style-light.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-light.css	2013-12-30 15:32:36 UTC (r=
ev 5638)
+++ phpcompta/tags/rel671/html/style-light.css	2014-01-04 15:34:00 UTC (r=
ev 5639)
@@ -962,16 +962,7 @@
=20
=20
 }
-div#div_jrn{
-    position:absolute;
-    border:1px solid black;
-    top:15%;left:100;
-    visibility:hidden;
-    z-index:2;
-    width:50em;
-    background-color:#EDF3FF;
=20
-}
 div#div_cat{
     position:absolute;
     border:1px solid black;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sat Jan 04 15:20:45 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzXi8-0003Qa-VA
	for mharc-phpcompta-dev@gnu.org; Sat, 04 Jan 2014 15:20:45 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sat,  4 Jan 2014 21:08:35 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154178.1388866843.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r642 - trunk/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jan 2014 20:20:42 -0000

Author: danydb
Date: 2014-01-04 21:08:35 +0100 (Sat, 04 Jan 2014)
New Revision: 642

Modified:
   trunk/rapport_avance/include/class_rapav.php
Log:
ajout operateur ternaire avec COMPUTE

Modified: trunk/rapport_avance/include/class_rapav.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/include/class_rapav.php	2013-12-31 14:46:33 UTC =
(rev 641)
+++ trunk/rapport_avance/include/class_rapav.php	2014-01-04 20:08:35 UTC =
(rev 642)
@@ -126,7 +126,10 @@
         $formula =3D preg_replace('/([0-9]+.{0,1}[0.9]*)*(\+|-|\*|\/)*/'=
, '', $formula);
         $formula =3D preg_replace('/(\(|\))/', '', $formula);
         $formula =3D preg_replace('/\s/', '', $formula);
-        $formula =3D preg_replace('/FROM=3D/', '', $formula);
+        $formula =3D preg_replace('/</', '', $formula);
+        $formula =3D preg_replace('/>/', '', $formula);
+        $formula =3D preg_replace('/=3D/', '', $formula);
+        $formula =3D preg_replace('/\?/', '', $formula);
=20
         // if something remains it should be a mistake
         if ($formula !=3D '')



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sat Jan 04 15:25:43 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzXmw-0004ql-Lj
	for mharc-phpcompta-dev@gnu.org; Sat, 04 Jan 2014 15:25:42 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sat,  4 Jan 2014 21:13:27 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154179.1388867141.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r643 - trunk/rapport_avance/include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jan 2014 20:25:40 -0000

Author: danydb
Date: 2014-01-04 21:13:27 +0100 (Sat, 04 Jan 2014)
New Revision: 643

Modified:
   trunk/rapport_avance/include/template/formulaire_listing.php
   trunk/rapport_avance/include/template/rapav_listing_to_list.php
Log:
Liste avec lignes altern?\195?\169es

Modified: trunk/rapport_avance/include/template/formulaire_listing.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/include/template/formulaire_listing.php	2014-01-=
04 20:08:35 UTC (rev 642)
+++ trunk/rapport_avance/include/template/formulaire_listing.php	2014-01-=
04 20:13:27 UTC (rev 643)
@@ -39,8 +39,9 @@
 	</tr>
 <?php=20
 	for ($i=3D0;$i<count($alist);$i++):
+            $class=3D($i%2=3D=3D0)?'class=3D"odd"':'class=3D"even"';
 ?>
-	<tr>
+	<tr <?php echo $class; ?>>
 		<td>
 			<?php echo h($alist[$i]['f_title'])?>
 		</td>

Modified: trunk/rapport_avance/include/template/rapav_listing_to_list.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/include/template/rapav_listing_to_list.php	2014-=
01-04 20:08:35 UTC (rev 642)
+++ trunk/rapport_avance/include/template/rapav_listing_to_list.php	2014-=
01-04 20:13:27 UTC (rev 643)
@@ -15,6 +15,8 @@
     <?php
     $max=3DDatabase::num_row($res);
     for ($i=3D0;$i<$max;$i++):
+            $class=3D($i%2=3D=3D0)?'class=3D"odd"':'class=3D"even"';
+
         $row=3D  Database::fetch_array($res, $i);
      $arg =3D array(
             'gDossier' =3D> Dossier::id(),
@@ -25,7 +27,7 @@
             'cout' =3D> 'listing_definition_div_id');
         $json =3D 'listing_definition(' . str_replace('"', "'", json_enc=
ode($arg)) . ')';
     ?>
-    <tr>
+    	<tr <?php echo $class; ?>>
         <td>
             <?php echo HtmlInput::anchor(h($row['l_name']),'',' onclick=3D=
"'.$json.'"'); ?>
         </td>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 13:25:21 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzsO0-0002f8-V4
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 13:25:20 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun,  5 Jan 2014 19:13:12 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154639.1388946320.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r644 - trunk/rapport_avance
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jan 2014 18:25:20 -0000

Author: danydb
Date: 2014-01-05 19:13:12 +0100 (Sun, 05 Jan 2014)
New Revision: 644

Modified:
   trunk/rapport_avance/rapav_javascript.js
Log:
javascript : cache colonne delete et modify

Modified: trunk/rapport_avance/rapav_javascript.js
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/rapav_javascript.js	2014-01-04 20:13:27 UTC (rev=
 643)
+++ trunk/rapport_avance/rapav_javascript.js	2014-01-05 18:13:12 UTC (rev=
 644)
@@ -210,6 +210,7 @@
                         $('tr_' + fp_id).style.textDecoration =3D "line-=
through";
                         $('tr_' + fp_id).style.color =3D "red";
                         $('del_' + fp_id).innerHTML =3D "";
+                        $('mod_' + fp_id).innerHTML =3D "";
                     }
                 }
         );
@@ -868,6 +869,7 @@
                                 row.style.color =3D "red";
                                 row.style.textDecoration =3D 'line-throu=
gh';
                                 row.cells[row.cells.length - 1].innerHTM=
L =3D "";
+                                row.cells[row.cells.length - 2].innerHTM=
L =3D "";
=20
                             }
                             if (code =3D=3D 'nok')



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 13:50:25 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzsmH-0000So-A3
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 13:50:25 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun,  5 Jan 2014 19:38:16 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154662.1388947824.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r645 - trunk/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jan 2014 18:50:23 -0000

Author: danydb
Date: 2014-01-05 19:38:15 +0100 (Sun, 05 Jan 2014)
New Revision: 645

Modified:
   trunk/rapport_avance/include/class_rapav_listing_compute.php
Log:
Prob : missing 2 cols
Task #959 - Apr?\195?\169s g?\195?\169n?\195?\169ration : mauvais tri des=
 montants

Modified: trunk/rapport_avance/include/class_rapav_listing_compute.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/include/class_rapav_listing_compute.php	2014-01-=
05 18:13:12 UTC (rev 644)
+++ trunk/rapport_avance/include/class_rapav_listing_compute.php	2014-01-=
05 18:38:15 UTC (rev 645)
@@ -210,7 +210,7 @@
                      $check_box=3Dnew ICheckBox("selected_card[]", $fich=
e->lf_id);
                      echo td($check_box->input(),' sorttable_customkey=3D=
"1" ');
                 }
-                echo (($detail->ld_value_numeric !=3D=3D null)?td(nbm($d=
etail->ld_value_numeric),'class=3D"num"'):"");
+                echo (($detail->ld_value_numeric !=3D=3D null)?td(nbm($d=
etail->ld_value_numeric),' sorttable_customkey=3D"'.$detail->ld_value_num=
eric.'"'.' class=3D"num"'):"");
                 echo (($detail->ld_value_text !=3D=3D null)?td($detail->=
ld_value_text):"");
                 echo (($detail->ld_value_date!=3D=3D null)?td($detail->l=
d_value_date,' sorttable_customkey=3D"'.$detail->ld_value_date.'"'):"");
             }
@@ -224,6 +224,10 @@
                 $href=3D  "extension.raw.php?".http_build_query($arg);
                 echo td('<a href=3D"'.$href.'">'.$fiche->lf_filename);
             }
+            else=20
+            {=20
+                echo td();
+            }
             if ( $fiche->lf_pdf !=3D "")
             {
                 $arg=3Darray("gDossier"=3D>$_REQUEST['gDossier'],
@@ -234,6 +238,11 @@
                 $href=3D  "extension.raw.php?".http_build_query($arg);
                 echo td('<a href=3D"'.$href.'">'.$fiche->lf_pdf_filename=
);
             }
+            else=20
+            {=20
+                echo td();
+            }
+
             echo '</tr>';
         }
         echo '</table>';



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 16:40:52 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzvRE-0002XY-Su
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 16:40:52 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun,  5 Jan 2014 22:28:43 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154723.1388958051.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r646 - in trunk: . invoicing invoicing/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jan 2014 21:40:51 -0000

Author: danydb
Date: 2014-01-05 22:28:43 +0100 (Sun, 05 Jan 2014)
New Revision: 646

Added:
   trunk/invoicing/
   trunk/invoicing/README.txt
   trunk/invoicing/ajax.php
   trunk/invoicing/doc/
   trunk/invoicing/include/
   trunk/invoicing/include/class_acc_ledger_sold_generate.php
   trunk/invoicing/include/class_install_plugin.php
   trunk/invoicing/include/class_skel_parameter.php
   trunk/invoicing/include/invoice_generate.inc.php
   trunk/invoicing/include/invoice_send_mail.inc.php
   trunk/invoicing/include/invoice_to_zip.inc.php
   trunk/invoicing/include/invoicing.inc.php
   trunk/invoicing/include/template/
   trunk/invoicing/index.php
   trunk/invoicing/invoicing_constant.php
   trunk/invoicing/invoicing_javascript.js
   trunk/invoicing/raw.php
Log:
Invoicing : new plugin, download all invoices

Added: trunk/invoicing/README.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/README.txt	                        (rev 0)
+++ trunk/invoicing/README.txt	2014-01-05 21:28:43 UTC (rev 646)
@@ -0,0 +1,5 @@
+--- Facturation ---
+1. T=C3=A9l=C3=A9charger les factures en un seul fichier compress=C3=A9
+2. R=C3=A9g=C3=A9n=C3=A9rer les factures
+3. Envoi des factures avec conversion PDF
+

Added: trunk/invoicing/ajax.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/ajax.php	                        (rev 0)
+++ trunk/invoicing/ajax.php	2014-01-05 21:28:43 UTC (rev 646)
@@ -0,0 +1,33 @@
+<?php
+require_once('skel_constant.php');
+require_once('class_database.php');
+require_once('class_ext_tva.php');
+require_once('class_ibutton.php');
+require_once ('class_ext_list_intra.php');
+require_once ('class_ext_list_assujetti.php');
+
+extract($_GET);
+global $cn;
+$html=3D'';$extra=3D'';$ctl=3D'';
+ob_start();
+switch($act) {
+case 'dsp_decl':
+  /* the hide button */
+  require_once('include/ajax_dsp.php');
+  break;
+}
+
+$html=3Dob_get_contents();
+
+ob_end_clean();
+
+$html=3Descape_xml($html);
+
+header('Content-type: text/xml; charset=3DUTF-8');
+echo '<?xml version=3D"1.0" encoding=3D"UTF-8"?>';
+echo '<data>';
+echo "<ctl>$ctl</ctl>";
+echo "<html>$html</html>";
+echo "<extra>$extra</extra>";
+echo "</data>";
+?>

Added: trunk/invoicing/include/class_acc_ledger_sold_generate.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/class_acc_ledger_sold_generate.php	          =
              (rev 0)
+++ trunk/invoicing/include/class_acc_ledger_sold_generate.php	2014-01-05=
 21:28:43 UTC (rev 646)
@@ -0,0 +1,289 @@
+<?php
+
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+class Acc_Ledger_Sold_Generate extends Acc_Ledger_Sold
+{
+
+    /**
+     * @brief Show all the operation of ledger Sold=20
+     * @param$sql is the sql stmt, normally created by build_search_sql
+     * @param$offset the offset
+     * @param$p_paid if we want to see info about payment
+      \code
+      // Example
+      // Build the sql
+      list($sql,$where)=3D$Ledger->build_search_sql($_GET);
+      // Count nb of line
+      $max_line=3D$cn->count_sql($sql);
+
+      $step=3D$_SESSION['g_pagesize'];
+      $page=3D(isset($_GET['offset']))?$_GET['page']:1;
+      $offset=3D(isset($_GET['offset']))?$_GET['offset']:0;
+      // create the nav. bar
+      $bar=3Dnavigation_bar($offset,$max_line,$step,$page);
+      // show a part
+      list($count,$html)=3D $Ledger->list_operation($sql,$offset,0);
+      echo $html;
+      // show nav bar
+      echo $bar;
+
+      \endcode
+     * \see build_search_sql
+     * \see display_search_form
+     * \see search_form
+
+     * \return HTML string
+     */
+    public function list_operation($sql, $offset, $p_paid =3D 0)
+    {
+        global $g_parameter, $g_user;
+        bcscale(2);
+        $table =3D new Sort_Table();
+        $gDossier =3D dossier::id();
+        $amount_paid =3D 0.0;
+        $amount_unpaid =3D 0.0;
+        $limit =3D ($_SESSION['g_pagesize'] !=3D -1) ? " LIMIT " . $_SES=
SION['g_pagesize'] : "";
+        $offset =3D ($_SESSION['g_pagesize'] !=3D -1) ? " OFFSET " . Dat=
abase::escape_string($offset) : "";
+        $order =3D "  order by jr_date_order asc,jr_internal asc";
+        // Sort
+        $url =3D "?" . CleanUrl();
+        $str_dossier =3D dossier::get();
+        $table->add("Date", $url, 'order by jr_date asc,substring(jr_pj_=
number,\'[0-9]+$\')::numeric asc', 'order by  jr_date desc,substring(jr_p=
j_number,\'[0-9]+$\')::numeric desc', "da", "dd");
+        $table->add('Echeance', $url, " order by  jr_ech asc", " order b=
y  jr_ech desc", 'ea', 'ed');
+        $table->add('Paiement', $url, " order by  jr_date_paid asc", " o=
rder by  jr_date_paid desc", 'eap', 'edp');
+        $table->add('PJ', $url, ' order by  substring(jr_pj_number,\'[0-=
9]+$\')::numeric asc ', ' order by  substring(jr_pj_number,\'[0-9]+$\')::=
numeric desc ', "pja", "pjd");
+        $table->add('Tiers', $url, " order by  name asc", " order by  na=
me desc", 'na', 'nd');
+        $table->add('Montant', $url, " order by jr_montant asc", " order=
 by jr_montant desc", "ma", "md");
+        $table->add("Description", $url, "order by jr_comment asc", "ord=
er by jr_comment desc", "ca", "cd");
+
+        $ord =3D (!isset($_GET['ord'])) ? 'da' : $_GET['ord'];
+        $order =3D $table->get_sql_order($ord);
+
+        // Count
+        $count =3D $this->db->count_sql($sql);
+        // Add the limit
+        $sql.=3D$order . $limit . $offset;
+        // Execute SQL stmt
+        $Res =3D $this->db->exec_sql($sql);
+
+        //starting from here we can refactor, so that instead of returni=
ng the generated HTML,
+        //this function returns a tree structure.
+
+        $r =3D "";
+
+
+        $Max =3D Database::num_row($Res);
+
+        if ($Max =3D=3D 0)
+            return array(0, _("Aucun enregistrement trouv=C3=A9"));
+
+        $r.=3D'<table class=3D"result">';
+
+
+        $r.=3D"<tr >";
+        $r.=3D'<th>';
+        $r.=3DICheckbox::toggle_checkbox('sellall',"sel_sale_frm");
+        $r.=3D'</th>';
+        $r.=3D"<th>Internal</th>";
+        if ($this->type =3D=3D 'ALL')
+        {
+            $r.=3Dth('Journal');
+        }
+        $r.=3D'<th>' . $table->get_header(0) . '</th>';
+        $r.=3D'<th>' . $table->get_header(1) . '</td>';
+        $r.=3D'<th>' . $table->get_header(2) . '</th>';
+        $r.=3D'<th>' . $table->get_header(3) . '</th>';
+        $r.=3D'<th>' . $table->get_header(4) . '</th>';
+        $r.=3D'<th>' . $table->get_header(6) . '</th>';
+        $r.=3Dth('Notes', ' style=3D"width:15%"');
+        $r.=3D'<th>' . $table->get_header(5) . '</th>';
+        // if $p_paid is not equal to 0 then we have a paid column
+        if ($p_paid !=3D 0)
+        {
+            $r.=3D"<th> " . _('Pay=C3=A9') . "</th>";
+        }
+        $r.=3D"<th>" . _('Concerne') . "</th>";
+        $r.=3D"<th>" . _('Document') . "</th>";
+        $r.=3D"</tr>";
+        // Total Amount
+        $tot =3D 0.0;
+        $gDossier =3D dossier::id();
+        for ($i =3D 0; $i < $Max; $i++)
+        {
+
+
+            $row =3D Database::fetch_array($Res, $i);
+
+            if ($i % 2 =3D=3D 0)
+                $tr =3D '<TR class=3D"odd">';
+            else
+                $tr =3D '<TR class=3D"even">';
+            $r.=3D$tr;
+            $checkbox=3Dnew ICheckBox('sel_sale[]');
+            $checkbox->value=3D$row['jr_id'];
+            $r.=3Dtd($checkbox->input());
+            //internal code
+            // button  modify
+            $r.=3D"<TD>";
+            // If url contains
+            //
+
+            $href =3D basename($_SERVER['PHP_SELF']);
+
+
+            $r.=3Dsprintf('<A class=3D"detail" style=3D"text-decoration:=
underline" HREF=3D"javascript:modifyOperation(\'%s\',\'%s\')" >%s </A>', =
$row['jr_id'], $gDossier, $row['jr_internal']);
+            $r.=3D"</TD>";
+            if ($this->type =3D=3D 'ALL')
+                $r.=3Dtd($row['jrn_def_name']);
+            // date
+            $r.=3D"<TD>";
+            $r.=3D$row['str_jr_date'];
+            $r.=3D"</TD>";
+            // echeance
+            $r.=3D"<TD>";
+            $r.=3D$row['str_jr_ech'];
+            $r.=3D"</TD>";
+            $r.=3D"<TD>";
+            $r.=3D$row['str_jr_date_paid'];
+            $r.=3D"</TD>";
+
+            // pj
+            $r.=3D"<TD>";
+            $r.=3D$row['jr_pj_number'];
+            $r.=3D"</TD>";
+
+            // Tiers
+            $other =3D ($row['quick_code'] !=3D '') ? '[' . $row['quick_=
code'] . '] ' . $row['name'] . ' ' . $row['first_name'] : '';
+            $r.=3Dtd($other);
+            // comment
+            $r.=3D"<TD>";
+            $tmp_jr_comment =3D h($row['jr_comment']);
+            $r.=3D$tmp_jr_comment;
+            $r.=3D"</TD>";
+            $r.=3Dtd(h($row['n_text']), ' style=3D"font-size:0.87em%"');
+            // Amount
+            // If the ledger is financial :
+            // the credit must be negative and written in red
+            $positive =3D 0;
+
+            // Check ledger type :
+            if ($row['jrn_def_type'] =3D=3D 'FIN')
+            {
+                $positive =3D $this->db->get_value("select qf_amount fro=
m quant_fin where jr_id=3D$1", array($row['jr_id']));
+                if ($this->db->count() !=3D 0)
+                    $positive =3D ($positive < 0) ? 1 : 0;
+            }
+            $r.=3D"<TD align=3D\"right\">";
+            $t_amount =3D $row['jr_montant'];
+            if ($row['total_invoice'] !=3D null && $row['total_invoice']=
 !=3D $row['jr_montant'])
+                $t_amount =3D $row['total_invoice'];
+            $tot =3D ($positive !=3D 0) ? bcsub($tot, $t_amount) : bcadd=
($tot, $t_amount);
+            //STAN $positive always =3D=3D 0
+            if ($row ['jrn_def_type'] =3D=3D 'FIN')
+            {
+                $r.=3D( $positive !=3D 0 ) ? "<font color=3D\"red\">  - =
" . nbm($t_amount) . "</font>" : nbm($t_amount);
+            } else
+            {
+                $r.=3D( $t_amount < 0 ) ? "<font color=3D\"red\">  " . n=
bm($t_amount) . "</font>" : nbm($t_amount);
+            }
+            $r.=3D"</TD>";
+
+
+            // Show the paid column if p_paid is not null
+            if ($p_paid !=3D 0)
+            {
+                $w =3D new ICheckBox();
+                $w->name =3D "rd_paid" . $row['jr_id'];
+                $w->selected =3D ($row['jr_rapt'] =3D=3D 'paid') ? true =
: false;
+                // if p_paid =3D=3D 2 then readonly
+                $w->readonly =3D ( $p_paid =3D=3D 2) ? true : false;
+                $h =3D new IHidden();
+                $h->name =3D "set_jr_id" . $row['jr_id'];
+                $r.=3D'<TD>' . $w->input() . $h->input() . '</TD>';
+                if ($row['jr_rapt'] =3D=3D 'paid')
+                    $amount_paid =3D bcadd($amount_paid, $t_amount);
+                else
+                    $amount_unpaid =3D bcadd($amount_unpaid, $t_amount);
+            }
+
+            // Rapprochement
+            $rec =3D new Acc_Reconciliation($this->db);
+            $rec->set_jr_id($row['jr_id']);
+            $a =3D $rec->get();
+            $r.=3D"<TD>";
+            if ($a !=3D null)
+            {
+
+                foreach ($a as $key =3D> $element)
+                {
+                    $operation =3D new Acc_Operation($this->db);
+                    $operation->jr_id =3D $element;
+                    $l_amount =3D $this->db->get_value("select jr_montan=
t from jrn " .
+                            " where jr_id=3D$element");
+                    $r.=3D "<A class=3D\"detail\" HREF=3D\"javascript:mo=
difyOperation('" . $element . "'," . $gDossier . ")\" > " . $operation->g=
et_internal() . "[" . nbm($l_amount) . "]</A>";
+                }//for
+            }// if ( $a !=3D null ) {
+            $r.=3D"</TD>";
+
+            if ($row['jr_valid'] =3D=3D 'f')
+            {
+                $r.=3D"<TD> Op&eacute;ration annul&eacute;e</TD>";
+            } else
+            {
+               =20
+            } // else
+            //document
+            if ($row['jr_pj_name'] !=3D "")
+            {
+                $image =3D '<IMG SRC=3D"image/insert_table.gif" title=3D=
"' . $row['jr_pj_name'] . '" border=3D"0">';
+                $r.=3D"<TD>" . sprintf('<A class=3D"detail" HREF=3D"show=
_pj.php?jrn=3D%s&jr_grpt_id=3D%s&%s">%s</A>', $row['jrn_def_id'], $row['j=
r_grpt_id'], $str_dossier, $image)
+                        . "</TD>";
+            } else
+                $r.=3D"<TD></TD>";
+
+            // end row
+            $r.=3D"</tr>";
+        }
+        $amount_paid =3D round($amount_paid, 4);
+        $amount_unpaid =3D round($amount_unpaid, 4);
+        $tot =3D round($tot, 4);
+        $r.=3D"<TR>";
+        $r.=3D'<TD COLSPAN=3D"5">Total</TD>';
+        $r.=3D'<TD ALIGN=3D"RIGHT">' . nbm($tot) . "</TD>";
+        $r.=3D"</tr>";
+        if ($p_paid !=3D 0)
+        {
+            $r.=3D"<TR>";
+            $r.=3D'<TD COLSPAN=3D"5">Pay&eacute;</TD>';
+            $r.=3D'<TD ALIGN=3D"RIGHT">' . nbm($amount_paid) . "</TD>";
+            $r.=3D"</tr>";
+            $r.=3D"<TR>";
+            $r.=3D'<TD COLSPAN=3D"5">Non pay&eacute;</TD>';
+            $r.=3D'<TD ALIGN=3D"RIGHT">' . nbm($amount_unpaid) . "</TD>"=
;
+            $r.=3D"</tr>";
+        }
+        $r.=3D"</table>";
+
+        return array($count, $r);
+    }
+
+}

Added: trunk/invoicing/include/class_install_plugin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/class_install_plugin.php	                    =
    (rev 0)
+++ trunk/invoicing/include/class_install_plugin.php	2014-01-05 21:28:43 =
UTC (rev 646)
@@ -0,0 +1,83 @@
+<?php
+
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+/* $Revision$ */
+
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+/**\file
+ * \brief this class manages the installation and the patch of the plugi=
n
+ replace SKEL by the plugin schema
+ */
+
+class Install_Plugin
+{
+
+	function __construct($p_cn)
+	{
+		$this->cn =3D $p_cn;
+	}
+
+	/**
+	 * @brief install the plugin, create all the needed schema, tables, pro=
c
+	 * in the database
+	 * @param $p_dossier is the dossier id
+	 */
+	function install()
+	{
+		$this->cn->start();
+		// create the schema
+		$this->create_schema();
+		// create table + put default values
+		$this->create_table_parameter();
+		$this->cn->commit();
+	}
+
+	function create_schema()
+	{
+		$this->cn->exec_sql('create schema SKEL');
+	}
+
+	function create_table_parameter()
+	{
+		$sql =3D <<<EOF
+CREATE TABLE SKEL.parameter
+(
+  pr_id text NOT NULL,
+  pr_value text,
+  CONSTRAINT SKEL_parameter_pkey PRIMARY KEY (pr_id)
+ );
+EOF;
+		$this->cn->exec_sql($sql);
+// load default value
+		$array =3D array(
+			'GRIL00' =3D> array('6'),
+			'GRIL01' =3D> array('3'),
+			'GRIL02' =3D> array('2', ''),
+
+		);
+
+		foreach ($array as $code =3D> $value)
+		{
+			$this->cn->exec_sql('insert into SKEL.parameter(pr_id,pr_value,pr_oth=
er) values ($1,$2)', array($code, $value[0]));
+		}
+	}
+
+}
+

Added: trunk/invoicing/include/class_skel_parameter.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/class_skel_parameter.php	                    =
    (rev 0)
+++ trunk/invoicing/include/class_skel_parameter.php	2014-01-05 21:28:43 =
UTC (rev 646)
@@ -0,0 +1,75 @@
+<?php
+
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+/* $Revision$ */
+
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+/**
+ * @file
+ * @brief class for the table SKEL.parameter
+ * replace SKEL by the plugin schema
+ *
+ */
+class SKEL_Parameter
+{
+    // constructor
+    function __construct() {
+        $this->db=3D$p_cn;
+        $Res=3D$p_cn->exec_sql("select * from SKEL.parameter ");
+        for ($i =3D 0;$i < Database::num_row($Res);$i++)
+        {
+            $row=3DDatabase::fetch_array($Res,$i);
+            $key=3D$row['pr_id'];
+            $elt=3D$row['pr_value'];
+           =20
+            // store value here
+            $this->{"$key"}=3D$elt;
+        }
+
+    }
+    /*!
+     **************************************************
+     * \brief  save the parameter into the database by inserting or upda=
ting
+     *
+     *
+     * \param $p_attr give the attribut name
+     *
+     */
+    function save($p_option,$p_value)
+    {
+		global $cn;
+        // check if the parameter does exist
+        if ( $this->cn->get_value('select count(*) from SKEL.parameter w=
here pr_id=3D$1',array($p_option)) !=3D 0 )
+        {
+            $Res=3D$this->cn->exec_sql("update SKEL.parameter set pr_val=
ue=3D$1 where pr_id=3D$2",
+                                     array($p_value,$p_option));
+        }
+        else
+        {
+
+            $Res=3D$this->cn->exec_sql("insert into SKEL.parameter (pr_i=
d,pr_value) values( $1,$2)",
+                                     array($p_option,$p_value));
+
+        }
+
+    }
+
+}
+?>

Added: trunk/invoicing/include/invoice_generate.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_generate.inc.php	                    =
    (rev 0)
+++ trunk/invoicing/include/invoice_generate.inc.php	2014-01-05 21:28:43 =
UTC (rev 646)
@@ -0,0 +1,27 @@
+<?php
+
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+/**
+ * @file
+ * @brief=20
+ * @param type $name Descriptionara
+ */
+?>

Added: trunk/invoicing/include/invoice_send_mail.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_send_mail.inc.php	                   =
     (rev 0)
+++ trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-05 21:28:43=
 UTC (rev 646)
@@ -0,0 +1,27 @@
+<?php
+
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+/**
+ * @file
+ * @brief=20
+ * @param type $name Descriptionara
+ */
+?>

Added: trunk/invoicing/include/invoice_to_zip.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_to_zip.inc.php	                      =
  (rev 0)
+++ trunk/invoicing/include/invoice_to_zip.inc.php	2014-01-05 21:28:43 UT=
C (rev 646)
@@ -0,0 +1,76 @@
+<?php
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+/**
+ * @file
+ * @brief take all the invoices, create a large zip file and propose to =
download
+ * it
+ * @param sel_sale array of choosen jr_id
+ *=20
+ */
+//- create a tmp folder=20
+$dirname =3D tempnam($_ENV['TMP'], 'invoice');
+unlink($dirname);
+mkdir($dirname);
+$cn->start();
+$feedback =3D array();
+//--- take all the invoice
+foreach ($_GET['sel_sale'] as $key =3D> $value)
+{
+    $a_invoice =3D $cn->get_array("select jr_pj_name,jr_pj from jrn wher=
e jr_id =3D $1", array($value));
+    $invoice =3D $a_invoice[0];
+    if ($invoice['jr_pj_name'] !=3D "" && $invoice['jr_pj'] !=3D "")
+    {
+        $file =3D $dirname . '/' . $invoice['jr_pj_name'];
+        $cn->lo_export($invoice['jr_pj'], $file);
+        $feedback[] =3D _('Ajout facture ') . $invoice['jr_pj_name'];
+    }
+}
+// -- zip file
+$date =3D date('ymd.Hi');
+$zip_file =3D $_ENV['TMP'] . "/" . "invoice-" . $date . ".zip";
+
+// --- create the zip
+$zip =3D new Zip_Extended();
+$res =3D $zip->open($zip_file, ZipArchive::CREATE);
+if ($res !=3D true)
+{
+    var_dump($res);
+    exit();
+}
+$zip->add_recurse_folder($dirname . "/");
+$zip->close();
+//-- send the zip
+$link =3D http_build_query(array('gDossier' =3D> Dossier::id(), 'ac' =3D=
> $_REQUEST['ac'], 'plugin_code' =3D> $_REQUEST['plugin_code'], 'file' =3D=
> $zip_file));
+?>
+<p>
+<h2>
+    <?php echo _('Facture'); ?>
+</h2>
+<ol>
+    <?php foreach ($feedback as $row): ?>
+
+        <li>
+            <?php echo $row ?>
+        </li>
+    <?php endforeach; ?>
+</ol>
+</p>
+<a class=3D"detail" style=3D"display:inline;text-decoration: underline" =
href=3D"extension.raw.php?<?php echo $link; ?>"> <?php echo _('T=C3=A9l=C3=
=A9charger le fichier') ?></a>
\ No newline at end of file

Added: trunk/invoicing/include/invoicing.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoicing.inc.php	                        (re=
v 0)
+++ trunk/invoicing/include/invoicing.inc.php	2014-01-05 21:28:43 UTC (re=
v 646)
@@ -0,0 +1,129 @@
+<?php
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+require_once 'class_acc_ledger_sold_generate.php';
+$ledger =3D new Acc_Ledger_Sold_Generate($cn, -1);
+$_GET['ledger_type'] =3D 'VEN';
+//var_dump($_GET);
+$request =3D HtmlInput::default_value_get('action', -2);
+if ($request <> -2)
+{
+    if (!isset($_GET['sel_sale']))
+    {
+        echo h2("Rien n'a =C3=A9t=C3=A9 choisi", 'class=3D"notice"');
+    } else
+    {
+        switch ($request)
+        {
+            case 1:
+                // Download zip
+                require ('invoice_to_zip.inc.php');
+                break;
+            case 2:
+                // regenerer facture
+                require ('invoice_generate.inc.php');
+                break;
+            case 3:
+                // Envoi facture par email
+                require('invoice_send_mail.inc.php');
+                break;
+        }
+        exit();
+    }
+}
+echo $ledger->display_search_form();
+// Example
+// Build the sql
+list($sql, $where) =3D $ledger->build_search_sql($_GET);
+// Count nb of line
+$max_line =3D $cn->count_sql($sql);
+
+$offset =3D 0;
+// show a part
+list($count, $html) =3D $ledger->list_operation($sql, $offset, 0);
+
+// --- template Invoice  to generate --- //
+$document=3Dnew ISelect('document');
+$document->value=3D$cn->make_array('select md_id,md_name from document_m=
odele order by 2');
+
+$document_to_send=3Dnew ISelect('format_document');
+$document_to_send->value=3Darray(
+    array('value'=3D>'1','Convertire en PDF'),
+    array('value'=3D>'2','Envoi de la facture sans conversion en PDF')
+)
+?>
+<form method=3D"GET" id=3D"sel_sale_frm">
+    Ajouter dans le form les valeurs de la recherches
+    <?php
+    echo HtmlInput::request_to_hidden(array('gDossier', 'ac', 'plugin_co=
de'));
+    echo HtmlInput::request_to_hidden(array('date_start', 'date_end'));
+    echo HtmlInput::request_to_hidden(array('date_paid_start', 'date_pai=
d_end'));
+    echo HtmlInput::request_to_hidden(array('amount_min', 'amount_max'))=
;
+    echo HtmlInput::request_to_hidden(array('desc', 'qcode', 'accounting=
'));
+    echo HtmlInput::request_to_hidden(array('r_jrn'));
+    echo $html;
+    ?>
+    <ul style=3D"list-style-type: none">
+        <li>
+           =20
+            <input type=3D"radio" name=3D"action" value=3D"1"=20
+                   onclick=3D"$('invoice_div').hide();$('send_mail_div')=
.hide();">
+            <?php echo _('T=C3=A9l=C3=A9charger toutes les factures') ?>
+        </li>
+        <li>
+         =20
+            <input type=3D"radio" name=3D"action" value=3D"2"=20
+                   onclick=3D"$('invoice_div').show();$('send_mail_div')=
.hide();">
+              <?php echo _('G=C3=A9n=C3=A9rer les factures') ?>
+            <div id=3D"invoice_div" style=3D"display:none">
+                <?php echo _('Document =C3=A0 g=C3=A9n=C3=A9rer'); ?> : =
<?php echo $document->input(); ?>
+            </div>
+        </li>
+        <li>
+           =20
+            <input type=3D"radio" name=3D"action" value=3D"3"=20
+                   onclick=3D"$('invoice_div').hide();$('send_mail_div')=
.show();">
+            <?php echo _('Envoi des factures par email') ?>
+            <div id=3D"send_mail_div" style=3D"display:none">
+                <h2 class=3D"note"><?php echo _('Envoi uniquement =C3=A0=
 ceux ayant une adresse email et une facture')?> </h2>
+                <p>
+                    <input type=3D"checkbox" name=3D"pdf"> <?php echo _(=
'Conversion en PDF'); ?>
+                </p>
+                <p>
+                    <input type=3D"checkbox" name=3D"copy"> <?php echo _=
('Copie envoy=C3=A9e =C3=A0'); ?>
+                    <input type=3D"text" name=3D"email_copy" class=3D"in=
put_text">
+                </p>
+                <p>
+                    <?php echo _('Sujet')?> :=20
+                    <input type=3D"text" name=3D"email_subject" class=3D=
"input_text">
+                </p>
+                <p>
+                    <?php echo _('Message')?> :=20
+                    <textarea style=3D"vertical-align: top;width:23%;hei=
ght:10%" name=3D"message" class=3D"input_text">               </textarea>
+                </p>
+               =20
+            </div>
+        </li>
+    </ul>  =20
+    <p>
+        <?php
+        echo HtmlInput::submit('choice_sel', 'Ex=C3=A9cuter');
+        ?>
+    </p>
+</form>

Added: trunk/invoicing/index.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/index.php	                        (rev 0)
+++ trunk/invoicing/index.php	2014-01-05 21:28:43 UTC (rev 646)
@@ -0,0 +1,43 @@
+<?php
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+*/
+/* $Revision$ */
+
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+/*!\file
+ * \brief main file for tva
+ */
+
+/*
+ * load javascript
+ */
+
+ob_start();
+require_once('invoicing_javascript.js');
+$j=3Dob_get_contents();
+ob_end_clean();
+echo create_script($j);
+global $version_plugin;
+$version_plugin=3DSVNINFO;
+Extension::check_version(5500);
+require_once 'class_acc_ledger_sold.php';
+require_once 'include/invoicing.inc.php';
+require_once('class_zip_extended.php');
+
+?>

Added: trunk/invoicing/invoicing_constant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/invoicing_constant.php	                        (rev 0=
)
+++ trunk/invoicing/invoicing_constant.php	2014-01-05 21:28:43 UTC (rev 6=
46)
@@ -0,0 +1,17 @@
+<?php=20
+/**
+ *@file
+ *Contains all the needed variable for the plugin
+ *is name is plugin_name_constant.php
+ * You can use some globale variable, especially for the database
+ *  connection
+ */
+
+require_once ('class_database.php');
+
+global $cn,$g_SKEL_parameter;
+$cn=3Dnew Database (dossier::id());
+
+// document_type.dt_id, dt_value=3D'FACTURE'
+define ('DOCUMENT_TYPE',4);=20
+?>
\ No newline at end of file

Added: trunk/invoicing/invoicing_javascript.js
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/invoicing_javascript.js	                        (rev =
0)
+++ trunk/invoicing/invoicing_javascript.js	2014-01-05 21:28:43 UTC (rev =
646)
@@ -0,0 +1,142 @@
+/**
+ *javascript
+ */
+function add_material(dossier_id,plugin_code,target)
+{
+    var qs=3D"?gDossier=3D"+dossier_id+'&plugin_code=3D'+plugin_code+'&o=
p=3Dadd_mat&t=3D'+target;
+   =20
+    var action=3Dnew Ajax.Request ( 'ajax.php',
+				  {
+				      method:'get',
+				      parameters:qs,
+				      onFailure:error_ajax,
+				      onSuccess:success_add_material
+				  }
+				);
+    if ( $(target))=20
+    {
+	removeDiv(target);
+    }
+
+    var sx=3D0;
+    if ( window.scrollY)
+    {
+            sx=3Dwindow.scrollY+120;
+    }
+     else
+     {
+            sx=3Ddocument.body.scrollTop+120;
+     }
+    var str_style=3D"top:"+sx+";width:50%;height:70%";
+
+    var div=3D{id:target, cssclass:'inner_box',style:str_style,html:load=
ing()};
+   =20
+    add_div(div);
+
+}
+function display_material(dossier_id,f_id,plugin_code,target)
+{
+    var qs=3D"?gDossier=3D"+dossier_id+'&plugin_code=3D'+plugin_code+'&o=
p=3Ddisplay_modify&t=3D'+target+'&f=3D'+f_id;
+   =20
+    var action=3Dnew Ajax.Request ( 'ajax.php',
+				  {
+				      method:'get',
+				      parameters:qs,
+				      onFailure:error_ajax,
+				      onSuccess:success_add_material
+				  }
+				);
+    if ( $(target))=20
+    {
+	removeDiv(target);
+    }
+
+    var sx=3D0;
+    if ( window.scrollY)
+    {
+            sx=3Dwindow.scrollY+120;
+    }
+     else
+     {
+            sx=3Ddocument.body.scrollTop+120;
+     }
+    var str_style=3D"top:"+sx+";width:50%;height:auto";
+
+    var div=3D{id:target, cssclass:'inner_box',style:str_style,html:load=
ing()};
+   =20
+    add_div(div);
+
+}
+function success_add_material(req)
+{
+    fill_box(req);
+
+}
+function error_ajax() {
+    alert('Erreur ajax AMORTIS');
+}
+
+/**
+*Answer to a post (or get) in ajax
+*/
+function save_new_material(obj)
+{
+
+    var querystring=3D"?"+$(obj).serialize()+'&op=3Dsave_new_material&t=3D=
bxmat';
+
+    // Create a ajax request to get all the person
+    var action =3D new Ajax.Request ('ajax.php',
+				   {
+				       method: 'post',
+				       parameters: querystring,
+				       onFailure: error_ajax,
+				       onSuccess: success_save_new_material
+				   }
+                                  );
+
+    return false;  =20
+}
+
+function success_save_new_material(req)
+{
+    fill_box(req);
+    $('bxmat').style.height=3D'auto';
+}
+function save_modify(obj)
+{
+     var querystring=3D"?"+$(obj).serialize()+'&op=3Dsave_modify&t=3Dbxm=
at';
+
+    // Create a ajax request to get all the person
+    var action =3D new Ajax.Request ('ajax.php',
+				   {
+				       method: 'post',
+				       parameters: querystring,
+				       onFailure: error_ajax,
+				       onSuccess: success_save_modify
+				   }
+                                  );
+
+    return false;  =20
+  =20
+}
+function success_save_modify(req)
+{
+    fill_box(req);
+
+}
+function remove_mat(g_dossier,plugin_code,a_id)
+{
+    if ( ! confirm('Vous confirmez EFFACEMENT')) { return false;}
+    var qs=3D"?gDossier=3D"+g_dossier+"&plugin_code=3D"+plugin_code+"&a_=
id=3D"+a_id+"&op=3Drm&t=3Dbxmat";    =20
+    var action=3Dnew Ajax.Request ( 'ajax.php',
+				  {
+				      method:'get',
+				      parameters:qs,
+				      onFailure:error_ajax,
+				      onSuccess:success_add_material
+				  }
+				);
+=20
+
+  =20
+}
\ No newline at end of file

Added: trunk/invoicing/raw.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/raw.php	                        (rev 0)
+++ trunk/invoicing/raw.php	2014-01-05 21:28:43 UTC (rev 646)
@@ -0,0 +1,42 @@
+<?php
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+*/
+/* $Revision$ */
+
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+/*!\file
+ * \brief raw file for PDF ewa
+ */
+require_once('invoicing_constant.php');
+extract ($_REQUEST);
+$zip_file=3DHtmlInput::default_value_request('file','null');
+if ($zip_file=3D=3D'null')
+{
+    die ('No file asked');
+}
+echo filesize($zip_file);
+header('Content-type: application/zip');
+header('Content-Disposition: attachment; filename=3D"' . basename($file)=
);
+$h_file=3Dfopen($zip_file,"r");
+if ($h_file !=3D true) {
+    die ('cannot open file');
+}
+$buffer=3Dfread ($h_file,filesize($zip_file));
+echo $buffer;
+?>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 19:21:50 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Vzxx0-0006jy-7l
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 19:21:50 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 01:09:32 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154811.1388967709.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r647 - in trunk/invoicing: . include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 00:21:48 -0000

Author: danydb
Date: 2014-01-06 01:09:31 +0100 (Mon, 06 Jan 2014)
New Revision: 647

Modified:
   trunk/invoicing/include/invoice_generate.inc.php
   trunk/invoicing/include/invoice_send_mail.inc.php
   trunk/invoicing/include/invoice_to_zip.inc.php
   trunk/invoicing/include/invoicing.inc.php
   trunk/invoicing/index.php
   trunk/invoicing/raw.php
Log:
Add send by email and download zip

Modified: trunk/invoicing/include/invoice_generate.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_generate.inc.php	2014-01-05 21:28:43 =
UTC (rev 646)
+++ trunk/invoicing/include/invoice_generate.inc.php	2014-01-06 00:09:31 =
UTC (rev 647)
@@ -21,7 +21,8 @@
=20
 /**
  * @file
- * @brief=20
+ * @brief regenerate all the invoice
  * @param type $name Descriptionara
  */
+var_dump($_REQUEST);
 ?>

Modified: trunk/invoicing/include/invoice_send_mail.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-05 21:28:43=
 UTC (rev 646)
+++ trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 00:09:31=
 UTC (rev 647)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  *   This file is part of PhpCompta.
  *
@@ -23,5 +22,124 @@
  * @file
  * @brief=20
  * @param type $name Descriptionara
+  @note
+  array
+  'gDossier' =3D> string '27' (length=3D2)
+  'ac' =3D> string 'EXT/INVOICING' (length=3D13)
+  'plugin_code' =3D> string 'INVOICING' (length=3D9)
+  'sel_sale' =3D>
+  array
+  0 =3D> string '2871' (length=3D4)
+  'document' =3D> string '16' (length=3D2)
+  'action' =3D> string '3' (length=3D1)
+  'pdf' =3D> string 'on' (length=3D2)
+  'email_from' =3D> string 'copy@aevalys.eu' (length=3D15)
+  'email_subject' =3D> string 'Facture' (length=3D7)
+  'email_message' =3D> string 'Message test               ' (length=3D27=
)
+  'copy' =3D> string 'on' (length=3D2)
+  'choice_sel' =3D> string 'Ex=C3=A9cuter' (length=3D9)
+
+  @endnote
  */
+require_once 'class_sendmail.php';
+
+$from =3D HtmlInput::default_value_get('email_from', 'null');
+$subject =3D HtmlInput::default_value_get('email_subject', 'null');
+$message =3D HtmlInput::default_value_get('email_message', 'null');
+$copy =3D HtmlInput::default_value_get('email_copy', 'null');
+$pdf =3D HtmlInput::default_value_get('pdf', 'null');
+
+
+$feedback =3D array();
+$dirname =3D tempnam($_ENV['TMP'], 'invoice');
+unlink($dirname);
+umask(0);
+mkdir($dirname);
+$cn->start();
+foreach ($_GET['sel_sale'] as $key =3D> $value)
+{
+    $a_invoice =3D $cn->get_array("select jr_id,jr_pj_name,jr_pj,qs_clie=
nt=20
+            from jrn join quant_sold on (jr_internal=3Dqs_internal)=20
+            where jr_id =3D $1", array($value));
+    $invoice =3D $a_invoice[0];
+    $dest =3D new Fiche($cn, $invoice['qs_client']);
+    $dest_mail =3D $dest->strAttribut(ATTR_DEF_EMAIL);
+    $dest_name =3D $dest->strAttribut(ATTR_DEF_NAME);
+    $dest_qcode =3D $dest->strAttribut(ATTR_DEF_QUICKCODE);
+
+    /**
+     * Something to send
+     */
+    if ($invoice['jr_pj_name'] !=3D "" && $invoice['jr_pj'] !=3D "" && $=
dest_mail !=3D "" && $dest_mail !=3D NOTFOUND)
+    {
+        // -- send mail --//
+        $file =3D $dirname . '/' . $invoice['jr_pj_name'];
+        $cn->lo_export($invoice['jr_pj'], $file);
+        $filetosend =3D $file;
+        /*
+         * convert to PDF
+         */
+        if (GENERATE_PDF !=3D "YES" && $pdf !=3D 'null')
+        {
+            $feedback[] =3D _('Pas de conversion en PDF disponible');
+            continue;
+        }
+        if (GENERATE_PDF =3D=3D 'YES' && $pdf =3D=3D 'on')
+        {
+            // convert to PDF
+            $cn->lo_export($invoice['jr_pj'], $file);
+
+            // remove extension
+            $ext =3D strrpos($file, ".");
+            $filetosend =3D substr($file, 0, $ext);
+            $filetosend .=3D".pdf";
+
+            passthru(OFFICE . $file, $status);
+            if ($status =3D=3D 1)
+            {
+                $feedback[] =3D "Cannot convert to PDF , email not sent =
for " .
+                        $dest_mail . " qcode =3D " . $dest_qcode . " nam=
e =3D " . $dest_name;
+                continue;
+            }
+        }
+        $sendmail =3D new Sendmail();
+        $sendmail->set_from($from);
+        $to =3D $dest_mail;
+
+        if ($copy !=3D 'null')
+        {
+            $to =3D $dest_mail . ',' . $from;
+        }
+        $sendmail->mailto($from);
+        $sendmail->set_subject($subject);
+        $sendmail->set_message($message);
+        $ofile =3D new FileToSend($filetosend);
+        $sendmail->add_file($ofile);
+        $sendmail->compose();
+        try
+        {
+            $sendmail->send();
+            $feedback[] =3D _('Envoi facture ') . $invoice['jr_pj_name']=
 . _(' destinataire ') . $dest_qcode . " " . $dest_name . " " . $dest_mai=
l;
+        } catch (Exception $e)
+        {
+            $feedback[] =3D _('Envoi echou=C3=A9') . " $dest_qcode $dest=
_name $dest_mail";
+        }
+    } else if ($invoice['jr_pj_name'] !=3D "" || $invoice['jr_pj'] !=3D =
"")
+    {
+        $feedback[] =3D _('Aucune pi=C3=A8ce =C3=A0 envoyer') . " $dest_=
qcode $dest_name $dest_mail";
+    } else if ($dest_mail =3D=3D "")
+    {
+        $feedback[] =3D _('Aucune adresse email trouv=C3=A9e') . " $dest=
_qcode $dest_name $dest_mail";
+    }
+}
 ?>
+<ol>
+        <?php foreach ($feedback as $line): ?>
+
+        <li>
+        <?php echo $line; ?>
+        </li>
+<?php endforeach; ?>
+</ol>
+
+

Modified: trunk/invoicing/include/invoice_to_zip.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_to_zip.inc.php	2014-01-05 21:28:43 UT=
C (rev 646)
+++ trunk/invoicing/include/invoice_to_zip.inc.php	2014-01-06 00:09:31 UT=
C (rev 647)
@@ -52,13 +52,12 @@
 $res =3D $zip->open($zip_file, ZipArchive::CREATE);
 if ($res !=3D true)
 {
-    var_dump($res);
-    exit();
+    die("Cannot create zip file");
 }
 $zip->add_recurse_folder($dirname . "/");
 $zip->close();
 //-- send the zip
-$link =3D http_build_query(array('gDossier' =3D> Dossier::id(), 'ac' =3D=
> $_REQUEST['ac'], 'plugin_code' =3D> $_REQUEST['plugin_code'], 'file' =3D=
> $zip_file));
+$link =3D http_build_query(array('gDossier' =3D> Dossier::id(), 'ac' =3D=
> $_REQUEST['ac'], 'plugin_code' =3D> $_REQUEST['plugin_code'], 'file' =3D=
> basename($zip_file)));
 ?>
 <p>
 <h2>
@@ -73,4 +72,6 @@
     <?php endforeach; ?>
 </ol>
 </p>
-<a class=3D"detail" style=3D"display:inline;text-decoration: underline" =
href=3D"extension.raw.php?<?php echo $link; ?>"> <?php echo _('T=C3=A9l=C3=
=A9charger le fichier') ?></a>
\ No newline at end of file
+<p>
+<a class=3D"button" style=3D"display:inline;" href=3D"extension.raw.php?=
<?php echo $link; ?>"> <?php echo _('T=C3=A9l=C3=A9charger le fichier') ?=
></a>
+</p>
\ No newline at end of file

Modified: trunk/invoicing/include/invoicing.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoicing.inc.php	2014-01-05 21:28:43 UTC (re=
v 646)
+++ trunk/invoicing/include/invoicing.inc.php	2014-01-06 00:09:31 UTC (re=
v 647)
@@ -60,7 +60,7 @@
=20
 // --- template Invoice  to generate --- //
 $document=3Dnew ISelect('document');
-$document->value=3D$cn->make_array('select md_id,md_name from document_m=
odele order by 2');
+$document->value=3D$cn->make_array("select md_id,md_name from document_m=
odele where md_affect=3D'VEN' order by 2");
=20
 $document_to_send=3Dnew ISelect('format_document');
 $document_to_send->value=3Darray(
@@ -106,18 +106,22 @@
                     <input type=3D"checkbox" name=3D"pdf"> <?php echo _(=
'Conversion en PDF'); ?>
                 </p>
                 <p>
-                    <input type=3D"checkbox" name=3D"copy"> <?php echo _=
('Copie envoy=C3=A9e =C3=A0'); ?>
-                    <input type=3D"text" name=3D"email_copy" class=3D"in=
put_text">
+                    <?php echo _('Email envoy=C3=A9 par'); ?> :
+                     <input type=3D"text" name=3D"email_from" class=3D"i=
nput_text">
                 </p>
+               =20
                 <p>
                     <?php echo _('Sujet')?> :=20
                     <input type=3D"text" name=3D"email_subject" class=3D=
"input_text">
                 </p>
                 <p>
                     <?php echo _('Message')?> :=20
-                    <textarea style=3D"vertical-align: top;width:23%;hei=
ght:10%" name=3D"message" class=3D"input_text">               </textarea>
+                    <textarea style=3D"vertical-align: top;width:23%;hei=
ght:10%" name=3D"email_message" class=3D"input_text">               </tex=
tarea>
                 </p>
-               =20
+                <p>
+                    <input type=3D"checkbox" name=3D"copy"> <?php echo _=
("Envoyer copie =C3=A0 l'exp=C3=A9diteur"); ?>
+                  =20
+                </p>
             </div>
         </li>
     </ul>  =20

Modified: trunk/invoicing/index.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/index.php	2014-01-05 21:28:43 UTC (rev 646)
+++ trunk/invoicing/index.php	2014-01-06 00:09:31 UTC (rev 647)
@@ -39,5 +39,6 @@
 require_once 'class_acc_ledger_sold.php';
 require_once 'include/invoicing.inc.php';
 require_once('class_zip_extended.php');
-
+require_once 'class_sendmail.php';
+require_once 'class_filetosend.php';
 ?>

Modified: trunk/invoicing/raw.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/raw.php	2014-01-05 21:28:43 UTC (rev 646)
+++ trunk/invoicing/raw.php	2014-01-06 00:09:31 UTC (rev 647)
@@ -30,9 +30,11 @@
 {
     die ('No file asked');
 }
-echo filesize($zip_file);
+
+$zip_file=3D$_ENV['TMP']."/".$zip_file;
+
 header('Content-type: application/zip');
-header('Content-Disposition: attachment; filename=3D"' . basename($file)=
);
+header('Content-Disposition: attachment; filename=3D"' . $file);
 $h_file=3Dfopen($zip_file,"r");
 if ($h_file !=3D true) {
     die ('cannot open file');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 19:35:20 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzyA4-0001ZR-R7
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 19:35:20 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 01:23:12 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154820.1388968519.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r648 - trunk/invoicing/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 00:35:18 -0000

Author: danydb
Date: 2014-01-06 01:23:12 +0100 (Mon, 06 Jan 2014)
New Revision: 648

Modified:
   trunk/invoicing/include/invoice_send_mail.inc.php
   trunk/invoicing/include/invoicing.inc.php
Log:
Add security : subject and email from mandatory

Modified: trunk/invoicing/include/invoice_send_mail.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 00:09:31=
 UTC (rev 647)
+++ trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 00:23:12=
 UTC (rev 648)
@@ -21,25 +21,12 @@
 /**
  * @file
  * @brief=20
- * @param type $name Descriptionara
-  @note
-  array
-  'gDossier' =3D> string '27' (length=3D2)
-  'ac' =3D> string 'EXT/INVOICING' (length=3D13)
-  'plugin_code' =3D> string 'INVOICING' (length=3D9)
-  'sel_sale' =3D>
-  array
-  0 =3D> string '2871' (length=3D4)
-  'document' =3D> string '16' (length=3D2)
-  'action' =3D> string '3' (length=3D1)
-  'pdf' =3D> string 'on' (length=3D2)
-  'email_from' =3D> string 'copy@aevalys.eu' (length=3D15)
-  'email_subject' =3D> string 'Facture' (length=3D7)
-  'email_message' =3D> string 'Message test               ' (length=3D27=
)
-  'copy' =3D> string 'on' (length=3D2)
-  'choice_sel' =3D> string 'Ex=C3=A9cuter' (length=3D9)
-
-  @endnote
+ * @param email_from send of emails
+ * @param email_subject subject of email
+ * @param email_message text=20
+ * @param email_copy copy to sender
+ * @param pdf convert to pdf
+   @endnote
  */
 require_once 'class_sendmail.php';
=20
@@ -48,8 +35,12 @@
 $message =3D HtmlInput::default_value_get('email_message', 'null');
 $copy =3D HtmlInput::default_value_get('email_copy', 'null');
 $pdf =3D HtmlInput::default_value_get('pdf', 'null');
-
-
+if ($email_from =3D=3D "null") {
+    die (_("D=C3=A9sol=C3=A9 mais il faut donner l'email de celui qui en=
voie"));
+}
+if ($email_subject =3D=3D "null") {
+    die (_("Le sujet est obligatoire"));
+}
 $feedback =3D array();
 $dirname =3D tempnam($_ENV['TMP'], 'invoice');
 unlink($dirname);

Modified: trunk/invoicing/include/invoicing.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoicing.inc.php	2014-01-06 00:09:31 UTC (re=
v 647)
+++ trunk/invoicing/include/invoicing.inc.php	2014-01-06 00:23:12 UTC (re=
v 648)
@@ -68,7 +68,7 @@
     array('value'=3D>'2','Envoi de la facture sans conversion en PDF')
 )
 ?>
-<form method=3D"GET" id=3D"sel_sale_frm">
+<form method=3D"GET" id=3D"sel_sale_frm" onsubmit=3D"return verify_invoi=
cing()">
     Ajouter dans le form les valeurs de la recherches
     <?php
     echo HtmlInput::request_to_hidden(array('gDossier', 'ac', 'plugin_co=
de'));
@@ -97,7 +97,7 @@
         </li>
         <li>
            =20
-            <input type=3D"radio" name=3D"action" value=3D"3"=20
+            <input type=3D"radio" name=3D"action" id=3D"invoice_radio" v=
alue=3D"3"=20
                    onclick=3D"$('invoice_div').hide();$('send_mail_div')=
.show();">
             <?php echo _('Envoi des factures par email') ?>
             <div id=3D"send_mail_div" style=3D"display:none">
@@ -107,12 +107,14 @@
                 </p>
                 <p>
                     <?php echo _('Email envoy=C3=A9 par'); ?> :
-                     <input type=3D"text" name=3D"email_from" class=3D"i=
nput_text">
+                     <input type=3D"text" id=3D"email_from" name=3D"emai=
l_from" class=3D"input_text">
+                     <span class=3D"notice" id=3D"email_from_span"></spa=
n>
                 </p>
                =20
                 <p>
                     <?php echo _('Sujet')?> :=20
-                    <input type=3D"text" name=3D"email_subject" class=3D=
"input_text">
+                    <input type=3D"text" id=3D"email_subject" name=3D"em=
ail_subject" class=3D"input_text">
+                    <span class=3D"notice" id=3D"email_subject_span"></s=
pan>
                 </p>
                 <p>
                     <?php echo _('Message')?> :=20
@@ -131,3 +133,28 @@
         ?>
     </p>
 </form>
+<script>
+    function verify_invoicing()
+    {
+        if ($('invoice_radio').checked) {
+            if ($('email_from').value.trim()=3D=3D"") {
+                $('email_from').style.border=3D"solid 2px red";
+                $('email_from_span').innerHTML=3D" Obligatoire";
+                return false;
+            } else {
+                $('email_from_span').hide();
+                $('email_from').style.border=3D"";
+            }
+            if ($('email_subject').value.trim()=3D=3D"") {
+                $('email_subject').style.border=3D"solid 2px red";
+                $('email_subject_span').innerHTML=3D" Obligatoire";
+                return false;
+            }else {
+                $('email_subject_pan').hide();
+                $('email_subject').style.border=3D"";
+            }
+        }
+    }
+</script>
+   =20
+   =20
\ No newline at end of file



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 20:09:57 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzyhZ-0003xA-1v
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 20:09:57 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 01:57:46 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154827.1388970595.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r649 - trunk/invoicing/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 01:09:54 -0000

Author: danydb
Date: 2014-01-06 01:57:46 +0100 (Mon, 06 Jan 2014)
New Revision: 649

Modified:
   trunk/invoicing/include/invoice_send_mail.inc.php
Log:
fix unknow variable

Modified: trunk/invoicing/include/invoice_send_mail.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 00:23:12=
 UTC (rev 648)
+++ trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 00:57:46=
 UTC (rev 649)
@@ -35,10 +35,10 @@
 $message =3D HtmlInput::default_value_get('email_message', 'null');
 $copy =3D HtmlInput::default_value_get('email_copy', 'null');
 $pdf =3D HtmlInput::default_value_get('pdf', 'null');
-if ($email_from =3D=3D "null") {
+if ($from =3D=3D "null") {
     die (_("D=C3=A9sol=C3=A9 mais il faut donner l'email de celui qui en=
voie"));
 }
-if ($email_subject =3D=3D "null") {
+if ($subject =3D=3D "null") {
     die (_("Le sujet est obligatoire"));
 }
 $feedback =3D array();



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 20:24:26 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Vzyva-0001M5-4a
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 20:24:26 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 02:12:16 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154830.1388971464.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r650 - trunk/invoicing/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 01:24:24 -0000

Author: danydb
Date: 2014-01-06 02:12:15 +0100 (Mon, 06 Jan 2014)
New Revision: 650

Modified:
   trunk/invoicing/include/invoice_send_mail.inc.php
Log:
Fix=20

Modified: trunk/invoicing/include/invoice_send_mail.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 00:57:46=
 UTC (rev 649)
+++ trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 01:12:15=
 UTC (rev 650)
@@ -115,10 +115,10 @@
         {
             $feedback[] =3D _('Envoi echou=C3=A9') . " $dest_qcode $dest=
_name $dest_mail";
         }
-    } else if ($invoice['jr_pj_name'] !=3D "" || $invoice['jr_pj'] !=3D =
"")
+    } else if ($invoice['jr_pj_name'] =3D=3D "" || $invoice['jr_pj'] =3D=
=3D "")
     {
         $feedback[] =3D _('Aucune pi=C3=A8ce =C3=A0 envoyer') . " $dest_=
qcode $dest_name $dest_mail";
-    } else if ($dest_mail =3D=3D "")
+    } else if ($dest_mail =3D=3D "" || $dest_mail =3D=3D NOTFOUND )
     {
         $feedback[] =3D _('Aucune adresse email trouv=C3=A9e') . " $dest=
_qcode $dest_name $dest_mail";
     }



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 20:40:29 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzzB7-0005vF-LO
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 20:40:29 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 02:28:16 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154841.1388972426.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5640 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 01:40:25 -0000

Author: danydb
Date: 2014-01-06 02:28:16 +0100 (Mon, 06 Jan 2014)
New Revision: 5640

Modified:
   phpcompta/tags/rel671/include/class_sendmail.php
Log:
missing eol

Modified: phpcompta/tags/rel671/include/class_sendmail.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_sendmail.php	2014-01-04 15:34:00 =
UTC (rev 5639)
+++ phpcompta/tags/rel671/include/class_sendmail.php	2014-01-06 01:28:16 =
UTC (rev 5640)
@@ -120,6 +120,7 @@
             $headers .=3D "Content-Type: " . $file->type . "; name=3D\""=
 . $file->filename . "\"" . $eol;
             $headers .=3D "Content-Disposition: attachment; filename=3D\=
"" . $file->filename . "\"" . $eol;
             $headers .=3D "Content-Transfer-Encoding: base64" . $eol;
+            $header.=3D$eol;
             $headers .=3D $content . $eol . $eol;
         }
         $headers .=3D "--" . $separator . "--";



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 20:46:14 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzzGg-0008J9-RE
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 20:46:14 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 02:34:03 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154846.1388972771.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5641 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 01:46:10 -0000

Author: danydb
Date: 2014-01-06 02:34:03 +0100 (Mon, 06 Jan 2014)
New Revision: 5641

Modified:
   phpcompta/tags/rel671/include/class_sendmail.php
Log:
missing eol

Modified: phpcompta/tags/rel671/include/class_sendmail.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_sendmail.php	2014-01-06 01:28:16 =
UTC (rev 5640)
+++ phpcompta/tags/rel671/include/class_sendmail.php	2014-01-06 01:34:03 =
UTC (rev 5641)
@@ -120,7 +120,7 @@
             $headers .=3D "Content-Type: " . $file->type . "; name=3D\""=
 . $file->filename . "\"" . $eol;
             $headers .=3D "Content-Disposition: attachment; filename=3D\=
"" . $file->filename . "\"" . $eol;
             $headers .=3D "Content-Transfer-Encoding: base64" . $eol;
-            $header.=3D$eol;
+            $headers.=3D$eol;
             $headers .=3D $content . $eol . $eol;
         }
         $headers .=3D "--" . $separator . "--";



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 21:04:30 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzzYM-0006Ua-GO
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 21:04:30 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 02:52:15 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154853.1388973865.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5642 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 02:04:25 -0000

Author: danydb
Date: 2014-01-06 02:52:14 +0100 (Mon, 06 Jan 2014)
New Revision: 5642

Modified:
   phpcompta/tags/rel671/include/constant.php
Log:
update doc

Modified: phpcompta/tags/rel671/include/constant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/constant.php	2014-01-06 01:34:03 UTC (r=
ev 5641)
+++ phpcompta/tags/rel671/include/constant.php	2014-01-06 01:52:14 UTC (r=
ev 5642)
@@ -181,6 +181,8 @@
 /** -- pour utiliser unoconv d=C3=A9marrer un server libreoffice=20
  * commande
  * libreoffice --headless --accept=3D"socket,host=3D127.0.0.1,port=3D200=
2;urp;" --nofirststartwizard=20
+ * ou
+ *  unoconv -l -v -s localhost
  */
 define ('OFFICE','unoconv ');
 define ('GENERATE_PDF','YES');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 21:06:22 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzzaA-0006xz-4R
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 21:06:22 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 02:54:15 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154854.1388973981.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5643 - phpcompta/trunk/html/lang/en_US/LC_MESSAGES
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 02:06:20 -0000

Author: danydb
Date: 2014-01-06 02:54:15 +0100 (Mon, 06 Jan 2014)
New Revision: 5643

Modified:
   phpcompta/trunk/html/lang/en_US/LC_MESSAGES/messages.po
Log:
update translation

Modified: phpcompta/trunk/html/lang/en_US/LC_MESSAGES/messages.po
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/lang/en_US/LC_MESSAGES/messages.po	2014-01-06 01=
:52:14 UTC (rev 5642)
+++ phpcompta/trunk/html/lang/en_US/LC_MESSAGES/messages.po	2014-01-06 01=
:54:15 UTC (rev 5643)
@@ -1,16 +1,16 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package=
.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+# Translation file=20
+# Copyright (C) 2014
+# This file is distributed under the same license as the NOLAYSS package=
.
+# Dany De Bontridder <danydb@aevalys.eu>
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: NOALYSS 6.8\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2012-05-09 01:32+0200\n"
-"PO-Revision-Date: 2012-05-09 01:33+0100\n"
+"PO-Revision-Date: 2014-01-04 02:58+0100\n"
 "Last-Translator: Dany De Bontridder <dany@alchimerys.be>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language-Team: ENGLISH <danydb@noalyss.eu>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=3DUTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -8388,56 +8388,57 @@
 msgstr "Great ledger"
=20
 #: include/menu_translate.php:4
+#, fuzzy
 msgid "Grand livre d'plan analytique"
 msgstr ""
=20
 #: include/menu_translate.php:55
 msgid "Ecriture d'ouverture"
-msgstr ""
+msgstr "Opening"
=20
 #: include/menu_translate.php:56
 msgid "Historique achat"
-msgstr ""
+msgstr "Buy log"
=20
 #: include/menu_translate.php:57
 msgid "Courrier"
-msgstr ""
+msgstr "mail"
=20
 #: include/menu_translate.php:57
 msgid "Suivi, courrier, devis"
-msgstr ""
+msgstr "Follow up"
=20
 #: include/menu_translate.php:59
 msgid "Extensions (plugins)"
-msgstr ""
+msgstr "Plugin"
=20
 #: include/menu_translate.php:60
 msgid "Config. mod=C3=A8le de document"
-msgstr ""
+msgstr "Template of document parameters"
=20
 #: include/menu_translate.php:61
 msgid "journaux"
-msgstr ""
+msgstr "ledger"
=20
 #: include/menu_translate.php:61
 msgid "Configuration des journaux"
-msgstr ""
+msgstr "ledger parameter"
=20
 #: include/menu_translate.php:62
 msgid "Ecriture pr=C3=A9definie"
-msgstr ""
+msgstr "Predefined accounting"
=20
 #: include/menu_translate.php:62
 msgid "Gestion des op=C3=A9rations pr=C3=A9d=C3=A9finifies"
-msgstr ""
+msgstr "Manage predefined accounting"
=20
 #: include/menu_translate.php:63
 msgid "Menu avanc=C3=A9"
-msgstr ""
+msgstr "Menu Advanced"
=20
 #: include/menu_translate.php:64
 msgid "Compta Analytique"
-msgstr ""
+msgstr "Analytic accountancy"
=20
 #: include/menu_translate.php:64
 msgid "Module comptabilit=C3=A9 analytique"



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 21:06:53 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Vzzaf-0006yw-BF
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 21:06:53 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 02:54:44 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154857.1388974012.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5644 - in phpcompta/trunk: . html include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 02:06:51 -0000

Author: danydb
Date: 2014-01-06 02:54:44 +0100 (Mon, 06 Jan 2014)
New Revision: 5644

Modified:
   phpcompta/trunk/
   phpcompta/trunk/html/index.php
   phpcompta/trunk/html/style-light.css
   phpcompta/trunk/include/class_sendmail.php
   phpcompta/trunk/include/constant.php
Log:
Merged revisions 5638-5642 via svnmerge from=20
svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel671

........
  r5638 | danydb | 2013-12-30 16:32:36 +0100 (lun., 30 d?\195?\169c. 2013=
) | 1 line
 =20
  version
........
  r5639 | danydb | 2014-01-04 16:34:00 +0100 (sam., 04 janv. 2014) | 1 li=
ne
 =20
  Bug in style.css
........
  r5640 | danydb | 2014-01-06 02:28:16 +0100 (lun., 06 janv. 2014) | 1 li=
ne
 =20
  missing eol
........
  r5641 | danydb | 2014-01-06 02:34:03 +0100 (lun., 06 janv. 2014) | 1 li=
ne
 =20
  missing eol
........
  r5642 | danydb | 2014-01-06 02:52:14 +0100 (lun., 06 janv. 2014) | 1 li=
ne
 =20
  update doc
........



Property changes on: phpcompta/trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /phpcompta/tags/rel671:1-5636
   + /phpcompta/tags/rel671:1-5643

Modified: phpcompta/trunk/html/index.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/index.php	2014-01-06 01:54:15 UTC (rev 5643)
+++ phpcompta/trunk/html/index.php	2014-01-06 01:54:44 UTC (rev 5644)
@@ -189,7 +189,7 @@
=20
 echo '
 <span style=3D"background-color:#879ed4;color:white;padding-left:4px;pad=
ding-right:4px;">
-version  6.7 SVNINFO - '.$my_domain.'
+version  6.7.1 SVNINFO - '.$my_domain.'
 </span>
 <BR>
 <BR>

Modified: phpcompta/trunk/html/style-light.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style-light.css	2014-01-06 01:54:15 UTC (rev 564=
3)
+++ phpcompta/trunk/html/style-light.css	2014-01-06 01:54:44 UTC (rev 564=
4)
@@ -962,16 +962,7 @@
=20
=20
 }
-div#div_jrn{
-    position:absolute;
-    border:1px solid black;
-    top:15%;left:100;
-    visibility:hidden;
-    z-index:2;
-    width:50em;
-    background-color:#EDF3FF;
=20
-}
 div#div_cat{
     position:absolute;
     border:1px solid black;

Modified: phpcompta/trunk/include/class_sendmail.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_sendmail.php	2014-01-06 01:54:15 UTC (r=
ev 5643)
+++ phpcompta/trunk/include/class_sendmail.php	2014-01-06 01:54:44 UTC (r=
ev 5644)
@@ -120,6 +120,7 @@
             $headers .=3D "Content-Type: " . $file->type . "; name=3D\""=
 . $file->filename . "\"" . $eol;
             $headers .=3D "Content-Disposition: attachment; filename=3D\=
"" . $file->filename . "\"" . $eol;
             $headers .=3D "Content-Transfer-Encoding: base64" . $eol;
+            $headers.=3D$eol;
             $headers .=3D $content . $eol . $eol;
         }
         $headers .=3D "--" . $separator . "--";

Modified: phpcompta/trunk/include/constant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/constant.php	2014-01-06 01:54:15 UTC (rev 564=
3)
+++ phpcompta/trunk/include/constant.php	2014-01-06 01:54:44 UTC (rev 564=
4)
@@ -181,6 +181,8 @@
 /** -- pour utiliser unoconv d=C3=A9marrer un server libreoffice=20
  * commande
  * libreoffice --headless --accept=3D"socket,host=3D127.0.0.1,port=3D200=
2;urp;" --nofirststartwizard=20
+ * ou
+ *  unoconv -l -v -s localhost
  */
 define ('OFFICE','unoconv ');
 define ('GENERATE_PDF','YES');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 21:20:03 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzznO-0003l5-BI
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 21:20:03 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 03:07:49 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154868.1388974800.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r651 - trunk/invoicing/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 02:20:00 -0000

Author: danydb
Date: 2014-01-06 03:07:49 +0100 (Mon, 06 Jan 2014)
New Revision: 651

Modified:
   trunk/invoicing/include/invoice_send_mail.inc.php
Log:
Fix email

Modified: trunk/invoicing/include/invoice_send_mail.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 01:12:15=
 UTC (rev 650)
+++ trunk/invoicing/include/invoice_send_mail.inc.php	2014-01-06 02:07:49=
 UTC (rev 651)
@@ -99,9 +99,9 @@
=20
         if ($copy !=3D 'null')
         {
-            $to =3D $dest_mail . ',' . $from;
+            $dest_mail=3D $dest_mail . ',' . $from;
         }
-        $sendmail->mailto($from);
+        $sendmail->mailto($dest_mail);
         $sendmail->set_subject($subject);
         $sendmail->set_message($message);
         $ofile =3D new FileToSend($filetosend);



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 05 21:26:03 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1VzztC-0006kf-Q2
	for mharc-phpcompta-dev@gnu.org; Sun, 05 Jan 2014 21:26:02 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  6 Jan 2014 03:13:48 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.154869.1388975161.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r652 - trunk/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jan 2014 02:26:00 -0000

Author: danydb
Date: 2014-01-06 03:13:47 +0100 (Mon, 06 Jan 2014)
New Revision: 652

Modified:
   trunk/rapport_avance/include/class_rapav_listing_compute_fiche.php
Log:
compose mail

Modified: trunk/rapport_avance/include/class_rapav_listing_compute_fiche.=
php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/include/class_rapav_listing_compute_fiche.php	20=
14-01-06 02:07:49 UTC (rev 651)
+++ trunk/rapport_avance/include/class_rapav_listing_compute_fiche.php	20=
14-01-06 02:13:47 UTC (rev 652)
@@ -531,7 +531,7 @@
         $result =3D "";
         $this->lf_email_send_date =3D date('Y.m.d H:i');
=20
-        if ($email =3D=3D "")
+        if ($email =3D=3D "" || $email =3D=3D NOTFOUND )
         {
             $result =3D $fiche->strAttribut(ATTR_DEF_QUICKCODE) . " n'a =
pas d'email ";
=20
@@ -595,6 +595,7 @@
         $cn->commit();
         try
         {
+            $mail->compose();
             $mail->send();
             $result =3D $fiche->strAttribut(ATTR_DEF_QUICKCODE) . ' mess=
age envoy=C3=A9 email : ' . $fiche->strAttribut(ATTR_DEF_EMAIL);
             $this->lf_email_send_result=3D$result;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Jan 07 12:07:12 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W0a7U-0003Vy-F6
	for mharc-phpcompta-dev@gnu.org; Tue, 07 Jan 2014 12:07:12 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  7 Jan 2014 17:54:57 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.156723.1389114430.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5645 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 17:07:09 -0000

Author: danydb
Date: 2014-01-07 17:54:56 +0100 (Tue, 07 Jan 2014)
New Revision: 5645

Modified:
   phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
Log:
Rewrite and have one row by ND
Task #960 - TVA ND & comptabilit?\195?\169 analytique

Modified: phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
6 01:54:44 UTC (rev 5644)
+++ phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
7 16:54:56 UTC (rev 5645)
@@ -259,8 +259,146 @@
             throw new Exception(_('Il n\'y a aucune marchandise'),12);
=20
     }
+    /**
+     *=20
+     * @param Acc_Compute $p_nd_amount
+     * @param Fiche $p_fiche
+     * @param type $p_tva_both
+     */
+    private function compute_no_deductible(Acc_Compute $p_nd_amount, Fic=
he $p_fiche, $p_tva_both)
+    {
=20
+        if (!$p_fiche->empty_attribute(ATTR_DEF_DEPENSE_NON_DEDUCTIBLE))
+        {
+            $p_nd_amount->amount_nd_rate =3D $p_fiche->strAttribut(ATTR_=
DEF_DEPENSE_NON_DEDUCTIBLE);
+            $p_nd_amount->compute_nd();
+        }
=20
+        if (!$p_fiche->empty_attribute(ATTR_DEF_DEP_PRIV))
+        {
+            $p_nd_amount->amount_perso_rate =3D $p_fiche->strAttribut(AT=
TR_DEF_DEP_PRIV);
+            $p_nd_amount->compute_perso();
+        }
+
+        if (!$p_fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIBLE) && $=
tva_both =3D=3D 0)
+        {
+            $p_nd_amount->nd_vat_rate =3D $p_fiche->strAttribut(ATTR_DEF=
_TVA_NON_DEDUCTIBLE);
+            $p_nd_amount->compute_nd_vat();
+        }
+        if (!$p_fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP=
) && $p_tva_both =3D=3D 0)
+        {
+            $p_nd_amount->nd_ded_vat_rate =3D $p_fiche->strAttribut(ATTR=
_DEF_TVA_NON_DEDUCTIBLE_RECUP);
+            $p_nd_amount->compute_ndded_vat();
+        }
+    }
+    /**
+     *=20
+     * @param Acc_Compute $p_nd_amount
+     * @param Fiche $p_fiche
+     * @param type $p_tva_both
+     * @param type $p_tot_debit
+     */
+    private function insert_no_deductible(Acc_Compute $p_nd_amount, Fich=
e $p_fiche, $p_tva_both,&$p_tot_debit,$p_acc_operation)
+    {
+        $p_nd_amount->correct();
+        /*
+         * Save all the no deductible
+         *     ATTR_DEF_ACCOUNT_ND_TVA,ATTR_DEF_ACCOUNT_ND_TVA_ND,ATTR_D=
EF_ACCOUNT_ND_PERSO,ATTR_DEF_ACCOUNT_ND
+         */
+        if ($p_nd_amount->amount_nd_rate !=3D 0)
+        {
+            $dna_default =3D new Acc_Parm_Code($this->db, 'DNA');
+
+            /* save op. */
+            if (!$p_Fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND))
+            {
+                $dna =3D $p_Fiche->strAttribut(ATTR_DEF_ACCOUNT_ND);
+            } else
+            {
+                $dna =3D $dna_default->p_value;
+            }
+            $dna =3D ($dna =3D=3D '') ? $dna_default->p_value : $dna;
+
+            $p_acc_operation->type =3D 'd';
+            $p_acc_operation->amount =3D $p_nd_amount->amount_nd_rate ;
+            $p_acc_operation->poste =3D $dna;
+            $p_acc_operation->qcode =3D '';
+
+            if ($p_nd_amount->amount_nd_rate > 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_nd_rate);
+            $j_id =3D $p_acc_operation->insert_jrnx();
+        }
+        /*
+         * ATTR_DEF_ACCOUNT_ND_PERSO
+         */
+        if ($p_nd_amount->amount_perso !=3D 0)
+        {
+            $dna_default =3D new Acc_Parm_Code($this->db, 'DEP_PRIV');
+
+            /* save op. */
+            $p_acc_operation->type =3D 'd';
+            if (!$p_fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_PERSO))
+            {
+                $dna =3D $p_fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_PERSO=
);
+            } else
+            {
+                $dna =3D $dna_default->p_value;
+            }
+            $dna =3D ($dna =3D=3D '') ? $dna_default->p_value : $dna;
+
+            $p_acc_operation->amount =3D $p_nd_amount->amount_perso ;
+            $p_acc_operation->poste =3D $dna;
+            $p_acc_operation->qcode =3D '';
+            if ($p_nd_amount->amount_perso> 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_perso);
+            $j_id =3D $p_acc_operation->insert_jrnx();
+        }
+        if ($p_nd_amount->nd_vat !=3D 0)
+        {
+            $dna_default =3D new Acc_Parm_Code($this->db, 'TVA_DNA');
+
+            /* save op. */
+            $p_acc_operation->type =3D 'd';
+            $p_acc_operation->qcode =3D '';
+            if (!$p_fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_TVA_ND) &=
& $p_tva_both =3D=3D 0)
+            {
+                $dna =3D $p_fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_TVA_N=
D);
+            } else
+            {
+                $dna =3D $dna_default->p_value;
+            }
+            $dna =3D ($dna =3D=3D '') ? $dna_default->p_value : $dna;
+
+            $p_acc_operation->amount =3D $p_nd_amount->nd_vat;
+            $p_acc_operation->poste =3D $dna;
+           =20
+            $j_id =3D $p_acc_operation->insert_jrnx();
+        }
+        if ($p_nd_amount->nd_ded_vat !=3D 0)
+        {
+            $dna_default =3D new Acc_Parm_Code($this->db, 'TVA_DED_IMPOT=
');
+            /* save op. */
+            if (!$p_fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_TVA) && $=
p_tva_both =3D=3D 0)
+            {
+                $dna =3D $p_fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_TVA);
+            } else
+            {
+                $dna =3D $dna_default->p_value;
+            }
+            $dna =3D ($dna =3D=3D '') ? $dna_default->value : $dna;
+
+
+
+            $p_acc_operation->type =3D 'd';
+            $p_acc_operation->qcode =3D '';
+            $p_acc_operation->amount =3D $p_nd_amount->nd_ded_vat;
+            $p_acc_operation->poste =3D $dna;
+            if ($p_nd_amount->nd_ded_vat > 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->nd_de=
d_vat);
+            $j_id =3D $p_acc_operation->insert_jrnx();
+        }
+    }
+
     /*!\brief insert into the database, it calls first the verify functi=
on
      * change the value of this->jr_id and this->jr_internal.
      * It generates the document and save the middle of payment, if 'gen=
_invoice is set
@@ -346,11 +484,9 @@
             /* Save all the items without vat and no deductible vat and =
expense*/
             for ($i=3D0;$i< $nb_item;$i++)
             {
-				$n_both=3D0;
+		$n_both=3D0;
                 if ( strlen(trim(${'e_march'.$i})) =3D=3D 0 ) continue;
-           /*     if ( ${'e_march'.$i.'_price'} =3D=3D 0 ) continue;
-                if ( ${'e_quant'.$i} =3D=3D 0 ) continue;
-*/
+
                 /* First we save all the items without vat */
                 $fiche=3Dnew Fiche($this->db);
                 $fiche->get_by_qcode(${"e_march".$i});
@@ -364,12 +500,24 @@
                     $oTva->load();
 					$tva_both=3D$oTva->get_parameter("both_side");
                 }
-
+                /* -- Create acc_operation -- */
+                $acc_operation=3Dnew Acc_Operation($this->db);
+                $acc_operation->date=3D$e_date;
+                $acc_operation->grpt=3D$seq;
+                $acc_operation->jrn=3D$p_jrn;
+                $acc_operation->type=3D'd';
+                $acc_operation->periode=3D$tperiode;
+                $acc_operation->qcode=3D"";
+               =20
+               =20
                 /* We have to compute all the amount thanks Acc_Compute =
*/
                 $amount=3Dbcmul(${'e_march'.$i.'_price'},${'e_quant'.$i}=
);
+               =20
                 $acc_amount=3Dnew Acc_Compute();
                 $acc_amount->check=3Dfalse;
                 $acc_amount->set_parameter('amount',$amount);
+               =20
+               =20
                 if ( $g_parameter->MY_TVA_USE=3D=3D'Y')
                 {
                     $acc_amount->set_parameter('amount_vat_rate',$oTva->=
get_parameter('rate'));
@@ -386,54 +534,17 @@
                     if ($tva_both=3D=3D0) $tot_tva=3Dbcadd($tot_tva,$acc=
_amount->amount_vat);
                 }
=20
-                $acc_operation=3Dnew Acc_Operation($this->db);
-                $acc_operation->date=3D$e_date;
-                $acc_operation->grpt=3D$seq;
-                $acc_operation->jrn=3D$p_jrn;
-                $acc_operation->type=3D'd';
-                $acc_operation->periode=3D$tperiode;
-                $acc_operation->qcode=3D"";
-                if ( $g_parameter->MY_UPDLAB=3D=3D'Y')
-                    $acc_operation->desc=3Dstrip_tags(${"e_march".$i."_l=
abel"});
-                else
-                    $acc_operation->desc=3Dnull;
+              =20
+                /* compute ND */
+                $this->compute_no_deductible($acc_amount, $fiche, $tva_b=
oth);
=20
+                /* insert ND */
+                $this->insert_no_deductible($acc_amount, $fiche, $tva_bo=
th, $tot_debit,$acc_operation);
=20
=20
+             =20
+                $tot_amount=3Dbcadd($tot_amount,$amount);
=20
-                if ( ! $fiche->empty_attribute(ATTR_DEF_DEPENSE_NON_DEDU=
CTIBLE))
-                {
-                    $acc_amount->amount_nd_rate=3D$fiche->strAttribut(AT=
TR_DEF_DEPENSE_NON_DEDUCTIBLE);
-                    $acc_amount->compute_nd();
-                    $tot_nd+=3D$acc_amount->amount_nd;
-
-                }
-
-                if ( ! $fiche->empty_attribute(ATTR_DEF_DEP_PRIV))
-                {
-                    $acc_amount->amount_perso_rate=3D$fiche->strAttribut=
(ATTR_DEF_DEP_PRIV);
-                    $acc_amount->compute_perso();
-                    $tot_perso+=3D$acc_amount->amount_perso;
-                }
-
-                if ( ! $fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIB=
LE) && $tva_both=3D=3D0)
-                {
-                    $acc_amount->nd_vat_rate=3D$fiche->strAttribut(ATTR_=
DEF_TVA_NON_DEDUCTIBLE);
-                    $acc_amount->compute_nd_vat();
-                    $tot_tva_nd+=3D$acc_amount->nd_vat;
-                    /* save op. */
-
-                }
-                if ( ! $fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIB=
LE_RECUP) && $tva_both=3D=3D0)
-                {
-                    $acc_amount->nd_ded_vat_rate=3D$fiche->strAttribut(A=
TTR_DEF_TVA_NON_DEDUCTIBLE_RECUP);
-                    $acc_amount->compute_ndded_vat();
-                    /* save op. */
-                    $tot_tva_ndded+=3D$acc_amount->nd_ded_vat;
-                }
-                $acc_amount->correct();
-                $tot_amount+=3D$amount;
-
                 /* get the account and explode if necessary */
                 $sposte=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT);
                 // if 2 accounts, take only the debit one for customer
@@ -446,21 +557,24 @@
                 {
                     $poste_val=3D$sposte;
                 }
-
+                if ( $g_parameter->MY_UPDLAB=3D=3D'Y')
+                    $acc_operation->desc=3Dstrip_tags(${"e_march".$i."_l=
abel"});
+                else
+                    $acc_operation->desc=3Dnull;
                 $acc_operation->poste=3D$poste_val;
                 $acc_operation->amount=3D$acc_amount->amount;
                 $acc_operation->qcode=3D${"e_march".$i};
                 if( $acc_amount->amount > 0 ) $tot_debit=3Dbcadd($tot_de=
bit,$acc_amount->amount);
                 $j_id=3D$acc_operation->insert_jrnx();
=20
+               =20
                 /* Compute sum vat */
-
                 if ( $g_parameter->MY_TVA_USE=3D=3D'Y')
                 {
                     $tva_item=3D$acc_amount->amount_vat;
=20
                     if (isset($tva[$idx_tva] ) )
-                        $tva[$idx_tva]+=3D$tva_item;
+                        $tva[$idx_tva]=3Dbcadd($tva[$idx_tva],$tva_item)=
;
                     else
                         $tva[$idx_tva]=3D$tva_item;
=20
@@ -508,7 +622,7 @@
                                            ",".$acc_amount->amount_nd.  =
   /* 8 */
                                            ",".$acc_amount->nd_vat.	    =
 /* 9 */
                                            ",".$acc_amount->nd_ded_vat. =
   /* 10 */
-                                           ",".$acc_amount->amount_perso=
.  /* 11 */
+                                           ",".$acc_amount->amount_perso=
.  /* 11 */=20
                                            ",'".$e_client."',".$n_both."=
)");	     /* 12 */
=20
                 }
@@ -546,108 +660,8 @@
             if ( $cust_amount < 0 )
 				$tot_debit=3Dbcadd($tot_debit,abs($cust_amount));
             $let_client=3D$acc_operation->insert_jrnx();
-            /*
-             * Save all the no deductible
-	     *     ATTR_DEF_ACCOUNT_ND_TVA,ATTR_DEF_ACCOUNT_ND_TVA_ND,ATTR_DEF_=
ACCOUNT_ND_PERSO,ATTR_DEF_ACCOUNT_ND
-             */
-            if ( $tot_nd !=3D 0)
-            {
-		  $dna_default=3Dnew Acc_Parm_Code($this->db,'DNA');
+           =20
=20
-                /* save op. */
-	      if ( ! $fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND))
-		{
-		  $dna=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT_ND);
-		}
-	      else
-		{
-		  $dna=3D$dna_default->p_value;
-		}
-	      $dna=3D($dna=3D=3D'')?$dna_default->p_value:$dna;
-
-                $acc_operation->type=3D'd';
-                $acc_operation->amount=3D$tot_nd;
-                $acc_operation->poste=3D$dna;
-                $acc_operation->qcode=3D'';
-                if ( $tot_nd > 0 ) $tot_debit=3Dbcadd($tot_debit,$tot_nd=
);
-                $j_id=3D$acc_operation->insert_jrnx();
-
-            }
-	    /*
-	     *ATTR_DEF_ACCOUNT_ND_PERSO
-	     */
-            if ( $tot_perso !=3D 0)
-            {
-	      $dna_default=3Dnew Acc_Parm_Code($this->db,'DEP_PRIV');
-
-                /* save op. */
-                $acc_operation->type=3D'd';
-		if ( ! $fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_PERSO))
-		  {
-		    $dna=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_PERSO);
-		  }
-		else
-		  {
-		    $dna=3D$dna_default->p_value;
-		  }
-		$dna=3D($dna=3D=3D'')?$dna_default->p_value:$dna;
-
-                $acc_operation->amount=3D$tot_perso;
-                $acc_operation->poste=3D$dna;
-                $acc_operation->qcode=3D'';
-                if ( $tot_perso > 0 ) $tot_debit=3Dbcadd($tot_debit,$tot=
_perso);
-                $j_id=3D$acc_operation->insert_jrnx();
-
-            }
-            if ( $tot_tva_nd !=3D 0)
-            {
-	      $dna_default=3Dnew Acc_Parm_Code($this->db,'TVA_DNA');
-
-                /* save op. */
-                $acc_operation->type=3D'd';
-                $acc_operation->qcode=3D'';
-	      if ( ! $fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_TVA_ND) && $tv=
a_both=3D=3D0)
-		{
-		  $dna=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_TVA_ND);
-		}
-	      else
-		{
-		  $dna=3D$dna_default->p_value;
-		}
-	      $dna=3D($dna=3D=3D'')?$dna_default->p_value:$dna;
-
-                $acc_operation->amount=3D$tot_tva_nd;
-                $acc_operation->poste=3D$dna;
-                if ( $tot_tva_nd > 0 ) $tot_debit=3Dbcadd($tot_debit,$to=
t_tva_nd);
-                $j_id=3D$acc_operation->insert_jrnx();
-
-            }
-            if ( $tot_tva_ndded !=3D 0)
-            {
-	      $dna_default=3Dnew Acc_Parm_Code($this->db,'TVA_DED_IMPOT');
-                /* save op. */
-	      if ( ! $fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_TVA) && $tva_b=
oth=3D=3D0)
-		{
-		  $dna=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_TVA);
-		}
-	      else
-		{
-		  $dna=3D$dna_default->p_value;
-		}
-	      $dna=3D($dna=3D=3D'')?$dna_default->value:$dna;
-
-
-
-                $acc_operation->type=3D'd';
-                $acc_operation->qcode=3D'';
-                $acc_operation->amount=3D$tot_tva_ndded;
-                $acc_operation->poste=3D$dna;
-                if ( $tot_tva_ndded > 0 ) $tot_debit=3Dbcadd($tot_debit,=
$tot_tva_ndded);
-                $j_id=3D$acc_operation->insert_jrnx();
-
-
-            }
-
             if ( $g_parameter->MY_TVA_USE=3D=3D'Y')
             {
                 /* save all vat



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Jan 07 12:13:42 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W0aDm-0000FE-Hr
	for mharc-phpcompta-dev@gnu.org; Tue, 07 Jan 2014 12:13:42 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  7 Jan 2014 18:01:31 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.156733.1389114821.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5646 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 17:13:41 -0000

Author: danydb
Date: 2014-01-07 18:01:31 +0100 (Tue, 07 Jan 2014)
New Revision: 5646

Modified:
   phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
Log:
Rewrite and have one row by ND : add documentation 2 new private function=
 : compute_no_deductible & insert_no_deductible
Task #960 - TVA ND & comptabilit?\195?\169 analytique

Modified: phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
7 16:54:56 UTC (rev 5645)
+++ phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
7 17:01:31 UTC (rev 5646)
@@ -260,10 +260,12 @@
=20
     }
     /**
+     * Compute the ND amount thanks the attribute of the concerned card.=
 The object=20
+     * $p_nd_amount will changed
      *=20
-     * @param Acc_Compute $p_nd_amount
-     * @param Fiche $p_fiche
-     * @param type $p_tva_both
+     * @param Acc_Compute $p_nd_amount object with ND amount
+     * @param Fiche $p_fiche Concerned Card (purchase items)
+     * @param type $p_tva_bot 0 TVA on one side, 1 TVA on both side
      */
     private function compute_no_deductible(Acc_Compute $p_nd_amount, Fic=
he $p_fiche, $p_tva_both)
     {
@@ -292,11 +294,11 @@
         }
     }
     /**
-     *=20
-     * @param Acc_Compute $p_nd_amount
-     * @param Fiche $p_fiche
-     * @param type $p_tva_both
-     * @param type $p_tot_debit
+     * Insert into JRNX the No Deductible amount
+     * @param Acc_Compute $p_nd_amount content ND amount
+     * @param Fiche $p_fiche Card of the Service
+     * @param type $p_tva_both  0 if TVA is normal or 1 if on both side
+     * @param type $p_tot_debit total debit
      */
     private function insert_no_deductible(Acc_Compute $p_nd_amount, Fich=
e $p_fiche, $p_tva_both,&$p_tot_debit,$p_acc_operation)
     {



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Jan 07 12:28:17 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W0aRt-0007XX-5H
	for mharc-phpcompta-dev@gnu.org; Tue, 07 Jan 2014 12:28:17 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  7 Jan 2014 18:16:00 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.156741.1389115694.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5647 - phpcompta/tags/rel671/include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 17:28:13 -0000

Author: danydb
Date: 2014-01-07 18:16:00 +0100 (Tue, 07 Jan 2014)
New Revision: 5647

Modified:
   phpcompta/tags/rel671/include/template/ledger_detail_ach.php
Log:
Add label for ND row
Task #960 - TVA ND & comptabilit?\195?\169 analytique

Modified: phpcompta/tags/rel671/include/template/ledger_detail_ach.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/template/ledger_detail_ach.php	2014-01-=
07 17:01:31 UTC (rev 5646)
+++ phpcompta/tags/rel671/include/template/ledger_detail_ach.php	2014-01-=
07 17:16:00 UTC (rev 5647)
@@ -288,18 +288,24 @@
                         $row.=3Dtd($view_history);
                         /* $row=3Dtd($q[$e]['j_poste']); */
                         /* $row.=3Dtd($q[$e]['j_qcode']); */
-                        if ($q[$e]['j_qcode'] !=3D '')
+                        if ($q[$e]['j_text']=3D=3D"")
                         {
+                            if ($q[$e]['j_qcode'] !=3D '')
+                            {
                             // nom de la fiche
-                            $ff =3D new Fiche($cn);
-                            $ff->get_by_qcode($q[$e]['j_qcode']);
-                            $row.=3Dtd($ff->strAttribut(h(ATTR_DEF_NAME)=
));
-                        } else
-                        {
-                            // libell=C3=A9 du compte
-                            $name =3D $cn->get_value('select pcm_lib fro=
m tmp_pcmn where pcm_val=3D$1', array($q[$e]['j_poste']));
-                            $row.=3Dtd(h($name));
+                                $ff =3D new Fiche($cn);
+                                $ff->get_by_qcode($q[$e]['j_qcode']);
+                                $row.=3Dtd($ff->strAttribut(h(ATTR_DEF_N=
AME)));
+                            } else
+                            {
+                                // libell=C3=A9 du compte
+                                $name =3D $cn->get_value('select pcm_lib=
 from tmp_pcmn where pcm_val=3D$1', array($q[$e]['j_poste']));
+                                $row.=3Dtd(h($name));
+                            }
                         }
+                        else=20
+                            $row.=3Dtd(h($q[$e]['j_text']));
+                       =20
                         $montant =3D td(nbm($q[$e]['j_montant']), 'class=
=3D"num"');
                         $row.=3D($q[$e]['j_debit'] =3D=3D 't') ? $montan=
t : td('');
                         $row.=3D($q[$e]['j_debit'] =3D=3D 'f') ? $montan=
t : td('');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Jan 07 12:56:16 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W0asy-0006uq-Es
	for mharc-phpcompta-dev@gnu.org; Tue, 07 Jan 2014 12:56:16 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  7 Jan 2014 18:44:04 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.156754.1389117375.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5648 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 17:56:14 -0000

Author: danydb
Date: 2014-01-07 18:44:04 +0100 (Tue, 07 Jan 2014)
New Revision: 5648

Modified:
   phpcompta/tags/rel671/include/class_acc_ledger.php
   phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
Log:
Task #960 - TVA ND & comptabilit?\195?\169 analytique
Move function find_label

Modified: phpcompta/tags/rel671/include/class_acc_ledger.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_acc_ledger.php	2014-01-07 17:16:0=
0 UTC (rev 5647)
+++ phpcompta/tags/rel671/include/class_acc_ledger.php	2014-01-07 17:44:0=
4 UTC (rev 5648)
@@ -3717,6 +3717,16 @@
             return $array;
                       =20
         }
+        /**
+         * Retrieve the label of an accounting
+         * @param $p_value tmp_pcmn.pcm_val
+         * @return string
+         */
+        protected function find_label($p_value)
+        {
+            $lib=3D$this->db->get_value('select pcm_lib from tmp_pcmn wh=
ere pcm_val=3D$1',array($p_value));
+            return $lib;
+        }
=20
 }
 ?>
\ No newline at end of file

Modified: phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
7 17:16:00 UTC (rev 5647)
+++ phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
7 17:44:04 UTC (rev 5648)
@@ -293,6 +293,7 @@
             $p_nd_amount->compute_ndded_vat();
         }
     }
+
     /**
      * Insert into JRNX the No Deductible amount
      * @param Acc_Compute $p_nd_amount content ND amount
@@ -325,7 +326,7 @@
             $p_acc_operation->amount =3D $p_nd_amount->amount_nd_rate ;
             $p_acc_operation->poste =3D $dna;
             $p_acc_operation->qcode =3D '';
-
+            $p_acc_operation->desc=3D$this->find_label($dna)." ND ".$p_f=
iche->strAttribut(ATTR_DEF_QUICKCODE);
             if ($p_nd_amount->amount_nd_rate > 0)
                 $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_nd_rate);
             $j_id =3D $p_acc_operation->insert_jrnx();
@@ -351,6 +352,7 @@
             $p_acc_operation->amount =3D $p_nd_amount->amount_perso ;
             $p_acc_operation->poste =3D $dna;
             $p_acc_operation->qcode =3D '';
+            $p_acc_operation->desc=3D$this->find_label($dna)." ND_PRIV "=
.$p_fiche->strAttribut(ATTR_DEF_QUICKCODE);
             if ($p_nd_amount->amount_perso> 0)
                 $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_perso);
             $j_id =3D $p_acc_operation->insert_jrnx();
@@ -373,7 +375,7 @@
=20
             $p_acc_operation->amount =3D $p_nd_amount->nd_vat;
             $p_acc_operation->poste =3D $dna;
-           =20
+            $p_acc_operation->desc=3D$this->find_label($dna)." ND_TVA ".=
$p_fiche->strAttribut(ATTR_DEF_QUICKCODE);
             $j_id =3D $p_acc_operation->insert_jrnx();
         }
         if ($p_nd_amount->nd_ded_vat !=3D 0)
@@ -395,6 +397,7 @@
             $p_acc_operation->qcode =3D '';
             $p_acc_operation->amount =3D $p_nd_amount->nd_ded_vat;
             $p_acc_operation->poste =3D $dna;
+            $p_acc_operation->desc=3D$this->find_label($dna)." DED_TVA "=
.$p_fiche->strAttribut(ATTR_DEF_QUICKCODE);
             if ($p_nd_amount->nd_ded_vat > 0)
                 $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->nd_de=
d_vat);
             $j_id =3D $p_acc_operation->insert_jrnx();



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Jan 07 15:35:05 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W0dMf-0004Yl-Hs
	for mharc-phpcompta-dev@gnu.org; Tue, 07 Jan 2014 15:35:05 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  7 Jan 2014 21:22:48 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.156837.1389126904.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5649 - phpcompta/tags/rel671/include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 20:35:03 -0000

Author: danydb
Date: 2014-01-07 21:22:48 +0100 (Tue, 07 Jan 2014)
New Revision: 5649

Modified:
   phpcompta/tags/rel671/include/template/ledger_detail_ach.php
Log:
show TVA ND

Modified: phpcompta/tags/rel671/include/template/ledger_detail_ach.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/template/ledger_detail_ach.php	2014-01-=
07 17:44:04 UTC (rev 5648)
+++ phpcompta/tags/rel671/include/template/ledger_detail_ach.php	2014-01-=
07 20:22:48 UTC (rev 5649)
@@ -128,6 +128,7 @@
                 if ($owner->MY_TVA_USE =3D=3D 'Y')
                 {
                     echo th(_('HTVA'), 'style=3D"text-align:right"');
+                    echo th(_('TVA ND'), 'style=3D"text-align:right"');
                     echo th(_('TVA'), 'style=3D"text-align:right"');
                     echo th(_('TVAC'), 'style=3D"text-align:right"');
                 } else
@@ -194,15 +195,15 @@
=20
                     if ($owner->MY_TVA_USE =3D=3D 'Y')
                     {
-                        $tva_amount =3D bcadd($q['qp_vat'], $q['qp_nd_tv=
a']);
-                        $tva_amount =3D bcadd($tva_amount, $q['qp_nd_tva=
_recup']);
+                        $tva_amount_nd =3D bcadd($q['qp_nd_tva_recup'], =
$q['qp_nd_tva']);
                         $class =3D "";
                         if ($q['qp_vat_sided'] <> 0)
                         {
                             $class =3D ' style=3D"text-decoration:line-t=
hrough"';
                             $tvac =3D bcsub($tvac, $q['qp_vat']);
                         }
-                        $row.=3Dtd(nbm($tva_amount), 'class=3D"num" ' . =
$class);
+                        $row.=3Dtd(nbm($tva_amount_nd), 'class=3D"num" '=
 . $class);
+                        $row.=3Dtd(nbm($q['qp_vat']), 'class=3D"num" ' .=
 $class);
                         $row.=3Dtd(nbm($tvac), 'class=3D"num"');
                     }
                     $total_tvac+=3D$tvac;
@@ -233,7 +234,7 @@
                     $row =3D td(_('Total'), ' style=3D"font-style:italic=
;text-align:right;font-weight: bolder;width:auto" colspan=3D"6"');
                 $row.=3Dtd(nbm($total_htva), 'class=3D"num" style=3D"fon=
t-style:italic;font-weight: bolder;"');
                 if ($owner->MY_TVA_USE =3D=3D 'Y')
-                    $row.=3Dtd("") . td(nbm($total_tvac), 'class=3D"num"=
 style=3D"font-style:italic;font-weight: bolder;"');
+                    $row.=3Dtd("") . td("").td(nbm($total_tvac), 'class=3D=
"num" style=3D"font-style:italic;font-weight: bolder;"');
                 echo tr($row);
                 ?>
             </table>
@@ -286,8 +287,7 @@
                         } else
                             $view_history =3D '';
                         $row.=3Dtd($view_history);
-                        /* $row=3Dtd($q[$e]['j_poste']); */
-                        /* $row.=3Dtd($q[$e]['j_qcode']); */
+                       =20
                         if ($q[$e]['j_text']=3D=3D"")
                         {
                             if ($q[$e]['j_qcode'] !=3D '')



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Wed Jan 08 16:01:01 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W10FJ-000410-0z
	for mharc-phpcompta-dev@gnu.org; Wed, 08 Jan 2014 16:01:01 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Wed,  8 Jan 2014 21:48:45 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158042.1389214860.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5650 - in phpcompta/tags/rel671:
	html/admin/sql/patch include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2014 21:00:59 -0000

Author: danydb
Date: 2014-01-08 21:48:44 +0100 (Wed, 08 Jan 2014)
New Revision: 5650

Added:
   phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql
Modified:
   phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
   phpcompta/tags/rel671/include/class_anc_operation.php
   phpcompta/tags/rel671/include/constant.php
Log:
Task #960 - TVA ND & comptabilit?\195?\169 analytique
TVA ND is now in the Analytic accountancy
The Analytic Accountancy can work with negative amount

Added: phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql	           =
             (rev 0)
+++ phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql	2014-01-08 =
20:48:44 UTC (rev 5650)
@@ -0,0 +1,11 @@
+begin;
+
+ALTER TABLE operation_analytique ADD COLUMN oa_jrnx_id_source bigint;
+COMMENT ON COLUMN operation_analytique.oa_jrnx_id_source IS 'jrnx.j_id s=
ource of this amount, this amount is computed from an amount giving a ND =
VAT.Normally NULL  is there is no ND VAT.';
+
+ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET DEFAULT 'Y':=
:bpchar;
+COMMENT ON COLUMN operation_analytique.oa_signed IS 'Sign of the amount'=
;
+
+update version set val=3D113;
+
+commit;
\ No newline at end of file

Modified: phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
7 20:22:48 UTC (rev 5649)
+++ phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
8 20:48:44 UTC (rev 5650)
@@ -295,14 +295,24 @@
     }
=20
     /**
-     * Insert into JRNX the No Deductible amount
+     * Insert into JRNX the No Deductible amount and into Analytic Accou=
ntancy for the ND VAT
      * @param Acc_Compute $p_nd_amount content ND amount
      * @param Fiche $p_fiche Card of the Service
      * @param type $p_tva_both  0 if TVA is normal or 1 if on both side
      * @param type $p_tot_debit total debit
+     * @param $p_acc_operation Acc_Operation for inserting into jrnx
+     * @param $p_group group for AC
+     * @param $idx row number
+     *=20
+     * @see Acc_Ledger_Purchase::insert
      */
-    private function insert_no_deductible(Acc_Compute $p_nd_amount, Fich=
e $p_fiche, $p_tva_both,&$p_tot_debit,$p_acc_operation)
+    private function insert_no_deductible(Acc_Compute $p_nd_amount, Fich=
e $p_fiche, $p_tva_both,&$p_tot_debit,Acc_Operation $p_acc_operation,$p_g=
roup,$idx)
     {
+        global $g_parameter;
+        if ($p_acc_operation->jrnx_id =3D=3D 0) {
+            throw new Exception(__FILE__.__LINE__.'invalid acc_operation=
.j_id');
+        }
+        $source_j_id=3D$p_acc_operation->jrnx_id ;
         $p_nd_amount->correct();
         /*
          * Save all the no deductible
@@ -377,6 +387,18 @@
             $p_acc_operation->poste =3D $dna;
             $p_acc_operation->desc=3D$this->find_label($dna)." ND_TVA ".=
$p_fiche->strAttribut(ATTR_DEF_QUICKCODE);
             $j_id =3D $p_acc_operation->insert_jrnx();
+            if ( $g_parameter->MY_ANALYTIC !=3D "nu" )
+            {
+                $op=3Dnew Anc_Operation($this->db);
+                $op->oa_group=3D$p_group;
+                $op->j_id=3D$j_id;
+                $op->oa_date=3D$p_acc_operation->date;
+
+                $op->oa_debit=3D($p_nd_amount->nd_vat > 0 )?'t':'f';
+                $op->oa_description=3Dsql_string('ND_TVA');
+                $op->oa_jrnx_id_source=3D$source_j_id;
+                $op->save_form_plan_vat_nd($_POST,$idx,$j_id,$p_nd_amoun=
t->nd_vat,$p_acc_operation->jrnx_id);
+            }
         }
         if ($p_nd_amount->nd_ded_vat !=3D 0)
         {
@@ -401,6 +423,18 @@
             if ($p_nd_amount->nd_ded_vat > 0)
                 $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->nd_de=
d_vat);
             $j_id =3D $p_acc_operation->insert_jrnx();
+           if ( $g_parameter->MY_ANALYTIC !=3D "nu" )
+            {
+                $op=3Dnew Anc_Operation($this->db);
+                $op->oa_group=3D$p_group;
+                $op->j_id=3D$j_id;
+                $op->oa_date=3D$p_acc_operation->date;
+
+                $op->oa_debit=3D($p_nd_amount->nd_ded_vat > 0 )?'t':'f';
+                $op->oa_description=3Dsql_string('DED_TVA ');
+                $op->oa_jrnx_id_source=3D$source_j_id;
+                $op->save_form_plan_vat_nd($_POST,$idx,$j_id,$p_nd_amoun=
t->nd_ded_vat);
+            }
         }
     }
=20
@@ -543,10 +577,8 @@
                 /* compute ND */
                 $this->compute_no_deductible($acc_amount, $fiche, $tva_b=
oth);
=20
-                /* insert ND */
-                $this->insert_no_deductible($acc_amount, $fiche, $tva_bo=
th, $tot_debit,$acc_operation);
+               =20
=20
-
              =20
                 $tot_amount=3Dbcadd($tot_amount,$amount);
=20
@@ -571,6 +603,9 @@
                 $acc_operation->qcode=3D${"e_march".$i};
                 if( $acc_amount->amount > 0 ) $tot_debit=3Dbcadd($tot_de=
bit,$acc_amount->amount);
                 $j_id=3D$acc_operation->insert_jrnx();
+               =20
+                /* insert ND */
+                $this->insert_no_deductible($acc_amount, $fiche, $tva_bo=
th, $tot_debit,$acc_operation,$group,$i);
=20
                =20
                 /* Compute sum vat */
@@ -605,8 +640,7 @@
                     $op->oa_group=3D$group;
                     $op->j_id=3D$j_id;
                     $op->oa_date=3D$e_date;
-
-                    $op->oa_debit=3D($amount > 0 )?'t':'f';
+                    $op->oa_debit=3D't';
                     $op->oa_description=3Dsql_string($e_comm);
                     $op->save_form_plan($_POST,$i,$j_id);
                 }

Modified: phpcompta/tags/rel671/include/class_anc_operation.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_anc_operation.php	2014-01-07 20:2=
2:48 UTC (rev 5649)
+++ phpcompta/tags/rel671/include/class_anc_operation.php	2014-01-08 20:4=
8:44 UTC (rev 5650)
@@ -50,7 +50,17 @@
     var $oa_group;   /*!< group of operation  */
     var $oa_date;	   /*!< equal to j_date if j_id is not	  null */
     var $pa_id;	/*!< the plan analytique id */
-
+    /**
+     * In the case, the amount comes from a ND VAT, the variable
+     * contents the jrnx.j_id of the source which was used to compute=20
+     * the amount
+     */
+    var $oa_jrnx_id_source;=20
+    /**
+     * @brief signed of the amount
+     */
+    var $oa_signed;
+   =20
     /*!\brief constructor
      *
      */
@@ -58,6 +68,8 @@
     {
         $this->db=3D$p_cn;
         $this->id=3D$p_id;
+        $this->oa_jrnx_id_source=3Dnull;
+        $this->oa_signed=3D'Y';
     }
     /*!\brief add a row  to the table operation_analytique
      * \note if $this->oa_group if 0 then a sequence id will be computed=
 for
@@ -74,36 +86,47 @@
=20
         if ( $this->j_id =3D=3D 0 )
         {
-            $this->j_id=3D"null";
+            $this->j_id=3Dnull;
         }
=20
=20
         // we don't save null operations
         if ( $this->oa_amount =3D=3D 0 || $this->po_id=3D=3D-1)
             return;
-
-        $oa_row=3D(isset($this->oa_row))?$this->oa_row:"NULL";
-        $sql=3D'insert into operation_analytique (
-             po_id,
+       =20
+        if ( $this->oa_amount< 0)=20
+        {
+            $this->oa_debit=3D($this->oa_debit=3D=3D't')?'f':'t';
+            $this->oa_signed=3D'N';
+        }
+       =20
+        $oa_row=3D(isset($this->oa_row))?$this->oa_row:null;
+        $sql=3D"insert into operation_analytique (
+             po_id,=20
              oa_amount,
              oa_description,
              oa_debit,
              oa_group,
              j_id,
              oa_date,
-             oa_row
-             ) values ('.
-             $this->po_id.",".
-             $this->oa_amount.",".
-             "' ".Database::escape_string($this->oa_description)."',".
-             "'".$this->oa_debit."',".
-             $this->oa_group.",".
-             $this->j_id.",".
-             "to_date('".$this->oa_date."','DD.MM.YYYY'),".$oa_row.")";
+             oa_row,
+             oa_jrnx_id_source,
+             oa_signed
+             ) values ($1,$2,$3,$4,$5,$6,to_date($7,'DD.MM.YYYY'),$8,$9,=
$10)";
=20
+        $this->db->exec_sql($sql,array(
+                $this->po_id, // 1
+                abs($this->oa_amount), //2
+                $this->oa_description, //3
+                $this->oa_debit, //4
+                $this->oa_group, //5
+                $this->j_id, //6
+                $this->oa_date, //7
+                $oa_row, //8
+                $this->oa_jrnx_id_source, //8
+                $this->oa_signed
+                ));
=20
-        $this->db->exec_sql($sql);
-
     }
     /*!\brief delete a row from the table operation_analytique
      * \note be carefull : do not delete a row when we have a group
@@ -289,7 +312,7 @@
     }
     /*!\brief retrieve an operation thanks a jrnx.j_id
      * \param the jrnx.j_id
-     * \return false if nothing is found other true
+     * \return null if nothing is found other an array
      */
     function get_by_jid($p_jid)
     {
@@ -302,7 +325,8 @@
              oa_group,
              oa_date,
              pa_id,
-             oa_row
+             oa_row,
+             oa_signed
              from operation_analytique join poste_analytique using (po_i=
d)
              where
              j_id=3D$p_jid order by j_id,oa_row,pa_id";
@@ -502,7 +526,7 @@
 			$value->javascript=3D'onchange=3D"format_number(this);anc_refresh_rem=
ain(\''.$table_id.'\',\''.$p_seq.'\')"';
             $value->name=3D"val[".$p_seq."][]";
             $value->size=3D6;
-            $value->value=3Dabs((isset($val[$p_seq][$i]))?$val[$p_seq][$=
i]:$p_amount);
+            $value->value=3D(isset($val[$p_seq][$i]))?$val[$p_seq][$i]:$=
p_amount;
             $value->readOnly=3D($p_mode=3D=3D1)?false:true;
 			$remain=3Dbcsub($remain,$value->value);
             $result.=3D'<td>'.$value->input().'</td>';
@@ -511,21 +535,100 @@
         }
=20
         $result.=3D"</table>";
-		$style_remain=3D($remain=3D=3D0)?'style=3D"color:green"':' style=3D"co=
lor:red"';
-		$result.=3D" Reste =C3=A0 imputer =3D  ".
-				'<span class=3D"remain" '.$style_remain.' id=3D"'.$ctrl_remain.'">'.
-				$remain.'</span>';
+        if ( $p_mode =3D=3D 1 )
+        {
+            $style_remain=3D($remain=3D=3D0)?'style=3D"color:green"':' s=
tyle=3D"color:red"';
+            $result.=3D" Reste =C3=A0 imputer =3D  ".
+                            '<span class=3D"remain" '.$style_remain.' id=
=3D"'.$ctrl_remain.'">'.
+                            $remain.'</span>';
=20
-        // add a button to add a row
-        $button=3Dnew IButton();
-        $button->javascript=3D"add_row('".$p_id."$table_id',$p_seq);";
-        $button->name=3D"js".$p_id.$p_seq;
-        $button->label=3D"Nouvelle ligne";
-        if ( $p_mode =3D=3D 1 )
+            // add a button to add a row
+            $button=3Dnew IButton();
+            $button->javascript=3D"add_row('".$p_id."$table_id',$p_seq);=
";
+            $button->name=3D"js".$p_id.$p_seq;
+            $button->label=3D"Nouvelle ligne";
+
             $result.=3D"<br>".$button->input();
+        }
=20
         return $result;
     }
+    /**
+     * Save the ND VAT with prorata
+     *=20
+     * @param $p_array usually $_POST
+     * @param $p_item item of the form
+     * @param $p_j_id jrnx.j_id concerned writing
+     * @param $p_nd amount nd vat
+     * @see Anc_Operation::save_form_plan_vat_nd
+     * @return type
+     */
+    function save_form_plan_vat_nd($p_array,$p_item,$p_j_id,$p_nd)
+    {
+        bcscale(4);
+        extract($p_array);
+	if (! isset ($hplan) ) return;
+       =20
+        if ( ! isset(${'amount_t'.$p_item}) )
+            throw new Exception ('amount not set');
+       =20
+        $tot=3D0;
+        /* variable for in array
+           pa_id array of existing pa_id
+           hplan double array with the pa_id (column)
+           val double array by row with amount
+           op contains sequence
+           p_item is used to identify what op is concerned
+        */
+        /* echo "j_id =3D $j_id p_item =3D $p_item hplan=3D".var_export(=
$hplan[$p_item],true)." val =3D ".var_export($val[$p_item],true).'<br>'; =
*/
+        /* for each row */
+        //   for ($i=3D0;$i<count($val[$p_item]);$i++) {
+        $idx_pa_id=3D0;
+        $row=3D0;
+        $a_Anc_Operation=3Darray();
+        // foreach col PA
+        for ($e=3D0;$e<count($hplan[$p_item]);$e++)
+        {
+            if ( $idx_pa_id =3D=3D count($pa_id))
+            {
+                $idx_pa_id=3D0;
+                $row++;
+            }
+            if ($hplan[$p_item][$e] !=3D -1 && $val[$p_item][$row] !=3D =
'')
+            {
+                $op=3Dnew Anc_Operation($this->db);
+                $op->po_id=3D$hplan[$p_item][$e];
+                $op->oa_group=3D$this->oa_group;
+                $op->j_id=3D$p_j_id;
+                $ratio=3Dbcdiv($val[$p_item][$row],${"amount_t".$p_item}=
);
+                $amount=3D  bcmul($p_nd, $ratio);
+                $op->oa_amount=3Dabs(round($amount,2));
+                $op->oa_debit=3D$this->oa_debit;
+                $op->oa_date=3D$this->oa_date;
+
+                $op->oa_description=3D$this->oa_description;
+                $op->oa_row=3D$row;
+                $op->oa_jrnx_id_source=3D$this->oa_jrnx_id_source;
+                $a_Anc_Operation[]=3Dclone $op;
+            }
+            $idx_pa_id++;
+        }
+        $nb_op=3Dcount($a_Anc_Operation);
+        bcscale(2);
+        for ($i=3D0;$i<$nb_op;$i++)
+        {
+            $tot=3Dbcadd($tot,$a_Anc_Operation[$i]->oa_amount);
+        }
+        if ( $tot !=3D $p_nd )
+        {
+            $diff=3D  bcsub($tot, $p_nd);
+            $a_Anc_Operation[0]->oa_amount=3Dbcsub($a_Anc_Operation[0]->=
oa_amount,$diff);
+        }
+        for ($i=3D0;$i<$nb_op;$i++)
+        {
+            $a_Anc_Operation[$i]->add();
+        }
+    }
     /*!\brief it called for each item, the data are taken from $p_array
      *  data and set before in this.
      * \param $p_item if the item nb for each item (purchase or selling
@@ -577,7 +680,7 @@
                 $op->po_id=3D$hplan[$p_item][$e];
                 $op->oa_group=3D$this->oa_group;
                 $op->j_id=3D$p_j_id;
-                $op->oa_amount=3Dabs($val[$p_item][$row]);
+                $op->oa_amount=3D$val[$p_item][$row];
                 $op->oa_debit=3D$this->oa_debit;
                 $op->oa_date=3D$this->oa_date;
=20
@@ -602,24 +705,49 @@
     */
     function save_update_form($p_array)
     {
-        extract ($p_array);
-        for ($i=3D0;$i < count($op);$i++)
+        extract($p_array);
+        for ($i =3D 0; $i < count($op); $i++)
         {
             /* clean jrnx */
-            $this->db->exec_sql('delete from operation_analytique where =
j_id=3D$1',array($op[$i]));
+            $this->db->exec_sql('delete from operation_analytique where =
j_id=3D$1', array($op[$i]));
+
             /* get missing data for adding */
-            $a_missing=3D$this->db->get_array("select to_char(jr_date,'D=
D.MM.YYYY') as mdate,j_montant,j_debit,jr_comment from jrnx join jrn on (=
j_grpt=3Djr_grpt_id) where j_id=3D$1",
-                                            array($op[$i]));
-            $missing=3D$a_missing[0];
-            $this->oa_debit=3D$missing['j_debit'];
-            $this->oa_description=3D$missing['jr_comment'];
-            $this->j_id=3D$op[$i];
-            $group=3D$this->db->get_next_seq("s_oa_group"); /* for analy=
tic */
-            $this->oa_group=3D$group;
-            $this->oa_date=3D$missing['mdate'];
-            $this->save_form_plan($p_array,$i,$op[$i]);
+            $a_missing =3D $this->db->get_array("select to_char(jr_date,=
'DD.MM.YYYY') as mdate,j_montant,j_debit,jr_comment from jrnx join jrn on=
 (j_grpt=3Djr_grpt_id) where j_id=3D$1", array($op[$i]));
+            $missing =3D $a_missing[0];
+            $this->oa_debit =3D $missing['j_debit'];
+            $this->oa_description =3D $missing['jr_comment'];
+            $this->j_id =3D $op[$i];
+            $group =3D $this->db->get_next_seq("s_oa_group"); /* for ana=
lytic */
+            $this->oa_group =3D $group;
+            $this->oa_date =3D $missing['mdate'];
+            $this->save_form_plan($p_array, $i, $op[$i]);
+           =20
+            // There is ND VAT amount
+            $a_nd =3D $this->db->get_array('select j_id from operation_a=
nalytique
+                where oa_jrnx_id_source=3D$1', array($op[$i]));
+            if (count($a_nd) > 0)
+            {
+                // for each ND VAT amount
+                for ($e=3D0;$e<count($a_nd);$e++)
+                {
+                    $this->db->exec_sql('delete from operation_analytiqu=
e where j_id=3D$1', array($a_nd[$e]['j_id']));
+                    /* get missing data for adding */
+                    $a_missing_vat =3D $this->db->get_array("select to_c=
har(jr_date,'DD.MM.YYYY') as mdate,j_montant,j_debit,jr_comment from jrnx=
 join jrn on (j_grpt=3Djr_grpt_id) where j_id=3D$1", array($a_nd[$e]['j_i=
d']));
+                    $missing_vat =3D $a_missing_vat[0];
+                    $this->oa_debit =3D $missing_vat['j_debit'];
+                    $this->oa_description =3D $missing_vat['jr_comment']=
;
+                    $this->j_id =3D $op[$i];
+                    $group =3D $this->db->get_next_seq("s_oa_group"); /*=
 for analytic */
+                    $this->oa_group =3D $group;
+                    $this->oa_date =3D $missing_vat['mdate'];
+                    $this->oa_jrnx_id_source=3D$op[$i];
+                    $p_array['amount_t'.$i]=3D$missing['j_montant'];
+                    $this->save_form_plan_vat_nd($p_array, $i, $a_nd[$e]=
['j_id'],$missing_vat['j_montant']);
+                }
+            }
         }
     }
+
     /*\brief transform a array of operation into a array usage by
      *display_form_plan & save_form_plan
      *\param $p_array array of operation
@@ -651,7 +779,7 @@
         $idx_pa=3D0;
         for ($i=3D0;$i < count($p_array);$i++)
         {
-            $val[$p_line][$p_array[$i]->oa_row]=3D$p_array[$i]->oa_amoun=
t;
+            $val[$p_line][$p_array[$i]->oa_row]=3D($p_array[$i]->oa_sign=
ed=3D=3D'Y')?$p_array[$i]->oa_amount:($p_array[$i]->oa_amount*(-1));
         }
         $result['val']=3D$val;
         return $result;

Modified: phpcompta/tags/rel671/include/constant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/constant.php	2014-01-07 20:22:48 UTC (r=
ev 5649)
+++ phpcompta/tags/rel671/include/constant.php	2014-01-08 20:48:44 UTC (r=
ev 5650)
@@ -71,7 +71,7 @@
 define ("SITE_UPDATE_PLUGIN",'http://www.phpcompta.eu/plugin_last_versio=
n.txt');
=20
=20
-define ("DBVERSION",112);
+define ("DBVERSION",113);
 define ("MONO_DATABASE",25);
 define ("DBVERSIONREPO",14);
 define ('NOTFOUND','--not found--');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Wed Jan 08 16:03:52 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W10I4-0004fa-HX
	for mharc-phpcompta-dev@gnu.org; Wed, 08 Jan 2014 16:03:52 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Wed,  8 Jan 2014 21:51:40 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158043.1389215031.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5651 - phpcompta/tags/rel671/html/admin/sql/patch
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2014 21:03:51 -0000

Author: danydb
Date: 2014-01-08 21:51:40 +0100 (Wed, 08 Jan 2014)
New Revision: 5651

Modified:
   phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql
Log:
Task #960 - TVA ND & comptabilit?\195?\169 analytique
TVA ND is now in the Analytic accountancy
The Analytic Accountancy can work with negative amount

Fix problem with update script

Modified: phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql	2014-01-08 =
20:48:44 UTC (rev 5650)
+++ phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql	2014-01-08 =
20:51:40 UTC (rev 5651)
@@ -3,6 +3,9 @@
 ALTER TABLE operation_analytique ADD COLUMN oa_jrnx_id_source bigint;
 COMMENT ON COLUMN operation_analytique.oa_jrnx_id_source IS 'jrnx.j_id s=
ource of this amount, this amount is computed from an amount giving a ND =
VAT.Normally NULL  is there is no ND VAT.';
=20
+ALTER TABLE operation_analytique ADD COLUMN oa_signed character(1);
+ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET NOT NULL;
+
 ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET DEFAULT 'Y':=
:bpchar;
 COMMENT ON COLUMN operation_analytique.oa_signed IS 'Sign of the amount'=
;
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Wed Jan 08 16:21:06 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W10Yk-000252-0P
	for mharc-phpcompta-dev@gnu.org; Wed, 08 Jan 2014 16:21:06 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Wed,  8 Jan 2014 22:08:51 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158053.1389216064.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5652 - phpcompta/tags/rel671/html/admin/sql/patch
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2014 21:21:04 -0000

Author: danydb
Date: 2014-01-08 22:08:51 +0100 (Wed, 08 Jan 2014)
New Revision: 5652

Modified:
   phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql
Log:
Update SQL script

Modified: phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql	2014-01-08 =
20:51:40 UTC (rev 5651)
+++ phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql	2014-01-08 =
21:08:51 UTC (rev 5652)
@@ -4,9 +4,10 @@
 COMMENT ON COLUMN operation_analytique.oa_jrnx_id_source IS 'jrnx.j_id s=
ource of this amount, this amount is computed from an amount giving a ND =
VAT.Normally NULL  is there is no ND VAT.';
=20
 ALTER TABLE operation_analytique ADD COLUMN oa_signed character(1);
+ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET DEFAULT 'Y':=
:bpchar;
+update operation_analytique set oa_signed=3D'Y';
 ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET NOT NULL;
=20
-ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET DEFAULT 'Y':=
:bpchar;
 COMMENT ON COLUMN operation_analytique.oa_signed IS 'Sign of the amount'=
;
=20
 update version set val=3D113;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Wed Jan 08 16:21:30 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W10Z8-000261-6g
	for mharc-phpcompta-dev@gnu.org; Wed, 08 Jan 2014 16:21:30 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Wed,  8 Jan 2014 22:09:17 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158054.1389216089.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5653 - phpcompta/tags/rel671/html
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2014 21:21:29 -0000

Author: danydb
Date: 2014-01-08 22:09:17 +0100 (Wed, 08 Jan 2014)
New Revision: 5653

Modified:
   phpcompta/tags/rel671/html/style-color.css
   phpcompta/tags/rel671/html/style-epad.css
   phpcompta/tags/rel671/html/style-light.css
   phpcompta/tags/rel671/html/style.css
Log:
Task #971 : Cosmetic=20

Modified: phpcompta/tags/rel671/html/style-color.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-color.css	2014-01-08 21:08:51 UTC (r=
ev 5652)
+++ phpcompta/tags/rel671/html/style-color.css	2014-01-08 21:09:17 UTC (r=
ev 5653)
@@ -201,7 +201,7 @@
=20
 div.recherche_form{
     width:700px;
-    font-size:0.75em;;
+    font-size:0.75em;
     font-family:arial,verdana,sans-serif,helvetica;
     border-style:outset;
     border-width:1px;
@@ -212,7 +212,6 @@
     float:left;
     padding-top:7px;
     padding-left:8px;
-    font-size:0.75em;;
     font-family:arial,verdana,sans-serif,helvetica;
     width:75%;
=20

Modified: phpcompta/tags/rel671/html/style-epad.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-epad.css	2014-01-08 21:08:51 UTC (re=
v 5652)
+++ phpcompta/tags/rel671/html/style-epad.css	2014-01-08 21:09:17 UTC (re=
v 5653)
@@ -201,7 +201,6 @@
     float:left;
     padding-top:7px;
     padding-left:8px;
-    font-size:0.75em;;
     font-family:arial,verdana,sans-serif,helvetica;
     width:75%;
=20

Modified: phpcompta/tags/rel671/html/style-light.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-light.css	2014-01-08 21:08:51 UTC (r=
ev 5652)
+++ phpcompta/tags/rel671/html/style-light.css	2014-01-08 21:09:17 UTC (r=
ev 5653)
@@ -197,11 +197,9 @@
=20
 }
 div.redcontent{
-
     float:left;
     padding-top:7px;
     padding-left:8px;
-    font-size:0.75em;;
     font-family:arial,verdana,sans-serif,helvetica;
     width:75%;
=20

Modified: phpcompta/tags/rel671/html/style.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style.css	2014-01-08 21:08:51 UTC (rev 565=
2)
+++ phpcompta/tags/rel671/html/style.css	2014-01-08 21:09:17 UTC (rev 565=
3)
@@ -201,7 +201,6 @@
     float:left;
     padding-top:7px;
     padding-left:8px;
-    font-size:0.75em;;
     font-family:arial,verdana,sans-serif,helvetica;
     width:75%;
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Wed Jan 08 16:22:04 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W10Zg-0002Wv-E7
	for mharc-phpcompta-dev@gnu.org; Wed, 08 Jan 2014 16:22:04 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Wed,  8 Jan 2014 22:09:52 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158057.1389216123.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5654 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2014 21:22:03 -0000

Author: danydb
Date: 2014-01-08 22:09:51 +0100 (Wed, 08 Jan 2014)
New Revision: 5654

Modified:
   phpcompta/tags/rel671/include/class_anc_operation.php
Log:
Task #960 : show negative

Modified: phpcompta/tags/rel671/include/class_anc_operation.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_anc_operation.php	2014-01-08 21:0=
9:17 UTC (rev 5653)
+++ phpcompta/tags/rel671/include/class_anc_operation.php	2014-01-08 21:0=
9:51 UTC (rev 5654)
@@ -59,7 +59,7 @@
     /**
      * @brief signed of the amount
      */
-    var $oa_signed;
+    var $oa_positive;
    =20
     /*!\brief constructor
      *
@@ -69,7 +69,7 @@
         $this->db=3D$p_cn;
         $this->id=3D$p_id;
         $this->oa_jrnx_id_source=3Dnull;
-        $this->oa_signed=3D'Y';
+        $this->oa_positive=3D'Y';
     }
     /*!\brief add a row  to the table operation_analytique
      * \note if $this->oa_group if 0 then a sequence id will be computed=
 for
@@ -97,7 +97,7 @@
         if ( $this->oa_amount< 0)=20
         {
             $this->oa_debit=3D($this->oa_debit=3D=3D't')?'f':'t';
-            $this->oa_signed=3D'N';
+            $this->oa_positive=3D'N';
         }
        =20
         $oa_row=3D(isset($this->oa_row))?$this->oa_row:null;
@@ -111,7 +111,7 @@
              oa_date,
              oa_row,
              oa_jrnx_id_source,
-             oa_signed
+             oa_positive
              ) values ($1,$2,$3,$4,$5,$6,to_date($7,'DD.MM.YYYY'),$8,$9,=
$10)";
=20
         $this->db->exec_sql($sql,array(
@@ -124,7 +124,7 @@
                 $this->oa_date, //7
                 $oa_row, //8
                 $this->oa_jrnx_id_source, //8
-                $this->oa_signed
+                $this->oa_positive
                 ));
=20
     }
@@ -326,7 +326,7 @@
              oa_date,
              pa_id,
              oa_row,
-             oa_signed
+             oa_positive
              from operation_analytique join poste_analytique using (po_i=
d)
              where
              j_id=3D$p_jid order by j_id,oa_row,pa_id";
@@ -779,7 +779,7 @@
         $idx_pa=3D0;
         for ($i=3D0;$i < count($p_array);$i++)
         {
-            $val[$p_line][$p_array[$i]->oa_row]=3D($p_array[$i]->oa_sign=
ed=3D=3D'Y')?$p_array[$i]->oa_amount:($p_array[$i]->oa_amount*(-1));
+            $val[$p_line][$p_array[$i]->oa_row]=3D($p_array[$i]->oa_posi=
tive=3D=3D'Y')?$p_array[$i]->oa_amount:($p_array[$i]->oa_amount*(-1));
         }
         $result['val']=3D$val;
         return $result;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 07:20:20 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1Eay-000454-Jh
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 07:20:20 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 13:08:06 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158574.1389270019.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5655 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 12:20:19 -0000

Author: danydb
Date: 2014-01-09 13:08:05 +0100 (Thu, 09 Jan 2014)
New Revision: 5655

Modified:
   phpcompta/tags/rel671/include/class_anc_operation.php
Log:
Task #961 - Compta analytique
ANCODS

Modified: phpcompta/tags/rel671/include/class_anc_operation.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_anc_operation.php	2014-01-08 21:0=
9:51 UTC (rev 5654)
+++ phpcompta/tags/rel671/include/class_anc_operation.php	2014-01-09 12:0=
8:05 UTC (rev 5655)
@@ -270,7 +270,7 @@
=20
             }
=20
-            $class=3D($count%2=3D=3D0)?"odd":"";
+            $class=3D($count%2=3D=3D0)?"odd":"even";
             $count++;
             $cred=3D ( $row['oa_debit'] =3D=3D 'f')?"CREDIT":"DEBIT";
             $ret.=3D"<tr class=3D\"$class\">";



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 07:22:39 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1EdD-0005JL-Oy
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 07:22:39 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 13:10:24 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158577.1389270158.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5656 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 12:22:38 -0000

Author: danydb
Date: 2014-01-09 13:10:24 +0100 (Thu, 09 Jan 2014)
New Revision: 5656

Modified:
   phpcompta/tags/rel671/include/class_anc_listing.php
Log:
Task #961 - Compta analytique
ANCHOP

Modified: phpcompta/tags/rel671/include/class_anc_listing.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_anc_listing.php	2014-01-09 12:08:=
05 UTC (rev 5655)
+++ phpcompta/tags/rel671/include/class_anc_listing.php	2014-01-09 12:10:=
24 UTC (rev 5656)
@@ -63,6 +63,7 @@
=20
     function display_html()
     {
+        $idx=3D0;
         $r=3D"";
         //---Html
         $array=3D$this->load();
@@ -91,7 +92,9 @@
              '</tr>';
         foreach ( $array as $row )
         {
-            $r.=3D '<tr>';
+            $class=3D($idx%2=3D=3D0)?'even':'odd';
+            $idx++;
+            $r.=3D '<tr class=3D"'.$class.'">';
 	    $detail=3D($row['jr_id'] !=3D null)?HtmlInput::detail_op($row['jr_i=
d'],$row['jr_internal']):'';
 	    $post_detail=3D($row['j_poste'] !=3D null)?HtmlInput::history_accou=
nt($row['j_poste'],$row['j_poste']):'';
 	    $card_detail=3D($row['f_id'] !=3D null)?HtmlInput::history_card($ro=
w['f_id'],$row['qcode']):'';



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 07:29:59 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1EkJ-0001Ls-RT
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 07:29:59 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 13:17:46 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158589.1389270599.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5657 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 12:29:59 -0000

Author: danydb
Date: 2014-01-09 13:17:46 +0100 (Thu, 09 Jan 2014)
New Revision: 5657

Modified:
   phpcompta/tags/rel671/include/class_anc_grandlivre.php
Log:
Task #961 - Compta analytique
ANCGL

Modified: phpcompta/tags/rel671/include/class_anc_grandlivre.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_anc_grandlivre.php	2014-01-09 12:=
10:24 UTC (rev 5656)
+++ phpcompta/tags/rel671/include/class_anc_grandlivre.php	2014-01-09 12:=
17:46 UTC (rev 5657)
@@ -138,8 +138,9 @@
             return $r;
         }
         $r.=3D '<table class=3D"result" style=3D"width=3D100%">';
-	$ix=3D0;$prev=3D'xx';
+	$ix=3D0;$prev=3D'xx';$idx=3D0;
 	$tot_deb=3D$tot_cred=3D0;
+       =20
         foreach ( $array as $row )
         {
 	  if ($prev !=3D $row['po_name'])
@@ -166,8 +167,8 @@
 	      $prev=3D$row['po_name'];
 	      $ix++;
 	    }
-
-            $r.=3D '<tr>';
+            $class=3D($idx%2=3D=3D0)?'even':'odd'; $idx++;
+            $r.=3D'<tr class=3D"'.$class.'">';
 	    $detail=3D($row['jr_id'] !=3D null)?HtmlInput::detail_op($row['jr_i=
d'],$row['jr_internal']):'';
 	    $post_detail=3D($row['j_poste'] !=3D null)?HtmlInput::history_accou=
nt($row['j_poste'],$row['j_poste']):'';
 	    $card_detail=3D($row['f_id'] !=3D null)?HtmlInput::history_card($ro=
w['f_id'],$row['qcode']):'';



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 07:31:18 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1Ela-0001Ue-4v
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 07:31:18 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 13:19:05 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158590.1389270677.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5658 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 12:31:16 -0000

Author: danydb
Date: 2014-01-09 13:19:05 +0100 (Thu, 09 Jan 2014)
New Revision: 5658

Modified:
   phpcompta/tags/rel671/include/class_anc_balance_simple.php
Log:
Task #961 - Compta analytique
ANCBS

Modified: phpcompta/tags/rel671/include/class_anc_balance_simple.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_anc_balance_simple.php	2014-01-09=
 12:17:46 UTC (rev 5657)
+++ phpcompta/tags/rel671/include/class_anc_balance_simple.php	2014-01-09=
 12:19:05 UTC (rev 5658)
@@ -141,7 +141,7 @@
         {
             $odd++;
=20
-            $r.=3D($odd%2=3D=3D0)?'<tr class=3D"odd">':'</tr>';
+            $r.=3D($odd%2=3D=3D0)?'<tr class=3D"odd">':'<tr class=3D"eve=
n">';
             // the name and po_id
             //	  $r.=3Dsprintf("<td>%s</td>",$row['po_id']);
             $r.=3Dsprintf("<td align=3D\"left\">%s</td>",h($row['po_name=
']));



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 07:37:01 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1Er7-0003J3-6i
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 07:37:01 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 13:24:46 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158595.1389271020.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5659 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 12:36:59 -0000

Author: danydb
Date: 2014-01-09 13:24:46 +0100 (Thu, 09 Jan 2014)
New Revision: 5659

Modified:
   phpcompta/tags/rel671/include/class_anc_table.php
Log:
Task #961 - Compta analytique
ANCTAB

Modified: phpcompta/tags/rel671/include/class_anc_table.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_anc_table.php	2014-01-09 12:19:05=
 UTC (rev 5658)
+++ phpcompta/tags/rel671/include/class_anc_table.php	2014-01-09 12:24:46=
 UTC (rev 5659)
@@ -144,7 +144,8 @@
 	$tot_global=3D0;
 	for ($i=3D0;$i<count($this->arow);$i++)
 	  {
-	    echo '<tr>';
+	    $tr=3D($i%2=3D=3D0)?'<tr class=3D"even">':'<tr class=3D"odd">';
+            echo $tr;
 	    echo td(HtmlInput::history_card($this->arow[$i]['f_id'],$this->arow=
[$i]['card_account'].' '.$this->arow[$i]['name']));
 	    $tot_row=3D0;
 	    for ($x=3D0;$x<count($this->aheader);$x++)
@@ -197,8 +198,9 @@
 	$tot_global=3D0;
 	for ($i=3D0;$i<count($this->arow);$i++)
 	  {
-	    echo '<tr>';
-	    echo td(HtmlInput::history_account($this->arow[$i]['card_account'],=
$this->arow[$i]['card_account'].' '.$this->arow[$i]['name']));
+            $tr=3D($i%2=3D=3D0)?'<tr class=3D"even">':'<tr class=3D"odd"=
>';
+            echo $tr;
+            echo td(HtmlInput::history_account($this->arow[$i]['card_acc=
ount'],$this->arow[$i]['card_account'].' '.$this->arow[$i]['name']));
 	    $tot_row=3D0;
 	    for ($x=3D0;$x<count($this->aheader);$x++)
 	      {



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 07:39:22 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1EtO-0004PS-HV
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 07:39:22 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 13:27:09 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158598.1389271161.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5660 - phpcompta/tags/rel671/include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 12:39:21 -0000

Author: danydb
Date: 2014-01-09 13:27:09 +0100 (Thu, 09 Jan 2014)
New Revision: 5660

Modified:
   phpcompta/tags/rel671/include/template/anc_balance_group.php
Log:
Task #961 - Compta analytique
ANCGR

Modified: phpcompta/tags/rel671/include/template/anc_balance_group.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/template/anc_balance_group.php	2014-01-=
09 12:24:46 UTC (rev 5659)
+++ phpcompta/tags/rel671/include/template/anc_balance_group.php	2014-01-=
09 12:27:09 UTC (rev 5660)
@@ -51,7 +51,7 @@
 <?php
 }
 if ($idx %2 =3D=3D 0)
-  echo '<tr>';
+  echo '<tr class=3D"even">';
 else
   echo '<tr class=3D"odd">';
 		echo td($array[$i]['po_name']);



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 07:41:13 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1EvB-0005nj-07
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 07:41:13 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 13:29:07 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158603.1389271271.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5661 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 12:41:11 -0000

Author: danydb
Date: 2014-01-09 13:29:06 +0100 (Thu, 09 Jan 2014)
New Revision: 5661

Modified:
   phpcompta/tags/rel671/include/class_document.php
Log:
Bug : race condition

Modified: phpcompta/tags/rel671/include/class_document.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_document.php	2014-01-09 12:27:09 =
UTC (rev 5660)
+++ phpcompta/tags/rel671/include/class_document.php	2014-01-09 12:29:06 =
UTC (rev 5661)
@@ -865,15 +865,17 @@
                     // check if the march exists
                     if (!isset(${$id}))
                         $r=3D "";
+                    else=20
+                    {
                     // check that something is sold
-                    if (${'e_march' . $counter . '_price'} !=3D 0 && ${'=
e_quant' . $counter} !=3D 0)
-                    {
-                        $f =3D new Fiche($this->db);
-                        $f->get_by_qcode(${$id}, false);
-                        $r =3D $f->strAttribut(ATTR_DEF_NAME);
+                        if (${'e_march' . $counter . '_price'} !=3D 0 &&=
 ${'e_quant' . $counter} !=3D 0)
+                        {
+                            $f =3D new Fiche($this->db);
+                            $f->get_by_qcode(${$id}, false);
+                            $r =3D $f->strAttribut(ATTR_DEF_NAME);
+                        } else
+                            $r =3D "";
                     }
-					else
-						$r=3D"";
                 }
                 else
                     $r=3D${'e_march'.$counter.'_label'};



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 07:42:23 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1EwJ-0005tU-F7
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 07:42:23 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 13:30:08 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158604.1389271343.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5662 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 12:42:22 -0000

Author: danydb
Date: 2014-01-09 13:30:08 +0100 (Thu, 09 Jan 2014)
New Revision: 5662

Modified:
   phpcompta/tags/rel671/include/class_anc_balance_double.php
Log:
Task #961 - Compta analytique
ANC

Modified: phpcompta/tags/rel671/include/class_anc_balance_double.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_anc_balance_double.php	2014-01-09=
 12:29:06 UTC (rev 5661)
+++ phpcompta/tags/rel671/include/class_anc_balance_double.php	2014-01-09=
 12:30:08 UTC (rev 5662)
@@ -65,7 +65,7 @@
         {
             $odd++;
=20
-            $r.=3D($odd%2=3D=3D0)?'<tr class=3D"odd">':'</tr>';
+            $r.=3D($odd%2=3D=3D0)?'<tr class=3D"odd">':'<tr class=3D"eve=
n">';
=20
             if ( $old =3D=3D $row['a_po_name'] )
             {



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 08:17:00 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1FTo-0006im-Gd
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 08:17:00 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 14:04:46 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158644.1389273419.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r653 - trunk/modop
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 13:16:58 -0000

Author: danydb
Date: 2014-01-09 14:04:46 +0100 (Thu, 09 Jan 2014)
New Revision: 653

Modified:
   trunk/modop/modop_save.php
Log:
Fix bug for display detail operation=20

Modified: trunk/modop/modop_save.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/modop/modop_save.php	2014-01-06 02:13:47 UTC (rev 652)
+++ trunk/modop/modop_save.php	2014-01-09 13:04:46 UTC (rev 653)
@@ -90,6 +90,7 @@
     $obj->save_extra($jrn->jr_id, $_POST);
     printf('<a class=3D"line" style=3D"display:inline" href=3D"javascrip=
t:modifyOperation(%d,%d)">%s</a><hr>', $_POST['ext_jr_id'], dossier::id()=
, $new_internal);
     // Feedback
+    $jrn->internal=3D$_POST['ext_jr_internal'];
     echo $jrn->confirm($_POST, true);
     if (isset($jrn->doc))
       {
@@ -168,6 +169,7 @@
=20
             printf ('<a class=3D"line" style=3D"display:inline" href=3D"=
javascript:modifyOperation(%d,%d)">%s</a><hr>',
                     $jr_id,dossier::id(),$new_internal);
+            $jrn->internal=3D$_POST['ext_jr_internal'];
 			echo $jrn->confirm($_POST,true);
             /* Show link for Invoice */
             if (isset ($jrn->doc) )



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 10:53:04 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1Huq-0003OY-Hr
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 10:53:04 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 16:40:48 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158834.1389282783.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5663 - in phpcompta/tags/rel671: html include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 15:53:03 -0000

Author: danydb
Date: 2014-01-09 16:40:48 +0100 (Thu, 09 Jan 2014)
New Revision: 5663

Modified:
   phpcompta/tags/rel671/html/test.php
   phpcompta/tags/rel671/include/class_acc_operation.php
Log:
Update unit test


Modified: phpcompta/tags/rel671/html/test.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/test.php	2014-01-09 12:30:08 UTC (rev 5662=
)
+++ phpcompta/tags/rel671/html/test.php	2014-01-09 15:40:48 UTC (rev 5663=
)
@@ -40,6 +40,12 @@
=20
 }
 html_page_start();
+function start_test($p_array)
+{
+    echo '<h1>'.$p_array['desc'].'</h1>';
+        require $p_array['file'];
+        call_user_func($p_array['function']);
+}
 // Test the connection
 echo __FILE__.":".__LINE__;
 print_r($_REQUEST);
@@ -52,10 +58,17 @@
 $cn=3Dnew Database($_GET['gDossier']);
=20
 $a_route[]=3Darray('desc'=3D>'test sur les menus par d=C3=A9fauts','file=
'=3D>'class_default_menu.php','function'=3D>'Default_Menu::test_me');
-
-for ($i=3D0;$i< count($a_route);$i++)
+$a_route[]=3Darray('desc'=3D>'test sur Acc_Operations','file'=3D>'class_=
acc_operation.php','function'=3D>'Acc_Operation::test_me');
+$a_route[]=3Darray('desc'=3D>'test sur INVOICING','file'=3D>'../include/=
ext/invoicing/include/class_acc_ledger_sold_generate.php','function'=3D>'=
Acc_Ledger_Sold_Generate::test_me');
+$called=3DHtmlInput::default_value_get("called", -1);
+if ($called =3D=3D -1 )
 {
-    echo '<h1>'.$a_route[$i]['desc'].'</h1>';
-    require $a_route[$i]['file'];
-    call_user_func($a_route[$i]['function']);
+    for ($i=3D0;$i< count($a_route);$i++)
+    {
+        start_test($a_route[$i]);
+    }
+}
+ else
+{
+    start_test($a_route[$called]);
 }
\ No newline at end of file

Modified: phpcompta/tags/rel671/include/class_acc_operation.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_acc_operation.php	2014-01-09 12:3=
0:08 UTC (rev 5662)
+++ phpcompta/tags/rel671/include/class_acc_operation.php	2014-01-09 15:4=
0:48 UTC (rev 5663)
@@ -566,12 +566,13 @@
     {
         $_SESSION['g_user']=3D'phpcompta';
         $_SESSION['g_pass']=3D'dany';
-
+        global $g_user;
         $cn=3Dnew Database(dossier::id());
+        $g_user=3Dnew User($cn);
         $a=3Dnew Acc_Operation($cn);
-        $a->jr_id=3D11;
+        $a->jr_id=3D1444;
         $b=3D$a->get_quant();
-        var_dump($b->det);
+        var_dump($b);
     }
 }
 ////////////////////////////////////////////////////////////////////////=
/////
@@ -653,6 +654,7 @@
              FROM quant_sold  join jrnx using(j_id) where j_grpt=3D$1";
         $this->det->array=3D$this->db->get_array($sql,array($this->det->=
jr_grpt_id));
     }
+   =20
 }
 ////////////////////////////////////////////////////////////////////////=
/////
 /**



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 10:53:20 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1Hv6-0003Pm-NN
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 10:53:20 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 16:41:07 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158835.1389282799.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5664 - phpcompta/tags/rel671/html
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 15:53:19 -0000

Author: danydb
Date: 2014-01-09 16:41:07 +0100 (Thu, 09 Jan 2014)
New Revision: 5664

Modified:
   phpcompta/tags/rel671/html/style-color.css
   phpcompta/tags/rel671/html/style-epad.css
Log:
Bug CSS

Modified: phpcompta/tags/rel671/html/style-color.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-color.css	2014-01-09 15:40:48 UTC (r=
ev 5663)
+++ phpcompta/tags/rel671/html/style-color.css	2014-01-09 15:41:07 UTC (r=
ev 5664)
@@ -1050,9 +1050,7 @@
     text-align:center;
 }
 div#div_jrnsearch_op{
-
     border:1px solid black;
-    display:none;
     width:50em;
     background-color:#EDF3FF;
     position:absolute;

Modified: phpcompta/tags/rel671/html/style-epad.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-epad.css	2014-01-09 15:40:48 UTC (re=
v 5663)
+++ phpcompta/tags/rel671/html/style-epad.css	2014-01-09 15:41:07 UTC (re=
v 5664)
@@ -954,10 +954,8 @@
=20
 }
 div#div_jrn{
-    position:absolute;
     border:1px solid black;
     top:15%;left:100;
-    visibility:hidden;
     z-index:2;
     width:50em;
     background-color:#EDF3FF;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 10:53:41 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1HvQ-0003Ql-VF
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 10:53:40 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 16:41:27 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158836.1389282819.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r654 - trunk/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 15:53:39 -0000

Author: danydb
Date: 2014-01-09 16:41:27 +0100 (Thu, 09 Jan 2014)
New Revision: 654

Modified:
   trunk/rapport_avance/include/class_rapav_listing_compute.php
   trunk/rapport_avance/include/class_rapav_listing_formula.php
Log:
Add generate invoice

Modified: trunk/rapport_avance/include/class_rapav_listing_compute.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/include/class_rapav_listing_compute.php	2014-01-=
09 13:04:46 UTC (rev 653)
+++ trunk/rapport_avance/include/class_rapav_listing_compute.php	2014-01-=
09 15:41:27 UTC (rev 654)
@@ -190,7 +190,10 @@
                 for ($e=3D0;$e<$nb_detail;$e++)
                 {
                     $detail=3D$odetail->next($r_detail,$e);
-                    echo th( $detail->lc_code);
+                    if ( $detail->ld_value_numeric !=3D=3D null )
+                        echo th( $detail->lc_code,' style=3D"text-align:=
right"');
+                    else
+                        echo th( $detail->lc_code,' style=3D"text-align:=
center"');
                 }
                 echo th("Fichier");
                 if ( GENERATE_PDF =3D=3D 'YES')

Modified: trunk/rapport_avance/include/class_rapav_listing_formula.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/include/class_rapav_listing_formula.php	2014-01-=
09 13:04:46 UTC (rev 653)
+++ trunk/rapport_avance/include/class_rapav_listing_formula.php	2014-01-=
09 15:41:27 UTC (rev 654)
@@ -594,7 +594,7 @@
     {
         $ledger =3D RAPAV::get_ledger_name($this->data->jrn_def_id);
         $paid =3D RAPAV::str_date_type($this->data->date_paid);
-        $a_sum =3D explode(',', 'invalid,D=C3=A9bit,Cr=C3=A9dit,D=C3=A9b=
it-Cr=C3=A9dit,Cr=C3=A9dit-D=C3=A9bit');
+        $a_sum =3D explode(',', 'invalid,D=C3=A9bit-Cr=C3=A9dit,Cr=C3=A9=
dit-D=C3=A9bit,D=C3=A9bit,Cr=C3=A9dit');
         $sumof =3D ($this->data->lp_card_saldo =3D=3D 0) ? " du poste co=
mptable" : "de la fiche";
         $str =3D sprintf("%s %s %s utilisant $ledger %s", $a_sum[$this->=
data->type_sum_account], $sumof, $this->data->fp_formula, $paid);
         return $str;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 10:53:57 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1Hvh-0003RK-6D
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 10:53:57 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 16:41:44 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158839.1389282836.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r655 - trunk/invoicing/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 15:53:56 -0000

Author: danydb
Date: 2014-01-09 16:41:44 +0100 (Thu, 09 Jan 2014)
New Revision: 655

Removed:
   trunk/invoicing/include/class_skel_parameter.php
Modified:
   trunk/invoicing/include/class_acc_ledger_sold_generate.php
   trunk/invoicing/include/invoice_generate.inc.php
Log:
Add generate invoice

Modified: trunk/invoicing/include/class_acc_ledger_sold_generate.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/class_acc_ledger_sold_generate.php	2014-01-09=
 15:41:27 UTC (rev 654)
+++ trunk/invoicing/include/class_acc_ledger_sold_generate.php	2014-01-09=
 15:41:44 UTC (rev 655)
@@ -19,7 +19,7 @@
  */
=20
 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
-
+require_once 'class_acc_ledger_sold.php';
 class Acc_Ledger_Sold_Generate extends Acc_Ledger_Sold
 {
=20
@@ -285,5 +285,73 @@
=20
         return array($count, $r);
     }
-
+    /**
+     * @brief
+     */
+    function convert_to_array(Acc_Sold $sold)
+    {
+        $item=3Dcount($sold->det->array);
+        if ( $item =3D=3D0)
+        {
+            throw new Exception('No Data in Quant_Purchase');
+        }
+        $array=3Darray();
+       =20
+        $array['e_ech']=3D$sold->det->jrn_ech;
+        $array['e_comm']=3D$sold->det->jr_comment;
+        $array['p_jrn']=3D$sold->det->jr_def_id;
+        $array['nb_item']=3D$item;
+        $array['ledger_type']=3D$sold->signature;
+        $array['e_date']=3D  format_date($sold->det->jr_date);
+        $array['e_pj']=3D  $sold->det->jr_pj_number;
+       =20
+        $this->pj=3D$array['e_pj'];
+        $array['internal']=3D$sold->det->jr_internal;
+               =20
+        $client=3Dnew Fiche($sold->db,$sold->det->array[0]['qs_client'])=
;
+        $array['e_client']=3D$client->get_quick_code();
+        bcscale(2);
+        for ($i=3D0;$i < $item ; $i++)
+        {
+            $idx=3D'e_march';
+            $serv=3Dnew Fiche($sold->db,$sold->det->array[$i]['qs_fiche'=
]);
+            $array[$idx.$i]=3D$serv->get_quick_code();
+            $array[$idx.$i.'_label']=3D$sold->det->array[$i]['j_text'];
+            $array[$idx.$i.'_price']=3Dbcdiv($sold->det->array[$i]['qs_p=
rice'],$sold->det->array[$i]['qs_quantite']);
+            $array[$idx.$i.'_tva_id']=3D$sold->det->array[$i]['qs_vat_co=
de'];
+            $array[$idx.$i.'_tva_amount']=3D$sold->det->array[$i]['qs_va=
t'];
+            $array['e_quant'.$i]=3D$sold->det->array[$i]['qs_quantite'];
+        }
+        return $array;
+      =20
+       =20
+    }
+    /**
+     *=20
+     * @param type $p_array
+     * @param type $p_doc
+     * @return type
+     */
+    function create_document($p_array,$p_doc)
+    {
+      $internal=3D$p_array['internal']; =20
+      $p_array['gen_doc']=3D$p_doc;
+      return parent::create_document($internal,$p_array);
+    }
+    static function test_me($p_string =3D '')
+    {
+         $_SESSION['g_user']=3D'phpcompta';
+        $_SESSION['g_pass']=3D'phpcompta';
+        global $g_user;
+        $cn=3Dnew Database(dossier::id());
+        $g_user=3Dnew User($cn);
+        $a=3Dnew Acc_Operation($cn);
+        $a->jr_id=3D2889;
+        $b=3D$a->get_quant();
+        var_dump($b);
+        $c=3Dnew Acc_Ledger_Sold_Generate($cn,$b->det->jr_def_id);
+        $array=3D$c->convert_to_array($b);
+        var_dump($array);
+        echo $c->create_document($array, 8);
+    }
 }

Deleted: trunk/invoicing/include/class_skel_parameter.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/class_skel_parameter.php	2014-01-09 15:41:27 =
UTC (rev 654)
+++ trunk/invoicing/include/class_skel_parameter.php	2014-01-09 15:41:44 =
UTC (rev 655)
@@ -1,75 +0,0 @@
-<?php
-
-/*
- *   This file is part of PhpCompta.
- *
- *   PhpCompta is free software; you can redistribute it and/or modify
- *   it under the terms of the GNU General Public License as published b=
y
- *   the Free Software Foundation; either version 2 of the License, or
- *   (at your option) any later version.
- *
- *   PhpCompta is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with PhpCompta; if not, write to the Free Software
- *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
- */
-/* $Revision$ */
-
-// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
-
-/**
- * @file
- * @brief class for the table SKEL.parameter
- * replace SKEL by the plugin schema
- *
- */
-class SKEL_Parameter
-{
-    // constructor
-    function __construct() {
-        $this->db=3D$p_cn;
-        $Res=3D$p_cn->exec_sql("select * from SKEL.parameter ");
-        for ($i =3D 0;$i < Database::num_row($Res);$i++)
-        {
-            $row=3DDatabase::fetch_array($Res,$i);
-            $key=3D$row['pr_id'];
-            $elt=3D$row['pr_value'];
-           =20
-            // store value here
-            $this->{"$key"}=3D$elt;
-        }
-
-    }
-    /*!
-     **************************************************
-     * \brief  save the parameter into the database by inserting or upda=
ting
-     *
-     *
-     * \param $p_attr give the attribut name
-     *
-     */
-    function save($p_option,$p_value)
-    {
-		global $cn;
-        // check if the parameter does exist
-        if ( $this->cn->get_value('select count(*) from SKEL.parameter w=
here pr_id=3D$1',array($p_option)) !=3D 0 )
-        {
-            $Res=3D$this->cn->exec_sql("update SKEL.parameter set pr_val=
ue=3D$1 where pr_id=3D$2",
-                                     array($p_value,$p_option));
-        }
-        else
-        {
-
-            $Res=3D$this->cn->exec_sql("insert into SKEL.parameter (pr_i=
d,pr_value) values( $1,$2)",
-                                     array($p_option,$p_value));
-
-        }
-
-    }
-
-}
-?>

Modified: trunk/invoicing/include/invoice_generate.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/invoicing/include/invoice_generate.inc.php	2014-01-09 15:41:27 =
UTC (rev 654)
+++ trunk/invoicing/include/invoice_generate.inc.php	2014-01-09 15:41:44 =
UTC (rev 655)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  *   This file is part of PhpCompta.
  *
@@ -21,8 +20,47 @@
=20
 /**
  * @file
- * @brief regenerate all the invoice
+ * @brief regenerate all the invoices of the selected operations
  * @param type $name Descriptionara
+ * @code=20
+ * =20
+  'sel_sale' =3D>
+  array
+  0 =3D> string '2832' (length=3D4)
+  1 =3D> string '2871' (length=3D4)
+  2 =3D> string '2889' (length=3D4)
+  3 =3D> string '2939' (length=3D4)
+  'action' =3D> string '2' (length=3D1)
+  'document' =3D> string '8' (length=3D1)
+ * @endcode
  */
-var_dump($_REQUEST);
+require_once 'class_acc_ledger_sold_generate.php';
+//--- take all the invoices
 ?>
+<h1> G=C3=A9n=C3=A9ration de factures</h1>
+<ol>
+
+    <?php
+    foreach ($_GET['sel_sale'] as $key =3D> $value)
+    {
+        $operation =3D new Acc_Operation($cn);
+        $operation->jr_id =3D $value;
+        $op_sale =3D $operation->get_quant();
+        $generate =3D new Acc_Ledger_Sold_Generate($cn, $op_sale->det->j=
r_def_id);
+        $array =3D $generate->convert_to_array($op_sale);
+        ?>
+        <li>
+            <?php echo $generate->create_document($array, $_GET['documen=
t']); ?>
+        </li>
+        <?php
+    }
+    ?>
+</ol>
+<form method=3D"get">
+    <?php
+    echo HtmlInput::get_to_hidden(array('gDossier', 'ac', 'plugin_code',=
 'sel_sale'));
+    echo HtmlInput::hidden('action','1');
+    ?>
+
+    <?php echo HtmlInput::submit('tl',_('T=C3=A9l=C3=A9charger toutes le=
s factures')); ?>
+</form>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 11:59:18 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1Iww-0002sW-8G
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 11:59:18 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 17:47:04 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158886.1389286757.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r656 - in trunk: . import_card/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 16:59:17 -0000

Author: danydb
Date: 2014-01-09 17:47:04 +0100 (Thu, 09 Jan 2014)
New Revision: 656

Modified:
   trunk/
   trunk/import_card/include/class_import_card.php
Log:
Merged revisions 592 via svnmerge from=20
svn+ssh://danydb@ns352270.ovh.net/svn_extension/tag/rel670

........
  r592 | danydb | 2013-11-28 14:47:36 +0100 (jeu., 28 nov. 2013) | 1 line
 =20
  Compute properly the quickcode
........



Property changes on: trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /tag/rel670:1-581
   + /tag/rel670:1-655

Modified: trunk/import_card/include/class_import_card.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/import_card/include/class_import_card.php	2014-01-09 15:41:44 U=
TC (rev 655)
+++ trunk/import_card/include/class_import_card.php	2014-01-09 16:47:04 U=
TC (rev 656)
@@ -174,7 +174,7 @@
 			if ($valid_qcode =3D=3D 0)
 			{
 				$attr =3D sprintf('av_text%d', ATTR_DEF_QUICKCODE);
-				$array[$attr] =3D 'FID';
+				$array[$attr] =3D '';
 			}
 			/*
 			 * Force the creating of an accounting



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 12:00:04 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1Ixg-0003WU-TO
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 12:00:04 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 17:47:51 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158888.1389286803.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r657 - tag
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 17:00:03 -0000

Author: danydb
Date: 2014-01-09 17:47:51 +0100 (Thu, 09 Jan 2014)
New Revision: 657

Added:
   tag/rel671/
Log:
Release 2013-02-09


Copied: tag/rel671 (from rev 656, trunk)



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 12:00:39 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1IyF-0004Kk-61
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 12:00:39 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 17:48:25 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158891.1389286838.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r658 - trunk
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 17:00:37 -0000

Author: danydb
Date: 2014-01-09 17:48:25 +0100 (Thu, 09 Jan 2014)
New Revision: 658

Modified:
   trunk/
Log:
Removed merge tracking for "svnmerge" for=20
svn+ssh://danydb@ns352270.ovh.net/svn_extension/tag/rel670



Property changes on: trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /tag/rel670:1-655



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 12:01:42 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1IzF-0005ds-VM
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 12:01:41 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 17:49:28 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.158894.1389286901.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r659 - trunk
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 17:01:40 -0000

Author: danydb
Date: 2014-01-09 17:49:28 +0100 (Thu, 09 Jan 2014)
New Revision: 659

Modified:
   trunk/
Log:
Initialized merge tracking via "svnmerge" with revisions "1-658" from=20
svn+ssh://danydb@ns352270.ovh.net/svn_extension/tag/rel671



Property changes on: trunk
___________________________________________________________________
Name: svnmerge-integrated
   + /tag/rel671:1-658



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 14:18:49 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1L7x-0004Jr-QI
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 14:18:49 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 20:06:30 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.159016.1389295128.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5665 - in phpcompta/trunk: . html
	html/admin/sql/patch include include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 19:18:48 -0000

Author: danydb
Date: 2014-01-09 20:06:29 +0100 (Thu, 09 Jan 2014)
New Revision: 5665

Added:
   phpcompta/trunk/html/admin/sql/patch/upgrade112.sql
Modified:
   phpcompta/trunk/
   phpcompta/trunk/html/style-color.css
   phpcompta/trunk/html/style-epad.css
   phpcompta/trunk/html/style-light.css
   phpcompta/trunk/html/style.css
   phpcompta/trunk/html/test.php
   phpcompta/trunk/include/class_acc_ledger.php
   phpcompta/trunk/include/class_acc_ledger_purchase.php
   phpcompta/trunk/include/class_acc_operation.php
   phpcompta/trunk/include/class_anc_balance_double.php
   phpcompta/trunk/include/class_anc_balance_simple.php
   phpcompta/trunk/include/class_anc_grandlivre.php
   phpcompta/trunk/include/class_anc_listing.php
   phpcompta/trunk/include/class_anc_operation.php
   phpcompta/trunk/include/class_anc_table.php
   phpcompta/trunk/include/class_document.php
   phpcompta/trunk/include/constant.php
   phpcompta/trunk/include/template/anc_balance_group.php
   phpcompta/trunk/include/template/ledger_detail_ach.php
Log:
Merged revisions 5645-5664 via svnmerge from=20
svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel671

........
  r5645 | danydb | 2014-01-07 17:54:56 +0100 (mar., 07 janv. 2014) | 2 li=
nes
 =20
  Rewrite and have one row by ND
  Task #960 - TVA ND & comptabilit?\195?\169 analytique
........
  r5646 | danydb | 2014-01-07 18:01:31 +0100 (mar., 07 janv. 2014) | 2 li=
nes
 =20
  Rewrite and have one row by ND : add documentation 2 new private functi=
on : compute_no_deductible & insert_no_deductible
  Task #960 - TVA ND & comptabilit?\195?\169 analytique
........
  r5647 | danydb | 2014-01-07 18:16:00 +0100 (mar., 07 janv. 2014) | 2 li=
nes
 =20
  Add label for ND row
  Task #960 - TVA ND & comptabilit?\195?\169 analytique
........
  r5648 | danydb | 2014-01-07 18:44:04 +0100 (mar., 07 janv. 2014) | 2 li=
nes
 =20
  Task #960 - TVA ND & comptabilit?\195?\169 analytique
  Move function find_label
........
  r5649 | danydb | 2014-01-07 21:22:48 +0100 (mar., 07 janv. 2014) | 1 li=
ne
 =20
  show TVA ND
........
  r5650 | danydb | 2014-01-08 21:48:44 +0100 (mer., 08 janv. 2014) | 3 li=
nes
 =20
  Task #960 - TVA ND & comptabilit?\195?\169 analytique
  TVA ND is now in the Analytic accountancy
  The Analytic Accountancy can work with negative amount
........
  r5651 | danydb | 2014-01-08 21:51:40 +0100 (mer., 08 janv. 2014) | 5 li=
nes
 =20
  Task #960 - TVA ND & comptabilit?\195?\169 analytique
  TVA ND is now in the Analytic accountancy
  The Analytic Accountancy can work with negative amount
 =20
  Fix problem with update script
........
  r5652 | danydb | 2014-01-08 22:08:51 +0100 (mer., 08 janv. 2014) | 1 li=
ne
 =20
  Update SQL script
........
  r5653 | danydb | 2014-01-08 22:09:17 +0100 (mer., 08 janv. 2014) | 1 li=
ne
 =20
  Task #971 : Cosmetic=20
........
  r5654 | danydb | 2014-01-08 22:09:51 +0100 (mer., 08 janv. 2014) | 1 li=
ne
 =20
  Task #960 : show negative
........
  r5655 | danydb | 2014-01-09 13:08:05 +0100 (jeu., 09 janv. 2014) | 2 li=
nes
 =20
  Task #961 - Compta analytique
  ANCODS
........
  r5656 | danydb | 2014-01-09 13:10:24 +0100 (jeu., 09 janv. 2014) | 2 li=
nes
 =20
  Task #961 - Compta analytique
  ANCHOP
........
  r5657 | danydb | 2014-01-09 13:17:46 +0100 (jeu., 09 janv. 2014) | 2 li=
nes
 =20
  Task #961 - Compta analytique
  ANCGL
........
  r5658 | danydb | 2014-01-09 13:19:05 +0100 (jeu., 09 janv. 2014) | 2 li=
nes
 =20
  Task #961 - Compta analytique
  ANCBS
........
  r5659 | danydb | 2014-01-09 13:24:46 +0100 (jeu., 09 janv. 2014) | 2 li=
nes
 =20
  Task #961 - Compta analytique
  ANCTAB
........
  r5660 | danydb | 2014-01-09 13:27:09 +0100 (jeu., 09 janv. 2014) | 2 li=
nes
 =20
  Task #961 - Compta analytique
  ANCGR
........
  r5661 | danydb | 2014-01-09 13:29:06 +0100 (jeu., 09 janv. 2014) | 1 li=
ne
 =20
  Bug : race condition
........
  r5662 | danydb | 2014-01-09 13:30:08 +0100 (jeu., 09 janv. 2014) | 2 li=
nes
 =20
  Task #961 - Compta analytique
  ANC
........
  r5663 | danydb | 2014-01-09 16:40:48 +0100 (jeu., 09 janv. 2014) | 2 li=
nes
 =20
  Update unit test
........
  r5664 | danydb | 2014-01-09 16:41:07 +0100 (jeu., 09 janv. 2014) | 1 li=
ne
 =20
  Bug CSS
........



Property changes on: phpcompta/trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /phpcompta/tags/rel671:1-5643
   + /phpcompta/tags/rel671:1-5664

Copied: phpcompta/trunk/html/admin/sql/patch/upgrade112.sql (from rev 566=
4, phpcompta/tags/rel671/html/admin/sql/patch/upgrade112.sql)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/admin/sql/patch/upgrade112.sql	                 =
       (rev 0)
+++ phpcompta/trunk/html/admin/sql/patch/upgrade112.sql	2014-01-09 19:06:=
29 UTC (rev 5665)
@@ -0,0 +1,15 @@
+begin;
+
+ALTER TABLE operation_analytique ADD COLUMN oa_jrnx_id_source bigint;
+COMMENT ON COLUMN operation_analytique.oa_jrnx_id_source IS 'jrnx.j_id s=
ource of this amount, this amount is computed from an amount giving a ND =
VAT.Normally NULL  is there is no ND VAT.';
+
+ALTER TABLE operation_analytique ADD COLUMN oa_signed character(1);
+ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET DEFAULT 'Y':=
:bpchar;
+update operation_analytique set oa_signed=3D'Y';
+ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET NOT NULL;
+
+COMMENT ON COLUMN operation_analytique.oa_signed IS 'Sign of the amount'=
;
+
+update version set val=3D113;
+
+commit;
\ No newline at end of file

Modified: phpcompta/trunk/html/style-color.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style-color.css	2014-01-09 15:41:07 UTC (rev 566=
4)
+++ phpcompta/trunk/html/style-color.css	2014-01-09 19:06:29 UTC (rev 566=
5)
@@ -201,7 +201,7 @@
=20
 div.recherche_form{
     width:700px;
-    font-size:0.75em;;
+    font-size:0.75em;
     font-family:arial,verdana,sans-serif,helvetica;
     border-style:outset;
     border-width:1px;
@@ -212,7 +212,6 @@
     float:left;
     padding-top:7px;
     padding-left:8px;
-    font-size:0.75em;;
     font-family:arial,verdana,sans-serif,helvetica;
     width:75%;
=20
@@ -1051,9 +1050,7 @@
     text-align:center;
 }
 div#div_jrnsearch_op{
-
     border:1px solid black;
-    display:none;
     width:50em;
     background-color:#EDF3FF;
     position:absolute;

Modified: phpcompta/trunk/html/style-epad.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style-epad.css	2014-01-09 15:41:07 UTC (rev 5664=
)
+++ phpcompta/trunk/html/style-epad.css	2014-01-09 19:06:29 UTC (rev 5665=
)
@@ -201,7 +201,6 @@
     float:left;
     padding-top:7px;
     padding-left:8px;
-    font-size:0.75em;;
     font-family:arial,verdana,sans-serif,helvetica;
     width:75%;
=20
@@ -955,10 +954,8 @@
=20
 }
 div#div_jrn{
-    position:absolute;
     border:1px solid black;
     top:15%;left:100;
-    visibility:hidden;
     z-index:2;
     width:50em;
     background-color:#EDF3FF;

Modified: phpcompta/trunk/html/style-light.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style-light.css	2014-01-09 15:41:07 UTC (rev 566=
4)
+++ phpcompta/trunk/html/style-light.css	2014-01-09 19:06:29 UTC (rev 566=
5)
@@ -197,11 +197,9 @@
=20
 }
 div.redcontent{
-
     float:left;
     padding-top:7px;
     padding-left:8px;
-    font-size:0.75em;;
     font-family:arial,verdana,sans-serif,helvetica;
     width:75%;
=20

Modified: phpcompta/trunk/html/style.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style.css	2014-01-09 15:41:07 UTC (rev 5664)
+++ phpcompta/trunk/html/style.css	2014-01-09 19:06:29 UTC (rev 5665)
@@ -201,7 +201,6 @@
     float:left;
     padding-top:7px;
     padding-left:8px;
-    font-size:0.75em;;
     font-family:arial,verdana,sans-serif,helvetica;
     width:75%;
=20

Modified: phpcompta/trunk/html/test.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/test.php	2014-01-09 15:41:07 UTC (rev 5664)
+++ phpcompta/trunk/html/test.php	2014-01-09 19:06:29 UTC (rev 5665)
@@ -40,6 +40,12 @@
=20
 }
 html_page_start();
+function start_test($p_array)
+{
+    echo '<h1>'.$p_array['desc'].'</h1>';
+        require $p_array['file'];
+        call_user_func($p_array['function']);
+}
 // Test the connection
 echo __FILE__.":".__LINE__;
 print_r($_REQUEST);
@@ -52,10 +58,17 @@
 $cn=3Dnew Database($_GET['gDossier']);
=20
 $a_route[]=3Darray('desc'=3D>'test sur les menus par d=C3=A9fauts','file=
'=3D>'class_default_menu.php','function'=3D>'Default_Menu::test_me');
-
-for ($i=3D0;$i< count($a_route);$i++)
+$a_route[]=3Darray('desc'=3D>'test sur Acc_Operations','file'=3D>'class_=
acc_operation.php','function'=3D>'Acc_Operation::test_me');
+$a_route[]=3Darray('desc'=3D>'test sur INVOICING','file'=3D>'../include/=
ext/invoicing/include/class_acc_ledger_sold_generate.php','function'=3D>'=
Acc_Ledger_Sold_Generate::test_me');
+$called=3DHtmlInput::default_value_get("called", -1);
+if ($called =3D=3D -1 )
 {
-    echo '<h1>'.$a_route[$i]['desc'].'</h1>';
-    require $a_route[$i]['file'];
-    call_user_func($a_route[$i]['function']);
+    for ($i=3D0;$i< count($a_route);$i++)
+    {
+        start_test($a_route[$i]);
+    }
+}
+ else
+{
+    start_test($a_route[$called]);
 }
\ No newline at end of file

Modified: phpcompta/trunk/include/class_acc_ledger.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_acc_ledger.php	2014-01-09 15:41:07 UTC =
(rev 5664)
+++ phpcompta/trunk/include/class_acc_ledger.php	2014-01-09 19:06:29 UTC =
(rev 5665)
@@ -3717,6 +3717,16 @@
             return $array;
                       =20
         }
+        /**
+         * Retrieve the label of an accounting
+         * @param $p_value tmp_pcmn.pcm_val
+         * @return string
+         */
+        protected function find_label($p_value)
+        {
+            $lib=3D$this->db->get_value('select pcm_lib from tmp_pcmn wh=
ere pcm_val=3D$1',array($p_value));
+            return $lib;
+        }
=20
 }
 ?>
\ No newline at end of file

Modified: phpcompta/trunk/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_acc_ledger_purchase.php	2014-01-09 15:4=
1:07 UTC (rev 5664)
+++ phpcompta/trunk/include/class_acc_ledger_purchase.php	2014-01-09 19:0=
6:29 UTC (rev 5665)
@@ -259,8 +259,185 @@
             throw new Exception(_('Il n\'y a aucune marchandise'),12);
=20
     }
+    /**
+     * Compute the ND amount thanks the attribute of the concerned card.=
 The object=20
+     * $p_nd_amount will changed
+     *=20
+     * @param Acc_Compute $p_nd_amount object with ND amount
+     * @param Fiche $p_fiche Concerned Card (purchase items)
+     * @param type $p_tva_bot 0 TVA on one side, 1 TVA on both side
+     */
+    private function compute_no_deductible(Acc_Compute $p_nd_amount, Fic=
he $p_fiche, $p_tva_both)
+    {
=20
+        if (!$p_fiche->empty_attribute(ATTR_DEF_DEPENSE_NON_DEDUCTIBLE))
+        {
+            $p_nd_amount->amount_nd_rate =3D $p_fiche->strAttribut(ATTR_=
DEF_DEPENSE_NON_DEDUCTIBLE);
+            $p_nd_amount->compute_nd();
+        }
=20
+        if (!$p_fiche->empty_attribute(ATTR_DEF_DEP_PRIV))
+        {
+            $p_nd_amount->amount_perso_rate =3D $p_fiche->strAttribut(AT=
TR_DEF_DEP_PRIV);
+            $p_nd_amount->compute_perso();
+        }
+
+        if (!$p_fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIBLE) && $=
tva_both =3D=3D 0)
+        {
+            $p_nd_amount->nd_vat_rate =3D $p_fiche->strAttribut(ATTR_DEF=
_TVA_NON_DEDUCTIBLE);
+            $p_nd_amount->compute_nd_vat();
+        }
+        if (!$p_fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP=
) && $p_tva_both =3D=3D 0)
+        {
+            $p_nd_amount->nd_ded_vat_rate =3D $p_fiche->strAttribut(ATTR=
_DEF_TVA_NON_DEDUCTIBLE_RECUP);
+            $p_nd_amount->compute_ndded_vat();
+        }
+    }
+
+    /**
+     * Insert into JRNX the No Deductible amount and into Analytic Accou=
ntancy for the ND VAT
+     * @param Acc_Compute $p_nd_amount content ND amount
+     * @param Fiche $p_fiche Card of the Service
+     * @param type $p_tva_both  0 if TVA is normal or 1 if on both side
+     * @param type $p_tot_debit total debit
+     * @param $p_acc_operation Acc_Operation for inserting into jrnx
+     * @param $p_group group for AC
+     * @param $idx row number
+     *=20
+     * @see Acc_Ledger_Purchase::insert
+     */
+    private function insert_no_deductible(Acc_Compute $p_nd_amount, Fich=
e $p_fiche, $p_tva_both,&$p_tot_debit,Acc_Operation $p_acc_operation,$p_g=
roup,$idx)
+    {
+        global $g_parameter;
+        if ($p_acc_operation->jrnx_id =3D=3D 0) {
+            throw new Exception(__FILE__.__LINE__.'invalid acc_operation=
.j_id');
+        }
+        $source_j_id=3D$p_acc_operation->jrnx_id ;
+        $p_nd_amount->correct();
+        /*
+         * Save all the no deductible
+         *     ATTR_DEF_ACCOUNT_ND_TVA,ATTR_DEF_ACCOUNT_ND_TVA_ND,ATTR_D=
EF_ACCOUNT_ND_PERSO,ATTR_DEF_ACCOUNT_ND
+         */
+        if ($p_nd_amount->amount_nd_rate !=3D 0)
+        {
+            $dna_default =3D new Acc_Parm_Code($this->db, 'DNA');
+
+            /* save op. */
+            if (!$p_Fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND))
+            {
+                $dna =3D $p_Fiche->strAttribut(ATTR_DEF_ACCOUNT_ND);
+            } else
+            {
+                $dna =3D $dna_default->p_value;
+            }
+            $dna =3D ($dna =3D=3D '') ? $dna_default->p_value : $dna;
+
+            $p_acc_operation->type =3D 'd';
+            $p_acc_operation->amount =3D $p_nd_amount->amount_nd_rate ;
+            $p_acc_operation->poste =3D $dna;
+            $p_acc_operation->qcode =3D '';
+            $p_acc_operation->desc=3D$this->find_label($dna)." ND ".$p_f=
iche->strAttribut(ATTR_DEF_QUICKCODE);
+            if ($p_nd_amount->amount_nd_rate > 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_nd_rate);
+            $j_id =3D $p_acc_operation->insert_jrnx();
+        }
+        /*
+         * ATTR_DEF_ACCOUNT_ND_PERSO
+         */
+        if ($p_nd_amount->amount_perso !=3D 0)
+        {
+            $dna_default =3D new Acc_Parm_Code($this->db, 'DEP_PRIV');
+
+            /* save op. */
+            $p_acc_operation->type =3D 'd';
+            if (!$p_fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_PERSO))
+            {
+                $dna =3D $p_fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_PERSO=
);
+            } else
+            {
+                $dna =3D $dna_default->p_value;
+            }
+            $dna =3D ($dna =3D=3D '') ? $dna_default->p_value : $dna;
+
+            $p_acc_operation->amount =3D $p_nd_amount->amount_perso ;
+            $p_acc_operation->poste =3D $dna;
+            $p_acc_operation->qcode =3D '';
+            $p_acc_operation->desc=3D$this->find_label($dna)." ND_PRIV "=
.$p_fiche->strAttribut(ATTR_DEF_QUICKCODE);
+            if ($p_nd_amount->amount_perso> 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_perso);
+            $j_id =3D $p_acc_operation->insert_jrnx();
+        }
+        if ($p_nd_amount->nd_vat !=3D 0)
+        {
+            $dna_default =3D new Acc_Parm_Code($this->db, 'TVA_DNA');
+
+            /* save op. */
+            $p_acc_operation->type =3D 'd';
+            $p_acc_operation->qcode =3D '';
+            if (!$p_fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_TVA_ND) &=
& $p_tva_both =3D=3D 0)
+            {
+                $dna =3D $p_fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_TVA_N=
D);
+            } else
+            {
+                $dna =3D $dna_default->p_value;
+            }
+            $dna =3D ($dna =3D=3D '') ? $dna_default->p_value : $dna;
+
+            $p_acc_operation->amount =3D $p_nd_amount->nd_vat;
+            $p_acc_operation->poste =3D $dna;
+            $p_acc_operation->desc=3D$this->find_label($dna)." ND_TVA ".=
$p_fiche->strAttribut(ATTR_DEF_QUICKCODE);
+            $j_id =3D $p_acc_operation->insert_jrnx();
+            if ( $g_parameter->MY_ANALYTIC !=3D "nu" )
+            {
+                $op=3Dnew Anc_Operation($this->db);
+                $op->oa_group=3D$p_group;
+                $op->j_id=3D$j_id;
+                $op->oa_date=3D$p_acc_operation->date;
+
+                $op->oa_debit=3D($p_nd_amount->nd_vat > 0 )?'t':'f';
+                $op->oa_description=3Dsql_string('ND_TVA');
+                $op->oa_jrnx_id_source=3D$source_j_id;
+                $op->save_form_plan_vat_nd($_POST,$idx,$j_id,$p_nd_amoun=
t->nd_vat,$p_acc_operation->jrnx_id);
+            }
+        }
+        if ($p_nd_amount->nd_ded_vat !=3D 0)
+        {
+            $dna_default =3D new Acc_Parm_Code($this->db, 'TVA_DED_IMPOT=
');
+            /* save op. */
+            if (!$p_fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_TVA) && $=
p_tva_both =3D=3D 0)
+            {
+                $dna =3D $p_fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_TVA);
+            } else
+            {
+                $dna =3D $dna_default->p_value;
+            }
+            $dna =3D ($dna =3D=3D '') ? $dna_default->value : $dna;
+
+
+
+            $p_acc_operation->type =3D 'd';
+            $p_acc_operation->qcode =3D '';
+            $p_acc_operation->amount =3D $p_nd_amount->nd_ded_vat;
+            $p_acc_operation->poste =3D $dna;
+            $p_acc_operation->desc=3D$this->find_label($dna)." DED_TVA "=
.$p_fiche->strAttribut(ATTR_DEF_QUICKCODE);
+            if ($p_nd_amount->nd_ded_vat > 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->nd_de=
d_vat);
+            $j_id =3D $p_acc_operation->insert_jrnx();
+           if ( $g_parameter->MY_ANALYTIC !=3D "nu" )
+            {
+                $op=3Dnew Anc_Operation($this->db);
+                $op->oa_group=3D$p_group;
+                $op->j_id=3D$j_id;
+                $op->oa_date=3D$p_acc_operation->date;
+
+                $op->oa_debit=3D($p_nd_amount->nd_ded_vat > 0 )?'t':'f';
+                $op->oa_description=3Dsql_string('DED_TVA ');
+                $op->oa_jrnx_id_source=3D$source_j_id;
+                $op->save_form_plan_vat_nd($_POST,$idx,$j_id,$p_nd_amoun=
t->nd_ded_vat);
+            }
+        }
+    }
+
     /*!\brief insert into the database, it calls first the verify functi=
on
      * change the value of this->jr_id and this->jr_internal.
      * It generates the document and save the middle of payment, if 'gen=
_invoice is set
@@ -346,11 +523,9 @@
             /* Save all the items without vat and no deductible vat and =
expense*/
             for ($i=3D0;$i< $nb_item;$i++)
             {
-				$n_both=3D0;
+		$n_both=3D0;
                 if ( strlen(trim(${'e_march'.$i})) =3D=3D 0 ) continue;
-           /*     if ( ${'e_march'.$i.'_price'} =3D=3D 0 ) continue;
-                if ( ${'e_quant'.$i} =3D=3D 0 ) continue;
-*/
+
                 /* First we save all the items without vat */
                 $fiche=3Dnew Fiche($this->db);
                 $fiche->get_by_qcode(${"e_march".$i});
@@ -364,12 +539,24 @@
                     $oTva->load();
 					$tva_both=3D$oTva->get_parameter("both_side");
                 }
-
+                /* -- Create acc_operation -- */
+                $acc_operation=3Dnew Acc_Operation($this->db);
+                $acc_operation->date=3D$e_date;
+                $acc_operation->grpt=3D$seq;
+                $acc_operation->jrn=3D$p_jrn;
+                $acc_operation->type=3D'd';
+                $acc_operation->periode=3D$tperiode;
+                $acc_operation->qcode=3D"";
+               =20
+               =20
                 /* We have to compute all the amount thanks Acc_Compute =
*/
                 $amount=3Dbcmul(${'e_march'.$i.'_price'},${'e_quant'.$i}=
);
+               =20
                 $acc_amount=3Dnew Acc_Compute();
                 $acc_amount->check=3Dfalse;
                 $acc_amount->set_parameter('amount',$amount);
+               =20
+               =20
                 if ( $g_parameter->MY_TVA_USE=3D=3D'Y')
                 {
                     $acc_amount->set_parameter('amount_vat_rate',$oTva->=
get_parameter('rate'));
@@ -386,54 +573,15 @@
                     if ($tva_both=3D=3D0) $tot_tva=3Dbcadd($tot_tva,$acc=
_amount->amount_vat);
                 }
=20
-                $acc_operation=3Dnew Acc_Operation($this->db);
-                $acc_operation->date=3D$e_date;
-                $acc_operation->grpt=3D$seq;
-                $acc_operation->jrn=3D$p_jrn;
-                $acc_operation->type=3D'd';
-                $acc_operation->periode=3D$tperiode;
-                $acc_operation->qcode=3D"";
-                if ( $g_parameter->MY_UPDLAB=3D=3D'Y')
-                    $acc_operation->desc=3Dstrip_tags(${"e_march".$i."_l=
abel"});
-                else
-                    $acc_operation->desc=3Dnull;
+              =20
+                /* compute ND */
+                $this->compute_no_deductible($acc_amount, $fiche, $tva_b=
oth);
=20
+               =20
=20
+             =20
+                $tot_amount=3Dbcadd($tot_amount,$amount);
=20
-
-                if ( ! $fiche->empty_attribute(ATTR_DEF_DEPENSE_NON_DEDU=
CTIBLE))
-                {
-                    $acc_amount->amount_nd_rate=3D$fiche->strAttribut(AT=
TR_DEF_DEPENSE_NON_DEDUCTIBLE);
-                    $acc_amount->compute_nd();
-                    $tot_nd+=3D$acc_amount->amount_nd;
-
-                }
-
-                if ( ! $fiche->empty_attribute(ATTR_DEF_DEP_PRIV))
-                {
-                    $acc_amount->amount_perso_rate=3D$fiche->strAttribut=
(ATTR_DEF_DEP_PRIV);
-                    $acc_amount->compute_perso();
-                    $tot_perso+=3D$acc_amount->amount_perso;
-                }
-
-                if ( ! $fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIB=
LE) && $tva_both=3D=3D0)
-                {
-                    $acc_amount->nd_vat_rate=3D$fiche->strAttribut(ATTR_=
DEF_TVA_NON_DEDUCTIBLE);
-                    $acc_amount->compute_nd_vat();
-                    $tot_tva_nd+=3D$acc_amount->nd_vat;
-                    /* save op. */
-
-                }
-                if ( ! $fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIB=
LE_RECUP) && $tva_both=3D=3D0)
-                {
-                    $acc_amount->nd_ded_vat_rate=3D$fiche->strAttribut(A=
TTR_DEF_TVA_NON_DEDUCTIBLE_RECUP);
-                    $acc_amount->compute_ndded_vat();
-                    /* save op. */
-                    $tot_tva_ndded+=3D$acc_amount->nd_ded_vat;
-                }
-                $acc_amount->correct();
-                $tot_amount+=3D$amount;
-
                 /* get the account and explode if necessary */
                 $sposte=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT);
                 // if 2 accounts, take only the debit one for customer
@@ -446,21 +594,27 @@
                 {
                     $poste_val=3D$sposte;
                 }
-
+                if ( $g_parameter->MY_UPDLAB=3D=3D'Y')
+                    $acc_operation->desc=3Dstrip_tags(${"e_march".$i."_l=
abel"});
+                else
+                    $acc_operation->desc=3Dnull;
                 $acc_operation->poste=3D$poste_val;
                 $acc_operation->amount=3D$acc_amount->amount;
                 $acc_operation->qcode=3D${"e_march".$i};
                 if( $acc_amount->amount > 0 ) $tot_debit=3Dbcadd($tot_de=
bit,$acc_amount->amount);
                 $j_id=3D$acc_operation->insert_jrnx();
+               =20
+                /* insert ND */
+                $this->insert_no_deductible($acc_amount, $fiche, $tva_bo=
th, $tot_debit,$acc_operation,$group,$i);
=20
+               =20
                 /* Compute sum vat */
-
                 if ( $g_parameter->MY_TVA_USE=3D=3D'Y')
                 {
                     $tva_item=3D$acc_amount->amount_vat;
=20
                     if (isset($tva[$idx_tva] ) )
-                        $tva[$idx_tva]+=3D$tva_item;
+                        $tva[$idx_tva]=3Dbcadd($tva[$idx_tva],$tva_item)=
;
                     else
                         $tva[$idx_tva]=3D$tva_item;
=20
@@ -486,8 +640,7 @@
                     $op->oa_group=3D$group;
                     $op->j_id=3D$j_id;
                     $op->oa_date=3D$e_date;
-
-                    $op->oa_debit=3D($amount > 0 )?'t':'f';
+                    $op->oa_debit=3D't';
                     $op->oa_description=3Dsql_string($e_comm);
                     $op->save_form_plan($_POST,$i,$j_id);
                 }
@@ -508,7 +661,7 @@
                                            ",".$acc_amount->amount_nd.  =
   /* 8 */
                                            ",".$acc_amount->nd_vat.	    =
 /* 9 */
                                            ",".$acc_amount->nd_ded_vat. =
   /* 10 */
-                                           ",".$acc_amount->amount_perso=
.  /* 11 */
+                                           ",".$acc_amount->amount_perso=
.  /* 11 */=20
                                            ",'".$e_client."',".$n_both."=
)");	     /* 12 */
=20
                 }
@@ -546,108 +699,8 @@
             if ( $cust_amount < 0 )
 				$tot_debit=3Dbcadd($tot_debit,abs($cust_amount));
             $let_client=3D$acc_operation->insert_jrnx();
-            /*
-             * Save all the no deductible
-	     *     ATTR_DEF_ACCOUNT_ND_TVA,ATTR_DEF_ACCOUNT_ND_TVA_ND,ATTR_DEF_=
ACCOUNT_ND_PERSO,ATTR_DEF_ACCOUNT_ND
-             */
-            if ( $tot_nd !=3D 0)
-            {
-		  $dna_default=3Dnew Acc_Parm_Code($this->db,'DNA');
+           =20
=20
-                /* save op. */
-	      if ( ! $fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND))
-		{
-		  $dna=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT_ND);
-		}
-	      else
-		{
-		  $dna=3D$dna_default->p_value;
-		}
-	      $dna=3D($dna=3D=3D'')?$dna_default->p_value:$dna;
-
-                $acc_operation->type=3D'd';
-                $acc_operation->amount=3D$tot_nd;
-                $acc_operation->poste=3D$dna;
-                $acc_operation->qcode=3D'';
-                if ( $tot_nd > 0 ) $tot_debit=3Dbcadd($tot_debit,$tot_nd=
);
-                $j_id=3D$acc_operation->insert_jrnx();
-
-            }
-	    /*
-	     *ATTR_DEF_ACCOUNT_ND_PERSO
-	     */
-            if ( $tot_perso !=3D 0)
-            {
-	      $dna_default=3Dnew Acc_Parm_Code($this->db,'DEP_PRIV');
-
-                /* save op. */
-                $acc_operation->type=3D'd';
-		if ( ! $fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_PERSO))
-		  {
-		    $dna=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_PERSO);
-		  }
-		else
-		  {
-		    $dna=3D$dna_default->p_value;
-		  }
-		$dna=3D($dna=3D=3D'')?$dna_default->p_value:$dna;
-
-                $acc_operation->amount=3D$tot_perso;
-                $acc_operation->poste=3D$dna;
-                $acc_operation->qcode=3D'';
-                if ( $tot_perso > 0 ) $tot_debit=3Dbcadd($tot_debit,$tot=
_perso);
-                $j_id=3D$acc_operation->insert_jrnx();
-
-            }
-            if ( $tot_tva_nd !=3D 0)
-            {
-	      $dna_default=3Dnew Acc_Parm_Code($this->db,'TVA_DNA');
-
-                /* save op. */
-                $acc_operation->type=3D'd';
-                $acc_operation->qcode=3D'';
-	      if ( ! $fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_TVA_ND) && $tv=
a_both=3D=3D0)
-		{
-		  $dna=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_TVA_ND);
-		}
-	      else
-		{
-		  $dna=3D$dna_default->p_value;
-		}
-	      $dna=3D($dna=3D=3D'')?$dna_default->p_value:$dna;
-
-                $acc_operation->amount=3D$tot_tva_nd;
-                $acc_operation->poste=3D$dna;
-                if ( $tot_tva_nd > 0 ) $tot_debit=3Dbcadd($tot_debit,$to=
t_tva_nd);
-                $j_id=3D$acc_operation->insert_jrnx();
-
-            }
-            if ( $tot_tva_ndded !=3D 0)
-            {
-	      $dna_default=3Dnew Acc_Parm_Code($this->db,'TVA_DED_IMPOT');
-                /* save op. */
-	      if ( ! $fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND_TVA) && $tva_b=
oth=3D=3D0)
-		{
-		  $dna=3D$fiche->strAttribut(ATTR_DEF_ACCOUNT_ND_TVA);
-		}
-	      else
-		{
-		  $dna=3D$dna_default->p_value;
-		}
-	      $dna=3D($dna=3D=3D'')?$dna_default->value:$dna;
-
-
-
-                $acc_operation->type=3D'd';
-                $acc_operation->qcode=3D'';
-                $acc_operation->amount=3D$tot_tva_ndded;
-                $acc_operation->poste=3D$dna;
-                if ( $tot_tva_ndded > 0 ) $tot_debit=3Dbcadd($tot_debit,=
$tot_tva_ndded);
-                $j_id=3D$acc_operation->insert_jrnx();
-
-
-            }
-
             if ( $g_parameter->MY_TVA_USE=3D=3D'Y')
             {
                 /* save all vat

Modified: phpcompta/trunk/include/class_acc_operation.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_acc_operation.php	2014-01-09 15:41:07 U=
TC (rev 5664)
+++ phpcompta/trunk/include/class_acc_operation.php	2014-01-09 19:06:29 U=
TC (rev 5665)
@@ -566,12 +566,13 @@
     {
         $_SESSION['g_user']=3D'phpcompta';
         $_SESSION['g_pass']=3D'dany';
-
+        global $g_user;
         $cn=3Dnew Database(dossier::id());
+        $g_user=3Dnew User($cn);
         $a=3Dnew Acc_Operation($cn);
-        $a->jr_id=3D11;
+        $a->jr_id=3D1444;
         $b=3D$a->get_quant();
-        var_dump($b->det);
+        var_dump($b);
     }
 }
 ////////////////////////////////////////////////////////////////////////=
/////
@@ -653,6 +654,7 @@
              FROM quant_sold  join jrnx using(j_id) where j_grpt=3D$1";
         $this->det->array=3D$this->db->get_array($sql,array($this->det->=
jr_grpt_id));
     }
+   =20
 }
 ////////////////////////////////////////////////////////////////////////=
/////
 /**

Modified: phpcompta/trunk/include/class_anc_balance_double.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_anc_balance_double.php	2014-01-09 15:41=
:07 UTC (rev 5664)
+++ phpcompta/trunk/include/class_anc_balance_double.php	2014-01-09 19:06=
:29 UTC (rev 5665)
@@ -65,7 +65,7 @@
         {
             $odd++;
=20
-            $r.=3D($odd%2=3D=3D0)?'<tr class=3D"odd">':'</tr>';
+            $r.=3D($odd%2=3D=3D0)?'<tr class=3D"odd">':'<tr class=3D"eve=
n">';
=20
             if ( $old =3D=3D $row['a_po_name'] )
             {

Modified: phpcompta/trunk/include/class_anc_balance_simple.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_anc_balance_simple.php	2014-01-09 15:41=
:07 UTC (rev 5664)
+++ phpcompta/trunk/include/class_anc_balance_simple.php	2014-01-09 19:06=
:29 UTC (rev 5665)
@@ -141,7 +141,7 @@
         {
             $odd++;
=20
-            $r.=3D($odd%2=3D=3D0)?'<tr class=3D"odd">':'</tr>';
+            $r.=3D($odd%2=3D=3D0)?'<tr class=3D"odd">':'<tr class=3D"eve=
n">';
             // the name and po_id
             //	  $r.=3Dsprintf("<td>%s</td>",$row['po_id']);
             $r.=3Dsprintf("<td align=3D\"left\">%s</td>",h($row['po_name=
']));

Modified: phpcompta/trunk/include/class_anc_grandlivre.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_anc_grandlivre.php	2014-01-09 15:41:07 =
UTC (rev 5664)
+++ phpcompta/trunk/include/class_anc_grandlivre.php	2014-01-09 19:06:29 =
UTC (rev 5665)
@@ -138,8 +138,9 @@
             return $r;
         }
         $r.=3D '<table class=3D"result" style=3D"width=3D100%">';
-	$ix=3D0;$prev=3D'xx';
+	$ix=3D0;$prev=3D'xx';$idx=3D0;
 	$tot_deb=3D$tot_cred=3D0;
+       =20
         foreach ( $array as $row )
         {
 	  if ($prev !=3D $row['po_name'])
@@ -166,8 +167,8 @@
 	      $prev=3D$row['po_name'];
 	      $ix++;
 	    }
-
-            $r.=3D '<tr>';
+            $class=3D($idx%2=3D=3D0)?'even':'odd'; $idx++;
+            $r.=3D'<tr class=3D"'.$class.'">';
 	    $detail=3D($row['jr_id'] !=3D null)?HtmlInput::detail_op($row['jr_i=
d'],$row['jr_internal']):'';
 	    $post_detail=3D($row['j_poste'] !=3D null)?HtmlInput::history_accou=
nt($row['j_poste'],$row['j_poste']):'';
 	    $card_detail=3D($row['f_id'] !=3D null)?HtmlInput::history_card($ro=
w['f_id'],$row['qcode']):'';

Modified: phpcompta/trunk/include/class_anc_listing.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_anc_listing.php	2014-01-09 15:41:07 UTC=
 (rev 5664)
+++ phpcompta/trunk/include/class_anc_listing.php	2014-01-09 19:06:29 UTC=
 (rev 5665)
@@ -63,6 +63,7 @@
=20
     function display_html()
     {
+        $idx=3D0;
         $r=3D"";
         //---Html
         $array=3D$this->load();
@@ -91,7 +92,9 @@
              '</tr>';
         foreach ( $array as $row )
         {
-            $r.=3D '<tr>';
+            $class=3D($idx%2=3D=3D0)?'even':'odd';
+            $idx++;
+            $r.=3D '<tr class=3D"'.$class.'">';
 	    $detail=3D($row['jr_id'] !=3D null)?HtmlInput::detail_op($row['jr_i=
d'],$row['jr_internal']):'';
 	    $post_detail=3D($row['j_poste'] !=3D null)?HtmlInput::history_accou=
nt($row['j_poste'],$row['j_poste']):'';
 	    $card_detail=3D($row['f_id'] !=3D null)?HtmlInput::history_card($ro=
w['f_id'],$row['qcode']):'';

Modified: phpcompta/trunk/include/class_anc_operation.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_anc_operation.php	2014-01-09 15:41:07 U=
TC (rev 5664)
+++ phpcompta/trunk/include/class_anc_operation.php	2014-01-09 19:06:29 U=
TC (rev 5665)
@@ -50,7 +50,17 @@
     var $oa_group;   /*!< group of operation  */
     var $oa_date;	   /*!< equal to j_date if j_id is not	  null */
     var $pa_id;	/*!< the plan analytique id */
-
+    /**
+     * In the case, the amount comes from a ND VAT, the variable
+     * contents the jrnx.j_id of the source which was used to compute=20
+     * the amount
+     */
+    var $oa_jrnx_id_source;=20
+    /**
+     * @brief signed of the amount
+     */
+    var $oa_positive;
+   =20
     /*!\brief constructor
      *
      */
@@ -58,6 +68,8 @@
     {
         $this->db=3D$p_cn;
         $this->id=3D$p_id;
+        $this->oa_jrnx_id_source=3Dnull;
+        $this->oa_positive=3D'Y';
     }
     /*!\brief add a row  to the table operation_analytique
      * \note if $this->oa_group if 0 then a sequence id will be computed=
 for
@@ -74,36 +86,47 @@
=20
         if ( $this->j_id =3D=3D 0 )
         {
-            $this->j_id=3D"null";
+            $this->j_id=3Dnull;
         }
=20
=20
         // we don't save null operations
         if ( $this->oa_amount =3D=3D 0 || $this->po_id=3D=3D-1)
             return;
-
-        $oa_row=3D(isset($this->oa_row))?$this->oa_row:"NULL";
-        $sql=3D'insert into operation_analytique (
-             po_id,
+       =20
+        if ( $this->oa_amount< 0)=20
+        {
+            $this->oa_debit=3D($this->oa_debit=3D=3D't')?'f':'t';
+            $this->oa_positive=3D'N';
+        }
+       =20
+        $oa_row=3D(isset($this->oa_row))?$this->oa_row:null;
+        $sql=3D"insert into operation_analytique (
+             po_id,=20
              oa_amount,
              oa_description,
              oa_debit,
              oa_group,
              j_id,
              oa_date,
-             oa_row
-             ) values ('.
-             $this->po_id.",".
-             $this->oa_amount.",".
-             "' ".Database::escape_string($this->oa_description)."',".
-             "'".$this->oa_debit."',".
-             $this->oa_group.",".
-             $this->j_id.",".
-             "to_date('".$this->oa_date."','DD.MM.YYYY'),".$oa_row.")";
+             oa_row,
+             oa_jrnx_id_source,
+             oa_positive
+             ) values ($1,$2,$3,$4,$5,$6,to_date($7,'DD.MM.YYYY'),$8,$9,=
$10)";
=20
+        $this->db->exec_sql($sql,array(
+                $this->po_id, // 1
+                abs($this->oa_amount), //2
+                $this->oa_description, //3
+                $this->oa_debit, //4
+                $this->oa_group, //5
+                $this->j_id, //6
+                $this->oa_date, //7
+                $oa_row, //8
+                $this->oa_jrnx_id_source, //8
+                $this->oa_positive
+                ));
=20
-        $this->db->exec_sql($sql);
-
     }
     /*!\brief delete a row from the table operation_analytique
      * \note be carefull : do not delete a row when we have a group
@@ -247,7 +270,7 @@
=20
             }
=20
-            $class=3D($count%2=3D=3D0)?"odd":"";
+            $class=3D($count%2=3D=3D0)?"odd":"even";
             $count++;
             $cred=3D ( $row['oa_debit'] =3D=3D 'f')?"CREDIT":"DEBIT";
             $ret.=3D"<tr class=3D\"$class\">";
@@ -289,7 +312,7 @@
     }
     /*!\brief retrieve an operation thanks a jrnx.j_id
      * \param the jrnx.j_id
-     * \return false if nothing is found other true
+     * \return null if nothing is found other an array
      */
     function get_by_jid($p_jid)
     {
@@ -302,7 +325,8 @@
              oa_group,
              oa_date,
              pa_id,
-             oa_row
+             oa_row,
+             oa_positive
              from operation_analytique join poste_analytique using (po_i=
d)
              where
              j_id=3D$p_jid order by j_id,oa_row,pa_id";
@@ -502,7 +526,7 @@
 			$value->javascript=3D'onchange=3D"format_number(this);anc_refresh_rem=
ain(\''.$table_id.'\',\''.$p_seq.'\')"';
             $value->name=3D"val[".$p_seq."][]";
             $value->size=3D6;
-            $value->value=3Dabs((isset($val[$p_seq][$i]))?$val[$p_seq][$=
i]:$p_amount);
+            $value->value=3D(isset($val[$p_seq][$i]))?$val[$p_seq][$i]:$=
p_amount;
             $value->readOnly=3D($p_mode=3D=3D1)?false:true;
 			$remain=3Dbcsub($remain,$value->value);
             $result.=3D'<td>'.$value->input().'</td>';
@@ -511,21 +535,100 @@
         }
=20
         $result.=3D"</table>";
-		$style_remain=3D($remain=3D=3D0)?'style=3D"color:green"':' style=3D"co=
lor:red"';
-		$result.=3D" Reste =C3=A0 imputer =3D  ".
-				'<span class=3D"remain" '.$style_remain.' id=3D"'.$ctrl_remain.'">'.
-				$remain.'</span>';
+        if ( $p_mode =3D=3D 1 )
+        {
+            $style_remain=3D($remain=3D=3D0)?'style=3D"color:green"':' s=
tyle=3D"color:red"';
+            $result.=3D" Reste =C3=A0 imputer =3D  ".
+                            '<span class=3D"remain" '.$style_remain.' id=
=3D"'.$ctrl_remain.'">'.
+                            $remain.'</span>';
=20
-        // add a button to add a row
-        $button=3Dnew IButton();
-        $button->javascript=3D"add_row('".$p_id."$table_id',$p_seq);";
-        $button->name=3D"js".$p_id.$p_seq;
-        $button->label=3D"Nouvelle ligne";
-        if ( $p_mode =3D=3D 1 )
+            // add a button to add a row
+            $button=3Dnew IButton();
+            $button->javascript=3D"add_row('".$p_id."$table_id',$p_seq);=
";
+            $button->name=3D"js".$p_id.$p_seq;
+            $button->label=3D"Nouvelle ligne";
+
             $result.=3D"<br>".$button->input();
+        }
=20
         return $result;
     }
+    /**
+     * Save the ND VAT with prorata
+     *=20
+     * @param $p_array usually $_POST
+     * @param $p_item item of the form
+     * @param $p_j_id jrnx.j_id concerned writing
+     * @param $p_nd amount nd vat
+     * @see Anc_Operation::save_form_plan_vat_nd
+     * @return type
+     */
+    function save_form_plan_vat_nd($p_array,$p_item,$p_j_id,$p_nd)
+    {
+        bcscale(4);
+        extract($p_array);
+	if (! isset ($hplan) ) return;
+       =20
+        if ( ! isset(${'amount_t'.$p_item}) )
+            throw new Exception ('amount not set');
+       =20
+        $tot=3D0;
+        /* variable for in array
+           pa_id array of existing pa_id
+           hplan double array with the pa_id (column)
+           val double array by row with amount
+           op contains sequence
+           p_item is used to identify what op is concerned
+        */
+        /* echo "j_id =3D $j_id p_item =3D $p_item hplan=3D".var_export(=
$hplan[$p_item],true)." val =3D ".var_export($val[$p_item],true).'<br>'; =
*/
+        /* for each row */
+        //   for ($i=3D0;$i<count($val[$p_item]);$i++) {
+        $idx_pa_id=3D0;
+        $row=3D0;
+        $a_Anc_Operation=3Darray();
+        // foreach col PA
+        for ($e=3D0;$e<count($hplan[$p_item]);$e++)
+        {
+            if ( $idx_pa_id =3D=3D count($pa_id))
+            {
+                $idx_pa_id=3D0;
+                $row++;
+            }
+            if ($hplan[$p_item][$e] !=3D -1 && $val[$p_item][$row] !=3D =
'')
+            {
+                $op=3Dnew Anc_Operation($this->db);
+                $op->po_id=3D$hplan[$p_item][$e];
+                $op->oa_group=3D$this->oa_group;
+                $op->j_id=3D$p_j_id;
+                $ratio=3Dbcdiv($val[$p_item][$row],${"amount_t".$p_item}=
);
+                $amount=3D  bcmul($p_nd, $ratio);
+                $op->oa_amount=3Dabs(round($amount,2));
+                $op->oa_debit=3D$this->oa_debit;
+                $op->oa_date=3D$this->oa_date;
+
+                $op->oa_description=3D$this->oa_description;
+                $op->oa_row=3D$row;
+                $op->oa_jrnx_id_source=3D$this->oa_jrnx_id_source;
+                $a_Anc_Operation[]=3Dclone $op;
+            }
+            $idx_pa_id++;
+        }
+        $nb_op=3Dcount($a_Anc_Operation);
+        bcscale(2);
+        for ($i=3D0;$i<$nb_op;$i++)
+        {
+            $tot=3Dbcadd($tot,$a_Anc_Operation[$i]->oa_amount);
+        }
+        if ( $tot !=3D $p_nd )
+        {
+            $diff=3D  bcsub($tot, $p_nd);
+            $a_Anc_Operation[0]->oa_amount=3Dbcsub($a_Anc_Operation[0]->=
oa_amount,$diff);
+        }
+        for ($i=3D0;$i<$nb_op;$i++)
+        {
+            $a_Anc_Operation[$i]->add();
+        }
+    }
     /*!\brief it called for each item, the data are taken from $p_array
      *  data and set before in this.
      * \param $p_item if the item nb for each item (purchase or selling
@@ -577,7 +680,7 @@
                 $op->po_id=3D$hplan[$p_item][$e];
                 $op->oa_group=3D$this->oa_group;
                 $op->j_id=3D$p_j_id;
-                $op->oa_amount=3Dabs($val[$p_item][$row]);
+                $op->oa_amount=3D$val[$p_item][$row];
                 $op->oa_debit=3D$this->oa_debit;
                 $op->oa_date=3D$this->oa_date;
=20
@@ -602,24 +705,49 @@
     */
     function save_update_form($p_array)
     {
-        extract ($p_array);
-        for ($i=3D0;$i < count($op);$i++)
+        extract($p_array);
+        for ($i =3D 0; $i < count($op); $i++)
         {
             /* clean jrnx */
-            $this->db->exec_sql('delete from operation_analytique where =
j_id=3D$1',array($op[$i]));
+            $this->db->exec_sql('delete from operation_analytique where =
j_id=3D$1', array($op[$i]));
+
             /* get missing data for adding */
-            $a_missing=3D$this->db->get_array("select to_char(jr_date,'D=
D.MM.YYYY') as mdate,j_montant,j_debit,jr_comment from jrnx join jrn on (=
j_grpt=3Djr_grpt_id) where j_id=3D$1",
-                                            array($op[$i]));
-            $missing=3D$a_missing[0];
-            $this->oa_debit=3D$missing['j_debit'];
-            $this->oa_description=3D$missing['jr_comment'];
-            $this->j_id=3D$op[$i];
-            $group=3D$this->db->get_next_seq("s_oa_group"); /* for analy=
tic */
-            $this->oa_group=3D$group;
-            $this->oa_date=3D$missing['mdate'];
-            $this->save_form_plan($p_array,$i,$op[$i]);
+            $a_missing =3D $this->db->get_array("select to_char(jr_date,=
'DD.MM.YYYY') as mdate,j_montant,j_debit,jr_comment from jrnx join jrn on=
 (j_grpt=3Djr_grpt_id) where j_id=3D$1", array($op[$i]));
+            $missing =3D $a_missing[0];
+            $this->oa_debit =3D $missing['j_debit'];
+            $this->oa_description =3D $missing['jr_comment'];
+            $this->j_id =3D $op[$i];
+            $group =3D $this->db->get_next_seq("s_oa_group"); /* for ana=
lytic */
+            $this->oa_group =3D $group;
+            $this->oa_date =3D $missing['mdate'];
+            $this->save_form_plan($p_array, $i, $op[$i]);
+           =20
+            // There is ND VAT amount
+            $a_nd =3D $this->db->get_array('select j_id from operation_a=
nalytique
+                where oa_jrnx_id_source=3D$1', array($op[$i]));
+            if (count($a_nd) > 0)
+            {
+                // for each ND VAT amount
+                for ($e=3D0;$e<count($a_nd);$e++)
+                {
+                    $this->db->exec_sql('delete from operation_analytiqu=
e where j_id=3D$1', array($a_nd[$e]['j_id']));
+                    /* get missing data for adding */
+                    $a_missing_vat =3D $this->db->get_array("select to_c=
har(jr_date,'DD.MM.YYYY') as mdate,j_montant,j_debit,jr_comment from jrnx=
 join jrn on (j_grpt=3Djr_grpt_id) where j_id=3D$1", array($a_nd[$e]['j_i=
d']));
+                    $missing_vat =3D $a_missing_vat[0];
+                    $this->oa_debit =3D $missing_vat['j_debit'];
+                    $this->oa_description =3D $missing_vat['jr_comment']=
;
+                    $this->j_id =3D $op[$i];
+                    $group =3D $this->db->get_next_seq("s_oa_group"); /*=
 for analytic */
+                    $this->oa_group =3D $group;
+                    $this->oa_date =3D $missing_vat['mdate'];
+                    $this->oa_jrnx_id_source=3D$op[$i];
+                    $p_array['amount_t'.$i]=3D$missing['j_montant'];
+                    $this->save_form_plan_vat_nd($p_array, $i, $a_nd[$e]=
['j_id'],$missing_vat['j_montant']);
+                }
+            }
         }
     }
+
     /*\brief transform a array of operation into a array usage by
      *display_form_plan & save_form_plan
      *\param $p_array array of operation
@@ -651,7 +779,7 @@
         $idx_pa=3D0;
         for ($i=3D0;$i < count($p_array);$i++)
         {
-            $val[$p_line][$p_array[$i]->oa_row]=3D$p_array[$i]->oa_amoun=
t;
+            $val[$p_line][$p_array[$i]->oa_row]=3D($p_array[$i]->oa_posi=
tive=3D=3D'Y')?$p_array[$i]->oa_amount:($p_array[$i]->oa_amount*(-1));
         }
         $result['val']=3D$val;
         return $result;

Modified: phpcompta/trunk/include/class_anc_table.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_anc_table.php	2014-01-09 15:41:07 UTC (=
rev 5664)
+++ phpcompta/trunk/include/class_anc_table.php	2014-01-09 19:06:29 UTC (=
rev 5665)
@@ -144,7 +144,8 @@
 	$tot_global=3D0;
 	for ($i=3D0;$i<count($this->arow);$i++)
 	  {
-	    echo '<tr>';
+	    $tr=3D($i%2=3D=3D0)?'<tr class=3D"even">':'<tr class=3D"odd">';
+            echo $tr;
 	    echo td(HtmlInput::history_card($this->arow[$i]['f_id'],$this->arow=
[$i]['card_account'].' '.$this->arow[$i]['name']));
 	    $tot_row=3D0;
 	    for ($x=3D0;$x<count($this->aheader);$x++)
@@ -197,8 +198,9 @@
 	$tot_global=3D0;
 	for ($i=3D0;$i<count($this->arow);$i++)
 	  {
-	    echo '<tr>';
-	    echo td(HtmlInput::history_account($this->arow[$i]['card_account'],=
$this->arow[$i]['card_account'].' '.$this->arow[$i]['name']));
+            $tr=3D($i%2=3D=3D0)?'<tr class=3D"even">':'<tr class=3D"odd"=
>';
+            echo $tr;
+            echo td(HtmlInput::history_account($this->arow[$i]['card_acc=
ount'],$this->arow[$i]['card_account'].' '.$this->arow[$i]['name']));
 	    $tot_row=3D0;
 	    for ($x=3D0;$x<count($this->aheader);$x++)
 	      {

Modified: phpcompta/trunk/include/class_document.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_document.php	2014-01-09 15:41:07 UTC (r=
ev 5664)
+++ phpcompta/trunk/include/class_document.php	2014-01-09 19:06:29 UTC (r=
ev 5665)
@@ -865,15 +865,17 @@
                     // check if the march exists
                     if (!isset(${$id}))
                         $r=3D "";
+                    else=20
+                    {
                     // check that something is sold
-                    if (${'e_march' . $counter . '_price'} !=3D 0 && ${'=
e_quant' . $counter} !=3D 0)
-                    {
-                        $f =3D new Fiche($this->db);
-                        $f->get_by_qcode(${$id}, false);
-                        $r =3D $f->strAttribut(ATTR_DEF_NAME);
+                        if (${'e_march' . $counter . '_price'} !=3D 0 &&=
 ${'e_quant' . $counter} !=3D 0)
+                        {
+                            $f =3D new Fiche($this->db);
+                            $f->get_by_qcode(${$id}, false);
+                            $r =3D $f->strAttribut(ATTR_DEF_NAME);
+                        } else
+                            $r =3D "";
                     }
-					else
-						$r=3D"";
                 }
                 else
                     $r=3D${'e_march'.$counter.'_label'};

Modified: phpcompta/trunk/include/constant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/constant.php	2014-01-09 15:41:07 UTC (rev 566=
4)
+++ phpcompta/trunk/include/constant.php	2014-01-09 19:06:29 UTC (rev 566=
5)
@@ -71,7 +71,7 @@
 define ("SITE_UPDATE_PLUGIN",'http://www.phpcompta.eu/plugin_last_versio=
n.txt');
=20
=20
-define ("DBVERSION",112);
+define ("DBVERSION",113);
 define ("MONO_DATABASE",25);
 define ("DBVERSIONREPO",14);
 define ('NOTFOUND','--not found--');

Modified: phpcompta/trunk/include/template/anc_balance_group.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/template/anc_balance_group.php	2014-01-09 15:=
41:07 UTC (rev 5664)
+++ phpcompta/trunk/include/template/anc_balance_group.php	2014-01-09 19:=
06:29 UTC (rev 5665)
@@ -51,7 +51,7 @@
 <?php
 }
 if ($idx %2 =3D=3D 0)
-  echo '<tr>';
+  echo '<tr class=3D"even">';
 else
   echo '<tr class=3D"odd">';
 		echo td($array[$i]['po_name']);

Modified: phpcompta/trunk/include/template/ledger_detail_ach.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/template/ledger_detail_ach.php	2014-01-09 15:=
41:07 UTC (rev 5664)
+++ phpcompta/trunk/include/template/ledger_detail_ach.php	2014-01-09 19:=
06:29 UTC (rev 5665)
@@ -128,6 +128,7 @@
                 if ($owner->MY_TVA_USE =3D=3D 'Y')
                 {
                     echo th(_('HTVA'), 'style=3D"text-align:right"');
+                    echo th(_('TVA ND'), 'style=3D"text-align:right"');
                     echo th(_('TVA'), 'style=3D"text-align:right"');
                     echo th(_('TVAC'), 'style=3D"text-align:right"');
                 } else
@@ -194,15 +195,15 @@
=20
                     if ($owner->MY_TVA_USE =3D=3D 'Y')
                     {
-                        $tva_amount =3D bcadd($q['qp_vat'], $q['qp_nd_tv=
a']);
-                        $tva_amount =3D bcadd($tva_amount, $q['qp_nd_tva=
_recup']);
+                        $tva_amount_nd =3D bcadd($q['qp_nd_tva_recup'], =
$q['qp_nd_tva']);
                         $class =3D "";
                         if ($q['qp_vat_sided'] <> 0)
                         {
                             $class =3D ' style=3D"text-decoration:line-t=
hrough"';
                             $tvac =3D bcsub($tvac, $q['qp_vat']);
                         }
-                        $row.=3Dtd(nbm($tva_amount), 'class=3D"num" ' . =
$class);
+                        $row.=3Dtd(nbm($tva_amount_nd), 'class=3D"num" '=
 . $class);
+                        $row.=3Dtd(nbm($q['qp_vat']), 'class=3D"num" ' .=
 $class);
                         $row.=3Dtd(nbm($tvac), 'class=3D"num"');
                     }
                     $total_tvac+=3D$tvac;
@@ -233,7 +234,7 @@
                     $row =3D td(_('Total'), ' style=3D"font-style:italic=
;text-align:right;font-weight: bolder;width:auto" colspan=3D"6"');
                 $row.=3Dtd(nbm($total_htva), 'class=3D"num" style=3D"fon=
t-style:italic;font-weight: bolder;"');
                 if ($owner->MY_TVA_USE =3D=3D 'Y')
-                    $row.=3Dtd("") . td(nbm($total_tvac), 'class=3D"num"=
 style=3D"font-style:italic;font-weight: bolder;"');
+                    $row.=3Dtd("") . td("").td(nbm($total_tvac), 'class=3D=
"num" style=3D"font-style:italic;font-weight: bolder;"');
                 echo tr($row);
                 ?>
             </table>
@@ -286,20 +287,25 @@
                         } else
                             $view_history =3D '';
                         $row.=3Dtd($view_history);
-                        /* $row=3Dtd($q[$e]['j_poste']); */
-                        /* $row.=3Dtd($q[$e]['j_qcode']); */
-                        if ($q[$e]['j_qcode'] !=3D '')
+                       =20
+                        if ($q[$e]['j_text']=3D=3D"")
                         {
+                            if ($q[$e]['j_qcode'] !=3D '')
+                            {
                             // nom de la fiche
-                            $ff =3D new Fiche($cn);
-                            $ff->get_by_qcode($q[$e]['j_qcode']);
-                            $row.=3Dtd($ff->strAttribut(h(ATTR_DEF_NAME)=
));
-                        } else
-                        {
-                            // libell=C3=A9 du compte
-                            $name =3D $cn->get_value('select pcm_lib fro=
m tmp_pcmn where pcm_val=3D$1', array($q[$e]['j_poste']));
-                            $row.=3Dtd(h($name));
+                                $ff =3D new Fiche($cn);
+                                $ff->get_by_qcode($q[$e]['j_qcode']);
+                                $row.=3Dtd($ff->strAttribut(h(ATTR_DEF_N=
AME)));
+                            } else
+                            {
+                                // libell=C3=A9 du compte
+                                $name =3D $cn->get_value('select pcm_lib=
 from tmp_pcmn where pcm_val=3D$1', array($q[$e]['j_poste']));
+                                $row.=3Dtd(h($name));
+                            }
                         }
+                        else=20
+                            $row.=3Dtd(h($q[$e]['j_text']));
+                       =20
                         $montant =3D td(nbm($q[$e]['j_montant']), 'class=
=3D"num"');
                         $row.=3D($q[$e]['j_debit'] =3D=3D 't') ? $montan=
t : td('');
                         $row.=3D($q[$e]['j_debit'] =3D=3D 'f') ? $montan=
t : td('');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 15:21:34 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1M6f-0006wM-Vx
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 15:21:33 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 21:09:19 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.159052.1389298893.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5666 - in phpcompta/tags/rel671:
	html/admin/sql/patch include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 20:21:32 -0000

Author: danydb
Date: 2014-01-09 21:09:18 +0100 (Thu, 09 Jan 2014)
New Revision: 5666

Added:
   phpcompta/tags/rel671/html/admin/sql/patch/upgrade113.sql
Modified:
   phpcompta/tags/rel671/include/constant.php
Log:
oa_signed : bad col named

Added: phpcompta/tags/rel671/html/admin/sql/patch/upgrade113.sql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/admin/sql/patch/upgrade113.sql	           =
             (rev 0)
+++ phpcompta/tags/rel671/html/admin/sql/patch/upgrade113.sql	2014-01-09 =
20:09:18 UTC (rev 5666)
@@ -0,0 +1,7 @@
+begin;
+
+alter table operation_analytique rename oa_signed to oa_positive;
+
+update version set val=3D114;
+
+commit;

Modified: phpcompta/tags/rel671/include/constant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/constant.php	2014-01-09 19:06:29 UTC (r=
ev 5665)
+++ phpcompta/tags/rel671/include/constant.php	2014-01-09 20:09:18 UTC (r=
ev 5666)
@@ -61,8 +61,8 @@
 $g_succeed=3D"<span style=3D\"font-size:18px;color:green\">&#x2713;</spa=
n>";
 /* uncomment for development */
  //define ('SVNINFO',5995);
+//define ("DEBUG",true);
 define ("DEBUG",false);
-//define ("DEBUG",false);
=20
 $version_phpcompta=3DSVNINFO;
 // If you don't want to be notified of the update
@@ -71,7 +71,7 @@
 define ("SITE_UPDATE_PLUGIN",'http://www.phpcompta.eu/plugin_last_versio=
n.txt');
=20
=20
-define ("DBVERSION",113);
+define ("DBVERSION",114);
 define ("MONO_DATABASE",25);
 define ("DBVERSIONREPO",14);
 define ('NOTFOUND','--not found--');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Thu Jan 09 15:48:52 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1MX6-00084l-Ah
	for mharc-phpcompta-dev@gnu.org; Thu, 09 Jan 2014 15:48:52 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Thu,  9 Jan 2014 21:36:37 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.159075.1389300530.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5667 - in phpcompta/trunk: . html/admin/sql/patch
	include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 20:48:50 -0000

Author: danydb
Date: 2014-01-09 21:36:36 +0100 (Thu, 09 Jan 2014)
New Revision: 5667

Added:
   phpcompta/trunk/html/admin/sql/patch/upgrade113.sql
Modified:
   phpcompta/trunk/
   phpcompta/trunk/include/constant.php
Log:
Merged revisions 5666 via svnmerge from=20
svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel671

........
  r5666 | danydb | 2014-01-09 21:09:18 +0100 (jeu., 09 janv. 2014) | 1 li=
ne
 =20
  oa_signed : bad col named
........



Property changes on: phpcompta/trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /phpcompta/tags/rel671:1-5664
   + /phpcompta/tags/rel671:1-5666

Copied: phpcompta/trunk/html/admin/sql/patch/upgrade113.sql (from rev 566=
6, phpcompta/tags/rel671/html/admin/sql/patch/upgrade113.sql)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/admin/sql/patch/upgrade113.sql	                 =
       (rev 0)
+++ phpcompta/trunk/html/admin/sql/patch/upgrade113.sql	2014-01-09 20:36:=
36 UTC (rev 5667)
@@ -0,0 +1,7 @@
+begin;
+
+alter table operation_analytique rename oa_signed to oa_positive;
+
+update version set val=3D114;
+
+commit;

Modified: phpcompta/trunk/include/constant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/constant.php	2014-01-09 20:09:18 UTC (rev 566=
6)
+++ phpcompta/trunk/include/constant.php	2014-01-09 20:36:36 UTC (rev 566=
7)
@@ -61,8 +61,8 @@
 $g_succeed=3D"<span style=3D\"font-size:18px;color:green\">&#x2713;</spa=
n>";
 /* uncomment for development */
  //define ('SVNINFO',5995);
+//define ("DEBUG",true);
 define ("DEBUG",false);
-//define ("DEBUG",false);
=20
 $version_phpcompta=3DSVNINFO;
 // If you don't want to be notified of the update
@@ -71,7 +71,7 @@
 define ("SITE_UPDATE_PLUGIN",'http://www.phpcompta.eu/plugin_last_versio=
n.txt');
=20
=20
-define ("DBVERSION",113);
+define ("DBVERSION",114);
 define ("MONO_DATABASE",25);
 define ("DBVERSIONREPO",14);
 define ('NOTFOUND','--not found--');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Fri Jan 10 13:27:58 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1goI-0000RH-Ou
	for mharc-phpcompta-dev@gnu.org; Fri, 10 Jan 2014 13:27:58 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Fri, 10 Jan 2014 19:15:40 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.159838.1389378477.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5668 - phpcompta/tags/rel671/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jan 2014 18:27:56 -0000

Author: danydb
Date: 2014-01-10 19:15:39 +0100 (Fri, 10 Jan 2014)
New Revision: 5668

Modified:
   phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
Log:
Bug NON DEDUCTIBLE

Modified: phpcompta/tags/rel671/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-0=
9 20:36:36 UTC (rev 5667)
+++ phpcompta/tags/rel671/include/class_acc_ledger_purchase.php	2014-01-1=
0 18:15:39 UTC (rev 5668)
@@ -275,13 +275,6 @@
             $p_nd_amount->amount_nd_rate =3D $p_fiche->strAttribut(ATTR_=
DEF_DEPENSE_NON_DEDUCTIBLE);
             $p_nd_amount->compute_nd();
         }
-
-        if (!$p_fiche->empty_attribute(ATTR_DEF_DEP_PRIV))
-        {
-            $p_nd_amount->amount_perso_rate =3D $p_fiche->strAttribut(AT=
TR_DEF_DEP_PRIV);
-            $p_nd_amount->compute_perso();
-        }
-
         if (!$p_fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIBLE) && $=
tva_both =3D=3D 0)
         {
             $p_nd_amount->nd_vat_rate =3D $p_fiche->strAttribut(ATTR_DEF=
_TVA_NON_DEDUCTIBLE);
@@ -292,6 +285,13 @@
             $p_nd_amount->nd_ded_vat_rate =3D $p_fiche->strAttribut(ATTR=
_DEF_TVA_NON_DEDUCTIBLE_RECUP);
             $p_nd_amount->compute_ndded_vat();
         }
+
+        if (!$p_fiche->empty_attribute(ATTR_DEF_DEP_PRIV))
+        {
+            $p_nd_amount->amount_perso_rate =3D $p_fiche->strAttribut(AT=
TR_DEF_DEP_PRIV);
+            $p_nd_amount->compute_perso();
+        }
+
     }
=20
     /**
@@ -313,7 +313,6 @@
             throw new Exception(__FILE__.__LINE__.'invalid acc_operation=
.j_id');
         }
         $source_j_id=3D$p_acc_operation->jrnx_id ;
-        $p_nd_amount->correct();
         /*
          * Save all the no deductible
          *     ATTR_DEF_ACCOUNT_ND_TVA,ATTR_DEF_ACCOUNT_ND_TVA_ND,ATTR_D=
EF_ACCOUNT_ND_PERSO,ATTR_DEF_ACCOUNT_ND
@@ -323,9 +322,9 @@
             $dna_default =3D new Acc_Parm_Code($this->db, 'DNA');
=20
             /* save op. */
-            if (!$p_Fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND))
+            if (!$p_fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND))
             {
-                $dna =3D $p_Fiche->strAttribut(ATTR_DEF_ACCOUNT_ND);
+                $dna =3D $p_fiche->strAttribut(ATTR_DEF_ACCOUNT_ND);
             } else
             {
                 $dna =3D $dna_default->p_value;
@@ -333,12 +332,12 @@
             $dna =3D ($dna =3D=3D '') ? $dna_default->p_value : $dna;
=20
             $p_acc_operation->type =3D 'd';
-            $p_acc_operation->amount =3D $p_nd_amount->amount_nd_rate ;
+            $p_acc_operation->amount =3D $p_nd_amount->amount_nd;
             $p_acc_operation->poste =3D $dna;
             $p_acc_operation->qcode =3D '';
             $p_acc_operation->desc=3D$this->find_label($dna)." ND ".$p_f=
iche->strAttribut(ATTR_DEF_QUICKCODE);
-            if ($p_nd_amount->amount_nd_rate > 0)
-                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_nd_rate);
+            if ($p_nd_amount->amount_nd > 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_nd );
             $j_id =3D $p_acc_operation->insert_jrnx();
         }
         /*
@@ -399,6 +398,9 @@
                 $op->oa_jrnx_id_source=3D$source_j_id;
                 $op->save_form_plan_vat_nd($_POST,$idx,$j_id,$p_nd_amoun=
t->nd_vat,$p_acc_operation->jrnx_id);
             }
+            if ($p_nd_amount->nd_vat> 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->nd_va=
t);
+           =20
         }
         if ($p_nd_amount->nd_ded_vat !=3D 0)
         {
@@ -576,6 +578,7 @@
               =20
                 /* compute ND */
                 $this->compute_no_deductible($acc_amount, $fiche, $tva_b=
oth);
+                $acc_amount->correct();
=20
                =20
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Fri Jan 10 13:28:06 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1goQ-0000Uq-Tl
	for mharc-phpcompta-dev@gnu.org; Fri, 10 Jan 2014 13:28:06 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Fri, 10 Jan 2014 19:15:52 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.159839.1389378486.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5669 - phpcompta/tags/rel671/include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jan 2014 18:28:06 -0000

Author: danydb
Date: 2014-01-10 19:15:52 +0100 (Fri, 10 Jan 2014)
New Revision: 5669

Modified:
   phpcompta/tags/rel671/include/template/ledger_detail_ach.php
   phpcompta/tags/rel671/include/template/ledger_detail_misc.php
   phpcompta/tags/rel671/include/template/ledger_detail_ven.php
Log:
improve appearance

Modified: phpcompta/tags/rel671/include/template/ledger_detail_ach.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/template/ledger_detail_ach.php	2014-01-=
10 18:15:39 UTC (rev 5668)
+++ phpcompta/tags/rel671/include/template/ledger_detail_ach.php	2014-01-=
10 18:15:52 UTC (rev 5669)
@@ -226,7 +226,8 @@
                             $row.=3Dtd('');
                         }
                     }
-                    echo tr($row);
+                     $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D"=
odd"';
+                     echo tr($row,$class);
                 }
                 if ($owner->MY_TVA_USE =3D=3D 'Y')
                     $row =3D td(_('Total'), ' style=3D"font-style:italic=
;text-align:right;font-weight: bolder;width:auto" colspan=3D"6"');
@@ -309,7 +310,9 @@
                         $montant =3D td(nbm($q[$e]['j_montant']), 'class=
=3D"num"');
                         $row.=3D($q[$e]['j_debit'] =3D=3D 't') ? $montan=
t : td('');
                         $row.=3D($q[$e]['j_debit'] =3D=3D 'f') ? $montan=
t : td('');
-                        echo tr($row);
+                        $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D=
"odd"';
+
+                        echo tr($row,$class);
                     }
                     ?>
             </table>

Modified: phpcompta/tags/rel671/include/template/ledger_detail_misc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/template/ledger_detail_misc.php	2014-01=
-10 18:15:39 UTC (rev 5668)
+++ phpcompta/tags/rel671/include/template/ledger_detail_misc.php	2014-01=
-10 18:15:52 UTC (rev 5669)
@@ -163,8 +163,10 @@
 	$row.=3Dtd('');
       }
     }
-    echo tr($row);
+    $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D"odd"';
=20
+    echo tr($row,$class);
+
   }
 ?>
 </table>

Modified: phpcompta/tags/rel671/include/template/ledger_detail_ven.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/include/template/ledger_detail_ven.php	2014-01-=
10 18:15:39 UTC (rev 5668)
+++ phpcompta/tags/rel671/include/template/ledger_detail_ven.php	2014-01-=
10 18:15:52 UTC (rev 5669)
@@ -219,7 +219,8 @@
                             $row.=3Dtd('');
                         }
                     }
-                    echo tr($row);
+                     $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D"=
odd"';
+                     echo tr($row,$class);
                 }
                 if ($owner->MY_TVA_USE =3D=3D 'Y')
                     $row =3D td(_('Total'), ' style=3D"font-style:italic=
;text-align:right;font-weight: bolder;" colspan=3D"5"');
@@ -302,7 +303,8 @@
                         $montant =3D td(nbm($q['j_montant']), 'class=3D"=
num"');
                         $row.=3D($q['j_debit'] =3D=3D 't') ? $montant : =
td('');
                         $row.=3D($q['j_debit'] =3D=3D 'f') ? $montant : =
td('');
-                        echo tr($row);
+                        $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D=
"odd"';
+                        echo tr($row,$class);
                     }
                     ?>
             </table>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Fri Jan 10 13:59:16 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W1hIa-0008KM-Bk
	for mharc-phpcompta-dev@gnu.org; Fri, 10 Jan 2014 13:59:16 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Fri, 10 Jan 2014 19:46:57 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.159846.1389380355.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5670 - in phpcompta/trunk: . include
	include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jan 2014 18:59:14 -0000

Author: danydb
Date: 2014-01-10 19:46:56 +0100 (Fri, 10 Jan 2014)
New Revision: 5670

Modified:
   phpcompta/trunk/
   phpcompta/trunk/include/class_acc_ledger_purchase.php
   phpcompta/trunk/include/template/ledger_detail_ach.php
   phpcompta/trunk/include/template/ledger_detail_misc.php
   phpcompta/trunk/include/template/ledger_detail_ven.php
Log:
Merged revisions 5668-5669 via svnmerge from=20
svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel671

........
  r5668 | danydb | 2014-01-10 19:15:39 +0100 (ven., 10 janv. 2014) | 1 li=
ne
 =20
  Bug NON DEDUCTIBLE
........
  r5669 | danydb | 2014-01-10 19:15:52 +0100 (ven., 10 janv. 2014) | 1 li=
ne
 =20
  improve appearance
........



Property changes on: phpcompta/trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /phpcompta/tags/rel671:1-5666
   + /phpcompta/tags/rel671:1-5669

Modified: phpcompta/trunk/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/class_acc_ledger_purchase.php	2014-01-10 18:1=
5:52 UTC (rev 5669)
+++ phpcompta/trunk/include/class_acc_ledger_purchase.php	2014-01-10 18:4=
6:56 UTC (rev 5670)
@@ -275,13 +275,6 @@
             $p_nd_amount->amount_nd_rate =3D $p_fiche->strAttribut(ATTR_=
DEF_DEPENSE_NON_DEDUCTIBLE);
             $p_nd_amount->compute_nd();
         }
-
-        if (!$p_fiche->empty_attribute(ATTR_DEF_DEP_PRIV))
-        {
-            $p_nd_amount->amount_perso_rate =3D $p_fiche->strAttribut(AT=
TR_DEF_DEP_PRIV);
-            $p_nd_amount->compute_perso();
-        }
-
         if (!$p_fiche->empty_attribute(ATTR_DEF_TVA_NON_DEDUCTIBLE) && $=
tva_both =3D=3D 0)
         {
             $p_nd_amount->nd_vat_rate =3D $p_fiche->strAttribut(ATTR_DEF=
_TVA_NON_DEDUCTIBLE);
@@ -292,6 +285,13 @@
             $p_nd_amount->nd_ded_vat_rate =3D $p_fiche->strAttribut(ATTR=
_DEF_TVA_NON_DEDUCTIBLE_RECUP);
             $p_nd_amount->compute_ndded_vat();
         }
+
+        if (!$p_fiche->empty_attribute(ATTR_DEF_DEP_PRIV))
+        {
+            $p_nd_amount->amount_perso_rate =3D $p_fiche->strAttribut(AT=
TR_DEF_DEP_PRIV);
+            $p_nd_amount->compute_perso();
+        }
+
     }
=20
     /**
@@ -313,7 +313,6 @@
             throw new Exception(__FILE__.__LINE__.'invalid acc_operation=
.j_id');
         }
         $source_j_id=3D$p_acc_operation->jrnx_id ;
-        $p_nd_amount->correct();
         /*
          * Save all the no deductible
          *     ATTR_DEF_ACCOUNT_ND_TVA,ATTR_DEF_ACCOUNT_ND_TVA_ND,ATTR_D=
EF_ACCOUNT_ND_PERSO,ATTR_DEF_ACCOUNT_ND
@@ -323,9 +322,9 @@
             $dna_default =3D new Acc_Parm_Code($this->db, 'DNA');
=20
             /* save op. */
-            if (!$p_Fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND))
+            if (!$p_fiche->empty_attribute(ATTR_DEF_ACCOUNT_ND))
             {
-                $dna =3D $p_Fiche->strAttribut(ATTR_DEF_ACCOUNT_ND);
+                $dna =3D $p_fiche->strAttribut(ATTR_DEF_ACCOUNT_ND);
             } else
             {
                 $dna =3D $dna_default->p_value;
@@ -333,12 +332,12 @@
             $dna =3D ($dna =3D=3D '') ? $dna_default->p_value : $dna;
=20
             $p_acc_operation->type =3D 'd';
-            $p_acc_operation->amount =3D $p_nd_amount->amount_nd_rate ;
+            $p_acc_operation->amount =3D $p_nd_amount->amount_nd;
             $p_acc_operation->poste =3D $dna;
             $p_acc_operation->qcode =3D '';
             $p_acc_operation->desc=3D$this->find_label($dna)." ND ".$p_f=
iche->strAttribut(ATTR_DEF_QUICKCODE);
-            if ($p_nd_amount->amount_nd_rate > 0)
-                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_nd_rate);
+            if ($p_nd_amount->amount_nd > 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->amoun=
t_nd );
             $j_id =3D $p_acc_operation->insert_jrnx();
         }
         /*
@@ -399,6 +398,9 @@
                 $op->oa_jrnx_id_source=3D$source_j_id;
                 $op->save_form_plan_vat_nd($_POST,$idx,$j_id,$p_nd_amoun=
t->nd_vat,$p_acc_operation->jrnx_id);
             }
+            if ($p_nd_amount->nd_vat> 0)
+                $p_tot_debit =3D bcadd($p_tot_debit, $p_nd_amount->nd_va=
t);
+           =20
         }
         if ($p_nd_amount->nd_ded_vat !=3D 0)
         {
@@ -576,6 +578,7 @@
               =20
                 /* compute ND */
                 $this->compute_no_deductible($acc_amount, $fiche, $tva_b=
oth);
+                $acc_amount->correct();
=20
                =20
=20

Modified: phpcompta/trunk/include/template/ledger_detail_ach.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/template/ledger_detail_ach.php	2014-01-10 18:=
15:52 UTC (rev 5669)
+++ phpcompta/trunk/include/template/ledger_detail_ach.php	2014-01-10 18:=
46:56 UTC (rev 5670)
@@ -226,7 +226,8 @@
                             $row.=3Dtd('');
                         }
                     }
-                    echo tr($row);
+                     $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D"=
odd"';
+                     echo tr($row,$class);
                 }
                 if ($owner->MY_TVA_USE =3D=3D 'Y')
                     $row =3D td(_('Total'), ' style=3D"font-style:italic=
;text-align:right;font-weight: bolder;width:auto" colspan=3D"6"');
@@ -309,7 +310,9 @@
                         $montant =3D td(nbm($q[$e]['j_montant']), 'class=
=3D"num"');
                         $row.=3D($q[$e]['j_debit'] =3D=3D 't') ? $montan=
t : td('');
                         $row.=3D($q[$e]['j_debit'] =3D=3D 'f') ? $montan=
t : td('');
-                        echo tr($row);
+                        $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D=
"odd"';
+
+                        echo tr($row,$class);
                     }
                     ?>
             </table>

Modified: phpcompta/trunk/include/template/ledger_detail_misc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/template/ledger_detail_misc.php	2014-01-10 18=
:15:52 UTC (rev 5669)
+++ phpcompta/trunk/include/template/ledger_detail_misc.php	2014-01-10 18=
:46:56 UTC (rev 5670)
@@ -163,8 +163,10 @@
 	$row.=3Dtd('');
       }
     }
-    echo tr($row);
+    $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D"odd"';
=20
+    echo tr($row,$class);
+
   }
 ?>
 </table>

Modified: phpcompta/trunk/include/template/ledger_detail_ven.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/include/template/ledger_detail_ven.php	2014-01-10 18:=
15:52 UTC (rev 5669)
+++ phpcompta/trunk/include/template/ledger_detail_ven.php	2014-01-10 18:=
46:56 UTC (rev 5670)
@@ -219,7 +219,8 @@
                             $row.=3Dtd('');
                         }
                     }
-                    echo tr($row);
+                     $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D"=
odd"';
+                     echo tr($row,$class);
                 }
                 if ($owner->MY_TVA_USE =3D=3D 'Y')
                     $row =3D td(_('Total'), ' style=3D"font-style:italic=
;text-align:right;font-weight: bolder;" colspan=3D"5"');
@@ -302,7 +303,8 @@
                         $montant =3D td(nbm($q['j_montant']), 'class=3D"=
num"');
                         $row.=3D($q['j_debit'] =3D=3D 't') ? $montant : =
td('');
                         $row.=3D($q['j_debit'] =3D=3D 'f') ? $montant : =
td('');
-                        echo tr($row);
+                        $class=3D($e%2=3D=3D0)?' class=3D"even"':'class=3D=
"odd"';
+                        echo tr($row,$class);
                     }
                     ?>
             </table>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sat Jan 11 14:55:07 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W24eB-00055u-IO
	for mharc-phpcompta-dev@gnu.org; Sat, 11 Jan 2014 14:55:07 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sat, 11 Jan 2014 20:42:48 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161033.1389470106.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5671 - phpcompta/tags/rel671/html
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Jan 2014 19:55:05 -0000

Author: danydb
Date: 2014-01-11 20:42:47 +0100 (Sat, 11 Jan 2014)
New Revision: 5671

Modified:
   phpcompta/tags/rel671/html/style-light.css
Log:
Update style-light.css

Modified: phpcompta/tags/rel671/html/style-light.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-light.css	2014-01-10 18:46:56 UTC (r=
ev 5670)
+++ phpcompta/tags/rel671/html/style-light.css	2014-01-11 19:42:47 UTC (r=
ev 5671)
@@ -1070,10 +1070,8 @@
 div#div_jrnsearch_op{
=20
     border:1px solid black;
-    display:none;
     width:50em;
     background-color:#EDF3FF;
-    position:absolute;
     z-index: 5;
=20
 }
@@ -1351,4 +1349,4 @@
     text-align:right;
     border:1px solid blue;
     margin:2px
-}
\ No newline at end of file
+}



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 08:11:24 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2Kp1-0006wJ-W8
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 08:11:24 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 13:59:06 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161454.1389532283.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r660 - tag/rel671/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 13:11:23 -0000

Author: danydb
Date: 2014-01-12 13:59:05 +0100 (Sun, 12 Jan 2014)
New Revision: 660

Modified:
   tag/rel671/rapport_avance/include/class_rapav_declaration.php
Log:
Bug compute=20

Modified: tag/rel671/rapport_avance/include/class_rapav_declaration.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/include/class_rapav_declaration.php	2014-01=
-09 16:49:28 UTC (rev 659)
+++ tag/rel671/rapport_avance/include/class_rapav_declaration.php	2014-01=
-12 12:59:05 UTC (rev 660)
@@ -1052,7 +1052,7 @@
                                 jrn1.j_poste like $1
                                 $sql_date
                                 and
-                                jrn2.j_poste like $2
+                                jrn2.j_poste like $4
                                 and
                                 jrn1.j_debit=3D'f'
                                 $filter_ledger



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 11:18:55 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2NkV-0000WZ-7F
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 11:18:55 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 17:06:37 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161571.1389543534.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r661 - tag/rel671/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 16:18:54 -0000

Author: danydb
Date: 2014-01-12 17:06:37 +0100 (Sun, 12 Jan 2014)
New Revision: 661

Modified:
   tag/rel671/rapport_avance/include/class_rapav_formulaire.php
Log:
Bug : better check of duplicate code

Modified: tag/rel671/rapport_avance/include/class_rapav_formulaire.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/include/class_rapav_formulaire.php	2014-01-=
12 12:59:05 UTC (rev 660)
+++ tag/rel671/rapport_avance/include/class_rapav_formulaire.php	2014-01-=
12 16:06:37 UTC (rev 661)
@@ -122,16 +122,27 @@
 	static function verify_definition(&$p_array)
 	{
 		global $cn;
-		for ($i=3D0;$i<count($p_array['p_code']);$i++)
+                $count_code=3Dcount($p_array['p_code']);
+		for ($i=3D0;$i<$count_code;$i++)
 		{
 			$c=3D$cn->get_value('select count(*) from rapport_advanced.formulaire=
_param
 				where p_code=3D$1 and p_id <> $2 and f_id=3D$3',
 					array($p_array['p_code'][$i],$p_array['p_id'][$i],$p_array['f_id'])=
);
=20
 			if ( $c > 0 ) {
-				$p_array['p_code'][$i]=3D'C'.$i.microtime();
+				$p_array['p_code'][$i]=3D'C'.$i.microtime(false);
 			}
 		}
+               =20
+                for ($i=3D0;$i<$count_code;$i++)
+                {
+                    for ($e=3D0;$e<$count_code;$e++) {
+                        if ($p_array['p_code'][$i] =3D=3D $p_array['p_co=
de'][$e] && $i !=3D $e)
+                        {
+                            $p_array['p_code'][$e]=3D'C'.$i.microtime(fa=
lse);
+                        }
+                    }
+                }
 	}
=20
 	/**



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 11:40:10 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2O54-0007d2-IL
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 11:40:10 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 17:27:48 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161586.1389544809.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5672 - phpcompta/tags/rel671/html
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 16:40:09 -0000

Author: danydb
Date: 2014-01-12 17:27:48 +0100 (Sun, 12 Jan 2014)
New Revision: 5672

Modified:
   phpcompta/tags/rel671/html/style-color.css
   phpcompta/tags/rel671/html/style-epad.css
   phpcompta/tags/rel671/html/style-light.css
   phpcompta/tags/rel671/html/style.css
Log:
Change CSS : h3, h1 were smaller than h2

Modified: phpcompta/tags/rel671/html/style-color.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-color.css	2014-01-11 19:42:47 UTC (r=
ev 5671)
+++ phpcompta/tags/rel671/html/style-color.css	2014-01-12 16:27:48 UTC (r=
ev 5672)
@@ -1153,13 +1153,16 @@
=20
 h1.title {
     color: blue;
-    font-size:0.87em;
+    font-size:2em;
     font-style: italic;
+    text-align:center;
 }
 h3.title {
-    color: blue;
-    font-size:0.87em;
+    color: brown;
+    font-size:1em;
     margin-left: 30px;
+    font-weight: bolder;
+    border:#CC5343 solid 2px;
 }
 h4.title {
     color: blue;

Modified: phpcompta/tags/rel671/html/style-epad.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-epad.css	2014-01-11 19:42:47 UTC (re=
v 5671)
+++ phpcompta/tags/rel671/html/style-epad.css	2014-01-12 16:27:48 UTC (re=
v 5672)
@@ -1173,7 +1173,8 @@
=20
 h1.title {
     color: blue;
-    font-size:0.87em;
+    font-size:2em;
+    text-align:center;
     font-style: italic;
 }
 h2.title {
@@ -1187,8 +1188,10 @@
 }
 h3.title {
     color: blue;
-    font-size:0.87em;
     margin-left: 30px;
+    font-size:1em;
+    font-weight: bolder;
+    border-bottom: #0000ff solid 2px;
 }
 h4.title {
     color: blue;

Modified: phpcompta/tags/rel671/html/style-light.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style-light.css	2014-01-11 19:42:47 UTC (r=
ev 5671)
+++ phpcompta/tags/rel671/html/style-light.css	2014-01-12 16:27:48 UTC (r=
ev 5672)
@@ -1171,8 +1171,10 @@
=20
 h1.title {
     color: blue;
-    font-size:0.87em;
+    font-size:2em;
     font-style: italic;
+    text-align:center;
+    text-transform: uppercase;
 }
 h2.title {
     background-color:#879ed4;

Modified: phpcompta/tags/rel671/html/style.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel671/html/style.css	2014-01-11 19:42:47 UTC (rev 567=
1)
+++ phpcompta/tags/rel671/html/style.css	2014-01-12 16:27:48 UTC (rev 567=
2)
@@ -1163,8 +1163,10 @@
=20
 h1.title {
     color: blue;
-    font-size:0.87em;
+    font-size:2em;
     font-style: italic;
+    text-align:center;
+    text-transform: uppercase;
 }
 h2.title {
     background-color:#879ed4;
@@ -1177,8 +1179,10 @@
 }
 h3.title {
     color: blue;
-    font-size:0.87em;
+    font-size:1em;
     margin-left: 30px;
+    font-weight: bolder;
+    border:#0000ff solid 2px;
 }
 h4.title {
     color: blue;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 11:52:55 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2OHP-000200-S8
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 11:52:55 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 17:40:39 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161589.1389545575.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r662 - tag/rel671/rapport_avance
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 16:52:55 -0000

Author: danydb
Date: 2014-01-12 17:40:38 +0100 (Sun, 12 Jan 2014)
New Revision: 662

Modified:
   tag/rel671/rapport_avance/ajax_listing_search_code.php
   tag/rel671/rapport_avance/ajax_rapav_search_code.php
Log:
Add dynamic search

Modified: tag/rel671/rapport_avance/ajax_listing_search_code.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/ajax_listing_search_code.php	2014-01-12 16:=
06:37 UTC (rev 661)
+++ tag/rel671/rapport_avance/ajax_listing_search_code.php	2014-01-12 16:=
40:38 UTC (rev 662)
@@ -31,8 +31,10 @@
         from rapport_advanced.listing_param=20
         where l_id=3D$1 order by 2",array($f_id));
 echo HtmlInput::title_box('Code Formulaire','search_code_div');
+echo _('Filtre').':'.HtmlInput::filter_table('code_listing_tb','0,1',1);
+
 ?>
-<table>
+<table id=3D'code_listing_tb'>
 	<tr>
 		<th>
 			Code

Modified: tag/rel671/rapport_avance/ajax_rapav_search_code.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/ajax_rapav_search_code.php	2014-01-12 16:06=
:37 UTC (rev 661)
+++ tag/rel671/rapport_avance/ajax_rapav_search_code.php	2014-01-12 16:40=
:38 UTC (rev 662)
@@ -29,8 +29,9 @@
 global $cn;
 $array=3D$cn->get_array("select p_id,p_code,p_libelle from rapport_advan=
ced.formulaire_param where p_type=3D3 and f_id=3D$1 order by 2",array($f_=
id));
 echo HtmlInput::title_box('Code Formulaire','search_code_div');
+echo _('Filtre').':'.HtmlInput::filter_table('code_tb','0,1',1);
 ?>
-<table>
+<table id=3D'code_tb'>
 	<tr>
 		<th>
 			Code



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 13:17:39 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2PbP-0000BE-Or
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 13:17:39 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 19:05:21 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161614.1389550658.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r663 - tag/rel671/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 18:17:38 -0000

Author: danydb
Date: 2014-01-12 19:05:21 +0100 (Sun, 12 Jan 2014)
New Revision: 663

Modified:
   tag/rel671/rapport_avance/include/class_rapav_formulaire.php
Log:
reorder properly declaration

Modified: tag/rel671/rapport_avance/include/class_rapav_formulaire.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/include/class_rapav_formulaire.php	2014-01-=
12 16:40:38 UTC (rev 662)
+++ tag/rel671/rapport_avance/include/class_rapav_formulaire.php	2014-01-=
12 18:05:21 UTC (rev 663)
@@ -177,6 +177,7 @@
 			else
 				$form_param->update();
 		}
+               =20
 		// delete checked rows
 		if ( isset ($p_array["del_row"]))
 		{
@@ -187,6 +188,17 @@
 				}
 			}
 		}
+                // Reorder
+                //
+                $order_param=3Dnew formulaire_param_sql();
+                $ret=3D$order_param->seek(' where f_id=3D$1 order by p_o=
rder',array($p_array['f_id']));
+                $nb_rows=3DDatabase::num_row($ret);
+                for ($i=3D0;$i < $nb_rows;$i++)
+                {
+                    $param=3D$order_param->next($ret,$i);
+                    $param->p_order=3D($i+1)*10;
+                    $param->update();
+                }
 		self::load_file($rapav);
 	}
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 14:47:14 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2R06-0000rB-AL
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 14:47:14 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 20:34:56 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161688.1389556033.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r664 - tag/rel671/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 19:47:13 -0000

Author: danydb
Date: 2014-01-12 20:34:55 +0100 (Sun, 12 Jan 2014)
New Revision: 664

Modified:
   tag/rel671/rapport_avance/include/class_rapav_listing_formula.php
Log:
Check card_saldo

Modified: tag/rel671/rapport_avance/include/class_rapav_listing_formula.p=
hp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/include/class_rapav_listing_formula.php	201=
4-01-12 18:05:21 UTC (rev 663)
+++ tag/rel671/rapport_avance/include/class_rapav_listing_formula.php	201=
4-01-12 19:34:55 UTC (rev 664)
@@ -485,6 +485,7 @@
                                 and lf.f_id =3D $3
                                 ', array($this->detail->lc_id, $search, =
$this->fiche->f_id));
             $formula =3D str_replace($piece, $value, $formula);
+          =20
         }
         /** Protect against division by zero */
         if (strpos("1" . $formula, "/0.0000") !=3D 0)
@@ -637,6 +638,8 @@
             // Saldo
             case 1:
             case 2:
+                 $card_saldo =3D ($this->data->lp_card_saldo =3D=3D 0) ?=
 "jrn1" : "jrn2";
+                 $card_saldo =3D ($this->data->lp_card_saldo =3D=3D 0) ?=
 "jrn1" : "jrn2";
                 // Compute D-C
                 $sql =3D "
                        =20
@@ -800,6 +803,7 @@
         echo '</p>';
=20
         $ck =3D new ICheckBox('card_saldo');
+        $ck->value=3D1;
         $ck->set_check($this->data->lp_card_saldo);
         echo '<p>';
         echo 'Prendre le total de la fiche ' . $ck->input();



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 14:53:16 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2R5w-00035h-Hx
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 14:53:16 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 20:40:58 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161697.1389556395.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r665 - tag/rel671/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 19:53:15 -0000

Author: danydb
Date: 2014-01-12 20:40:58 +0100 (Sun, 12 Jan 2014)
New Revision: 665

Modified:
   tag/rel671/rapport_avance/include/class_rapav_listing_compute.php
Log:
Fix bug listing compute

Modified: tag/rel671/rapport_avance/include/class_rapav_listing_compute.p=
hp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/include/class_rapav_listing_compute.php	201=
4-01-12 19:34:55 UTC (rev 664)
+++ tag/rel671/rapport_avance/include/class_rapav_listing_compute.php	201=
4-01-12 19:40:58 UTC (rev 665)
@@ -126,7 +126,7 @@
                  */
                 for ($i =3D 0; $i < $nb_later; $i++)
                 {
-                    $compute->set_listing_compute($this->data->lc_id);
+                    $a_later[$i]->set_listing_compute($this->data->lc_id=
);
                     $a_later[$i]->compute($p_date_start, $p_date_end);
                     $a_later[$i]->save_computed();
                 }



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 14:53:31 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2R6B-0003Na-RF
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 14:53:31 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 20:41:13 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161698.1389556411.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r666 - tag/rel671/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 19:53:30 -0000

Author: danydb
Date: 2014-01-12 20:41:13 +0100 (Sun, 12 Jan 2014)
New Revision: 666

Modified:
   tag/rel671/rapport_avance/include/formulaire.inc.php
Log:
remove dead code

Modified: tag/rel671/rapport_avance/include/formulaire.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/include/formulaire.inc.php	2014-01-12 19:40=
:58 UTC (rev 665)
+++ tag/rel671/rapport_avance/include/formulaire.inc.php	2014-01-12 19:41=
:13 UTC (rev 666)
@@ -36,7 +36,6 @@
 	}
 	else
 	{
-		//echo '<p class=3D"notice">'._(' derni=C3=A8re sauvegarde ').date('d-=
m-Y H:i').'</p>';
 		try
 		{
 			RAPAV_formulaire::save_definition($_POST);



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 14:53:42 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2R6M-0003PG-0n
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 14:53:42 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 20:41:24 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161699.1389556421.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r667 - tag/rel671/rapport_avance/doc
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 19:53:40 -0000

Author: danydb
Date: 2014-01-12 20:41:24 +0100 (Sun, 12 Jan 2014)
New Revision: 667

Added:
   tag/rel671/rapport_avance/doc/test_formule.bin
   tag/rel671/rapport_avance/doc/test_listing_exemple.pdf
Log:
Add general test

Added: tag/rel671/rapport_avance/doc/test_formule.bin
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/doc/test_formule.bin	                      =
  (rev 0)
+++ tag/rel671/rapport_avance/doc/test_formule.bin	2014-01-12 19:41:24 UT=
C (rev 667)
@@ -0,0 +1,115 @@
+RAPAV;4
+"Test Formule";"Test sur toutes les formules possibles"
+155;C1;"Formule + Formule2";3;110;15;1
+157;PCTVA1OP;"Poste comptable 6 et TVA 1date op=C3=A9ration ";3;150;15;1
+158;PCTVA1PAY;"Poste comptable 6 et TVA 1date Paiements";3;160;15;1
+170;T412;"Journaux Achat";6;180;15;1
+161;T42;"Total  Code TVA + Poste Comptable";2;220;15;1
+164;PCTVA2ECH;"Poste Comptable 6 et TVA 1 date Echeance";3;260;15;1
+175;T422;"Journaux Achat";6;270;15;1
+176;PCTVA22OP;"Poste comptable 6 et TVA 1date op=C3=A9ration ";3;280;15;=
1
+177;PCTVA22PAY;"Poste comptable 6 et TVA 1date Paiements";3;300;15;1
+183;PCTVA32ECH;"Poste Comptable 6 et TVA 41 date Echeance";3;390;15;1
+156;T4;"Poste comptable et TVA";1;120;15;1
+172;PCTVA12PAY;"Poste comptable 6 et TVA 1date Paiements";3;200;15;1
+173;PCTVA12ECH;"Poste Comptable 6 et TVA 1 date Echeance";3;210;15;1
+174;T421;" tous les journaux";3;230;15;1
+171;PCTVA12OP;"Poste comptable 6 et TVA 1date op=C3=A9ration ";3;190;15;=
1
+162;PCTVA2OP;"Poste comptable 6 et TVA 1date op=C3=A9ration ";3;240;15;1
+165;T43;" Poste Comptable";2;310;15;1
+179;T431;"Tous les journaux";6;320;15;1
+168;PCTVA3ECH;"Poste Comptable 6 et TVA 41 date Echeance";3;350;15;1
+153;F70ECH;"Somme 70% date =C3=A9ch=C3=A9ance";3;90;15;1
+154;T3;Compute;1;100;15;1
+169;T411;"Tous les journaux";6;140;15;1
+163;PCTVA2PAY;"Poste comptable 6 et TVA 1date Paiements";3;250;15;1
+178;PCTVA22ECH;"Poste Comptable 6 et TVA 1 date Echeance";3;290;15;1
+159;PCTVA1ECH;"Poste Comptable 6 et TVA 1 date Echeance";3;170;15;1
+160;T41;"Total Code TVA";2;130;15;1
+167;PCTVA3PAY;"Poste comptable 6 et TVA 41date Paiements";3;340;15;1
+152;F70PAY;"Somme 70% date paiement";3;80;15;1
+180;T432;"Journaux Achat";6;360;15;1
+181;PCTVA32OP;"Poste comptable 6 et TVA 41date op=C3=A9ration ";3;370;15=
;1
+182;PCTVA32PAY;"Poste comptable 6 et TVA 41date Paiements";3;380;15;1
+151;F70JRN;"Somme 70% Journaux";3;70;15;1
+150;F70OP;"Somme 70% date op=C3=A9ration";3;60;15;1
+145;FORMULE;Formule;3;20;15;1
+146;FORMULE2;"Op=C3=A9rateur ternaire sur la formule";3;30;15;1
+147;COMPUTE;"Op=C3=A9rateur ternaire sur la formule via compute";3;40;15=
;1
+149;T2;Formule;1;50;15;1
+166;PCTVA3OP;"Poste comptable 6 et TVA 41date op=C3=A9ration ";3;330;15;=
1
+188;T5;"Poste Comptable  6 & 41 date op=C3=A9ration";1;400;15;1
+189;T51;"Date op=C3=A9ration";2;410;15;1
+190;PDC51;"Solde d=C3=A9bit - cr=C3=A9dit";3;420;15;1
+191;PCD51;"Solde Cr=C3=A9dit - d=C3=A9bit";3;430;15;1
+192;PD51;D=C3=A9bit;3;440;15;1
+193;PC51;Cr=C3=A9dit;3;450;15;1
+194;T52;"Poste Comptable  6 & 41 Date Ech=C3=A9ance";2;460;15;1
+195;PDC52;"Solde d=C3=A9bit - cr=C3=A9dit";3;470;15;1
+196;PCD52;"Solde Cr=C3=A9dit - d=C3=A9bit";3;480;15;1
+197;PD52;D=C3=A9bit;3;490;15;1
+198;PC52;Cr=C3=A9dit;3;500;15;1
+199;T53;"Poste Comptable  6 & 41 Date Paiement";2;510;15;1
+200;PCD53;"Solde d=C3=A9bit - cr=C3=A9dit";3;520;15;1
+202;PDC53;"Solde Cr=C3=A9dit - d=C3=A9bit";3;530;15;1
+203;PD53;D=C3=A9bit;3;540;15;1
+204;PC53;Cr=C3=A9dit;3;550;15;1
+211;T54;"Poste comptable 6 et 41 limit=C3=A9 =C3=A0 un journal";2;560;15=
;1
+218;OR1;"Solde D=C3=A9bit - Cr=C3=A9dit solde du compte 6% utilis=C3=A9 =
avec 4% rapproch=C3=A9e avec une op=C3=A9ration 55% dans la p=C3=A9riode =
donn=C3=A9e";3;570;15;1
+213;PCD54;"Solde Cr=C3=A9dit - d=C3=A9bit";3;580;15;1
+214;PD54;"D=C3=A9bit  la date de paiement";3;590;15;1
+215;PC54;"Cr=C3=A9dit date d'=C3=A9ch=C3=A9ance";3;600;15;1
+217;T6;"Op=C3=A9ration rapproch=C3=A9es";1;610;15;1
+212;PDC54;"Solde d=C3=A9bit - cr=C3=A9dit";3;620;15;1
+222;OR5;"test order";3;630;15;1
+219;OR2;"Solde cr=C3=A9dit - d=C3=A9bit solde du compte 6% utilis=C3=A9 =
avec 4% rapproch=C3=A9e avec une op=C3=A9ration 55% dans la p=C3=A9riode =
donn=C3=A9e";3;640;15;1
+220;OR3;"D=C3=A9bit op=C3=A9ration compte 6% utilis=C3=A9 avec 4% rappro=
ch=C3=A9e avec une op=C3=A9ration 55% dans la p=C3=A9riode donn=C3=A9e";3=
;650;15;1
+221;OR4;"Cr=C3=A9dit op=C3=A9ration compte 6% utilis=C3=A9 avec 4% rappr=
och=C3=A9e avec une op=C3=A9ration 55% dans la p=C3=A9riode donn=C3=A9e l=
imit=C3=A9 au journal Achat";3;660;15;1
+148;T1;"Test sur op=C3=A9rateur ternaire";1;10;15;1
+RAPAV_DETAIL
+134;147;;;"([FORMULE] > 50000)?1:0";;;;3;;;;
+136;145;;;[7%]*2.5;;;;1;;;;0
+137;146;;;([70%]>12)?0:-12;;;;1;;;;0
+138;150;;;[70%];;;;1;;;;0
+140;152;;;[70%];;;;1;;;;2
+139;151;;;[70%];;;;1;;;;1
+141;153;;;[70%];;;;1;;;;2
+142;155;;;[FORMULE]+[C1];;;;3;;;;
+143;157;6%;1;;;ACH;1;2;;;;0
+144;158;6%;1;;;ACH;1;2;;;;1
+145;159;6%;1;;;ACH;2;2;;;;2
+146;171;6%;1;;;ACH;1;2;;;;0
+148;173;6%;1;;;ACH;1;2;;;;2
+147;172;6%;1;;;ACH;1;2;;;;1
+149;174;7%;1;;;VEN;0;2;;;;0
+150;162;7%;1;;;VEN;1;2;;;;0
+178;213;6%;;;;;;4;41%;2;;0
+151;163;6%;1;;;ACH;0;2;;;;1
+152;164;6%;1;;;ACH;0;2;;;;2
+155;176;6%;1;;;ACH;0;2;;;;0
+157;177;6%;1;;;ACH;0;2;;;;1
+179;214;61%;;;;;;4;41%;3;;1
+156;178;6%;1;;;ACH;0;2;;;;2
+158;166;6%;1;;;ACH;2;2;;;;0
+159;167;6%;1;;;ACH;2;2;;;;1
+160;168;6%;1;;;ACH;2;2;;;;2
+161;181;6%;1;;;ACH;2;2;;;;0
+162;182;6%;1;;;ACH;2;2;;;;1
+163;183;6%;1;;;ACH;2;2;;;;2
+164;190;61%;;;;;;4;41%;1;;0
+165;191;61%;;;;;;4;41%;2;;0
+166;192;61%;;;;;;4;41%;3;;0
+168;193;61%;;;;;;4;41%;4;;0
+169;195;61%;;;;;;4;41%;1;;2
+170;196;61%;;;;;;4;41%;2;;2
+171;197;61%;;;;;;4;41%;3;;2
+172;198;61%;;;;;;4;41%;4;;2
+173;200;61%;;;;;;4;41%;1;;1
+174;202;61%;;;;;;4;41%;2;;1
+175;203;61%;;;;;;4;41%;3;;1
+176;204;61%;;;;;;4;41%;4;;1
+177;212;6%;;;;;;4;41%;1;;0
+180;215;61%;;;;;;4;41%;4;;2
+181;219;61%;;;;;;5;41%;2;55%;
+182;220;61%;;;;;;5;41%;3;55%;
+183;221;6%;;;;;;4;41%;4;;0

Added: tag/rel671/rapport_avance/doc/test_listing_exemple.pdf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)


Property changes on: tag/rel671/rapport_avance/doc/test_listing_exemple.p=
df
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sun Jan 12 15:25:07 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W2Ral-00043Y-SJ
	for mharc-phpcompta-dev@gnu.org; Sun, 12 Jan 2014 15:25:07 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sun, 12 Jan 2014 21:12:43 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.161712.1389558306.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r668 - tag/rel671/rapport_avance/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 20:25:05 -0000

Author: danydb
Date: 2014-01-12 21:12:42 +0100 (Sun, 12 Jan 2014)
New Revision: 668

Modified:
   tag/rel671/rapport_avance/include/class_rapav_listing_formula.php
Log:
Bug attribut

Modified: tag/rel671/rapport_avance/include/class_rapav_listing_formula.p=
hp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- tag/rel671/rapport_avance/include/class_rapav_listing_formula.php	201=
4-01-12 19:41:24 UTC (rev 667)
+++ tag/rel671/rapport_avance/include/class_rapav_listing_formula.php	201=
4-01-12 20:12:42 UTC (rev 668)
@@ -209,7 +209,9 @@
     function display()
     {
         global $cn;
-        $desc =3D $cn->get_value('select ad_text from attr_def where ad_=
id=3D$1', array($this->data->getp('attribut_card')));
+        $desc =3D $cn->get_value('select ad_text from attr_def=20
+                 where ad_id=3D$1', array($this->data->getp('attribut_ca=
rd')));
+       =20
         return "Utilisant l'attribut " . h($desc);
     }
=20
@@ -239,13 +241,18 @@
     function input()
     {
         global $cn;
+        $this->cat =3D $cn->get_value('select fd_id=20
+                    from rapport_advanced.listing=20
+                    where
+                    l_id=3D$1
+                    ', array($this->data->getp('listing_id')));
         $select =3D new ISelect('p_attribute');
=20
         $select->value =3D $cn->make_array('select a.ad_id,a.ad_text=20
                                         from
                                         attr_def as a join jnt_fic_attr =
as j on (a.ad_id=3Dj.ad_id)
                                         where
-                                        fd_id=3D' . $this->data->getp('l=
isting_id') . ' order by 2');
+                                        fd_id=3D' .$this->cat . ' order =
by a.ad_text ');
=20
         $select->selected =3D $this->data->getp('attribut_card');
         return "Attribut =C3=A0 afficher pour chaque fiche " . $select->=
input();



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Wed Jan 15 15:28:07 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W3X4J-0005KF-0T
	for mharc-phpcompta-dev@gnu.org; Wed, 15 Jan 2014 15:28:07 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Wed, 15 Jan 2014 21:15:43 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.165420.1389817686.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5673 - in phpcompta/trunk: . html
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Jan 2014 20:28:05 -0000

Author: danydb
Date: 2014-01-15 21:15:42 +0100 (Wed, 15 Jan 2014)
New Revision: 5673

Modified:
   phpcompta/trunk/
   phpcompta/trunk/html/style-color.css
   phpcompta/trunk/html/style-epad.css
   phpcompta/trunk/html/style-light.css
   phpcompta/trunk/html/style.css
Log:
Merged revisions 5671-5672 via svnmerge from=20
svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel671

........
  r5671 | danydb | 2014-01-11 20:42:47 +0100 (sam., 11 janv. 2014) | 1 li=
ne
 =20
  Update style-light.css
........
  r5672 | danydb | 2014-01-12 17:27:48 +0100 (dim., 12 janv. 2014) | 1 li=
ne
 =20
  Change CSS : h3, h1 were smaller than h2
........



Property changes on: phpcompta/trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /phpcompta/tags/rel671:1-5669
   + /phpcompta/tags/rel671:1-5672

Modified: phpcompta/trunk/html/style-color.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style-color.css	2014-01-12 16:27:48 UTC (rev 567=
2)
+++ phpcompta/trunk/html/style-color.css	2014-01-15 20:15:42 UTC (rev 567=
3)
@@ -1153,13 +1153,16 @@
=20
 h1.title {
     color: blue;
-    font-size:0.87em;
+    font-size:2em;
     font-style: italic;
+    text-align:center;
 }
 h3.title {
-    color: blue;
-    font-size:0.87em;
+    color: brown;
+    font-size:1em;
     margin-left: 30px;
+    font-weight: bolder;
+    border:#CC5343 solid 2px;
 }
 h4.title {
     color: blue;

Modified: phpcompta/trunk/html/style-epad.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style-epad.css	2014-01-12 16:27:48 UTC (rev 5672=
)
+++ phpcompta/trunk/html/style-epad.css	2014-01-15 20:15:42 UTC (rev 5673=
)
@@ -1173,7 +1173,8 @@
=20
 h1.title {
     color: blue;
-    font-size:0.87em;
+    font-size:2em;
+    text-align:center;
     font-style: italic;
 }
 h2.title {
@@ -1187,8 +1188,10 @@
 }
 h3.title {
     color: blue;
-    font-size:0.87em;
     margin-left: 30px;
+    font-size:1em;
+    font-weight: bolder;
+    border-bottom: #0000ff solid 2px;
 }
 h4.title {
     color: blue;

Modified: phpcompta/trunk/html/style-light.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style-light.css	2014-01-12 16:27:48 UTC (rev 567=
2)
+++ phpcompta/trunk/html/style-light.css	2014-01-15 20:15:42 UTC (rev 567=
3)
@@ -1070,10 +1070,8 @@
 div#div_jrnsearch_op{
=20
     border:1px solid black;
-    display:none;
     width:50em;
     background-color:#EDF3FF;
-    position:absolute;
     z-index: 5;
=20
 }
@@ -1173,8 +1171,10 @@
=20
 h1.title {
     color: blue;
-    font-size:0.87em;
+    font-size:2em;
     font-style: italic;
+    text-align:center;
+    text-transform: uppercase;
 }
 h2.title {
     background-color:#879ed4;
@@ -1351,4 +1351,4 @@
     text-align:right;
     border:1px solid blue;
     margin:2px
-}
\ No newline at end of file
+}

Modified: phpcompta/trunk/html/style.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/trunk/html/style.css	2014-01-12 16:27:48 UTC (rev 5672)
+++ phpcompta/trunk/html/style.css	2014-01-15 20:15:42 UTC (rev 5673)
@@ -1163,8 +1163,10 @@
=20
 h1.title {
     color: blue;
-    font-size:0.87em;
+    font-size:2em;
     font-style: italic;
+    text-align:center;
+    text-transform: uppercase;
 }
 h2.title {
     background-color:#879ed4;
@@ -1177,8 +1179,10 @@
 }
 h3.title {
     color: blue;
-    font-size:0.87em;
+    font-size:1em;
     margin-left: 30px;
+    font-weight: bolder;
+    border:#0000ff solid 2px;
 }
 h4.title {
     color: blue;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Jan 28 12:16:54 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W8CHO-0000ka-FK
	for mharc-phpcompta-dev@gnu.org; Tue, 28 Jan 2014 12:16:54 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 28 Jan 2014 18:03:23 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.179162.1390929413.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r670 - in trunk/transform: . unit-test unit-test/xsd
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jan 2014 17:16:52 -0000

Author: danydb
Date: 2014-01-28 18:03:22 +0100 (Tue, 28 Jan 2014)
New Revision: 670

Added:
   trunk/transform/unit-test/valide-exemple-listing.xml
   trunk/transform/unit-test/valide-xml.php
   trunk/transform/unit-test/xsd/
   trunk/transform/unit-test/xsd/IntervatInputCommon_v0_7.xsd
   trunk/transform/unit-test/xsd/IntervatIsoTypes_v0_7.xsd
   trunk/transform/unit-test/xsd/NewLK-in_v0_7.xsd
   trunk/transform/unit-test/xsd/adjreasons_v1.xsd
   trunk/transform/unit-test/xsd/commontypes_v1.xsd
   trunk/transform/unit-test/xsd/decreasons_v1.xsd
   trunk/transform/unit-test/xsd/fiscalismessage_v1.xsd
   trunk/transform/unit-test/xsd/goodsdescriptiontypes_v1.xsd
   trunk/transform/unit-test/xsd/isotypes_v1.xsd
   trunk/transform/unit-test/xsd/vatrefund_v1.xsd
Removed:
   trunk/transform/ClientListingConsignment.xml
   trunk/transform/IntervatInputCommon_v0_7.xsd
   trunk/transform/IntervatIsoTypes_v0_7.xsd
   trunk/transform/NewLK-in_v0_7.xsd
   trunk/transform/adjreasons_v1.xsd
   trunk/transform/attribute.php
   trunk/transform/commontypes_v1.xsd
   trunk/transform/create-xml.php
   trunk/transform/decreasons_v1.xsd
   trunk/transform/fiscalismessage_v1.xsd
   trunk/transform/from-xsd.php
   trunk/transform/goodsdescriptiontypes_v1.xsd
   trunk/transform/isotypes_v1.xsd
   trunk/transform/simplexml1.php
   trunk/transform/test-xml.php
   trunk/transform/test.xml
   trunk/transform/test1.xml
   trunk/transform/test2.php
   trunk/transform/unit-test/class_testintervat.php
   trunk/transform/unit-test/t2.php
   trunk/transform/valide-exemple-listing.xml
   trunk/transform/valide-xml.php
   trunk/transform/vatrefund_v1.xsd
Log:
Clean file

Deleted: trunk/transform/ClientListingConsignment.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/ClientListingConsignment.xml	2014-01-25 22:39:28 UTC =
(rev 669)
+++ trunk/transform/ClientListingConsignment.xml	2014-01-28 17:03:22 UTC =
(rev 670)
@@ -1,85 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<!-- Document created with online XML Editor http://xmlgrid.net 2014/01/=
22 21:20:28  -->
-   <ClientListingConsignment xmlns:xsi=3D"http://www.w3.org/2001/XMLSche=
ma-instance" xsi:noNamespaceSchemaLocation=3D"file://NewLK-in_v0_7.xsd" C=
lientListingsNbr=3D"test attribute">
-         <Representative>test string</Representative>
-         <RepresentativeReference>test string</RepresentativeReference>
-         <ClientListing>
-               <ReplacedClientListing>test string</ReplacedClientListing=
>
-               <Declarant>test string</Declarant>
-               <Period>test string</Period>
-               <TurnOver>test string</TurnOver>
-               <Farmer>test string</Farmer>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <FileAttachment>test string</FileAttachment>
-               <FileAttachment>test string</FileAttachment>
-               <FileAttachment>test string</FileAttachment>
-               <Comment>test string</Comment>
-         </ClientListing>
-         <ClientListing>
-               <ReplacedClientListing>test string</ReplacedClientListing=
>
-               <Declarant>test string</Declarant>
-               <Period>test string</Period>
-               <TurnOver>test string</TurnOver>
-               <Farmer>test string</Farmer>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <FileAttachment>test string</FileAttachment>
-               <FileAttachment>test string</FileAttachment>
-               <FileAttachment>test string</FileAttachment>
-               <Comment>test string</Comment>
-         </ClientListing>
-         <ClientListing>
-               <ReplacedClientListing>test string</ReplacedClientListing=
>
-               <Declarant>test string</Declarant>
-               <Period>test string</Period>
-               <TurnOver>test string</TurnOver>
-               <Farmer>test string</Farmer>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <Client>
-                     <CompanyVATNumber>test string</CompanyVATNumber>
-                     <TurnOver>test string</TurnOver>
-                     <VATAmount>test string</VATAmount>
-               </Client>
-               <FileAttachment>test string</FileAttachment>
-               <FileAttachment>test string</FileAttachment>
-               <FileAttachment>test string</FileAttachment>
-               <Comment>test string</Comment>
-         </ClientListing>
-   </ClientListingConsignment>
-=00
\ No newline at end of file

Deleted: trunk/transform/IntervatInputCommon_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/IntervatInputCommon_v0_7.xsd	2014-01-25 22:39:28 UTC =
(rev 669)
+++ trunk/transform/IntervatInputCommon_v0_7.xsd	2014-01-28 17:03:22 UTC =
(rev 670)
@@ -1,643 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/InputCommon" xmlns:iso=3D"http://www.minfin.fgov.be/I=
soTypes" xmlns:cm=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" targetNam=
espace=3D"http://www.minfin.fgov.be/InputCommon" elementFormDefault=3D"qu=
alified" version=3D"1.0" xml:lang=3D"en">
-	<xs:import namespace=3D"http://www.minfin.fgov.be/IsoTypes" schemaLocat=
ion=3D"IntervatIsoTypes_v0_7.xsd"/>
-	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
-=09
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-				1.1 =3D> import commonTypes_v1.xsd and add the phoneNumber to the Re=
presentative_Type
-			]]></xs:documentation>
-	</xs:annotation>
-	<!-- definition of complex types -->
-	<xs:complexType name=3D"Representative_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">Mandataire d'un envoi de type TVA, =
listing clients, relev=C3=A9 intracommunautaire, d=C3=A9claration sp=C3=A9=
ciale 629 ou MTN.</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
-					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:CountryCode" minOccurs=3D=
"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"RepresentativeID_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:token">
-				<xs:attribute name=3D"issuedBy" type=3D"iso:MSCountryCode" use=3D"re=
quired">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Etat membre qui a attribu=C3=A9 =
l'identifiant</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Lidstaat die de identificatie he=
eft toegekend</xs:documentation>
-						<xs:documentation xml:lang=3D"de">Mitgliedstaat, der die Kennung z=
uerkannt hat</xs:documentation>
-					</xs:annotation>
-				</xs:attribute>
-				<xs:attribute name=3D"identificationType" type=3D"RepresentativeIDTy=
pe_Type" use=3D"required">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Type d'identifiant (NVAT, TIN, o=
ther)</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Identificatietype (NVAT, TIN, ot=
her)</xs:documentation>
-						<xs:documentation xml:lang=3D"de">Kennungstyp (NVAT, TIN, other)</=
xs:documentation>
-					</xs:annotation>
-				</xs:attribute>
-				<xs:attribute name=3D"otherQlf" type=3D"xs:token" use=3D"optional">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Description d'un type d'identifi=
ant 'other'</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Omschrijving van een identificat=
ie van het type 'other'</xs:documentation>
-						<xs:documentation xml:lang=3D"de">Beschreibung eines Kennungstyps =
'other'</xs:documentation>
-					</xs:annotation>
-				</xs:attribute>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Declarant_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">D=C3=A9clarant d'un envoi de type T=
VA, listing clients, relev=C3=A9 intracommunautaire ou MTN.</xs:documenta=
tion>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
 (num=C3=A9ro de TVA belge sans "BE")</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
-					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode" minOccurs=
=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"DeclarantBE_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">D=C3=A9clarant d'un envoi de type d=
=C3=A9claration sp=C3=A9ciale 629, VATRefund ou modification du prorata V=
ATRefund (pays de l'adresse en Belgique).</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
 (num=C3=A9ro de TVA belge sans "BE")</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
-					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:BECountryCode" minOccurs=
=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse (BE)</xs:docume=
ntation>
-					<xs:documentation xml:lang=3D"nl">Land van het adres (BE)</xs:docum=
entation>
-					<xs:documentation xml:lang=3D"de">Land (BE)</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse email</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"FileAttachment_Type">
-		<xs:sequence>
-			<xs:element name=3D"FileType" type=3D"FileTypeCode">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Type de l'annexe</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"nl">Type van de bijlage</xs:documenta=
tion>
-					<xs:documentation xml:lang=3D"de">Typ der Anlage</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"FileName" type=3D"xs:token">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom du fichier (=3Dnom du fichier=
 dans le fichier zip qui inclut ce message et ses annexes)</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Naam van het bestand (=3D naam va=
n het bestand in het zip-bestand dat dit bericht en zijn bijlagen bevat)<=
/xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name der Datei (=3D Name der Date=
i in der Zip-Datei, die diese Mitteilung und ihre Anlagen enth=C3=A4lt)</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"FileDescription" type=3D"xs:token" minOccurs=3D"0=
">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Information suppl=C3=A9mentaire s=
ur le fichier</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Aanvullende informatie over het b=
estand</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Zus=C3=A4tzliche Information =C3=BC=
ber die Datei</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<!-- definition of simple types -->
-	<xs:simpleType name=3D"RepresentativeIDType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"NVAT"/>
-			<xs:enumeration value=3D"TIN"/>
-			<xs:enumeration value=3D"other"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUVATNumber">
-		<xs:restriction base=3D"xs:token">
-			<xs:maxLength value=3D"12"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"BEVATNumber">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[0-9]{10}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RepresentativeReference_Type">
-		<xs:restriction base=3D"xs:token">
-			<xs:maxLength value=3D"14"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"DeclarantReference_Type">
-		<xs:restriction base=3D"xs:token">
-			<xs:maxLength value=3D"14"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"IntervatConsignmentReference_Type">
-		<xs:restriction base=3D"xs:positiveInteger"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"IntervatDeclarationReference_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[0-9]+-[0-9]{10}-[0-9]{6}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"STIRINTReference_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"BE[0-9]{16}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"IntervatOrSTIRINTDeclReference_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"([0-9]+-[0-9]{10}-[0-9]{6})|(BE[0-9]{16})"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"FileTypeCode">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"application/pdf"/>
-			<xs:enumeration value=3D"image/jpeg"/>
-			<xs:enumeration value=3D"image/tiff"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Month_Type">
-		<xs:restriction base=3D"xs:integer">
-			<xs:minInclusive value=3D"1"/>
-			<xs:maxInclusive value=3D"12"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Quarter_Type">
-		<xs:restriction base=3D"xs:integer">
-			<xs:minInclusive value=3D"1"/>
-			<xs:maxInclusive value=3D"4"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Year_Type">
-		<xs:restriction base=3D"xs:unsignedLong">
-			<xs:totalDigits value=3D"4"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PositiveAmount_Type">
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-			<xs:minInclusive value=3D"0"/>
-			<xs:maxInclusive value=3D"99999999999.99"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"SignedAmount_Type">
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-			<xs:minInclusive value=3D"-99999999999.99"/>
-			<xs:maxInclusive value=3D"99999999999.99"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"UnlimitedSignedAmount_Type">
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"YesNo_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"YES"/>
-			<xs:enumeration value=3D"NO"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RestrictedDateTime_Type">
-		<xs:restriction base=3D"xs:dateTime">
-			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RestrictedDate_Type">
-		<xs:restriction base=3D"xs:date">
-			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Name_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"200"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Street_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"200"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PostCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"15"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"City_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"184"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EMail_Type">
-		<xs:annotation>
-			<xs:documentation>An email address</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:token">
-			<xs:pattern value=3D"([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-=
Z]{2,5})">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">A regular expression for email ad=
dresses.
-						Matches something@someserver.com, firstname.lastname@mailserver.do=
main.com,
-						username-something@some-server.tld</xs:documentation>
-				</xs:annotation>
-			</xs:pattern>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Comment_Type">
-		<xs:restriction base=3D"xs:string"/>
-	</xs:simpleType>
-	<!-- Types specific to VATRefund and Prorata -->
-	<xs:complexType name=3D"VR_Representative_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">Mandataire d'un envoi de type VATRe=
fund ou modification du prorata VATRefund (pays de l'adresse limit=C3=A9 =
aux Etats Membres)</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
-					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode" minOccurs=
=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"VR_Declarant_Type">
-		<xs:sequence>
-			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
-					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:BECountryCode" minOccurs=
=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-		<!-- Specificity vs. Declarant_Type:  e-mail required + countrycode of=
 address always "BE"  -->
-	</xs:complexType>
-	<!-- Types specific to Accus=C3=A9 de r=C3=A9ception -->
-	<xs:complexType name=3D"ACK_Representative_Type">
-		<xs:sequence>
-			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
-					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:CountryCode">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ACK_Declarant_Type">
-		<xs:sequence>
-			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">N=C2=B0 TVA de l'assujetti</xs:do=
cumentation>
-					<xs:documentation xml:lang=3D"nl">Btw-numer van de belastingplichti=
ge</xs:documentation>
-					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-</xs:schema>

Deleted: trunk/transform/IntervatIsoTypes_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/IntervatIsoTypes_v0_7.xsd	2014-01-25 22:39:28 UTC (re=
v 669)
+++ trunk/transform/IntervatIsoTypes_v0_7.xsd	2014-01-28 17:03:22 UTC (re=
v 670)
@@ -1,1039 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/IsoTypes" targetNamespace=3D"http://www.minfin.fgov.b=
e/IsoTypes" elementFormDefault=3D"qualified" version=3D"1.0" xml:lang=3D"=
en">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			v1. Initial version
-				Content: country codes, currencies and languages
-			]]></xs:documentation>
-	</xs:annotation>
-	<!-- COUNTRIES -->
-	<xs:simpleType name=3D"BECountryCode">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"BE"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"DECountryCode">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"DE"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MSCountryCodeExclBE">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"AT"/>
-			<xs:enumeration value=3D"BG"/>
-			<xs:enumeration value=3D"CY"/>
-			<xs:enumeration value=3D"CZ"/>
-			<xs:enumeration value=3D"DK"/>
-			<xs:enumeration value=3D"EE"/>
-			<xs:enumeration value=3D"FI"/>
-			<xs:enumeration value=3D"FR"/>
-			<xs:enumeration value=3D"DE"/>
-			<xs:enumeration value=3D"EL"/>
-			<xs:enumeration value=3D"HU"/>
-			<xs:enumeration value=3D"HR"/>
-			<xs:enumeration value=3D"IE"/>
-			<xs:enumeration value=3D"IT"/>
-			<xs:enumeration value=3D"LV"/>
-			<xs:enumeration value=3D"LT"/>
-			<xs:enumeration value=3D"LU"/>
-			<xs:enumeration value=3D"MT"/>
-			<xs:enumeration value=3D"MC"/>
-			<xs:enumeration value=3D"NL"/>
-			<xs:enumeration value=3D"PL"/>
-			<xs:enumeration value=3D"PT"/>
-			<xs:enumeration value=3D"RO"/>
-			<xs:enumeration value=3D"SK"/>
-			<xs:enumeration value=3D"SI"/>
-			<xs:enumeration value=3D"ES"/>
-			<xs:enumeration value=3D"SE"/>
-			<xs:enumeration value=3D"GB"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MSCountryCode">
-		<xs:union memberTypes=3D"MSCountryCodeExclBE BECountryCode"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CountryCode">
-		<xs:union memberTypes=3D"MSCountryCode CountryExMSCode"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CountryExMSCode">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">
-			The appropriate country code from the ISO 3166 two-byte alpha version=
 for the state in which the party concerned is a resident. Omit this only=
 if  no data is available.
-			This list excludes Member States of the European Union
-Valid entries are:
-	- AF --  AFGHANISTAN=20
-	- AX --  =C3=85LAND ISLANDS
-	- AL --  ALBANIA=20
-	- DZ --  ALGERIA=20
-	- AS --  AMERICAN SAMOA=20
-	- AD --  ANDORRA=20
-	- AO --  ANGOLA=20
-	- AI --  ANGUILLA=20
-	- AQ --  ANTARCTICA=20
-	- AG --  ANTIGUA AND BARBUDA=20
-	- AR --  ARGENTINA=20
-	- AM --  ARMENIA=20
-	- AW --  ARUBA=20
-	- AU --  AUSTRALIA=20
-	- AT --  AUSTRIA=20
-	- AZ --  AZERBAIJAN=20
-	- BS --  BAHAMAS=20
-	- BH --  BAHRAIN=20
-	- BD --  BANGLADESH=20
-	- BB --  BARBADOS=20
-	- BY --  BELARUS=20
-	- BE --  BELGIUM=20
-	- BZ --  BELIZE=20
-	- BJ --  BENIN=20
-	- BM --  BERMUDA=20
-	- BT --  BHUTAN=20
-	- BO --  BOLIVIA=20
-	- BA --  BOSNIA AND HERZEGOVINA=20
-	- BW --  BOTSWANA=20
-	- BV --  BOUVET ISLAND=20
-	- BR --  BRAZIL=20
-	- IO --  BRITISH INDIAN OCEAN TERRITORY=20
-	- BN --  BRUNEI DARUSSALAM=20
-	- BG --  BULGARIA=20
-	- BF --  BURKINA FASO=20
-	- BI --  BURUNDI=20
-	- KH --  CAMBODIA=20
-	- CM --  CAMEROON=20
-	- CA --  CANADA=20
-	- CV --  CAPE VERDE=20
-	- KY --  CAYMAN ISLANDS=20
-	- CF --  CENTRAL AFRICAN REPUBLIC=20
-	- TD --  CHAD=20
-	- CL --  CHILE=20
-	- CN --  CHINA=20
-	- CX --  CHRISTMAS ISLAND=20
-	- CC --  COCOS (KEELING) ISLANDS=20
-	- CO --  COLOMBIA=20
-	- KM --  COMOROS=20
-	- CG --  CONGO=20
-	- CD --  CONGO, THE DEMOCRATIC REPUBLIC OF THE=20
-	- CK --  COOK ISLANDS=20
-	- CR --  COSTA RICA=20
-	- CI --  COTE D'IVOIRE=20
-	- HR --  CROATIA=20
-	- CU --  CUBA=20
-	- CY --  CYPRUS=20
-	- CZ --  CZECH REPUBLIC=20
-	- DK --  DENMARK=20
-	- DJ --  DJIBOUTI=20
-	- DM --  DOMINICA=20
-	- DO --  DOMINICAN REPUBLIC=20
-	- EC --  ECUADOR=20
-	- EG --  EGYPT=20
-	- SV --  EL SALVADOR=20
-	- GQ --  EQUATORIAL GUINEA=20
-	- ER --  ERITREA=20
-	- EE --  ESTONIA=20
-	- ET --  ETHIOPIA=20
-	- FK --  FALKLAND ISLANDS (MALVINAS)=20
-	- FO --  FAROE ISLANDS=20
-	- FJ --  FIJI=20
-	- FI --  FINLAND=20
-	- FR --  FRANCE=20
-	- GF --  FRENCH GUIANA=20
-	- PF --  FRENCH POLYNESIA=20
-	- TF --  FRENCH SOUTHERN TERRITORIES=20
-	- GA --  GABON=20
-	- GM --  GAMBIA=20
-	- GE --  GEORGIA=20
-	- DE --  GERMANY=20
-	- GH --  GHANA=20
-	- GI --  GIBRALTAR=20
-	- GR --  GREECE=20
-	- GL --  GREENLAND=20
-	- GD --  GRENADA=20
-	- GP --  GUADELOUPE=20
-	- GU --  GUAM=20
-	- GT --  GUATEMALA=20
-	- GG --  GUERNSEY
-	- GN --  GUINEA=20
-	- GW --  GUINEA-BISSAU=20
-	- GY --  GUYANA=20
-	- HT --  HAITI=20
-	- HM --  HEARD ISLAND AND MCDONALD ISLANDS=20
-	- VA --  HOLY SEE (VATICAN CITY STATE)=20
-	- HN --  HONDURAS=20
-	- HK --  HONG KONG=20
-	- HU --  HUNGARY=20
-	- IS --  ICELAND=20
-	- IN --  INDIA=20
-	- ID --  INDONESIA=20
-	- IR --  IRAN, ISLAMIC REPUBLIC OF=20
-	- IQ --  IRAQ=20
-	- IE --  IRELAND=20
-	- IM --  ISLE OF MAN
-	- IL --  ISRAEL=20
-	- IT --  ITALY=20
-	- JM --  JAMAICA=20
-	- JP --  JAPAN=20
-	- JE --	 JERSEY
-	- JO --  JORDAN=20
-	- KZ --  KAZAKHSTAN=20
-	- KE --  KENYA=20
-	- KI --  KIRIBATI=20
-	- KP --  KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF=20
-	- KR --  KOREA, REPUBLIC OF=20
-	- KW --  KUWAIT=20
-	- KG --  KYRGYZSTAN=20
-	- LA --  LAO PEOPLE'S DEMOCRATIC REPUBLIC=20
-	- LV --  LATVIA=20
-	- LB --  LEBANON=20
-	- LS --  LESOTHO=20
-	- LR --  LIBERIA=20
-	- LY --  LIBYAN ARAB JAMAHIRIYA=20
-	- LI --  LIECHTENSTEIN=20
-	- LT --  LITHUANIA=20
-	- LU --  LUXEMBOURG=20
-	- MO --  MACAO=20
-	- MK --  MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF=20
-	- MG --  MADAGASCAR=20
-	- MW --  MALAWI=20
-	- MY --  MALAYSIA=20
-	- MV --  MALDIVES=20
-	- ML --  MALI=20
-	- MT --  MALTA=20
-	- MH --  MARSHALL ISLANDS=20
-	- MQ --  MARTINIQUE=20
-	- MR --  MAURITANIA=20
-	- MU --  MAURITIUS=20
-	- YT --  MAYOTTE=20
-	- MX --  MEXICO=20
-	- FM --  MICRONESIA, FEDERATED STATES OF=20
-	- MD --  MOLDOVA, REPUBLIC OF=20
-	- MC --  MONACO=20
-	- MN --  MONGOLIA=20
-	- ME --  MONTENEGRO
-	- MS --  MONTSERRAT=20
-	- MA --  MOROCCO=20
-	- MZ --  MOZAMBIQUE=20
-	- MM --  MYANMAR=20
-	- NA --  NAMIBIA=20
-	- NR --  NAURU=20
-	- NP --  NEPAL=20
-	- NL --  NETHERLANDS=20
-	- AN --  NETHERLANDS ANTILLES=20
-	- NC --  NEW CALEDONIA=20
-	- NZ --  NEW ZEALAND=20
-	- NI --  NICARAGUA=20
-	- NE --  NIGER=20
-	- NG --  NIGERIA=20
-	- NU --  NIUE=20
-	- NF --  NORFOLK ISLAND=20
-	- MP --  NORTHERN MARIANA ISLANDS=20
-	- NO --  NORWAY=20
-	- OM --  OMAN=20
-	- PK --  PAKISTAN=20
-	- PW --  PALAU=20
-	- PS --  PALESTINIAN TERRITORY, OCCUPIED=20
-	- PA --  PANAMA=20
-	- PG --  PAPUA NEW GUINEA=20
-	- PY --  PARAGUAY=20
-	- PE --  PERU=20
-	- PH --  PHILIPPINES=20
-	- PN --  PITCAIRN=20
-	- PL --  POLAND=20
-	- PT --  PORTUGAL=20
-	- PR --  PUERTO RICO=20
-	- QA --  QATAR=20
-	- RE --  REUNION=20
-	- RO --  ROMANIA=20
-	- RU --  RUSSIAN FEDERATION=20
-	- RW --  RWANDA=20
-	- BL --  SAINT BARTH=C3=89LEMY
-	- SH --  SAINT HELENA=20
-	- KN --  SAINT KITTS AND NEVIS=20
-	- LC --  SAINT LUCIA=20
-	- MF --  SAINT MARTIN
-	- PM --  SAINT PIERRE AND MIQUELON=20
-	- VC --  SAINT VINCENT AND THE GRENADINES=20
-	- WS --  SAMOA=20
-	- SM --  SAN MARINO=20
-	- ST --  SAO TOME AND PRINCIPE=20
-	- SA --  SAUDI ARABIA=20
-	- SN --  SENEGAL=20
-	- RS --  SERBIA
-	- SC --  SEYCHELLES=20
-	- SL --  SIERRA LEONE=20
-	- SG --  SINGAPORE=20
-	- SK --  SLOVAKIA=20
-	- SI --  SLOVENIA=20
-	- SB --  SOLOMON ISLANDS=20
-	- SO --  SOMALIA=20
-	- ZA --  SOUTH AFRICA=20
-	- GS --  SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS=20
-	- ES --  SPAIN=20
-	- LK --  SRI LANKA=20
-	- SD --  SUDAN=20
-	- SR --  SURINAME=20
-	- SJ --  SVALBARD AND JAN MAYEN=20
-	- SZ --  SWAZILAND=20
-	- SE --  SWEDEN=20
-	- CH --  SWITZERLAND=20
-	- SY --  SYRIAN ARAB REPUBLIC=20
-	- TW --  TAIWAN, PROVINCE OF CHINA=20
-	- TJ --  TAJIKISTAN=20
-	- TZ --  TANZANIA, UNITED REPUBLIC OF=20
-	- TH --  THAILAND=20
-	- TL --  TIMOR-LESTE=20
-	- TG --  TOGO=20
-	- TK --  TOKELAU=20
-	- TO --  TONGA=20
-	- TT --  TRINIDAD AND TOBAGO=20
-	- TN --  TUNISIA=20
-	- TR --  TURKEY=20
-	- TM --  TURKMENISTAN=20
-	- TC --  TURKS AND CAICOS ISLANDS=20
-	- TV --  TUVALU=20
-	- UG --  UGANDA=20
-	- UA --  UKRAINE=20
-	- AE --  UNITED ARAB EMIRATES=20
-	- GB --  UNITED KINGDOM=20
-	- US --  UNITED STATES=20
-	- UM --  UNITED STATES MINOR OUTLYING ISLANDS=20
-	- UY --  URUGUAY=20
-	- UZ --  UZBEKISTAN=20
-	- VU --  VANUATU=20
-	- VE --  VENEZUELA, BOLIVARIAN REPUBLIC OF
-	- VN --  VIET NAM=20
-	- VG --  VIRGIN ISLANDS, BRITISH=20
-	- VI --  VIRGIN ISLANDS, U.S.=20
-	- WF --  WALLIS AND FUTUNA=20
-	- EH --  WESTERN SAHARA=20
-	- YE --  YEMEN=20
-	- ZM --  ZAMBIA=20
-	- ZW --  ZIMBABWE=20
-			</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"AF"/>
-			<xs:enumeration value=3D"AX"/>
-			<xs:enumeration value=3D"AL"/>
-			<xs:enumeration value=3D"DZ"/>
-			<xs:enumeration value=3D"AS"/>
-			<xs:enumeration value=3D"AD"/>
-			<xs:enumeration value=3D"AO"/>
-			<xs:enumeration value=3D"AI"/>
-			<xs:enumeration value=3D"AQ"/>
-			<xs:enumeration value=3D"AG"/>
-			<xs:enumeration value=3D"AR"/>
-			<xs:enumeration value=3D"AM"/>
-			<xs:enumeration value=3D"AW"/>
-			<xs:enumeration value=3D"AU"/>
-			<xs:enumeration value=3D"AZ"/>
-			<xs:enumeration value=3D"BS"/>
-			<xs:enumeration value=3D"BH"/>
-			<xs:enumeration value=3D"BD"/>
-			<xs:enumeration value=3D"BB"/>
-			<xs:enumeration value=3D"BY"/>
-			<xs:enumeration value=3D"BZ"/>
-			<xs:enumeration value=3D"BJ"/>
-			<xs:enumeration value=3D"BM"/>
-			<xs:enumeration value=3D"BT"/>
-			<xs:enumeration value=3D"BO"/>
-			<xs:enumeration value=3D"BA"/>
-			<xs:enumeration value=3D"BW"/>
-			<xs:enumeration value=3D"BV"/>
-			<xs:enumeration value=3D"BR"/>
-			<xs:enumeration value=3D"IO"/>
-			<xs:enumeration value=3D"BN"/>
-			<xs:enumeration value=3D"BF"/>
-			<xs:enumeration value=3D"BI"/>
-			<xs:enumeration value=3D"KH"/>
-			<xs:enumeration value=3D"CM"/>
-			<xs:enumeration value=3D"CA"/>
-			<xs:enumeration value=3D"CV"/>
-			<xs:enumeration value=3D"KY"/>
-			<xs:enumeration value=3D"CF"/>
-			<xs:enumeration value=3D"TD"/>
-			<xs:enumeration value=3D"CL"/>
-			<xs:enumeration value=3D"CN"/>
-			<xs:enumeration value=3D"CX"/>
-			<xs:enumeration value=3D"CC"/>
-			<xs:enumeration value=3D"CO"/>
-			<xs:enumeration value=3D"KM"/>
-			<xs:enumeration value=3D"CG"/>
-			<xs:enumeration value=3D"CD"/>
-			<xs:enumeration value=3D"CK"/>
-			<xs:enumeration value=3D"CR"/>
-			<xs:enumeration value=3D"CI"/>
-			<xs:enumeration value=3D"CU"/>
-			<xs:enumeration value=3D"DJ"/>
-			<xs:enumeration value=3D"DM"/>
-			<xs:enumeration value=3D"DO"/>
-			<xs:enumeration value=3D"EC"/>
-			<xs:enumeration value=3D"EG"/>
-			<xs:enumeration value=3D"SV"/>
-			<xs:enumeration value=3D"GQ"/>
-			<xs:enumeration value=3D"ER"/>
-			<xs:enumeration value=3D"ET"/>
-			<xs:enumeration value=3D"FK"/>
-			<xs:enumeration value=3D"FO"/>
-			<xs:enumeration value=3D"FJ"/>
-			<xs:enumeration value=3D"GF"/>
-			<xs:enumeration value=3D"PF"/>
-			<xs:enumeration value=3D"TF"/>
-			<xs:enumeration value=3D"GA"/>
-			<xs:enumeration value=3D"GM"/>
-			<xs:enumeration value=3D"GE"/>
-			<xs:enumeration value=3D"GH"/>
-			<xs:enumeration value=3D"GI"/>
-			<xs:enumeration value=3D"GL"/>
-			<xs:enumeration value=3D"GD"/>
-			<xs:enumeration value=3D"GP"/>
-			<xs:enumeration value=3D"GU"/>
-			<xs:enumeration value=3D"GT"/>
-			<xs:enumeration value=3D"GG"/>
-			<xs:enumeration value=3D"GN"/>
-			<xs:enumeration value=3D"GW"/>
-			<xs:enumeration value=3D"GY"/>
-			<xs:enumeration value=3D"HT"/>
-			<xs:enumeration value=3D"HM"/>
-			<xs:enumeration value=3D"VA"/>
-			<xs:enumeration value=3D"HN"/>
-			<xs:enumeration value=3D"HK"/>
-			<xs:enumeration value=3D"IS"/>
-			<xs:enumeration value=3D"IN"/>
-			<xs:enumeration value=3D"ID"/>
-			<xs:enumeration value=3D"IR"/>
-			<xs:enumeration value=3D"IQ"/>
-			<xs:enumeration value=3D"IM"/>
-			<xs:enumeration value=3D"IL"/>
-			<xs:enumeration value=3D"JM"/>
-			<xs:enumeration value=3D"JP"/>
-			<xs:enumeration value=3D"JE"/>
-			<xs:enumeration value=3D"JO"/>
-			<xs:enumeration value=3D"KZ"/>
-			<xs:enumeration value=3D"KE"/>
-			<xs:enumeration value=3D"KI"/>
-			<xs:enumeration value=3D"KP"/>
-			<xs:enumeration value=3D"KR"/>
-			<xs:enumeration value=3D"KW"/>
-			<xs:enumeration value=3D"KG"/>
-			<xs:enumeration value=3D"LA"/>
-			<xs:enumeration value=3D"LB"/>
-			<xs:enumeration value=3D"LS"/>
-			<xs:enumeration value=3D"LR"/>
-			<xs:enumeration value=3D"LY"/>
-			<xs:enumeration value=3D"LI"/>
-			<xs:enumeration value=3D"MO"/>
-			<xs:enumeration value=3D"MK"/>
-			<xs:enumeration value=3D"MG"/>
-			<xs:enumeration value=3D"MW"/>
-			<xs:enumeration value=3D"MY"/>
-			<xs:enumeration value=3D"MV"/>
-			<xs:enumeration value=3D"ML"/>
-			<xs:enumeration value=3D"MH"/>
-			<xs:enumeration value=3D"MQ"/>
-			<xs:enumeration value=3D"MR"/>
-			<xs:enumeration value=3D"MU"/>
-			<xs:enumeration value=3D"YT"/>
-			<xs:enumeration value=3D"MX"/>
-			<xs:enumeration value=3D"FM"/>
-			<xs:enumeration value=3D"MD"/>
-			<xs:enumeration value=3D"MN"/>
-			<xs:enumeration value=3D"ME"/>
-			<xs:enumeration value=3D"MS"/>
-			<xs:enumeration value=3D"MA"/>
-			<xs:enumeration value=3D"MZ"/>
-			<xs:enumeration value=3D"MM"/>
-			<xs:enumeration value=3D"NA"/>
-			<xs:enumeration value=3D"NR"/>
-			<xs:enumeration value=3D"NP"/>
-			<xs:enumeration value=3D"AN"/>
-			<xs:enumeration value=3D"NC"/>
-			<xs:enumeration value=3D"NZ"/>
-			<xs:enumeration value=3D"NI"/>
-			<xs:enumeration value=3D"NE"/>
-			<xs:enumeration value=3D"NG"/>
-			<xs:enumeration value=3D"NU"/>
-			<xs:enumeration value=3D"NF"/>
-			<xs:enumeration value=3D"MP"/>
-			<xs:enumeration value=3D"NO"/>
-			<xs:enumeration value=3D"OM"/>
-			<xs:enumeration value=3D"PK"/>
-			<xs:enumeration value=3D"PW"/>
-			<xs:enumeration value=3D"PS"/>
-			<xs:enumeration value=3D"PA"/>
-			<xs:enumeration value=3D"PG"/>
-			<xs:enumeration value=3D"PY"/>
-			<xs:enumeration value=3D"PE"/>
-			<xs:enumeration value=3D"PH"/>
-			<xs:enumeration value=3D"PN"/>
-			<xs:enumeration value=3D"PR"/>
-			<xs:enumeration value=3D"QA"/>
-			<xs:enumeration value=3D"RE"/>
-			<xs:enumeration value=3D"RU"/>
-			<xs:enumeration value=3D"RW"/>
-			<xs:enumeration value=3D"BL"/>
-			<xs:enumeration value=3D"SH"/>
-			<xs:enumeration value=3D"KN"/>
-			<xs:enumeration value=3D"LC"/>
-			<xs:enumeration value=3D"MF"/>
-			<xs:enumeration value=3D"PM"/>
-			<xs:enumeration value=3D"VC"/>
-			<xs:enumeration value=3D"WS"/>
-			<xs:enumeration value=3D"SM"/>
-			<xs:enumeration value=3D"ST"/>
-			<xs:enumeration value=3D"SA"/>
-			<xs:enumeration value=3D"SN"/>
-			<xs:enumeration value=3D"RS"/>
-			<xs:enumeration value=3D"SC"/>
-			<xs:enumeration value=3D"SL"/>
-			<xs:enumeration value=3D"SG"/>
-			<xs:enumeration value=3D"SB"/>
-			<xs:enumeration value=3D"SO"/>
-			<xs:enumeration value=3D"ZA"/>
-			<xs:enumeration value=3D"GS"/>
-			<xs:enumeration value=3D"LK"/>
-			<xs:enumeration value=3D"SD"/>
-			<xs:enumeration value=3D"SR"/>
-			<xs:enumeration value=3D"SJ"/>
-			<xs:enumeration value=3D"SZ"/>
-			<xs:enumeration value=3D"CH"/>
-			<xs:enumeration value=3D"SY"/>
-			<xs:enumeration value=3D"TW"/>
-			<xs:enumeration value=3D"TJ"/>
-			<xs:enumeration value=3D"TZ"/>
-			<xs:enumeration value=3D"TH"/>
-			<xs:enumeration value=3D"TL"/>
-			<xs:enumeration value=3D"TG"/>
-			<xs:enumeration value=3D"TK"/>
-			<xs:enumeration value=3D"TO"/>
-			<xs:enumeration value=3D"TT"/>
-			<xs:enumeration value=3D"TN"/>
-			<xs:enumeration value=3D"TR"/>
-			<xs:enumeration value=3D"TM"/>
-			<xs:enumeration value=3D"TC"/>
-			<xs:enumeration value=3D"TV"/>
-			<xs:enumeration value=3D"UG"/>
-			<xs:enumeration value=3D"UA"/>
-			<xs:enumeration value=3D"AE"/>
-			<xs:enumeration value=3D"US"/>
-			<xs:enumeration value=3D"UM"/>
-			<xs:enumeration value=3D"UY"/>
-			<xs:enumeration value=3D"UZ"/>
-			<xs:enumeration value=3D"VU"/>
-			<xs:enumeration value=3D"VE"/>
-			<xs:enumeration value=3D"VN"/>
-			<xs:enumeration value=3D"VG"/>
-			<xs:enumeration value=3D"VI"/>
-			<xs:enumeration value=3D"WF"/>
-			<xs:enumeration value=3D"EH"/>
-			<xs:enumeration value=3D"YE"/>
-			<xs:enumeration value=3D"ZM"/>
-			<xs:enumeration value=3D"ZW"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<!-- CURRENCIES -->
-	<xs:simpleType name=3D"MSCurrencyCode">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">
-			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed. Currency co=
des are limited to those of Member States.
-Valid entries are:
-BGN Bulgaria, Leva=20
-CZK Czech Republic, Koruny=20
-DKK Denmark, Kroner=20
-EEK Estonia, Krooni=20
-EUR Euro Member Countries, Euro=20
-GBP United Kingdom, Pounds=20
-HUF Hungary, Forint=20
-LTL Lithuania, Litai=20
-LVL Latvia, Lati=20
-PLN Poland, Zlotych=20
-RON Romania, New Lei=20
-SEK Sweden, Kronor
-HRK Croatia, Kuna=20
-			</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"BGN"/>
-			<xs:enumeration value=3D"CZK"/>
-			<xs:enumeration value=3D"DKK"/>
-			<xs:enumeration value=3D"EEK"/>
-			<xs:enumeration value=3D"EUR"/>
-			<xs:enumeration value=3D"GBP"/>
-			<xs:enumeration value=3D"HUF"/>
-			<xs:enumeration value=3D"LTL"/>
-			<xs:enumeration value=3D"LVL"/>
-			<xs:enumeration value=3D"PLN"/>
-			<xs:enumeration value=3D"RON"/>
-			<xs:enumeration value=3D"SEK"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CurrencyCode">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">
-			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed.=20
-Valid entries are:
-AED United Arab Emirates, Dirhams=20
-AFN Afghanistan, Afghanis=20
-ALL Albania, Leke=20
-AMD Armenia, Drams=20
-ANG Netherlands Antilles, Guilders=20
-AOA Angola, Kwanza=20
-ARS Argentina, Pesos=20
-AUD Australia, Dollars=20
-AWG Aruba, Guilders=20
-AZN Azerbaijan, Manats=20
-BAM Bosnia and Herzegovina, Convertible Marka=20
-BBD Barbados, Dollars=20
-BDT Bangladesh, Taka=20
-BGN Bulgaria, Leva=20
-BHD Bahrain, Dinars=20
-BIF Burundi, Francs=20
-BMD Bermuda, Dollars=20
-BND Brunei Darussalam, Dollars=20
-BOB Bolivia, Bolivianos=20
-BOV Bolivia, Mvdol
-BRL Brazil, Brazil Real=20
-BSD Bahamas, Dollars=20
-BTN Bhutan, Ngultrum=20
-BWP Botswana, Pulas=20
-BYR Belarus, Rubles=20
-BZD Belize, Dollars=20
-CAD Canada, Dollars=20
-CDF Congo/Kinshasa, Congolese Francs=20
-CHF Switzerland, Francs=20
-CLF Chile, Unidades de fomento=20
-CLP Chile, Pesos=20
-CNY China, Yuan Renminbi=20
-COP Colombia, Pesos=20
-COU Colombia, Unidad de Valor Real
-CRC Costa Rica, Colones=20
-CUC Cuba, Convertible Pesos=20
-CUP Cuba, Pesos=20
-CVE Cape Verde, Escudos=20
-CZK Czech Republic, Koruny=20
-DJF Djibouti, Francs=20
-DKK Denmark, Kroner=20
-DOP Dominican Republic, Pesos=20
-DZD Algeria, Algeria Dinars=20
-EEK Estonia, Krooni=20
-EGP Egypt, Pounds=20
-ERN Eritrea, Nakfa=20
-ETB Ethiopia, Birr=20
-EUR Euro Member Countries, Euro=20
-FJD Fiji, Dollars=20
-FKP Falkland Islands (Malvinas), Pounds=20
-GBP United Kingdom, Pounds=20
-GEL Georgia, Lari=20
-GHS Ghana, Cedis=20
-GIP Gibraltar, Pounds=20
-GMD Gambia, Dalasi=20
-GNF Guinea, Francs=20
-GTQ Guatemala, Quetzales=20
-GWP Guinea-Bissau Peso
-GYD Guyana, Dollars=20
-HKD Hong Kong, Dollars=20
-HNL Honduras, Lempiras=20
-HTG Haiti, Gourdes=20
-HUF Hungary, Forint=20
-IDR Indonesia, Rupiahs=20
-ILS Israel, New Shekels=20
-INR India, Rupees=20
-IQD Iraq, Dinars=20
-IRR Iran, Rials=20
-ISK Iceland, Kronur =20
-JMD Jamaica, Dollars=20
-JOD Jordan, Dinars=20
-JPY Japan, Yen=20
-KES Kenya, Shillings=20
-KGS Kyrgyzstan, Soms=20
-KHR Cambodia, Riels=20
-KMF Comoros, Francs=20
-KPW Korea (North), Won=20
-KRW Korea (South), Won=20
-KWD Kuwait, Dinars=20
-KYD Cayman Islands, Dollars=20
-KZT Kazakstan, Tenge=20
-LAK Laos, Kips=20
-LBP Lebanon, Pounds=20
-LKR Sri Lanka, Rupees=20
-LRD Liberia, Dollars=20
-LSL Lesotho, Maloti=20
-LTL Lithuania, Litai=20
-LVL Latvia, Lati=20
-LYD Libya, Dinars=20
-MAD Morocco, Dirhams=20
-MDL Moldova, Lei=20
-MGA Madagascar, Malagasy Ariary=20
-MKD Macedonia, Denars=20
-MMK Myanmar (Burma), Kyats=20
-MNT Mongolia, Tugriks=20
-MOP Macau, Patacas=20
-MRO Mauritania, Ouguiyas=20
-MTL Malta, Liri=20
-MUR Mauritius, Rupees=20
-MVR Maldives (Maldive Islands), Rufiyaa=20
-MWK Malawi, Kwachas=20
-MXN Mexico, Pesos=20
-MXV Mexico, Mexican Unidad de Inversion
-MYR Malaysia, Ringgits=20
-MZN Mozambique, Meticais=20
-NAD Namibia, Dollars=20
-NGN Nigeria, Nairas=20
-NIO Nicaragua, Gold Cordobas=20
-NOK Norway, Krone=20
-NPR Nepal, Nepal Rupees=20
-NZD New Zealand, Dollars=20
-OMR Oman, Rials=20
-PAB Panama, Balboa=20
-PEN Peru, Nuevos Soles=20
-PGK Papua New Guinea, Kina=20
-PHP Philippines, Pesos=20
-PKR Pakistan, Rupees=20
-PLN Poland, Zlotych=20
-PYG Paraguay, Guarani=20
-QAR Qatar, Rials=20
-RON Romania, New Lei=20
-RSD Serbian Dinar
-RUB Russia, Rubles=20
-RWF Rwanda, Rwanda Francs=20
-SAR Saudi Arabia, Riyals=20
-SBD Solomon Islands, Dollars=20
-SCR Seychelles, Rupees=20
-SDG Sudan, Dinars=20
-SEK Sweden, Kronor=20
-SGD Singapore, Dollars=20
-SHP Saint Helena, Pounds=20
-SLL Sierra Leone, Leones=20
-SOS Somalia, Shillings=20
-SRD Suriname, Dollar=20
-STD S=C3=A3o Tome and Principe, Dobras=20
-SVC El Salvador, Colones=20
-SYP Syria, Pounds=20
-SZL Swaziland, Emalangeni=20
-THB Thailand, Baht=20
-TJS Tajikistan, Somoni=20
-TMT Turkmenistan, Manats=20
-TND Tunisia, Dinars=20
-TOP Tonga, Pa'anga=20
-TRY Turkey, Liras=20
-TTD Trinidad and Tobago, Dollars=20
-TWD Taiwan, New Dollars=20
-TZS Tanzania, Shillings=20
-UAH Ukraine, Hryvnia=20
-UGX Uganda, Shillings=20
-USD United States of America, Dollars=20
-UYU Uruguay, Pesos=20
-UZS Uzbekistan, Sums=20
-VEF Venezuela, Bolivares=20
-VND Viet Nam, Dong=20
-VUV Vanuatu, Vatu=20
-WST Samoa, Tala=20
-XAF Communaut=C3=A9 Financi=C3=A8re Africaine BEAC, Francs=20
-XCD East Caribbean Dollars=20
-XOF Communaut=C3=A9 Financi=C3=A8re Africaine BCEAO, Francs=20
-XPD Palladium Ounces=20
-XPF Comptoirs Fran=C3=A7ais du Pacifique Francs=20
-YER Yemen, Rials=20
-ZAR South Africa, Rand=20
-ZMK Zambia, Kwacha=20
-ZWL Zimbabwe, Zimbabwe Dollars=20
-			</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"AED"/>
-			<xs:enumeration value=3D"AFN"/>
-			<xs:enumeration value=3D"ALL"/>
-			<xs:enumeration value=3D"AMD"/>
-			<xs:enumeration value=3D"ANG"/>
-			<xs:enumeration value=3D"AOA"/>
-			<xs:enumeration value=3D"ARS"/>
-			<xs:enumeration value=3D"AUD"/>
-			<xs:enumeration value=3D"AWG"/>
-			<xs:enumeration value=3D"AZN"/>
-			<xs:enumeration value=3D"BAM"/>
-			<xs:enumeration value=3D"BBD"/>
-			<xs:enumeration value=3D"BDT"/>
-			<xs:enumeration value=3D"BGN"/>
-			<xs:enumeration value=3D"BHD"/>
-			<xs:enumeration value=3D"BIF"/>
-			<xs:enumeration value=3D"BMD"/>
-			<xs:enumeration value=3D"BND"/>
-			<xs:enumeration value=3D"BOB"/>
-			<xs:enumeration value=3D"BOV"/>
-			<xs:enumeration value=3D"BRL"/>
-			<xs:enumeration value=3D"BSD"/>
-			<xs:enumeration value=3D"BTN"/>
-			<xs:enumeration value=3D"BWP"/>
-			<xs:enumeration value=3D"BYR"/>
-			<xs:enumeration value=3D"BZD"/>
-			<xs:enumeration value=3D"CAD"/>
-			<xs:enumeration value=3D"CDF"/>
-			<xs:enumeration value=3D"CHF"/>
-			<xs:enumeration value=3D"CLF"/>
-			<xs:enumeration value=3D"CLP"/>
-			<xs:enumeration value=3D"CNY"/>
-			<xs:enumeration value=3D"COP"/>
-			<xs:enumeration value=3D"COU"/>
-			<xs:enumeration value=3D"CRC"/>
-			<xs:enumeration value=3D"CUC"/>
-			<xs:enumeration value=3D"CUP"/>
-			<xs:enumeration value=3D"CVE"/>
-			<xs:enumeration value=3D"CZK"/>
-			<xs:enumeration value=3D"DJF"/>
-			<xs:enumeration value=3D"DKK"/>
-			<xs:enumeration value=3D"DOP"/>
-			<xs:enumeration value=3D"DZD"/>
-			<xs:enumeration value=3D"EEK"/>
-			<xs:enumeration value=3D"EGP"/>
-			<xs:enumeration value=3D"ERN"/>
-			<xs:enumeration value=3D"ETB"/>
-			<xs:enumeration value=3D"EUR"/>
-			<xs:enumeration value=3D"FJD"/>
-			<xs:enumeration value=3D"FKP"/>
-			<xs:enumeration value=3D"GBP"/>
-			<xs:enumeration value=3D"GEL"/>
-			<xs:enumeration value=3D"GHS"/>
-			<xs:enumeration value=3D"GIP"/>
-			<xs:enumeration value=3D"GMD"/>
-			<xs:enumeration value=3D"GNF"/>
-			<xs:enumeration value=3D"GTQ"/>
-			<xs:enumeration value=3D"GWP"/>
-			<xs:enumeration value=3D"GYD"/>
-			<xs:enumeration value=3D"HKD"/>
-			<xs:enumeration value=3D"HNL"/>
-			<xs:enumeration value=3D"HRK"/>
-			<xs:enumeration value=3D"HTG"/>
-			<xs:enumeration value=3D"HUF"/>
-			<xs:enumeration value=3D"IDR"/>
-			<xs:enumeration value=3D"ILS"/>
-			<xs:enumeration value=3D"INR"/>
-			<xs:enumeration value=3D"IQD"/>
-			<xs:enumeration value=3D"IRR"/>
-			<xs:enumeration value=3D"ISK"/>
-			<xs:enumeration value=3D"JMD"/>
-			<xs:enumeration value=3D"JOD"/>
-			<xs:enumeration value=3D"JPY"/>
-			<xs:enumeration value=3D"KES"/>
-			<xs:enumeration value=3D"KGS"/>
-			<xs:enumeration value=3D"KHR"/>
-			<xs:enumeration value=3D"KMF"/>
-			<xs:enumeration value=3D"KPW"/>
-			<xs:enumeration value=3D"KRW"/>
-			<xs:enumeration value=3D"KWD"/>
-			<xs:enumeration value=3D"KYD"/>
-			<xs:enumeration value=3D"KZT"/>
-			<xs:enumeration value=3D"LAK"/>
-			<xs:enumeration value=3D"LBP"/>
-			<xs:enumeration value=3D"LKR"/>
-			<xs:enumeration value=3D"LRD"/>
-			<xs:enumeration value=3D"LSL"/>
-			<xs:enumeration value=3D"LTL"/>
-			<xs:enumeration value=3D"LVL"/>
-			<xs:enumeration value=3D"LYD"/>
-			<xs:enumeration value=3D"MAD"/>
-			<xs:enumeration value=3D"MDL"/>
-			<xs:enumeration value=3D"MGA"/>
-			<xs:enumeration value=3D"MKD"/>
-			<xs:enumeration value=3D"MMK"/>
-			<xs:enumeration value=3D"MNT"/>
-			<xs:enumeration value=3D"MOP"/>
-			<xs:enumeration value=3D"MRO"/>
-			<xs:enumeration value=3D"MUR"/>
-			<xs:enumeration value=3D"MVR"/>
-			<xs:enumeration value=3D"MWK"/>
-			<xs:enumeration value=3D"MXN"/>
-			<xs:enumeration value=3D"MXV"/>
-			<xs:enumeration value=3D"MYR"/>
-			<xs:enumeration value=3D"MZN"/>
-			<xs:enumeration value=3D"NAD"/>
-			<xs:enumeration value=3D"NGN"/>
-			<xs:enumeration value=3D"NIO"/>
-			<xs:enumeration value=3D"NOK"/>
-			<xs:enumeration value=3D"NPR"/>
-			<xs:enumeration value=3D"NZD"/>
-			<xs:enumeration value=3D"OMR"/>
-			<xs:enumeration value=3D"PAB"/>
-			<xs:enumeration value=3D"PEN"/>
-			<xs:enumeration value=3D"PGK"/>
-			<xs:enumeration value=3D"PHP"/>
-			<xs:enumeration value=3D"PKR"/>
-			<xs:enumeration value=3D"PLN"/>
-			<xs:enumeration value=3D"PYG"/>
-			<xs:enumeration value=3D"QAR"/>
-			<xs:enumeration value=3D"RON"/>
-			<xs:enumeration value=3D"RSD"/>
-			<xs:enumeration value=3D"RUB"/>
-			<xs:enumeration value=3D"RWF"/>
-			<xs:enumeration value=3D"SAR"/>
-			<xs:enumeration value=3D"SBD"/>
-			<xs:enumeration value=3D"SCR"/>
-			<xs:enumeration value=3D"SDG"/>
-			<xs:enumeration value=3D"SEK"/>
-			<xs:enumeration value=3D"SGD"/>
-			<xs:enumeration value=3D"SHP"/>
-			<xs:enumeration value=3D"SLL"/>
-			<xs:enumeration value=3D"SOS"/>
-			<xs:enumeration value=3D"SRD"/>
-			<xs:enumeration value=3D"STD"/>
-			<xs:enumeration value=3D"SVC"/>
-			<xs:enumeration value=3D"SYP"/>
-			<xs:enumeration value=3D"SZL"/>
-			<xs:enumeration value=3D"THB"/>
-			<xs:enumeration value=3D"TJS"/>
-			<xs:enumeration value=3D"TMT"/>
-			<xs:enumeration value=3D"TND"/>
-			<xs:enumeration value=3D"TOP"/>
-			<xs:enumeration value=3D"TRY"/>
-			<xs:enumeration value=3D"TTD"/>
-			<xs:enumeration value=3D"TVD"/>
-			<xs:enumeration value=3D"TWD"/>
-			<xs:enumeration value=3D"TZS"/>
-			<xs:enumeration value=3D"UAH"/>
-			<xs:enumeration value=3D"UGX"/>
-			<xs:enumeration value=3D"USD"/>
-			<xs:enumeration value=3D"UYU"/>
-			<xs:enumeration value=3D"UZS"/>
-			<xs:enumeration value=3D"VEF"/>
-			<xs:enumeration value=3D"VND"/>
-			<xs:enumeration value=3D"VUV"/>
-			<xs:enumeration value=3D"WST"/>
-			<xs:enumeration value=3D"XAF"/>
-			<xs:enumeration value=3D"XCD"/>
-			<xs:enumeration value=3D"XOF"/>
-			<xs:enumeration value=3D"XPD"/>
-			<xs:enumeration value=3D"XPF"/>
-			<xs:enumeration value=3D"YER"/>
-			<xs:enumeration value=3D"ZAR"/>
-			<xs:enumeration value=3D"ZMK"/>
-			<xs:enumeration value=3D"ZWL"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<!-- LANGUAGES -->
-	<xs:simpleType name=3D"EULanguageCode">
-		<xs:annotation>
-			<xs:documentation> The list of official languages of the EU.</xs:docu=
mentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"bg">
-				<xs:annotation>
-					<xs:documentation>Bulgarian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"cs">
-				<xs:annotation>
-					<xs:documentation>Czech</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"da">
-				<xs:annotation>
-					<xs:documentation>Danish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"de">
-				<xs:annotation>
-					<xs:documentation>German</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"el">
-				<xs:annotation>
-					<xs:documentation>Greek</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"en">
-				<xs:annotation>
-					<xs:documentation>English</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"es">
-				<xs:annotation>
-					<xs:documentation>Spanish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"et">
-				<xs:annotation>
-					<xs:documentation>Estonian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"fi">
-				<xs:annotation>
-					<xs:documentation>Finnish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"fr">
-				<xs:annotation>
-					<xs:documentation>French</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ga">
-				<xs:annotation>
-					<xs:documentation>Irish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"hu">
-				<xs:annotation>
-					<xs:documentation>Hungarian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"it">
-				<xs:annotation>
-					<xs:documentation>Italian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"lt">
-				<xs:annotation>
-					<xs:documentation>Lithuanian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"lv">
-				<xs:annotation>
-					<xs:documentation>Latvian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"mt">
-				<xs:annotation>
-					<xs:documentation>Maltese</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"nl">
-				<xs:annotation>
-					<xs:documentation>Dutch</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"pl">
-				<xs:annotation>
-					<xs:documentation>Polish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"pt">
-				<xs:annotation>
-					<xs:documentation>Portuguese</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ro">
-				<xs:annotation>
-					<xs:documentation>Romanian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sk">
-				<xs:annotation>
-					<xs:documentation>Slovak </xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sl">
-				<xs:annotation>
-					<xs:documentation>Slovenian </xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sv">
-				<xs:annotation>
-					<xs:documentation>Swedish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"tr">
-				<xs:annotation>
-					<xs:documentation>Turkish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

Deleted: trunk/transform/NewLK-in_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/NewLK-in_v0_7.xsd	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/NewLK-in_v0_7.xsd	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,153 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/ClientListingConsignment" xmlns:iso=3D"http://www.min=
fin.fgov.be/IsoTypes" xmlns:common=3D"http://www.minfin.fgov.be/InputComm=
on" targetNamespace=3D"http://www.minfin.fgov.be/ClientListingConsignment=
" elementFormDefault=3D"qualified" attributeFormDefault=3D"unqualified" v=
ersion=3D"1.0" xml:lang=3D"en">
-	<xs:import namespace=3D"http://www.minfin.fgov.be/InputCommon" schemaLo=
cation=3D"IntervatInputCommon_v0_7.xsd"/>
-    <xs:import namespace=3D"http://www.minfin.fgov.be/IsoTypes" schemaLo=
cation=3D"IntervatIsoTypes_v0_7.xsd"/>
-=09
-	<!-- Root Element -->
-	<xs:element name=3D"ClientListingConsignment">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">Envoi regroup=E9 de listings client=
s, d=E9pos=E9 par un mandataire</xs:documentation>
-			<xs:documentation xml:lang=3D"nl">Gegroepeerde verzending van klanten=
listings, voorgelegd door een gevolmachtigde</xs:documentation>
-		</xs:annotation>
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element name=3D"Representative" type=3D"common:Representative_Ty=
pe" minOccurs=3D"0">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Mandataire</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Gevolmachtigde</xs:documentation=
>
-						<xs:documentation xml:lang=3D"de">Bevollm=E4chtigter</xs:documenta=
tion>
-					</xs:annotation>
-				</xs:element>
-				<xs:element name=3D"RepresentativeReference" type=3D"common:Represen=
tativeReference_Type" minOccurs=3D"0">
-					<xs:annotation>
-						<xs:documentation>R=E9f=E9rence attribu=E9e =E0 l'envoi par le man=
dataire</xs:documentation>
-					</xs:annotation>
-				</xs:element>
-				<xs:element name=3D"ClientListing" type=3D"ClientListing_Type" maxOc=
curs=3D"unbounded">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Listing clients, pour un d=E9cla=
rant et une ann=E9e</xs:documentation>
-					</xs:annotation>
-				</xs:element>
-			</xs:sequence>
-			<xs:attribute name=3D"ClientListingsNbr" type=3D"xs:positiveInteger" =
use=3D"required">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nombre de listings clients dans l=
'envoi</xs:documentation>
-				</xs:annotation>
-			</xs:attribute>
-		</xs:complexType>
-	</xs:element>
-	<!-- definition of complex types -->
-	<xs:complexType name=3D"ClientListing_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">Lisintg clients, pour un d=E9claran=
t et une ann=E9e</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"ReplacedClientListing" type=3D"common:IntervatDec=
larationReference_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Identifiant/R=E9f=E9rence Interva=
t d'un listing clients pr=E9c=E9dent qui est remplac=E9 par ce listing (r=
=E9f=E9rence donn=E9e dans l'accus=E9 de r=E9ception du listing original)=
</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Declarant" type=3D"common:Declarant_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">D=E9clarant (assujetti belge)</xs=
:documentation>
-					<xs:documentation xml:lang=3D"nl">Aangever (Belgische belastingplic=
htige)</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Period" type=3D"common:Year_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">P=E9riode couverte par le listing=
 (ann=E9e au format YYYY)</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"TurnOver" type=3D"common:SignedAmount_Type" minOc=
curs=3D"0">
-				<xs:annotation>
-					<xs:documentation>Pour les petites entreprises: chiffre d'affaires.=
 Montant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Farmer" type=3D"common:YesNo_Type" minOccurs=3D"0=
">
-				<xs:annotation>
-					<xs:documentation>Pour un exploitant agricole: "YES" s'il d=E9clare=
 =EAtre tenu au d=E9p=F4t du relev=E9 intracommunautaire annuel, "NO" s'i=
l n'y est pas tenu. Tag absent pour les non-exploitants agricoles.</xs:do=
cumentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Client" type=3D"Client_Type" minOccurs=3D"0" maxO=
ccurs=3D"unbounded">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Informations concernant un client=
 du listing</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"FileAttachment" type=3D"common:FileAttachment_Typ=
e" minOccurs=3D"0" maxOccurs=3D"unbounded">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Informations concernant une annex=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Informatie betreffende een bijlag=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Informationen zu einer Anlage</xs=
:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Comment" type=3D"common:Comment_Type" minOccurs=3D=
"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Commentaire libre</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Vrije commentaar</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Freier Kommentar</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-		<xs:attribute name=3D"SequenceNumber" type=3D"xs:positiveInteger" use=3D=
"required">
-			<xs:annotation>
-				<xs:documentation xml:lang=3D"fr">Num=E9ro de s=E9quence du listing =
dans l'envoi</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name=3D"ClientsNbr" type=3D"xs:unsignedInt" use=3D"requi=
red">
-			<xs:annotation>
-				<xs:documentation>Nombre de clients dans le listing</xs:documentatio=
n>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name=3D"DeclarantReference" type=3D"common:DeclarantRefe=
rence_Type">
-			<xs:annotation>
-				<xs:documentation xml:lang=3D"fr">R=E9f=E9rence attribu=E9e =E0 ce l=
isting clients par le d=E9clarant ou mandataire.</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name=3D"TurnOverSum" type=3D"common:UnlimitedSignedAmoun=
t_Type" use=3D"required">
-			<xs:annotation>
-				<xs:documentation>Somme des chiffres d'affaires (hors TVA) pour tous=
 les clients. Montant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs=
:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name=3D"VATAmountSum" type=3D"common:UnlimitedSignedAmou=
nt_Type" use=3D"required">
-			<xs:annotation>
-				<xs:documentation>Somme des montants TVA pour tous les clients. Mont=
ant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-	</xs:complexType>
-	<xs:complexType name=3D"Client_Type">
-		<xs:sequence>
-			<xs:element name=3D"CompanyVATNumber" type=3D"ClientVATNumber_Type">
-				<xs:annotation>
-					<xs:documentation>N=B0 de TVA du client (assujetti belge).</xs:docu=
mentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"TurnOver" type=3D"common:SignedAmount_Type">
-				<xs:annotation>
-					<xs:documentation>Chiffre d'affaires (hors TVA). Montant sign=E9 ex=
prim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"VATAmount" type=3D"common:SignedAmount_Type">
-				<xs:annotation>
-					<xs:documentation>Montant TVA. Montant sign=E9 exprim=E9 en EUR =E0=
 l'eurocent pr=E8s.</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-		<xs:attribute name=3D"SequenceNumber" type=3D"xs:positiveInteger" use=3D=
"required">
-			<xs:annotation>
-				<xs:documentation>N=B0 de s=E9quence du client dans le listing</xs:d=
ocumentation>
-			</xs:annotation>
-		</xs:attribute>
-	</xs:complexType>
-	<xs:complexType name=3D"ClientVATNumber_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"common:BEVATNumber">
-				<xs:attribute name=3D"issuedBy" type=3D"iso:BECountryCode" use=3D"re=
quired">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Etat membre qui a attribu=E9 le =
n=B0 de TVA (toujours "BE")</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Lidstaat die de btw-nummer heeft=
 toegekend (altijd "BE")</xs:documentation>
-					</xs:annotation>
-				</xs:attribute>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-</xs:schema>

Deleted: trunk/transform/adjreasons_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/adjreasons_v1.xsd	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/adjreasons_v1.xsd	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,35 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:vr=3D"urn=
:ec.europa.eu:taxud:fiscalis:vatrefund:v1" targetNamespace=3D"urn:ec.euro=
pa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"qualified" attri=
buteFormDefault=3D"unqualified">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-			List of Pro-Rata Rate Adjustment Justification Reason Codes
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			Version 1.00 - first release of the schema to the Member States=20
-			]]></xs:documentation>
-	</xs:annotation>
-	<xs:simpleType name=3D"ProRataRateAdjustmentJustificationReasonCode_Typ=
e">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"01">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				Period is invalid or does not correspond to a period allowed by the =
legislation;
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"02">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				Adjusted pro-rata rate appears to be incorrect with regard to the in=
formation provided by the competent authority of your Member State of est=
ablishment
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"99">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-						Other
-					</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

Deleted: trunk/transform/attribute.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/attribute.php	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/attribute.php	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,73 +0,0 @@
-<?php
-/*
- *   This file is part of NOALYSS.
- *
- *   NOALYSS is free software; you can redistribute it and/or modify
- *   it under the terms of the GNU General Public License as published b=
y
- *   the Free Software Foundation; either version 2 of the License, or
- *   (at your option) any later version.
- *
- *   NOALYSS is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with NOALYSS; if not, write to the Free Software
- *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
-*/
-
-// Copyright Author Dany De Bontridder danydb@aevalys.eu
-
-$doc=3Dnew DOMDocument('1.0','UTF-8');
-$doc->formatOutput =3D true;
-
-// $ns=3D"http://www.w3.org/2001/XMLSchema";
-$ns=3D'http://www.minfin.fgov.be/ClientListingConsignment';
-$t=3D$doc->createElementNS($ns,'ns2:ClientListingConsignment');
-
-$root=3D$doc->appendChild($t);
-
-// $root->setAttributeNS($ns,'ns2:iso','http://www.minfin.fgov.be/IsoTyp=
es');
-$listing=3D$doc->appendChild($root);
-$xmls=3D$root->setAttribute("xmlns","http://www.minfin.fgov.be/InputComm=
on");
-
-//$xmls->value=3D"http://www.minfin.fgov.be/InputCommon";
-$listing=3D$doc->appendChild($root);
-
-
-$nb=3D$doc->createAttribute('ClientListingsNbr');
-$nb->value=3D1;
-$listing->appendChild($nb);
-
-$declarant=3D$doc->createElementNS('http://www.minfin.fgov.be/ClientList=
ingConsigment','ns2:Declarant');
-$vatnumber=3D$doc->createElement("VATNumber","dany");
-$name=3D$doc->createElement("Name","dany");
-$street=3D$doc->createElement("Street","dany");
-$postcode=3D$doc->createElement("PostCode","dany");
-$city=3D$doc->createElement("City","dany");
-$country=3D$doc->createElement("CountryCode","dany");
-$email=3D$doc->createElement("EmailAddress","dany");
-$phone=3D$doc->createElement("Phone");
-$n=3D$doc->createTextNode('nouveau num=C3=A9ro de t=C3=A9l=C3=A9phone');
-$phone->appendChild($n);
-
-$declarant_xml=3D$root->appendChild($declarant);
-$declarant_xml->appendChild($vatnumber);
-$declarant_xml->appendChild($name);
-$declarant_xml->appendChild($street);
-$declarant_xml->appendChild($postcode);
-$declarant_xml->appendChild($city);
-$declarant_xml->appendChild($country);
-$declarant_xml->appendChild($email);
-$declarant_xml->appendChild($phone);
-
-$periode=3D$doc->createElementNS("http://www.minfin.fgov.be/ClientListin=
gConsignment","ns2Periode","1402");
-$root->appendChild($periode);
-
-$test=3D$doc->saveXML();
-$doc->normalizeDocument();
-$doc->save('test.xml');
-echo $test;
-echo ' file text.xml created'.PHP_EOL;
-?>

Deleted: trunk/transform/commontypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/commontypes_v1.xsd	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/commontypes_v1.xsd	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,829 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-
-<xs:schema xmlns=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:cm=3D=
"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:xs=3D"http://www.w3.org=
/2001/XMLSchema" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:commo=
n:v1" elementFormDefault=3D"qualified" version=3D"1.6" xml:lang=3D"en">
-=09
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-			List of Goods Description types and sub-types
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			Version 1.6 - add Turkish to the list of languages
-			Version 1.5 - reduce size of VATNumberOrTIN_Type to 20 characters fro=
m 50 characters (20/03/2009)
-			Version 1.4 - first release of the schema to the Member States for VA=
T Refund=20
-			]]></xs:documentation>
-	</xs:annotation>
-	<xs:include schemaLocation=3D"isotypes_v1.xsd"/>
-	<xs:simpleType name=3D"CountryIsoCodeAlpha2_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">ISO 3166 alpha 2 country code</xs:d=
ocumentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:NMTOKEN">
-			<xs:pattern value=3D"[A-Z]{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CountryIsoCodeNum3_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">ISO 3166 numeric country code</xs:d=
ocumentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:integer">
-			<xs:totalDigits value=3D"3"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CurrencyIsoCode_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">ISO 4217 currency code</xs:document=
ation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:NMTOKEN">
-			<xs:pattern value=3D"[A-Z]{3}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCountryIsoCodeAlpha2_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">The set of ISO 3166 alpha 2 country=
 code values for the
-				EU member states, with the exception of the Hellenic Republic which =
is represented
-				by a non-standard code.</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"MSCountryCode_Type"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCountryIsoCodeAlpha2List_Type">
-		<xs:annotation>
-			<xs:documentation>List of EU country codes</xs:documentation>
-		</xs:annotation>
-		<xs:list itemType=3D"EUCountryIsoCodeAlpha2_Type"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCountryIsoCodeNum3_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">The set of ISO 3166 numeric country=
 code values for the
-				EU member states</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"CountryIsoCodeNum3_Type">
-			<xs:enumeration value=3D"040">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Austria</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"056">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Belgium</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"100">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Bulgaria</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"196">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Cyprus</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"203">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Czech Republic</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"208">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Denmark</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"233">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Estonia</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"246">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Finland</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"250">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">France</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"276">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Germany</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"300">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Greece</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"348">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Hungary</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"372">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Ireland</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"380">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Italy</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"428">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Latvia</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"440">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Lithuania</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"442">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Luxembourg</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"470">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Malta</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"528">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Netherlands</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"616">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Poland</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"620">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Portugal</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"642">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Romania</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"703">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Slovakia</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"705">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Slovenia</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"724">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Spain</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"752">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Sweden</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"826">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">United Kingdom</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCountryIsoCodeNum3List_Type">
-		<xs:annotation>
-			<xs:documentation>List of EU country code numbers</xs:documentation>
-		</xs:annotation>
-		<xs:list itemType=3D"EUCountryIsoCodeNum3_Type"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCurrencyIsoCode_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">The set of currency code values for=
 the EU member
-				states.Currencies that have been legal in recent years are included,=
 even if
-				replaced by the Euro.</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"CurrencyIsoCode_Type">
-			<xs:enumeration value=3D"BGN">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Leva (Bulgaria)</xs:documentation=
>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"CYP">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Pound (Cyprus)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"CZK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Koruny (Czech Republic)</xs:docum=
entation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"DKK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Krone (Denmark)</xs:documentation=
>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"EEK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Krooni (Estonia)</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"EUR">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Euro (Euro Zone)</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"GBP">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Pounds sterling (United
-					Kingdom)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"HUF">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Forint (Hungary)</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"LTL">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Litai (Lithuania)</xs:documentati=
on>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"LVL">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Lati (Latvia)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"MTL">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Liri (Malta)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"PLN">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Zlotych (Poland)</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ROL">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Lei (Romania)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"SEK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Krona (Sweden)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"SKK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Koruny (Slovakia)</xs:documentati=
on>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"SIT">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Tolars (Slovenia)</xs:documentati=
on>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EULanguageCode_Type">
-		<xs:annotation>
-			<xs:documentation> The list of official languages of the EU.</xs:docu=
mentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"bg">
-				<xs:annotation>
-					<xs:documentation>Bulgarian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"cs">
-				<xs:annotation>
-					<xs:documentation>Czech</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"da">
-				<xs:annotation>
-					<xs:documentation>Danish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"de">
-				<xs:annotation>
-					<xs:documentation>German</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"el">
-				<xs:annotation>
-					<xs:documentation>Greek</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"en">
-				<xs:annotation>
-					<xs:documentation>English</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"es">
-				<xs:annotation>
-					<xs:documentation>Spanish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"et">
-				<xs:annotation>
-					<xs:documentation>Estonian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"fi">
-				<xs:annotation>
-					<xs:documentation>Finnish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"fr">
-				<xs:annotation>
-					<xs:documentation>French</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ga">
-				<xs:annotation>
-					<xs:documentation>Irish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"hu">
-				<xs:annotation>
-					<xs:documentation>Hungarian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"it">
-				<xs:annotation>
-					<xs:documentation>Italian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"lt">
-				<xs:annotation>
-					<xs:documentation>Lithuanian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"lv">
-				<xs:annotation>
-					<xs:documentation>Latvian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"mt">
-				<xs:annotation>
-					<xs:documentation>Maltese</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"nl">
-				<xs:annotation>
-					<xs:documentation>Dutch</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"pl">
-				<xs:annotation>
-					<xs:documentation>Polish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"pt">
-				<xs:annotation>
-					<xs:documentation>Portuguese</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ro">
-				<xs:annotation>
-					<xs:documentation>Romanian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sk">
-				<xs:annotation>
-					<xs:documentation>Slovak </xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sl">
-				<xs:annotation>
-					<xs:documentation>Slovenian </xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sv">
-				<xs:annotation>
-					<xs:documentation>Swedish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		<xs:enumeration value=3D"tr">
-			<xs:annotation>
-				<xs:documentation>Turkish</xs:documentation>
-			</xs:annotation>
-		</xs:enumeration>
-
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EULanguageList_Type">
-		<xs:annotation>
-			<xs:documentation>List of EU Languages</xs:documentation>
-		</xs:annotation>
-		<xs:list itemType=3D"EULanguageCode_Type"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"AddressFree_Type">
-		<xs:annotation>
-			<xs:documentation>An unstructured address</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"AddressStatus_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"known"/>
-			<xs:enumeration value=3D"assumed"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"AmountValue_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">A decimal amount, resticted to two =
decimal
-			places</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ApplicationId_Type">
-		<xs:annotation>
-			<xs:documentation>Application Identifier</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:token">
-			<xs:enumeration value=3D"ecommerce">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">The VAT on e-services application=
 (Council
-						Directive 2002/38/EC)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EMail_Type">
-		<xs:annotation>
-			<xs:documentation>An email address</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:token">
-			<xs:pattern value=3D"([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-=
Z]{2,5})">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">A regular expression for email ad=
dresses.
-						Matches something@someserver.com, firstname.lastname@mailserver.do=
main.com,
-						username-something@some-server.tld</xs:documentation>
-				</xs:annotation>
-			</xs:pattern>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Gender_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">This element can be used to indicat=
e Gender for
-				individuals.</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:token">
-			<xs:enumeration value=3D"M"/>
-			<xs:enumeration value=3D"F"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"IBAN_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">The International Bank Account Numb=
er has to be given
-				here for the account into which the payment in question has been mad=
e. Depending on
-				the transmission type this element is optional. Its structure is: Co=
untry code, 2
-				letters/Check digits, 2 digits/Basic Bank Account Number (BBAN), 10 =
to 30
-				alphanumeric characters </xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[A-Z]{2}[0-9]{2}[0-9,A-Z]{10,30}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MsgId_Type">
-		<xs:annotation>
-			<xs:documentation>Message Identifier</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"64"/>
-			<xs:pattern value=3D"[a-zA-Z0-9\-_:@\.]*">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">The pattern caters for the 'ad-ho=
c' (MS ISO code
-						+ date + counter), RFC 2392-like mid, and UUID.</xs:documentation>
-				</xs:annotation>
-			</xs:pattern>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"NameFree_Type">
-		<xs:annotation>
-			<xs:documentation>An unstructured name</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"nameType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"indiv"/>
-			<xs:enumeration value=3D"alias"/>
-			<xs:enumeration value=3D"nick"/>
-			<xs:enumeration value=3D"aka"/>
-			<xs:enumeration value=3D"dba"/>
-			<xs:enumeration value=3D"legal"/>
-			<xs:enumeration value=3D"atbirth"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"NumberLength3_Type">
-		<xs:annotation>
-			<xs:documentation>A number with 3 digits</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:integer">
-			<xs:maxInclusive value=3D"999"/>
-			<xs:minInclusive value=3D"0"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PhoneNumber_Type">
-		<xs:annotation>
-			<xs:documentation>A telephone number</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"(\+)?[0-9]{1,20}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Quarter_Type">
-		<xs:annotation>
-			<xs:documentation>A quarter (Q1, Q2, Q3, Q4)</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:integer">
-			<xs:maxInclusive value=3D"4"/>
-			<xs:minInclusive value=3D"1"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"VATNumber_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[A-Za-z0-9\+\*]{1,12}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"VATNumberOrTIN_Type">
-		<xs:annotation>
-			<xs:documentation>A tax identifier, VAT or other</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"20"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"VatRate_Type">
-		<xs:annotation>
-			<xs:documentation>VAT rate</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:decimal">
-			<xs:minInclusive value=3D"0.00"/>
-			<xs:maxInclusive value=3D"100.00"/>
-			<xs:fractionDigits value=3D"2"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:complexType name=3D"AddressStruct_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">Structure of the address for a part=
y broken down into
-				its logical parts, recommended for easy matching. The 'City' element=
 is the only
-				required subelement. All of the subelements are simple text - data t=
ype 'string'.
-			</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Street" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"BuildingIdentifier" type=3D"xs:string" minOccurs=3D=
"0"/>
-			<xs:element name=3D"SuiteIdentifier" type=3D"xs:string" minOccurs=3D"=
0"/>
-			<xs:element name=3D"FloorIdentifier" type=3D"xs:string" minOccurs=3D"=
0"/>
-			<xs:element name=3D"DistrictName" type=3D"xs:string" minOccurs=3D"0"/=
>
-			<xs:element name=3D"POB" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"PostCode" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"City" type=3D"xs:string"/>
-			<xs:element name=3D"CountrySubentity" type=3D"xs:string" minOccurs=3D=
"0"/>
-			<xs:element name=3D"OtherLocalId" type=3D"xs:string" minOccurs=3D"0"/=
>
-		</xs:sequence>
-		<xs:anyAttribute/>
-	</xs:complexType>
-	<xs:complexType name=3D"EUMoneyAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An amount for the EU currencies</xs=
:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:restriction base=3D"MoneyAmount_Type">
-				<xs:attribute name=3D"currency" type=3D"EUCurrencyIsoCode_Type" use=3D=
"required"/>
-			</xs:restriction>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Header_Type">
-		<xs:annotation>
-			<xs:documentation>Header of generic tax message</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"OriginatingCountry" type=3D"EUCountryIsoCodeAlpha=
2_Type"/>
-			<xs:element name=3D"DestinationCountries" type=3D"EUCountryIsoCodeAlp=
ha2List_Type"/>
-			<xs:element name=3D"MessageId" type=3D"MsgId_Type"/>
-			<xs:element name=3D"CorrelationId" type=3D"MsgId_Type" minOccurs=3D"0=
"/>
-			<xs:element name=3D"Timestamp" type=3D"xs:dateTime"/>
-			<xs:element name=3D"ResponseRequired" type=3D"xs:date" minOccurs=3D"0=
"/>
-			<xs:element name=3D"Language" type=3D"xs:language" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">The language of the document. May=
 be overloaded
-						in some elements by a language attribute</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"I18nString_Type">
-		<xs:annotation>
-			<xs:documentation>Internationalised string</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:string">
-				<xs:attribute name=3D"lang" type=3D"xs:language" use=3D"optional"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Individual_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An individual</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
-			<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
-			<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=3D=
"0"/>
-		</xs:sequence>
-		<xs:attribute name=3D"indivQlf" type=3D"xs:string" use=3D"optional"/>
-	</xs:complexType>
-	<xs:complexType name=3D"IndivPersData_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">Data (other than Name and Address) =
to describe and
-				identify an Individual. </xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Gender" type=3D"Gender_Type" minOccurs=3D"0"/>
-			<xs:element name=3D"Nationality" type=3D"CountryIsoCodeAlpha2_Type" m=
inOccurs=3D"0"/>
-			<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
-			<xs:element name=3D"BirthCity" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"BirthCitySubentity" type=3D"xs:string" minOccurs=3D=
"0"/>
-			<xs:element name=3D"BirthCountryCode" type=3D"xs:string" minOccurs=3D=
"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"IndivPersBirthData_Type">
-		<xs:annotation>
-			<xs:documentation>A simplified version of IndivPersData_Type</xs:docu=
mentation>
-		</xs:annotation>
-		<xs:complexContent>
-			<xs:restriction base=3D"IndivPersData_Type">
-				<xs:sequence>
-					<xs:element name=3D"Gender" type=3D"Gender_Type" minOccurs=3D"0" ma=
xOccurs=3D"0"/>
-					<xs:element name=3D"Nationality" type=3D"CountryIsoCodeAlpha2_Type"=
 minOccurs=3D"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
-					<xs:element name=3D"BirthCity" type=3D"xs:string" minOccurs=3D"0"/>
-					<xs:element name=3D"BirthCitySubentity" type=3D"xs:string" minOccur=
s=3D"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"BirthCountryCode" type=3D"xs:string" minOccurs=3D=
"0"/>
-				</xs:sequence>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"IndividualWithAddress_Type">
-		<xs:complexContent>
-			<xs:restriction base=3D"Individual_Type">
-				<xs:sequence>
-					<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
-					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0" max=
Occurs=3D"0"/>
-					<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=
=3D"0"/>
-				</xs:sequence>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"IndividualWithBirthDate_Type">
-		<xs:complexContent>
-			<xs:restriction base=3D"Individual_Type">
-				<xs:sequence>
-					<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
-					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
-					<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=
=3D"0" maxOccurs=3D"0"/>
-				</xs:sequence>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"LegalEntity_Type">
-		<xs:annotation>
-			<xs:documentation>A legal entity</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Name" type=3D"NameFree_Type"/>
-			<xs:element name=3D"LegalStatus" type=3D"xs:string"/>
-			<xs:element name=3D"Address" type=3D"AddressStruct_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"MoneyAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
-			attribute</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"AmountValue_Type">
-				<xs:attribute name=3D"currency" type=3D"CurrencyIsoCode_Type" use=3D=
"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"NameStruct_Type">
-		<xs:sequence>
-			<xs:element name=3D"PrecedingTitle" type=3D"xs:string" minOccurs=3D"0=
"/>
-			<xs:element name=3D"Title" type=3D"xs:string" minOccurs=3D"0" maxOccu=
rs=3D"unbounded"/>
-			<xs:element name=3D"FirstName" type=3D"xs:string"/>
-			<xs:element name=3D"MiddleName" type=3D"xs:string" minOccurs=3D"0" ma=
xOccurs=3D"unbounded"/>
-			<xs:element name=3D"NamePrefix" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"LastName" type=3D"xs:string"/>
-			<xs:element name=3D"GenerationIdentifier" type=3D"xs:string" minOccur=
s=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"Suffix" type=3D"xs:string" minOccurs=3D"0" maxOcc=
urs=3D"unbounded"/>
-			<xs:element name=3D"GeneralSuffix" type=3D"xs:string" minOccurs=3D"0"=
/>
-			<xs:element name=3D"MaidenName" type=3D"xs:string" minOccurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Name_Type">
-		<xs:choice>
-			<xs:element name=3D"NameFree" type=3D"xs:string"/>
-			<xs:sequence>
-				<xs:element name=3D"NameStruct" type=3D"NameStruct_Type"/>
-				<xs:element name=3D"NameFree" type=3D"xs:string" minOccurs=3D"0"/>
-			</xs:sequence>
-		</xs:choice>
-		<xs:attribute name=3D"nameType" type=3D"nameType_Type" use=3D"optional=
"/>
-	</xs:complexType>
-	<xs:complexType name=3D"NameReducedFix_Type">
-		<xs:complexContent>
-			<xs:restriction base=3D"NameStruct_Type">
-				<xs:sequence>
-					<xs:element name=3D"PrecedingTitle" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"Title" type=3D"xs:string" minOccurs=3D"0" maxOc=
curs=3D"0"/>
-					<xs:element name=3D"FirstName" type=3D"xs:string"/>
-					<xs:element name=3D"MiddleName" type=3D"xs:string" minOccurs=3D"0" =
maxOccurs=3D"0"/>
-					<xs:element name=3D"NamePrefix" type=3D"xs:string" minOccurs=3D"0" =
maxOccurs=3D"0"/>
-					<xs:element name=3D"LastName" type=3D"xs:string"/>
-					<xs:element name=3D"GenerationIdentifier" type=3D"xs:string" minOcc=
urs=3D"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"Suffix" type=3D"xs:string" minOccurs=3D"0" maxO=
ccurs=3D"0"/>
-					<xs:element name=3D"GeneralSuffix" type=3D"xs:string" minOccurs=3D"=
0" maxOccurs=3D"0"/>
-					<xs:element name=3D"MaidenName" type=3D"xs:string" minOccurs=3D"0"/=
>
-				</xs:sequence>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"OrderedString_Type">
-		<xs:annotation>
-			<xs:documentation>A string with an attribute that allows ordering in =
a
-			list.</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:string">
-				<xs:attribute name=3D"order" type=3D"xs:byte" use=3D"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"NVPair_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">A type that holds a name value pair=
. The name is stored
-				in the 'name' attribute, and the value as a string in the element va=
lue
-			itself</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:string">
-				<xs:attribute name=3D"name" type=3D"xs:token" use=3D"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Period_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">Represents a period of time specifi=
ed by a start date
-				and an end date. </xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"StartDate" type=3D"xs:date"/>
-			<xs:element name=3D"EndDate" type=3D"xs:date"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Person_Type">
-		<xs:annotation>
-			<xs:documentation>A person</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Name" type=3D"NameStruct_Type"/>
-			<xs:element name=3D"IndivPersData" type=3D"IndivPersData_Type"/>
-			<xs:element name=3D"Address" type=3D"AddressStruct_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ShortAddressStruct_Type">
-		<xs:annotation>
-			<xs:documentation>A shortenedform of Address_Fix with a mandatory sta=
tus
-			attribute</xs:documentation>
-		</xs:annotation>
-		<xs:complexContent>
-			<xs:restriction base=3D"cm:AddressStruct_Type">
-				<xs:sequence>
-					<xs:element name=3D"Street" type=3D"xs:string" minOccurs=3D"0"/>
-					<xs:element name=3D"BuildingIdentifier" type=3D"xs:string" minOccur=
s=3D"0"/>
-					<xs:element name=3D"SuiteIdentifier" type=3D"xs:string" minOccurs=3D=
"0"/>
-					<xs:element name=3D"FloorIdentifier" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"DistrictName" type=3D"xs:string" minOccurs=3D"0=
" maxOccurs=3D"0"/>
-					<xs:element name=3D"POB" type=3D"xs:string" minOccurs=3D"0" maxOccu=
rs=3D"0"/>
-					<xs:element name=3D"PostCode" type=3D"xs:string" minOccurs=3D"0"/>
-					<xs:element name=3D"City" type=3D"xs:string"/>
-					<xs:element name=3D"CountrySubentity" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
-					<!--					<xs:element name=3D"Country" type=3D"CountryIsoCodeAlpha2_=
Type" minOccurs=3D"0"/> -->
-				</xs:sequence>
-				<xs:attribute name=3D"status" type=3D"AddressStatus_Type" use=3D"req=
uired"/>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-</xs:schema>

Deleted: trunk/transform/create-xml.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/create-xml.php	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/create-xml.php	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,74 +0,0 @@
-<?php
-/*
- *   This file is part of NOALYSS.
- *
- *   NOALYSS is free software; you can redistribute it and/or modify
- *   it under the terms of the GNU General Public License as published b=
y
- *   the Free Software Foundation; either version 2 of the License, or
- *   (at your option) any later version.
- *
- *   NOALYSS is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with NOALYSS; if not, write to the Free Software
- *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
-*/
-
-// Copyright Author Dany De Bontridder danydb@aevalys.eu
-
-$doc=3Dnew DOMDocument('1.0','ISO-8859-1');
-$doc->formatOutput =3D true;
-
-// $ns=3D"http://www.w3.org/2001/XMLSchema";
-$ns=3D'http://www.minfin.fgov.be/ClientListingConsignment';
-$t=3D$doc->createElementNS($ns,'ns2:ClientListingConsignment');
-
-$root=3D$doc->appendChild($t);
-
-// $root->setAttributeNS($ns,'ns2:iso','http://www.minfin.fgov.be/IsoTyp=
es');
-$listing=3D$doc->appendChild($root);
-$xmls=3D$root->setAttribute("xmlns","http://www.minfin.fgov.be/InputComm=
on");
-
-//$xmls->value=3D"http://www.minfin.fgov.be/InputCommon";
-$listing=3D$doc->appendChild($root);
-
-
-$nb=3D$doc->createAttribute('ClientListingsNbr');
-$nb->value=3D1;
-$listing->appendChild($nb);
-
-$declarant=3D$doc->createElementNS('http://www.minfin.fgov.be/ClientList=
ingConsigment','ns2:Declarant');
-$vatnumber=3D$doc->createElement("VATNumber","dany");
-$name=3D$doc->createElement("Name","dany");
-$street=3D$doc->createElement("Street","dany");
-$postcode=3D$doc->createElement("PostCode","dany");
-$city=3D$doc->createElement("City","dany");
-$country=3D$doc->createElement("CountryCode","dany");
-$email=3D$doc->createElement("EmailAddress","dany");
-$phone=3D$doc->createElement("Phone","0000000");
-
-
-
-$declarant_xml=3D$root->appendChild($declarant);
-$declarant_xml->appendChild($vatnumber);
-$declarant_xml->appendChild($name);
-$declarant_xml->appendChild($street);
-$declarant_xml->appendChild($postcode);
-$declarant_xml->appendChild($city);
-$declarant_xml->appendChild($country);
-$declarant_xml->appendChild($email);
-$declarant_xml->appendChild($phone);
-
-$periode=3D$doc->createElementNS("http://www.minfin.fgov.be/ClientListin=
gConsignment","ns2Periode","1402");
-$root->appendChild($periode);
-
-$test=3D$doc->saveXML();
-$doc->save('test.xml');
-echo $test;
-echo ' file text.xml created'.PHP_EOL;
-$doc->normalizeDocument();
-echo $doc->saveXML();
-?>

Deleted: trunk/transform/decreasons_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/decreasons_v1.xsd	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/decreasons_v1.xsd	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,262 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:vr=3D"urn=
:ec.europa.eu:taxud:fiscalis:vatrefund:v1" targetNamespace=3D"urn:ec.euro=
pa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"qualified" attri=
buteFormDefault=3D"unqualified">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-			List of VAT Refund Decision Justification Reason Codes
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			Version 1.01 - Correct code for "Partial decision of repayment" - 87 =
-> 95
-						 Add codes agreed at March workshop (codes 64 to 68 inclusive)
-			Version 1.00 - first release of the schema to the Member States=20
-			]]></xs:documentation>
-	</xs:annotation>
-	<xs:simpleType name=3D"RefundDecisionJustificationReasonCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"01">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				the refund period is invalid
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"02">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				the total claimed amount is smaller than the minimal allowed amount =
for the mentioned period
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"03">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				the description of the business activity via NACE Level 4 code(s) is=
 required.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"04">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-	data of the mentioned bank account is incomplete or incorrect
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"05">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-your business activities imply to specify a pro-rata rate
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"06">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-after verification it appears that you were involved in the supply of go=
ods or services in our territory and that the latter are not covered by t=
he exemption defined in the legislation
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"07">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-  after verification, it has been found out that you have a permanent es=
tablishment in our territory from which you do business activities
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"08">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-  The application is received outside of the allowed period.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"09">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-  The application shall submit a refund application for either the whole=
 year or a calendar quarter. The application is to be submitted when the =
refund period has been completed. However, the application has been sent =
in advance.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"20">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the request for refund has already been handled in another VAT refund ap=
plication
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"21">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the currency is not the national currency
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"22">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-a sub-classification code is required for the classification code specif=
ied
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"23">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the nature of the goods and services must be clearly specified in case c=
lassification code "10" is used
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"24">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the purchase of goods or services was not performed on our territory
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"25">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the importation of the goods was not performed on our territory
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"40">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the VAT Identification number or tax reference number mentioned for the =
supplier is unknown or was not active for the date specified
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"41">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the VAT supplier name and address do not correspond to the ones associat=
ed with the VAT identification number or tax reference number
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"42">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the information about the supplier is not the one specified in the impor=
t/invoice document
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"60">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-a copy of the import/invoice document is required
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"61">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the original of the import/invoice document was requested but was not pr=
ovided in time
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"62">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the import/invoice document appears to be a forgery
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"63">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-Copy of the invoice/import document is not readable
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"64">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-One or several invoices have not been issued with the name of the refund=
 applicant.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"65">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-One or several invoices are not deemed to be valid. Invoices must contai=
n the name, VAT number and address of the seller and the buyer, descripti=
on of the operation, taxable amount, VAT rate, VAT amount, invoice number=
, place and date where the invoice was issued.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"66">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-Operations included within the special scheme of Travel Agencies, under =
which VAT is not deductible.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"67">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The applicant provides financial services, which are deemed to be exempt=
. Exempt activities do not allow to obtain the repayment of input tax.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"68">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-One or several invoices or import documents belong to a period different=
 from the period of the refund application. The application is submitted =
in reference to a specific period (1T, 2T, 3T or annual) and input tax in=
 other periods is not considered.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"70">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-Additional information was requested but was not provided in time
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"80">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The pro-rata rate mentioned in the request appears to be incorrect with =
regards to the information provided by the competent authority of your Me=
mber State of establishment
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"81">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The taxable amount or/and VAT amount specified in the request are not th=
e ones specified in the import/invoice document
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"82">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The claimed amount does not correspond to a legitimate VAT
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"83">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The nature of the goods and services does not justify a VAT refund with =
regards to the specified business activities
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"84">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The classification code or sub-code is incorrect with regards to the inf=
ormation available on the import/invoice document
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"85">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-Based on the nature of the goods and services, the deductible VAT amount=
 is limited to a given percentage
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"95">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-VAT Refund application partially evaluated (Non-final decision)
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"99"/>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

Deleted: trunk/transform/fiscalismessage_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/fiscalismessage_v1.xsd	2014-01-25 22:39:28 UTC (rev 6=
69)
+++ trunk/transform/fiscalismessage_v1.xsd	2014-01-28 17:03:22 UTC (rev 6=
70)
@@ -1,43 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns=3D"urn:ec.europa.eu:taxud:fiscalis:message:v1" xmlns:cm=
=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:xs=3D"http://www.w3.=
org/2001/XMLSchema" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:me=
ssage:v1" elementFormDefault=3D"qualified" version=3D"1.0" xml:lang=3D"en=
">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en">
-		=3D=3D=3D HISTORY=3D=3D=3D
-		- Version 1.0: first issue of the schema as part of the Technical Spec=
ifications.
-		</xs:documentation>
-	</xs:annotation>
-	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
-	<xs:element name=3D"FiscalisMessage">
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element name=3D"Header" type=3D"Header_Type"/>
-				<xs:element name=3D"Body" type=3D"Body_Type"/>
-			</xs:sequence>
-		</xs:complexType>
-	</xs:element>
-	<xs:complexType name=3D"Body_Type">
-		<xs:sequence>
-			<xs:element ref=3D"AbstractBody"/>
-		</xs:sequence>
-		<xs:attribute name=3D"applicationId" use=3D"required"/>
-	</xs:complexType>
-	<xs:element name=3D"AbstractBody" abstract=3D"true"/>
-	<xs:complexType name=3D"Header_Type">
-		<xs:annotation>
-			<xs:documentation>Header of generic tax message</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"OriginatingCountry" type=3D"cm:EUCountryIsoCodeAl=
pha2_Type"/>
-			<xs:element name=3D"DestinationCountries" type=3D"cm:EUCountryIsoCode=
Alpha2List_Type"/>
-			<xs:element name=3D"MessageId" type=3D"cm:MsgId_Type"/>
-			<xs:element name=3D"CorrelationId" type=3D"cm:MsgId_Type" minOccurs=3D=
"0"/>
-			<xs:element name=3D"Timestamp" type=3D"xs:dateTime"/>
-			<xs:element name=3D"ResponseRequired" type=3D"xs:date" minOccurs=3D"0=
"/>
-			<xs:element name=3D"Language" type=3D"xs:language" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">The language of the document. May=
 be overloaded in some elements by a language attribute</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-</xs:schema>

Deleted: trunk/transform/from-xsd.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/from-xsd.php	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/from-xsd.php	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,15 +0,0 @@
-<?php
-
-$xmldas=3DSDO_DAS_XML::create('NewLK-in_v0_7.xsd');
-try {
-	$doc=3D$xmldas->createDocument();
-	$rdo=3D$doc->getRootDataObject();
-	print($xmldas-saveString($doc));
-
-} catch (Exception $e)
-{
-	var_dump($e->getMessage());
-}
-
-
-?>

Deleted: trunk/transform/goodsdescriptiontypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/goodsdescriptiontypes_v1.xsd	2014-01-25 22:39:28 UTC =
(rev 669)
+++ trunk/transform/goodsdescriptiontypes_v1.xsd	2014-01-28 17:03:22 UTC =
(rev 670)
@@ -1,92 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" targetNamespace=
=3D"urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"q=
ualified" attributeFormDefault=3D"unqualified" version=3D"1.01">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-			List of Goods Description types and sub-types
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			Version 1.02 - Modify pattern of the GoodsDescriptionSubCode_Type (20=
/08/2010)
-									   to have x.y.z with y and z both optional
-			Version 1.01 - add pattern to the GoodsDescriptionSubCode_Type (20/03=
/2009)
-			Version 1.00 - first release of the schema to the Member States=20
-			]]></xs:documentation>
-	</xs:annotation>
-	<xs:simpleType name=3D"GoodsDescriptionCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"1">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				fuel
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"2">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				hiring of means of transport
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"3">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				expenditure relating to means of transport (other than the goods and=
 services referred to under codes 1 and 2
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"4">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				road tolls and road user charge
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"5">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				travel expenses, such as taxi fares, public transport fares
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"6">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				accommodation
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"7">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				food, drink and restaurant services
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"8">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				admissions to fares and exhibitions
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"9">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				expenditure on luxuries, amusements and entertainment
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"10">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				other
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"GoodsDescriptionSubCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"([0-9]{1,2}){1}(\.\d{1,2}){0,2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

Deleted: trunk/transform/isotypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/isotypes_v1.xsd	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/isotypes_v1.xsd	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,936 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xsd:schema xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" elementFormDe=
fault=3D"qualified" attributeFormDefault=3D"unqualified">
-
-	<!--  ISO 3166 alpha 2 Country Code -->
-	<!--HISTORY
-=09
-		09/12/2010 -
-		Move IC, XI, and XJ country codes to MSCountryCode_Type
-	=09
-		17/11/2010 - v1.1
-			Add country codes: IC, XI, XJ, CW, NM, BQ
-			Country code AN is obsolete but kept for backward compatiblity reason=
s
-
-	=09
-		20/05/2009 -=20
-		Add country codes for Serbia, Montenegro, Aland Islands, Saint Martin,=
 Saint Barthelemy, Jersey, Guernsey, Isle of Man
-
-		Modify currency codes:
-		AZM->AZN
-		BGL->BGN
-		AFA->AFN
-		GHC->GHS
-		MZM->MZN
-		RUR->RUB
-		SDD->SDG
-		SRG->SRD
-		TRL->TRY
-		VEB->VEF
-		ZWD->ZWL
-		MGF->MGA
-		=09
-		Remove currency codes CYP, GGP, JEP, IMP, ROL, SPL, YUM, XAG, XAU, XPT=
, MTL, SIT, SKK	=09
-		Add currency codes GWP, MXV, CLF, CUC, BOV, RSD
-	-->
-	<xsd:simpleType name=3D"CountryCode_Type">
-		<xsd:union memberTypes=3D"CountryCodeExMS_Type MSCountryCode_Type"/>
-	</xsd:simpleType>
-=09
-	<xsd:simpleType name=3D"CountryCodeExMS_Type">
-		<xsd:annotation>
-			<xsd:documentation xml:lang=3D"en">
-			The appropriate country code from the ISO 3166 two-byte alpha version=
 for the state in which the party concerned is a resident. Omit this only=
 if  no data is available.
-			This list excludes Member States of the European Union
-The following entries must not be used:
-	- AN --  NETHERLANDS ANTILLES
-Valid entries are:
-	- AF --  AFGHANISTAN=20
-	- AX --  =C3=85LAND ISLANDS
-	- AL --  ALBANIA=20
-	- DZ --  ALGERIA=20
-	- AS --  AMERICAN SAMOA=20
-	- AD --  ANDORRA=20
-	- AO --  ANGOLA=20
-	- AI --  ANGUILLA=20
-	- AQ --  ANTARCTICA=20
-	- AG --  ANTIGUA AND BARBUDA=20
-	- AR --  ARGENTINA=20
-	- AM --  ARMENIA=20
-	- AW --  ARUBA=20
-	- AU --  AUSTRALIA=20
-	- AT --  AUSTRIA=20
-	- AZ --  AZERBAIJAN=20
-	- BS --  BAHAMAS=20
-	- BH --  BAHRAIN=20
-	- BD --  BANGLADESH=20
-	- BB --  BARBADOS=20
-	- BY --  BELARUS=20
-	- BE --  BELGIUM=20
-	- BZ --  BELIZE=20
-	- BJ --  BENIN=20
-	- BM --  BERMUDA=20
-	- BT --  BHUTAN=20
-	- BO --  BOLIVIA=20
-	- BA --  BOSNIA AND HERZEGOVINA=20
-	- BW --  BOTSWANA=20
-	- BV --  BOUVET ISLAND=20
-	- BR --  BRAZIL=20
-	- IO --  BRITISH INDIAN OCEAN TERRITORY=20
-	- BN --  BRUNEI DARUSSALAM=20
-	- BG --  BULGARIA=20
-	- BF --  BURKINA FASO=20
-	- BI --  BURUNDI=20
-	- KH --  CAMBODIA=20
-	- CM --  CAMEROON=20
-	- CA --  CANADA=20
-	- CV --  CAPE VERDE=20
-	- KY --  CAYMAN ISLANDS=20
-	- CF --  CENTRAL AFRICAN REPUBLIC=20
-	- TD --  CHAD=20
-	- CL --  CHILE=20
-	- CN --  CHINA=20
-	- CX --  CHRISTMAS ISLAND=20
-	- CC --  COCOS (KEELING) ISLANDS=20
-	- CO --  COLOMBIA=20
-	- KM --  COMOROS=20
-	- CG --  CONGO=20
-	- CD --  CONGO, THE DEMOCRATIC REPUBLIC OF THE=20
-	- CK --  COOK ISLANDS=20
-	- CR --  COSTA RICA=20
-	- CI --  COTE D'IVOIRE=20
-	- HR --  CROATIA=20
-	- CU --  CUBA=20
-	- CY --  CYPRUS=20
-	- CZ --  CZECH REPUBLIC=20
-	- DK --  DENMARK=20
-	- DJ --  DJIBOUTI=20
-	- DM --  DOMINICA=20
-	- DO --  DOMINICAN REPUBLIC=20
-	- EC --  ECUADOR=20
-	- EG --  EGYPT=20
-	- SV --  EL SALVADOR=20
-	- GQ --  EQUATORIAL GUINEA=20
-	- ER --  ERITREA=20
-	- EE --  ESTONIA=20
-	- ET --  ETHIOPIA=20
-	- FK --  FALKLAND ISLANDS (MALVINAS)=20
-	- FO --  FAROE ISLANDS=20
-	- FJ --  FIJI=20
-	- FI --  FINLAND=20
-	- FR --  FRANCE=20
-	- GF --  FRENCH GUIANA=20
-	- PF --  FRENCH POLYNESIA=20
-	- TF --  FRENCH SOUTHERN TERRITORIES=20
-	- GA --  GABON=20
-	- GM --  GAMBIA=20
-	- GE --  GEORGIA=20
-	- DE --  GERMANY=20
-	- GH --  GHANA=20
-	- GI --  GIBRALTAR=20
-	- GR --  GREECE=20
-	- GL --  GREENLAND=20
-	- GD --  GRENADA=20
-	- GP --  GUADELOUPE=20
-	- GU --  GUAM=20
-	- GT --  GUATEMALA=20
-	- GG --  GUERNSEY
-	- GN --  GUINEA=20
-	- GW --  GUINEA-BISSAU=20
-	- GY --  GUYANA=20
-	- HT --  HAITI=20
-	- HM --  HEARD ISLAND AND MCDONALD ISLANDS=20
-	- VA --  HOLY SEE (VATICAN CITY STATE)=20
-	- HN --  HONDURAS=20
-	- HK --  HONG KONG=20
-	- HU --  HUNGARY=20
-	- IS --  ICELAND=20
-	- IN --  INDIA=20
-	- ID --  INDONESIA=20
-	- IR --  IRAN, ISLAMIC REPUBLIC OF=20
-	- IQ --  IRAQ=20
-	- IE --  IRELAND=20
-	- IM --  ISLE OF MAN
-	- IL --  ISRAEL=20
-	- IT --  ITALY=20
-	- JM --  JAMAICA=20
-	- JP --  JAPAN=20
-	- JE --	 JERSEY
-	- JO --  JORDAN=20
-	- KZ --  KAZAKHSTAN=20
-	- KE --  KENYA=20
-	- KI --  KIRIBATI=20
-	- KP --  KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF=20
-	- KR --  KOREA, REPUBLIC OF=20
-	- KW --  KUWAIT=20
-	- KG --  KYRGYZSTAN=20
-	- LA --  LAO PEOPLE'S DEMOCRATIC REPUBLIC=20
-	- LV --  LATVIA=20
-	- LB --  LEBANON=20
-	- LS --  LESOTHO=20
-	- LR --  LIBERIA=20
-	- LY --  LIBYAN ARAB JAMAHIRIYA=20
-	- LI --  LIECHTENSTEIN=20
-	- LT --  LITHUANIA=20
-	- LU --  LUXEMBOURG=20
-	- MO --  MACAO=20
-	- MK --  MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF=20
-	- MG --  MADAGASCAR=20
-	- MW --  MALAWI=20
-	- MY --  MALAYSIA=20
-	- MV --  MALDIVES=20
-	- ML --  MALI=20
-	- MT --  MALTA=20
-	- MH --  MARSHALL ISLANDS=20
-	- MQ --  MARTINIQUE=20
-	- MR --  MAURITANIA=20
-	- MU --  MAURITIUS=20
-	- YT --  MAYOTTE=20
-	- MX --  MEXICO=20
-	- FM --  MICRONESIA, FEDERATED STATES OF=20
-	- MD --  MOLDOVA, REPUBLIC OF=20
-	- MC --  MONACO=20
-	- MN --  MONGOLIA=20
-	- ME --  MONTENEGRO
-	- MS --  MONTSERRAT=20
-	- MA --  MOROCCO=20
-	- MZ --  MOZAMBIQUE=20
-	- MM --  MYANMAR=20
-	- NA --  NAMIBIA=20
-	- NR --  NAURU=20
-	- NP --  NEPAL=20
-	- NL --  NETHERLANDS=20
-	- NC --  NEW CALEDONIA=20
-	- NZ --  NEW ZEALAND=20
-	- NI --  NICARAGUA=20
-	- NE --  NIGER=20
-	- NG --  NIGERIA=20
-	- NU --  NIUE=20
-	- NF --  NORFOLK ISLAND=20
-	- MP --  NORTHERN MARIANA ISLANDS=20
-	- NO --  NORWAY=20
-	- OM --  OMAN=20
-	- PK --  PAKISTAN=20
-	- PW --  PALAU=20
-	- PS --  PALESTINIAN TERRITORY, OCCUPIED=20
-	- PA --  PANAMA=20
-	- PG --  PAPUA NEW GUINEA=20
-	- PY --  PARAGUAY=20
-	- PE --  PERU=20
-	- PH --  PHILIPPINES=20
-	- PN --  PITCAIRN=20
-	- PL --  POLAND=20
-	- PT --  PORTUGAL=20
-	- PR --  PUERTO RICO=20
-	- QA --  QATAR=20
-	- RE --  REUNION=20
-	- RO --  ROMANIA=20
-	- RU --  RUSSIAN FEDERATION=20
-	- RW --  RWANDA=20
-	- BL --  SAINT BARTH=C3=89LEMY
-	- SH --  SAINT HELENA=20
-	- KN --  SAINT KITTS AND NEVIS=20
-	- LC --  SAINT LUCIA=20
-	- MF --  SAINT MARTIN
-	- PM --  SAINT PIERRE AND MIQUELON=20
-	- VC --  SAINT VINCENT AND THE GRENADINES=20
-	- WS --  SAMOA=20
-	- SM --  SAN MARINO=20
-	- ST --  SAO TOME AND PRINCIPE=20
-	- SA --  SAUDI ARABIA=20
-	- SN --  SENEGAL=20
-	- RS --  SERBIA
-	- SC --  SEYCHELLES=20
-	- SL --  SIERRA LEONE=20
-	- SG --  SINGAPORE=20
-	- SK --  SLOVAKIA=20
-	- SI --  SLOVENIA=20
-	- SB --  SOLOMON ISLANDS=20
-	- SO --  SOMALIA=20
-	- ZA --  SOUTH AFRICA=20
-	- GS --  SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS=20
-	- ES --  SPAIN=20
-	- LK --  SRI LANKA=20
-	- SD --  SUDAN=20
-	- SR --  SURINAME=20
-	- SJ --  SVALBARD AND JAN MAYEN=20
-	- SZ --  SWAZILAND=20
-	- SE --  SWEDEN=20
-	- CH --  SWITZERLAND=20
-	- SY --  SYRIAN ARAB REPUBLIC=20
-	- TW --  TAIWAN, PROVINCE OF CHINA=20
-	- TJ --  TAJIKISTAN=20
-	- TZ --  TANZANIA, UNITED REPUBLIC OF=20
-	- TH --  THAILAND=20
-	- TL --  TIMOR-LESTE=20
-	- TG --  TOGO=20
-	- TK --  TOKELAU=20
-	- TO --  TONGA=20
-	- TT --  TRINIDAD AND TOBAGO=20
-	- TN --  TUNISIA=20
-	- TR --  TURKEY=20
-	- TM --  TURKMENISTAN=20
-	- TC --  TURKS AND CAICOS ISLANDS=20
-	- TV --  TUVALU=20
-	- UG --  UGANDA=20
-	- UA --  UKRAINE=20
-	- AE --  UNITED ARAB EMIRATES=20
-	- GB --  UNITED KINGDOM=20
-	- US --  UNITED STATES=20
-	- UM --  UNITED STATES MINOR OUTLYING ISLANDS=20
-	- UY --  URUGUAY=20
-	- UZ --  UZBEKISTAN=20
-	- VU --  VANUATU=20
-	- VE --  VENEZUELA, BOLIVARIAN REPUBLIC OF
-	- VN --  VIET NAM=20
-	- VG --  VIRGIN ISLANDS, BRITISH=20
-	- VI --  VIRGIN ISLANDS, U.S.=20
-	- WF --  WALLIS AND FUTUNA=20
-	- EH --  WESTERN SAHARA=20
-	- YE --  YEMEN=20
-	- ZM --  ZAMBIA=20
-	- ZW --  ZIMBABWE=20
-	- IC --  CANARY ISLANDS
-	- XI --  CEUTA
-	- XJ --  MELILLA
-	- CW --  CURACAO
-	- NM --  SAINT MARTIN (DUTCH PART)
-	- BQ --  BONAIRE, SAINT EUSTATIUS AND SABA
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base=3D"xsd:string">
-			<xsd:enumeration value=3D"AF"/>
-			<xsd:enumeration value=3D"AX"/>
-			<xsd:enumeration value=3D"AL"/>
-			<xsd:enumeration value=3D"DZ"/>
-			<xsd:enumeration value=3D"AS"/>
-			<xsd:enumeration value=3D"AD"/>
-			<xsd:enumeration value=3D"AO"/>
-			<xsd:enumeration value=3D"AI"/>
-			<xsd:enumeration value=3D"AQ"/>
-			<xsd:enumeration value=3D"AG"/>
-			<xsd:enumeration value=3D"AR"/>
-			<xsd:enumeration value=3D"AM"/>
-			<xsd:enumeration value=3D"AW"/>
-			<xsd:enumeration value=3D"AU"/>
-			<xsd:enumeration value=3D"AZ"/>
-			<xsd:enumeration value=3D"BS"/>
-			<xsd:enumeration value=3D"BH"/>
-			<xsd:enumeration value=3D"BD"/>
-			<xsd:enumeration value=3D"BB"/>
-			<xsd:enumeration value=3D"BY"/>
-			<xsd:enumeration value=3D"BZ"/>
-			<xsd:enumeration value=3D"BJ"/>
-			<xsd:enumeration value=3D"BM"/>
-			<xsd:enumeration value=3D"BT"/>
-			<xsd:enumeration value=3D"BO"/>
-			<xsd:enumeration value=3D"BA"/>
-			<xsd:enumeration value=3D"BW"/>
-			<xsd:enumeration value=3D"BV"/>
-			<xsd:enumeration value=3D"BR"/>
-			<xsd:enumeration value=3D"IO"/>
-			<xsd:enumeration value=3D"BN"/>
-			<xsd:enumeration value=3D"BF"/>
-			<xsd:enumeration value=3D"BI"/>
-			<xsd:enumeration value=3D"KH"/>
-			<xsd:enumeration value=3D"CM"/>
-			<xsd:enumeration value=3D"CA"/>
-			<xsd:enumeration value=3D"CV"/>
-			<xsd:enumeration value=3D"KY"/>
-			<xsd:enumeration value=3D"CF"/>
-			<xsd:enumeration value=3D"TD"/>
-			<xsd:enumeration value=3D"CL"/>
-			<xsd:enumeration value=3D"CN"/>
-			<xsd:enumeration value=3D"CX"/>
-			<xsd:enumeration value=3D"CC"/>
-			<xsd:enumeration value=3D"CO"/>
-			<xsd:enumeration value=3D"KM"/>
-			<xsd:enumeration value=3D"CG"/>
-			<xsd:enumeration value=3D"CD"/>
-			<xsd:enumeration value=3D"CK"/>
-			<xsd:enumeration value=3D"CR"/>
-			<xsd:enumeration value=3D"CI"/>
-			<xsd:enumeration value=3D"HR"/>
-			<xsd:enumeration value=3D"CU"/>
-			<xsd:enumeration value=3D"DJ"/>
-			<xsd:enumeration value=3D"DM"/>
-			<xsd:enumeration value=3D"DO"/>
-			<xsd:enumeration value=3D"EC"/>
-			<xsd:enumeration value=3D"EG"/>
-			<xsd:enumeration value=3D"SV"/>
-			<xsd:enumeration value=3D"GQ"/>
-			<xsd:enumeration value=3D"ER"/>
-			<xsd:enumeration value=3D"ET"/>
-			<xsd:enumeration value=3D"FK"/>
-			<xsd:enumeration value=3D"FO"/>
-			<xsd:enumeration value=3D"FJ"/>
-			<xsd:enumeration value=3D"GF"/>
-			<xsd:enumeration value=3D"PF"/>
-			<xsd:enumeration value=3D"TF"/>
-			<xsd:enumeration value=3D"GA"/>
-			<xsd:enumeration value=3D"GM"/>
-			<xsd:enumeration value=3D"GE"/>
-			<xsd:enumeration value=3D"GH"/>
-			<xsd:enumeration value=3D"GI"/>
-			<xsd:enumeration value=3D"GL"/>
-			<xsd:enumeration value=3D"GD"/>
-			<xsd:enumeration value=3D"GP"/>
-			<xsd:enumeration value=3D"GU"/>
-			<xsd:enumeration value=3D"GT"/>
-			<xsd:enumeration value=3D"GG"/>
-			<xsd:enumeration value=3D"GN"/>
-			<xsd:enumeration value=3D"GW"/>
-			<xsd:enumeration value=3D"GY"/>
-			<xsd:enumeration value=3D"HT"/>
-			<xsd:enumeration value=3D"HM"/>
-			<xsd:enumeration value=3D"VA"/>
-			<xsd:enumeration value=3D"HN"/>
-			<xsd:enumeration value=3D"HK"/>
-			<xsd:enumeration value=3D"IS"/>
-			<xsd:enumeration value=3D"IN"/>
-			<xsd:enumeration value=3D"ID"/>
-			<xsd:enumeration value=3D"IR"/>
-			<xsd:enumeration value=3D"IQ"/>
-			<xsd:enumeration value=3D"IM"/>
-			<xsd:enumeration value=3D"IL"/>
-			<xsd:enumeration value=3D"JM"/>
-			<xsd:enumeration value=3D"JP"/>
-			<xsd:enumeration value=3D"JE"/>
-			<xsd:enumeration value=3D"JO"/>
-			<xsd:enumeration value=3D"KZ"/>
-			<xsd:enumeration value=3D"KE"/>
-			<xsd:enumeration value=3D"KI"/>
-			<xsd:enumeration value=3D"KP"/>
-			<xsd:enumeration value=3D"KR"/>
-			<xsd:enumeration value=3D"KW"/>
-			<xsd:enumeration value=3D"KG"/>
-			<xsd:enumeration value=3D"LA"/>
-			<xsd:enumeration value=3D"LB"/>
-			<xsd:enumeration value=3D"LS"/>
-			<xsd:enumeration value=3D"LR"/>
-			<xsd:enumeration value=3D"LY"/>
-			<xsd:enumeration value=3D"LI"/>
-			<xsd:enumeration value=3D"MO"/>
-			<xsd:enumeration value=3D"MK"/>
-			<xsd:enumeration value=3D"MG"/>
-			<xsd:enumeration value=3D"MW"/>
-			<xsd:enumeration value=3D"MY"/>
-			<xsd:enumeration value=3D"MV"/>
-			<xsd:enumeration value=3D"ML"/>
-			<xsd:enumeration value=3D"MH"/>
-			<xsd:enumeration value=3D"MQ"/>
-			<xsd:enumeration value=3D"MR"/>
-			<xsd:enumeration value=3D"MU"/>
-			<xsd:enumeration value=3D"YT"/>
-			<xsd:enumeration value=3D"MX"/>
-			<xsd:enumeration value=3D"FM"/>
-			<xsd:enumeration value=3D"MD"/>
-			<xsd:enumeration value=3D"MC"/>
-			<xsd:enumeration value=3D"MN"/>
-			<xsd:enumeration value=3D"ME"/>
-			<xsd:enumeration value=3D"MS"/>
-			<xsd:enumeration value=3D"MA"/>
-			<xsd:enumeration value=3D"MZ"/>
-			<xsd:enumeration value=3D"MM"/>
-			<xsd:enumeration value=3D"NA"/>
-			<xsd:enumeration value=3D"NR"/>
-			<xsd:enumeration value=3D"NP"/>
-			<xsd:enumeration value=3D"AN"/>
-			<xsd:enumeration value=3D"NC"/>
-			<xsd:enumeration value=3D"NZ"/>
-			<xsd:enumeration value=3D"NI"/>
-			<xsd:enumeration value=3D"NE"/>
-			<xsd:enumeration value=3D"NG"/>
-			<xsd:enumeration value=3D"NU"/>
-			<xsd:enumeration value=3D"NF"/>
-			<xsd:enumeration value=3D"MP"/>
-			<xsd:enumeration value=3D"NO"/>
-			<xsd:enumeration value=3D"OM"/>
-			<xsd:enumeration value=3D"PK"/>
-			<xsd:enumeration value=3D"PW"/>
-			<xsd:enumeration value=3D"PS"/>
-			<xsd:enumeration value=3D"PA"/>
-			<xsd:enumeration value=3D"PG"/>
-			<xsd:enumeration value=3D"PY"/>
-			<xsd:enumeration value=3D"PE"/>
-			<xsd:enumeration value=3D"PH"/>
-			<xsd:enumeration value=3D"PN"/>
-			<xsd:enumeration value=3D"PR"/>
-			<xsd:enumeration value=3D"QA"/>
-			<xsd:enumeration value=3D"RE"/>
-			<xsd:enumeration value=3D"RU"/>
-			<xsd:enumeration value=3D"RW"/>
-			<xsd:enumeration value=3D"BL"/>
-			<xsd:enumeration value=3D"SH"/>
-			<xsd:enumeration value=3D"KN"/>
-			<xsd:enumeration value=3D"LC"/>
-			<xsd:enumeration value=3D"MF"/>
-			<xsd:enumeration value=3D"PM"/>
-			<xsd:enumeration value=3D"VC"/>
-			<xsd:enumeration value=3D"WS"/>
-			<xsd:enumeration value=3D"SM"/>
-			<xsd:enumeration value=3D"ST"/>
-			<xsd:enumeration value=3D"SA"/>
-			<xsd:enumeration value=3D"SN"/>
-			<xsd:enumeration value=3D"RS"/>
-			<xsd:enumeration value=3D"SC"/>
-			<xsd:enumeration value=3D"SL"/>
-			<xsd:enumeration value=3D"SG"/>
-			<xsd:enumeration value=3D"SB"/>
-			<xsd:enumeration value=3D"SO"/>
-			<xsd:enumeration value=3D"ZA"/>
-			<xsd:enumeration value=3D"GS"/>
-			<xsd:enumeration value=3D"LK"/>
-			<xsd:enumeration value=3D"SD"/>
-			<xsd:enumeration value=3D"SR"/>
-			<xsd:enumeration value=3D"SJ"/>
-			<xsd:enumeration value=3D"SZ"/>
-			<xsd:enumeration value=3D"CH"/>
-			<xsd:enumeration value=3D"SY"/>
-			<xsd:enumeration value=3D"TW"/>
-			<xsd:enumeration value=3D"TJ"/>
-			<xsd:enumeration value=3D"TZ"/>
-			<xsd:enumeration value=3D"TH"/>
-			<xsd:enumeration value=3D"TL"/>
-			<xsd:enumeration value=3D"TG"/>
-			<xsd:enumeration value=3D"TK"/>
-			<xsd:enumeration value=3D"TO"/>
-			<xsd:enumeration value=3D"TT"/>
-			<xsd:enumeration value=3D"TN"/>
-			<xsd:enumeration value=3D"TR"/>
-			<xsd:enumeration value=3D"TM"/>
-			<xsd:enumeration value=3D"TC"/>
-			<xsd:enumeration value=3D"TV"/>
-			<xsd:enumeration value=3D"UG"/>
-			<xsd:enumeration value=3D"UA"/>
-			<xsd:enumeration value=3D"AE"/>
-			<xsd:enumeration value=3D"US"/>
-			<xsd:enumeration value=3D"UM"/>
-			<xsd:enumeration value=3D"UY"/>
-			<xsd:enumeration value=3D"UZ"/>
-			<xsd:enumeration value=3D"VU"/>
-			<xsd:enumeration value=3D"VE"/>
-			<xsd:enumeration value=3D"VN"/>
-			<xsd:enumeration value=3D"VG"/>
-			<xsd:enumeration value=3D"VI"/>
-			<xsd:enumeration value=3D"WF"/>
-			<xsd:enumeration value=3D"EH"/>
-			<xsd:enumeration value=3D"YE"/>
-			<xsd:enumeration value=3D"ZM"/>
-			<xsd:enumeration value=3D"ZW"/>
-			<xsd:enumeration value=3D"CW"/>
-			<xsd:enumeration value=3D"NM"/>
-			<xsd:enumeration value=3D"BQ"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-	<xsd:simpleType name=3D"MSCountryCode_Type">
-		<xsd:restriction base=3D"xsd:string">
-			<xsd:enumeration value=3D"AT"/>
-			<xsd:enumeration value=3D"BE"/>
-			<xsd:enumeration value=3D"BG"/>
-			<xsd:enumeration value=3D"CY"/>
-			<xsd:enumeration value=3D"CZ"/>
-			<xsd:enumeration value=3D"DK"/>
-			<xsd:enumeration value=3D"EE"/>
-			<xsd:enumeration value=3D"FI"/>
-			<xsd:enumeration value=3D"FR"/>
-			<xsd:enumeration value=3D"DE"/>
-			<xsd:enumeration value=3D"EL"/>
-			<xsd:enumeration value=3D"HU"/>
-			<xsd:enumeration value=3D"IE"/>
-			<xsd:enumeration value=3D"IT"/>
-			<xsd:enumeration value=3D"LV"/>
-			<xsd:enumeration value=3D"LT"/>
-			<xsd:enumeration value=3D"LU"/>
-			<xsd:enumeration value=3D"MT"/>
-			<xsd:enumeration value=3D"NL"/>
-			<xsd:enumeration value=3D"PL"/>
-			<xsd:enumeration value=3D"PT"/>
-			<xsd:enumeration value=3D"RO"/>
-			<xsd:enumeration value=3D"SK"/>
-			<xsd:enumeration value=3D"SI"/>
-			<xsd:enumeration value=3D"ES"/>
-			<xsd:enumeration value=3D"SE"/>
-			<xsd:enumeration value=3D"GB"/>
-			<xsd:enumeration value=3D"IC"/>
-			<xsd:enumeration value=3D"XI"/>
-			<xsd:enumeration value=3D"XJ"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-	<!--  ISO 4217 alpha 3 Currency Code -->
-	<xsd:simpleType name=3D"currCode_Type">
-		<xsd:annotation>
-			<xsd:documentation xml:lang=3D"en">
-			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed.=20
-Valid entries are:
-AED United Arab Emirates, Dirhams=20
-AFN Afghanistan, Afghanis=20
-ALL Albania, Leke=20
-AMD Armenia, Drams=20
-ANG Netherlands Antilles, Guilders=20
-AOA Angola, Kwanza=20
-ARS Argentina, Pesos=20
-AUD Australia, Dollars=20
-AWG Aruba, Guilders=20
-AZN Azerbaijan, Manats=20
-BAM Bosnia and Herzegovina, Convertible Marka=20
-BBD Barbados, Dollars=20
-BDT Bangladesh, Taka=20
-BGN Bulgaria, Leva=20
-BHD Bahrain, Dinars=20
-BIF Burundi, Francs=20
-BMD Bermuda, Dollars=20
-BND Brunei Darussalam, Dollars=20
-BOB Bolivia, Bolivianos=20
-BOV Bolivia, Mvdol
-BRL Brazil, Brazil Real=20
-BSD Bahamas, Dollars=20
-BTN Bhutan, Ngultrum=20
-BWP Botswana, Pulas=20
-BYR Belarus, Rubles=20
-BZD Belize, Dollars=20
-CAD Canada, Dollars=20
-CDF Congo/Kinshasa, Congolese Francs=20
-CHF Switzerland, Francs=20
-CLF Chile, Unidades de fomento=20
-CLP Chile, Pesos=20
-CNY China, Yuan Renminbi=20
-COP Colombia, Pesos=20
-COU Colombia, Unidad de Valor Real
-CRC Costa Rica, Colones=20
-CUC Cuba, Convertible Pesos=20
-CUP Cuba, Pesos=20
-CVE Cape Verde, Escudos=20
-CZK Czech Republic, Koruny=20
-DJF Djibouti, Francs=20
-DKK Denmark, Kroner=20
-DOP Dominican Republic, Pesos=20
-DZD Algeria, Algeria Dinars=20
-EEK Estonia, Krooni=20
-EGP Egypt, Pounds=20
-ERN Eritrea, Nakfa=20
-ETB Ethiopia, Birr=20
-EUR Euro Member Countries, Euro=20
-FJD Fiji, Dollars=20
-FKP Falkland Islands (Malvinas), Pounds=20
-GBP United Kingdom, Pounds=20
-GEL Georgia, Lari=20
-GHS Ghana, Cedis=20
-GIP Gibraltar, Pounds=20
-GMD Gambia, Dalasi=20
-GNF Guinea, Francs=20
-GTQ Guatemala, Quetzales=20
-GWP Guinea-Bissau Peso
-GYD Guyana, Dollars=20
-HKD Hong Kong, Dollars=20
-HNL Honduras, Lempiras=20
-HRK Croatia, Kuna=20
-HTG Haiti, Gourdes=20
-HUF Hungary, Forint=20
-IDR Indonesia, Rupiahs=20
-ILS Israel, New Shekels=20
-INR India, Rupees=20
-IQD Iraq, Dinars=20
-IRR Iran, Rials=20
-ISK Iceland, Kronur =20
-JMD Jamaica, Dollars=20
-JOD Jordan, Dinars=20
-JPY Japan, Yen=20
-KES Kenya, Shillings=20
-KGS Kyrgyzstan, Soms=20
-KHR Cambodia, Riels=20
-KMF Comoros, Francs=20
-KPW Korea (North), Won=20
-KRW Korea (South), Won=20
-KWD Kuwait, Dinars=20
-KYD Cayman Islands, Dollars=20
-KZT Kazakstan, Tenge=20
-LAK Laos, Kips=20
-LBP Lebanon, Pounds=20
-LKR Sri Lanka, Rupees=20
-LRD Liberia, Dollars=20
-LSL Lesotho, Maloti=20
-LTL Lithuania, Litai=20
-LVL Latvia, Lati=20
-LYD Libya, Dinars=20
-MAD Morocco, Dirhams=20
-MDL Moldova, Lei=20
-MGA Madagascar, Malagasy Ariary=20
-MKD Macedonia, Denars=20
-MMK Myanmar (Burma), Kyats=20
-MNT Mongolia, Tugriks=20
-MOP Macau, Patacas=20
-MRO Mauritania, Ouguiyas=20
-MTL Malta, Liri=20
-MUR Mauritius, Rupees=20
-MVR Maldives (Maldive Islands), Rufiyaa=20
-MWK Malawi, Kwachas=20
-MXN Mexico, Pesos=20
-MXV Mexico, Mexican Unidad de Inversion
-MYR Malaysia, Ringgits=20
-MZN Mozambique, Meticais=20
-NAD Namibia, Dollars=20
-NGN Nigeria, Nairas=20
-NIO Nicaragua, Gold Cordobas=20
-NOK Norway, Krone=20
-NPR Nepal, Nepal Rupees=20
-NZD New Zealand, Dollars=20
-OMR Oman, Rials=20
-PAB Panama, Balboa=20
-PEN Peru, Nuevos Soles=20
-PGK Papua New Guinea, Kina=20
-PHP Philippines, Pesos=20
-PKR Pakistan, Rupees=20
-PLN Poland, Zlotych=20
-PYG Paraguay, Guarani=20
-QAR Qatar, Rials=20
-RON Romania, New Lei=20
-RSD Serbian Dinar
-RUB Russia, Rubles=20
-RWF Rwanda, Rwanda Francs=20
-SAR Saudi Arabia, Riyals=20
-SBD Solomon Islands, Dollars=20
-SCR Seychelles, Rupees=20
-SDG Sudan, Dinars=20
-SEK Sweden, Kronor=20
-SGD Singapore, Dollars=20
-SHP Saint Helena, Pounds=20
-SLL Sierra Leone, Leones=20
-SOS Somalia, Shillings=20
-SRD Suriname, Dollar=20
-STD S=C3=A3o Tome and Principe, Dobras=20
-SVC El Salvador, Colones=20
-SYP Syria, Pounds=20
-SZL Swaziland, Emalangeni=20
-THB Thailand, Baht=20
-TJS Tajikistan, Somoni=20
-TMT Turkmenistan, Manats=20
-TND Tunisia, Dinars=20
-TOP Tonga, Pa'anga=20
-TRY Turkey, Liras=20
-TTD Trinidad and Tobago, Dollars=20
-TWD Taiwan, New Dollars=20
-TZS Tanzania, Shillings=20
-UAH Ukraine, Hryvnia=20
-UGX Uganda, Shillings=20
-USD United States of America, Dollars=20
-UYU Uruguay, Pesos=20
-UZS Uzbekistan, Sums=20
-VEF Venezuela, Bolivares=20
-VND Viet Nam, Dong=20
-VUV Vanuatu, Vatu=20
-WST Samoa, Tala=20
-XAF Communaut=C3=A9 Financi=C3=A8re Africaine BEAC, Francs=20
-XCD East Caribbean Dollars=20
-XOF Communaut=C3=A9 Financi=C3=A8re Africaine BCEAO, Francs=20
-XPD Palladium Ounces=20
-XPF Comptoirs Fran=C3=A7ais du Pacifique Francs=20
-YER Yemen, Rials=20
-ZAR South Africa, Rand=20
-ZMK Zambia, Kwacha=20
-ZWL Zimbabwe, Zimbabwe Dollars=20
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base=3D"xsd:string">
-			<xsd:enumeration value=3D"AED"/>
-			<xsd:enumeration value=3D"AFN"/>
-			<xsd:enumeration value=3D"ALL"/>
-			<xsd:enumeration value=3D"AMD"/>
-			<xsd:enumeration value=3D"ANG"/>
-			<xsd:enumeration value=3D"AOA"/>
-			<xsd:enumeration value=3D"ARS"/>
-			<xsd:enumeration value=3D"AUD"/>
-			<xsd:enumeration value=3D"AWG"/>
-			<xsd:enumeration value=3D"AZN"/>
-			<xsd:enumeration value=3D"BAM"/>
-			<xsd:enumeration value=3D"BBD"/>
-			<xsd:enumeration value=3D"BDT"/>
-			<xsd:enumeration value=3D"BGN"/>
-			<xsd:enumeration value=3D"BHD"/>
-			<xsd:enumeration value=3D"BIF"/>
-			<xsd:enumeration value=3D"BMD"/>
-			<xsd:enumeration value=3D"BND"/>
-			<xsd:enumeration value=3D"BOB"/>
-			<xsd:enumeration value=3D"BOV"/>
-			<xsd:enumeration value=3D"BRL"/>
-			<xsd:enumeration value=3D"BSD"/>
-			<xsd:enumeration value=3D"BTN"/>
-			<xsd:enumeration value=3D"BWP"/>
-			<xsd:enumeration value=3D"BYR"/>
-			<xsd:enumeration value=3D"BZD"/>
-			<xsd:enumeration value=3D"CAD"/>
-			<xsd:enumeration value=3D"CDF"/>
-			<xsd:enumeration value=3D"CHF"/>
-			<xsd:enumeration value=3D"CLF"/>
-			<xsd:enumeration value=3D"CLP"/>
-			<xsd:enumeration value=3D"CNY"/>
-			<xsd:enumeration value=3D"COP"/>
-			<xsd:enumeration value=3D"COU"/>
-			<xsd:enumeration value=3D"CRC"/>
-			<xsd:enumeration value=3D"CUC"/>
-			<xsd:enumeration value=3D"CUP"/>
-			<xsd:enumeration value=3D"CVE"/>
-			<xsd:enumeration value=3D"CZK"/>
-			<xsd:enumeration value=3D"DJF"/>
-			<xsd:enumeration value=3D"DKK"/>
-			<xsd:enumeration value=3D"DOP"/>
-			<xsd:enumeration value=3D"DZD"/>
-			<xsd:enumeration value=3D"EEK"/>
-			<xsd:enumeration value=3D"EGP"/>
-			<xsd:enumeration value=3D"ERN"/>
-			<xsd:enumeration value=3D"ETB"/>
-			<xsd:enumeration value=3D"EUR"/>
-			<xsd:enumeration value=3D"FJD"/>
-			<xsd:enumeration value=3D"FKP"/>
-			<xsd:enumeration value=3D"GBP"/>
-			<xsd:enumeration value=3D"GEL"/>
-			<xsd:enumeration value=3D"GHS"/>
-			<xsd:enumeration value=3D"GIP"/>
-			<xsd:enumeration value=3D"GMD"/>
-			<xsd:enumeration value=3D"GNF"/>
-			<xsd:enumeration value=3D"GTQ"/>
-			<xsd:enumeration value=3D"GWP"/>
-			<xsd:enumeration value=3D"GYD"/>
-			<xsd:enumeration value=3D"HKD"/>
-			<xsd:enumeration value=3D"HNL"/>
-			<xsd:enumeration value=3D"HRK"/>
-			<xsd:enumeration value=3D"HTG"/>
-			<xsd:enumeration value=3D"HUF"/>
-			<xsd:enumeration value=3D"IDR"/>
-			<xsd:enumeration value=3D"ILS"/>
-			<xsd:enumeration value=3D"INR"/>
-			<xsd:enumeration value=3D"IQD"/>
-			<xsd:enumeration value=3D"IRR"/>
-			<xsd:enumeration value=3D"ISK"/>
-			<xsd:enumeration value=3D"JMD"/>
-			<xsd:enumeration value=3D"JOD"/>
-			<xsd:enumeration value=3D"JPY"/>
-			<xsd:enumeration value=3D"KES"/>
-			<xsd:enumeration value=3D"KGS"/>
-			<xsd:enumeration value=3D"KHR"/>
-			<xsd:enumeration value=3D"KMF"/>
-			<xsd:enumeration value=3D"KPW"/>
-			<xsd:enumeration value=3D"KRW"/>
-			<xsd:enumeration value=3D"KWD"/>
-			<xsd:enumeration value=3D"KYD"/>
-			<xsd:enumeration value=3D"KZT"/>
-			<xsd:enumeration value=3D"LAK"/>
-			<xsd:enumeration value=3D"LBP"/>
-			<xsd:enumeration value=3D"LKR"/>
-			<xsd:enumeration value=3D"LRD"/>
-			<xsd:enumeration value=3D"LSL"/>
-			<xsd:enumeration value=3D"LTL"/>
-			<xsd:enumeration value=3D"LVL"/>
-			<xsd:enumeration value=3D"LYD"/>
-			<xsd:enumeration value=3D"MAD"/>
-			<xsd:enumeration value=3D"MDL"/>
-			<xsd:enumeration value=3D"MGA"/>
-			<xsd:enumeration value=3D"MKD"/>
-			<xsd:enumeration value=3D"MMK"/>
-			<xsd:enumeration value=3D"MNT"/>
-			<xsd:enumeration value=3D"MOP"/>
-			<xsd:enumeration value=3D"MRO"/>
-			<xsd:enumeration value=3D"MUR"/>
-			<xsd:enumeration value=3D"MVR"/>
-			<xsd:enumeration value=3D"MWK"/>
-			<xsd:enumeration value=3D"MXN"/>
-			<xsd:enumeration value=3D"MXV"/>
-			<xsd:enumeration value=3D"MYR"/>
-			<xsd:enumeration value=3D"MZN"/>
-			<xsd:enumeration value=3D"NAD"/>
-			<xsd:enumeration value=3D"NGN"/>
-			<xsd:enumeration value=3D"NIO"/>
-			<xsd:enumeration value=3D"NOK"/>
-			<xsd:enumeration value=3D"NPR"/>
-			<xsd:enumeration value=3D"NZD"/>
-			<xsd:enumeration value=3D"OMR"/>
-			<xsd:enumeration value=3D"PAB"/>
-			<xsd:enumeration value=3D"PEN"/>
-			<xsd:enumeration value=3D"PGK"/>
-			<xsd:enumeration value=3D"PHP"/>
-			<xsd:enumeration value=3D"PKR"/>
-			<xsd:enumeration value=3D"PLN"/>
-			<xsd:enumeration value=3D"PYG"/>
-			<xsd:enumeration value=3D"QAR"/>
-			<xsd:enumeration value=3D"RON"/>
-			<xsd:enumeration value=3D"RSD"/>
-			<xsd:enumeration value=3D"RUB"/>
-			<xsd:enumeration value=3D"RWF"/>
-			<xsd:enumeration value=3D"SAR"/>
-			<xsd:enumeration value=3D"SBD"/>
-			<xsd:enumeration value=3D"SCR"/>
-			<xsd:enumeration value=3D"SDG"/>
-			<xsd:enumeration value=3D"SEK"/>
-			<xsd:enumeration value=3D"SGD"/>
-			<xsd:enumeration value=3D"SHP"/>
-			<xsd:enumeration value=3D"SLL"/>
-			<xsd:enumeration value=3D"SOS"/>
-			<xsd:enumeration value=3D"SRD"/>
-			<xsd:enumeration value=3D"STD"/>
-			<xsd:enumeration value=3D"SVC"/>
-			<xsd:enumeration value=3D"SYP"/>
-			<xsd:enumeration value=3D"SZL"/>
-			<xsd:enumeration value=3D"THB"/>
-			<xsd:enumeration value=3D"TJS"/>
-			<xsd:enumeration value=3D"TMT"/>
-			<xsd:enumeration value=3D"TND"/>
-			<xsd:enumeration value=3D"TOP"/>
-			<xsd:enumeration value=3D"TRY"/>
-			<xsd:enumeration value=3D"TTD"/>
-			<xsd:enumeration value=3D"TVD"/>
-			<xsd:enumeration value=3D"TWD"/>
-			<xsd:enumeration value=3D"TZS"/>
-			<xsd:enumeration value=3D"UAH"/>
-			<xsd:enumeration value=3D"UGX"/>
-			<xsd:enumeration value=3D"USD"/>
-			<xsd:enumeration value=3D"UYU"/>
-			<xsd:enumeration value=3D"UZS"/>
-			<xsd:enumeration value=3D"VEF"/>
-			<xsd:enumeration value=3D"VND"/>
-			<xsd:enumeration value=3D"VUV"/>
-			<xsd:enumeration value=3D"WST"/>
-			<xsd:enumeration value=3D"XAF"/>
-			<xsd:enumeration value=3D"XCD"/>
-			<xsd:enumeration value=3D"XOF"/>
-			<xsd:enumeration value=3D"XPD"/>
-			<xsd:enumeration value=3D"XPF"/>
-			<xsd:enumeration value=3D"YER"/>
-			<xsd:enumeration value=3D"ZAR"/>
-			<xsd:enumeration value=3D"ZMK"/>
-			<xsd:enumeration value=3D"ZWL"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-	<xsd:simpleType name=3D"MSCurrCode_Type">
-		<xsd:annotation>
-			<xsd:documentation xml:lang=3D"en">
-			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed. Currency co=
des are limited to those of Member States.
-Valid entries are:
-BGN Bulgaria, Leva=20
-CZK Czech Republic, Koruny=20
-DKK Denmark, Kroner=20
-EEK Estonia, Krooni=20
-EUR Euro Member Countries, Euro=20
-GBP United Kingdom, Pounds=20
-HUF Hungary, Forint=20
-LTL Lithuania, Litai=20
-LVL Latvia, Lati=20
-PLN Poland, Zlotych=20
-RON Romania, New Lei=20
-SEK Sweden, Kronor=20
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base=3D"xsd:string">
-			<xsd:enumeration value=3D"BGN"/>
-			<xsd:enumeration value=3D"CZK"/>
-			<xsd:enumeration value=3D"DKK"/>
-			<xsd:enumeration value=3D"EEK"/>
-			<xsd:enumeration value=3D"EUR"/>
-			<xsd:enumeration value=3D"GBP"/>
-			<xsd:enumeration value=3D"HUF"/>
-			<xsd:enumeration value=3D"LTL"/>
-			<xsd:enumeration value=3D"LVL"/>
-			<xsd:enumeration value=3D"PLN"/>
-			<xsd:enumeration value=3D"RON"/>
-			<xsd:enumeration value=3D"SEK"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-</xsd:schema>

Deleted: trunk/transform/simplexml1.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/simplexml1.php	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/simplexml1.php	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,23 +0,0 @@
-
-<?php
-$string =3D <<<XML
-<?xml version=3D'1.0'?>
-<document>
-    <cmd>login</cmd>
-    <login>Richard</login>
-</document>
-XML;
-                                                                      =20
-                                         =20
-$xml =3D simplexml_load_string($string);
-print_r($xml);
-$login =3D $xml->login;
-echo 1;
-print_r($login);
-$login =3D (string) $xml->login;
-echo 2;
-print_r($login);
-$login =3D (string) $xml->login;
-echo 3;
-print_r($login);
-?>=20

Deleted: trunk/transform/test-xml.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/test-xml.php	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/test-xml.php	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,25 +0,0 @@
-<?php=20
-
- //Creates XML string and XML document using the DOM=20
- $dom =3D new DomDocument('1.0');=20
-
- //add root - <books>=20
- $books =3D $dom->appendChild($dom->createElement('books'));=20
-
- //add <book> element to <books>=20
- $book =3D $books->appendChild($dom->createElement('book'));=20
-
- //add <title> element to <book>=20
- $title =3D $book->appendChild($dom->createElement('title'));=20
-
- //add <title> text node element to <title>=20
- $title->appendChild(=20
-                 $dom->createTextNode('Great <American >Novel'));=20
-
- //generate xml=20
- $dom->formatOutput =3D true; // set the formatOutput attribute of=20
-                            // domDocument to true=20
- // save XML as string or file=20
- $test1 =3D $dom->saveXML(); // put string in test1=20
- $dom->save('test1.xml'); // save as file=20
- ?>

Deleted: trunk/transform/test.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/test.xml	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/test.xml	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,14 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<ns2:ClientListingConsignment xmlns:ns2=3D"http://www.minfin.fgov.be/Cli=
entListingConsignment" xmlns=3D"http://www.minfin.fgov.be/InputCommon" Cl=
ientListingsNbr=3D"1">
-  <ns2:Declarant xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingCon=
sigment">
-    <VATNumber>dany</VATNumber>
-    <Name>dany</Name>
-    <Street>dany</Street>
-    <PostCode>dany</PostCode>
-    <City>dany</City>
-    <CountryCode>dany</CountryCode>
-    <EmailAddress>dany</EmailAddress>
-    <Phone>nouveau num=C3=A9ro de t=C3=A9l=C3=A9phone</Phone>
-  </ns2:Declarant>
-  <ns2:ns2Periode>1402</ns2:ns2Periode>
-</ns2:ClientListingConsignment>

Deleted: trunk/transform/test1.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/test1.xml	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/test1.xml	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,6 +0,0 @@
-<?xml version=3D"1.0"?>
-<books>
-  <book>
-    <title>Great &lt;American &gt;Novel</title>
-  </book>
-</books>

Deleted: trunk/transform/test2.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/test2.php	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/test2.php	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,25 +0,0 @@
-<?php
-$doc =3D new DOMDocument();
-$doc->formatOutput =3D true;
-//set root element to correct cd prefix _and_ namespace:
-$root =3D $doc->appendChild(
-        $doc->createElementNS(
-        $cd =3D 'http://www.crea.si/Schemas/2004/Document/ZBSxml/2.0',
-        'cd:Document'));
-//this is the bit of obscure magic: it will set the default namespace
-$doc->createAttributeNS(
-        'http://www.zbs-giz.si/Schemas/2006/ZBSxml/2.2',
-        'xmlns');
-//now continue as normal
-$root->setAttributeNS(
-        'http://www.w3.org/2001/XMLSchema-instance',
-        'xsi:schemaLocation',
-        'http://www.crea.si/Schemas/2004/Document/ZBSxml/2.0/ZbsCreaDoc.=
xsd');
-$data =3D $root->appendChild($doc->createElementNS($cd,'cd:Data'));
-$dataformat =3D $data->appendChild($doc->createElementNS($cd,'cd:DataFor=
mat'));
-$dataformat->appendChild($doc->createElementNS($cd,'cd:MimeType','text/x=
ml'));
-$content =3D $data->appendChild($doc->createElementNS($cd,'cd:Content'))=
;
-
-echo $doc->saveXML();
-
-?>

Deleted: trunk/transform/unit-test/class_testintervat.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/class_testintervat.php	2014-01-25 22:39:28 =
UTC (rev 669)
+++ trunk/transform/unit-test/class_testintervat.php	2014-01-28 17:03:22 =
UTC (rev 670)
@@ -1,58 +0,0 @@
-<?php
-
-/*
- * Copyright (C) 2014 dany
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307=
, USA.
- */
-
-/**
- * Testing of class_intervat
- * phpunit --bootstrap bootstrap.php class_testintervat.php=20
- * @author dany
- */
-require_once 'class_intervat.php';
-class class_intervatTest extends  PHPUnit_Framework_TestCase
-{
-
-    /**
-     * Content the XML Document
-     * @var DOMDocument
-     */
-    var $domdoc;
-
-    function __construct()
-    {
-        $this->domdoc =3D new DOMDocument('1.0', 'ISO-8859-1');
-    }
-
-    function create_root()
-    {
-        $ns =3D 'http://www.minfin.fgov.be/ClientListingConsignment';
-        $t =3D $this->domdoc->createElementNS($ns, 'ns2:ClientListingCon=
signment');
-
-        $root =3D $this->domdoc->appendChild($t);
-        $xmls =3D $root->setAttribute("xmlns", "http://www.minfin.fgov.b=
e/InputCommon");
-
-        $listing =3D $this->domdoc->appendChild($root);
-       =20
-        $nb =3D $this->domdoc->createAttribute('ClientListingsNbr');
-        $nb->value =3D 1;
-        $listing->appendChild($nb);
-
-        $listing =3D $this->domdoc->appendChild($root);
-    }
-
-}

Deleted: trunk/transform/unit-test/t2.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/t2.php	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/unit-test/t2.php	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,97 +0,0 @@
-<?php
-/**
- * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-01-25 at 23:34:3=
8.
- */
-require 'bootstrap.php';
-require 'class_intervat.php';
-
-class IntervatTest extends PHPUnit_Framework_TestCase
-{
-    /**
-     * @var Intervat
-     */
-    protected $object;
-
-    /**
-     * Sets up the fixture, for example, opens a network connection.
-     * This method is called before a test is executed.
-     */
-    protected function setUp()
-    {
-        $this->object =3D new Intervat;
-    }
-
-    /**
-     * Tears down the fixture, for example, closes a network connection.
-     * This method is called after a test is executed.
-     */
-    protected function tearDown()
-    {
-    }
-
-    /**
-     * @covers Intervat::append_root
-     * @todo   Implement testAppend_root().
-     */
-    public function testAppend_root()
-    {
-               $this->object->append_root();
-        $result =3D $this->object->domdoc->saveXML();
-        $must_march =3D '<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>=
    =20
-	<ns2:ClientListingConsignment xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon" xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingConsignment" C=
lientListingsNbr=3D"1">';
-        $this->assertContains('<?xml version=3D"1.0" encoding=3D"ISO-885=
9-1"?>', $result);
-        $this->assertContains('<ns2:ClientListingConsignment', $result);
-        $this->assertContains('xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon"', $result);
-        $this->assertContains('xmlns:ns2=3D"http://www.minfin.fgov.be/Cl=
ientListingConsignment"', $result);
-        $this->assertContains('ClientListingsNbr=3D"1"', $result);
-    }
-
-    /**
-     * @covers Intervat::append_representative
-     * @todo   Implement testAppend_representative().
-     */
-    public function testAppend_representative()
-    {
-        $this->object->append_root();
-        $this->object->append_representative();
-        $result =3D $this->object->domdoc->saveXML();
-        $this->assertContains('ns2:Representative',$result);
-        var_dump($result);
-    }
-
-    /**
-     * @covers Intervat::append_client_listing
-     * @todo   Implement testAppend_client_listing().
-     */
-    public function testAppend_client_listing()
-    {
-        // Remove the following lines when you implement this test.
-        $this->markTestIncomplete(
-          'This test has not been implemented yet.'
-        );
-    }
-
-    /**
-     * @covers Intervat::append_declarant
-     * @todo   Implement testAppend_declarant().
-     */
-    public function testAppend_declarant()
-    {
-        // Remove the following lines when you implement this test.
-        $this->markTestIncomplete(
-          'This test has not been implemented yet.'
-        );
-    }
-
-    /**
-     * @covers Intervat::append_listing
-     * @todo   Implement testAppend_listing().
-     */
-    public function testAppend_listing()
-    {
-        // Remove the following lines when you implement this test.
-        $this->markTestIncomplete(
-          'This test has not been implemented yet.'
-        );
-    }
-}

Copied: trunk/transform/unit-test/valide-exemple-listing.xml (from rev 66=
9, trunk/transform/valide-exemple-listing.xml)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/valide-exemple-listing.xml	                =
        (rev 0)
+++ trunk/transform/unit-test/valide-exemple-listing.xml	2014-01-28 17:03=
:22 UTC (rev 670)
@@ -0,0 +1,37 @@
+<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>    =20
+	<ns2:ClientListingConsignment xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon" xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingConsignment" C=
lientListingsNbr=3D"1">
+		<ns2:Representative>
+			<RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">00000000=
97</RepresentativeID>
+			<Name>Gevolmachtigde- Mandataire TEST NV-SA </Name>
+			<Street>AV Test-laan 8</Street>
+			<PostCode>9999</PostCode>
+			<City> TESTCITY</City>
+			<CountryCode>BE</CountryCode>
+			<EmailAddress>something@something.be</EmailAddress>
+			<Phone>02555555</Phone>
+		</ns2:Representative>
+		<ns2:ClientListing VATAmountSum=3D"00.00" TurnOverSum=3D"1000.72" Clie=
ntsNbr=3D"2" SequenceNumber=3D"1">
+			<ns2:Declarant>
+				<VATNumber>0000000097</VATNumber>
+				<Name>TEST NV-SA</Name>
+				<Street>Av Test-laan 16</Street>
+				<PostCode>9999</PostCode>
+				<City>TESTCITY</City>
+				<CountryCode>BE</CountryCode>
+				<EmailAddress>cedric@francis.be</EmailAddress>
+				<Phone>025555555</Phone>
+			</ns2:Declarant>
+			<ns2:Period>2009</ns2:Period>
+			<ns2:Client SequenceNumber=3D"1">
+				<ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNumb=
er>
+				<ns2:TurnOver>500.36</ns2:TurnOver>
+				<ns2:VATAmount>0.00</ns2:VATAmount>
+			</ns2:Client>
+			<ns2:Client SequenceNumber=3D"2">
+				<ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNumb=
er>
+				<ns2:TurnOver>500.36</ns2:TurnOver>
+				<ns2:VATAmount>0.00</ns2:VATAmount>
+			</ns2:Client>
+			<ns2:Comment>free text max 2000 characters</ns2:Comment>
+		</ns2:ClientListing>
+	</ns2:ClientListingConsignment>   =20

Added: trunk/transform/unit-test/valide-xml.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/valide-xml.php	                        (rev=
 0)
+++ trunk/transform/unit-test/valide-xml.php	2014-01-28 17:03:22 UTC (rev=
 670)
@@ -0,0 +1,64 @@
+<?php
+/*
+ * Validation
+ */
+
+function libxml_display_error($error) {
+	$return =3D "<br/>\n";
+	switch ($error->level) {
+		case LIBXML_ERR_WARNING:
+		$return .=3D "<b>Warning $error->code</b>: ";
+		break;
+		case LIBXML_ERR_ERROR:
+		$return .=3D "<b>Error $error->code</b>: ";
+		break;
+		case LIBXML_ERR_FATAL:
+		$return .=3D "<b>Fatal Error $error->code</b>: ";
+		break;
+	}
+	$return .=3D trim($error->message);
+	if ($error->file) {
+		$return .=3D " in <b>$error->file</b>";
+	}
+		$return .=3D " on line <b>$error->line</b>\n";
+
+	return $return;
+}
+
+function libxml_display_errors($display_errors =3D true) {
+	$errors =3D libxml_get_errors();
+	$chain_errors =3D "";
+
+	foreach ($errors as $error) {
+		$chain_errors .=3D preg_replace('/( in\ \/(.*))/',""  , strip_tags(lib=
xml_display_error($error)))."\n";
+		if ($display_errors) {
+			trigger_error(libxml_display_error($error), E_USER_WARNING);
+		}
+	}
+	libxml_clear_errors();
+
+	return $chain_errors;
+}
+
+// Activer "user error handling"
+libxml_use_internal_errors(true);=20
+
+//$file =3D "valide-exemple-listing.xml";
+$file =3D "test.xml";
+$schema =3D "xsd/NewLK-in_v0_7.xsd";
+
+// Instanciation d=E2=80=99un DOMDocument
+$dom =3D new DOMDocument("1.0");
+
+// Charge du XML depuis un fichier
+$dom->load($file);
+echo "Validation $file";
+// Validation du document XML
+$validate =3D $dom->schemaValidate($schema) ?
+"<b>DOMDocument::schemaValidate() Valid schema!</b>" :
+"<b>DOMDocument::schemaValidate() Generated Errors!</b>";
+libxml_display_errors();
+// Affichage du r=C3=A9sultat
+echo $validate;
+echo PHP_EOL;
+?>

Added: trunk/transform/unit-test/xsd/IntervatInputCommon_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/IntervatInputCommon_v0_7.xsd	          =
              (rev 0)
+++ trunk/transform/unit-test/xsd/IntervatInputCommon_v0_7.xsd	2014-01-28=
 17:03:22 UTC (rev 670)
@@ -0,0 +1,643 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/InputCommon" xmlns:iso=3D"http://www.minfin.fgov.be/I=
soTypes" xmlns:cm=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" targetNam=
espace=3D"http://www.minfin.fgov.be/InputCommon" elementFormDefault=3D"qu=
alified" version=3D"1.0" xml:lang=3D"en">
+	<xs:import namespace=3D"http://www.minfin.fgov.be/IsoTypes" schemaLocat=
ion=3D"IntervatIsoTypes_v0_7.xsd"/>
+	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
+=09
+	<xs:annotation>
+		<xs:documentation xml:lang=3D"en"><![CDATA[
+
+			=3D=3D=3D HISTORY=3D=3D=3D=20
+				1.1 =3D> import commonTypes_v1.xsd and add the phoneNumber to the Re=
presentative_Type
+			]]></xs:documentation>
+	</xs:annotation>
+	<!-- definition of complex types -->
+	<xs:complexType name=3D"Representative_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"fr">Mandataire d'un envoi de type TVA, =
listing clients, relev=C3=A9 intracommunautaire, d=C3=A9claration sp=C3=A9=
ciale 629 ou MTN.</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
+					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"CountryCode" type=3D"iso:CountryCode" minOccurs=3D=
"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
+					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
+					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
+					<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
+					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"RepresentativeID_Type">
+		<xs:simpleContent>
+			<xs:extension base=3D"xs:token">
+				<xs:attribute name=3D"issuedBy" type=3D"iso:MSCountryCode" use=3D"re=
quired">
+					<xs:annotation>
+						<xs:documentation xml:lang=3D"fr">Etat membre qui a attribu=C3=A9 =
l'identifiant</xs:documentation>
+						<xs:documentation xml:lang=3D"nl">Lidstaat die de identificatie he=
eft toegekend</xs:documentation>
+						<xs:documentation xml:lang=3D"de">Mitgliedstaat, der die Kennung z=
uerkannt hat</xs:documentation>
+					</xs:annotation>
+				</xs:attribute>
+				<xs:attribute name=3D"identificationType" type=3D"RepresentativeIDTy=
pe_Type" use=3D"required">
+					<xs:annotation>
+						<xs:documentation xml:lang=3D"fr">Type d'identifiant (NVAT, TIN, o=
ther)</xs:documentation>
+						<xs:documentation xml:lang=3D"nl">Identificatietype (NVAT, TIN, ot=
her)</xs:documentation>
+						<xs:documentation xml:lang=3D"de">Kennungstyp (NVAT, TIN, other)</=
xs:documentation>
+					</xs:annotation>
+				</xs:attribute>
+				<xs:attribute name=3D"otherQlf" type=3D"xs:token" use=3D"optional">
+					<xs:annotation>
+						<xs:documentation xml:lang=3D"fr">Description d'un type d'identifi=
ant 'other'</xs:documentation>
+						<xs:documentation xml:lang=3D"nl">Omschrijving van een identificat=
ie van het type 'other'</xs:documentation>
+						<xs:documentation xml:lang=3D"de">Beschreibung eines Kennungstyps =
'other'</xs:documentation>
+					</xs:annotation>
+				</xs:attribute>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"Declarant_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"fr">D=C3=A9clarant d'un envoi de type T=
VA, listing clients, relev=C3=A9 intracommunautaire ou MTN.</xs:documenta=
tion>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
 (num=C3=A9ro de TVA belge sans "BE")</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
+					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode" minOccurs=
=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
+					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
+					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
+					<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
+					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"DeclarantBE_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"fr">D=C3=A9clarant d'un envoi de type d=
=C3=A9claration sp=C3=A9ciale 629, VATRefund ou modification du prorata V=
ATRefund (pays de l'adresse en Belgique).</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
 (num=C3=A9ro de TVA belge sans "BE")</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
+					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"CountryCode" type=3D"iso:BECountryCode" minOccurs=
=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Pays de l'adresse (BE)</xs:docume=
ntation>
+					<xs:documentation xml:lang=3D"nl">Land van het adres (BE)</xs:docum=
entation>
+					<xs:documentation xml:lang=3D"de">Land (BE)</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Adresse email</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
+					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
+					<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
+					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"FileAttachment_Type">
+		<xs:sequence>
+			<xs:element name=3D"FileType" type=3D"FileTypeCode">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Type de l'annexe</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"nl">Type van de bijlage</xs:documenta=
tion>
+					<xs:documentation xml:lang=3D"de">Typ der Anlage</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"FileName" type=3D"xs:token">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nom du fichier (=3Dnom du fichier=
 dans le fichier zip qui inclut ce message et ses annexes)</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"nl">Naam van het bestand (=3D naam va=
n het bestand in het zip-bestand dat dit bericht en zijn bijlagen bevat)<=
/xs:documentation>
+					<xs:documentation xml:lang=3D"de">Name der Datei (=3D Name der Date=
i in der Zip-Datei, die diese Mitteilung und ihre Anlagen enth=C3=A4lt)</=
xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"FileDescription" type=3D"xs:token" minOccurs=3D"0=
">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Information suppl=C3=A9mentaire s=
ur le fichier</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Aanvullende informatie over het b=
estand</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Zus=C3=A4tzliche Information =C3=BC=
ber die Datei</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<!-- definition of simple types -->
+	<xs:simpleType name=3D"RepresentativeIDType_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"NVAT"/>
+			<xs:enumeration value=3D"TIN"/>
+			<xs:enumeration value=3D"other"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EUVATNumber">
+		<xs:restriction base=3D"xs:token">
+			<xs:maxLength value=3D"12"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"BEVATNumber">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"[0-9]{10}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"RepresentativeReference_Type">
+		<xs:restriction base=3D"xs:token">
+			<xs:maxLength value=3D"14"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"DeclarantReference_Type">
+		<xs:restriction base=3D"xs:token">
+			<xs:maxLength value=3D"14"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"IntervatConsignmentReference_Type">
+		<xs:restriction base=3D"xs:positiveInteger"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"IntervatDeclarationReference_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"[0-9]+-[0-9]{10}-[0-9]{6}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"STIRINTReference_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"BE[0-9]{16}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"IntervatOrSTIRINTDeclReference_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"([0-9]+-[0-9]{10}-[0-9]{6})|(BE[0-9]{16})"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"FileTypeCode">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"application/pdf"/>
+			<xs:enumeration value=3D"image/jpeg"/>
+			<xs:enumeration value=3D"image/tiff"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Month_Type">
+		<xs:restriction base=3D"xs:integer">
+			<xs:minInclusive value=3D"1"/>
+			<xs:maxInclusive value=3D"12"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Quarter_Type">
+		<xs:restriction base=3D"xs:integer">
+			<xs:minInclusive value=3D"1"/>
+			<xs:maxInclusive value=3D"4"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Year_Type">
+		<xs:restriction base=3D"xs:unsignedLong">
+			<xs:totalDigits value=3D"4"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"PositiveAmount_Type">
+		<xs:restriction base=3D"xs:decimal">
+			<xs:fractionDigits value=3D"2"/>
+			<xs:minInclusive value=3D"0"/>
+			<xs:maxInclusive value=3D"99999999999.99"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"SignedAmount_Type">
+		<xs:restriction base=3D"xs:decimal">
+			<xs:fractionDigits value=3D"2"/>
+			<xs:minInclusive value=3D"-99999999999.99"/>
+			<xs:maxInclusive value=3D"99999999999.99"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"UnlimitedSignedAmount_Type">
+		<xs:restriction base=3D"xs:decimal">
+			<xs:fractionDigits value=3D"2"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"YesNo_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"YES"/>
+			<xs:enumeration value=3D"NO"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"RestrictedDateTime_Type">
+		<xs:restriction base=3D"xs:dateTime">
+			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"RestrictedDate_Type">
+		<xs:restriction base=3D"xs:date">
+			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Name_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:maxLength value=3D"200"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Street_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:maxLength value=3D"200"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"PostCode_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:maxLength value=3D"15"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"City_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:maxLength value=3D"184"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EMail_Type">
+		<xs:annotation>
+			<xs:documentation>An email address</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:token">
+			<xs:pattern value=3D"([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-=
Z]{2,5})">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">A regular expression for email ad=
dresses.
+						Matches something@someserver.com, firstname.lastname@mailserver.do=
main.com,
+						username-something@some-server.tld</xs:documentation>
+				</xs:annotation>
+			</xs:pattern>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Comment_Type">
+		<xs:restriction base=3D"xs:string"/>
+	</xs:simpleType>
+	<!-- Types specific to VATRefund and Prorata -->
+	<xs:complexType name=3D"VR_Representative_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"fr">Mandataire d'un envoi de type VATRe=
fund ou modification du prorata VATRefund (pays de l'adresse limit=C3=A9 =
aux Etats Membres)</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
+					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode" minOccurs=
=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
+					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
+					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
+					<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
+					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"VR_Declarant_Type">
+		<xs:sequence>
+			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
+					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"CountryCode" type=3D"iso:BECountryCode" minOccurs=
=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
+					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
+					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
+					<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
+					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+		<!-- Specificity vs. Declarant_Type:  e-mail required + countrycode of=
 address always "BE"  -->
+	</xs:complexType>
+	<!-- Types specific to Accus=C3=A9 de r=C3=A9ception -->
+	<xs:complexType name=3D"ACK_Representative_Type">
+		<xs:sequence>
+			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
+					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Name" type=3D"Name_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"City" type=3D"City_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"CountryCode" type=3D"iso:CountryCode">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
+					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
+					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
+					<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
+					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"ACK_Declarant_Type">
+		<xs:sequence>
+			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">N=C2=B0 TVA de l'assujetti</xs:do=
cumentation>
+					<xs:documentation xml:lang=3D"nl">Btw-numer van de belastingplichti=
ge</xs:documentation>
+					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Name" type=3D"Name_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Street" type=3D"Street_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"City" type=3D"City_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
+					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
+					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
+					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
+					<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
+					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>

Added: trunk/transform/unit-test/xsd/IntervatIsoTypes_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/IntervatIsoTypes_v0_7.xsd	             =
           (rev 0)
+++ trunk/transform/unit-test/xsd/IntervatIsoTypes_v0_7.xsd	2014-01-28 17=
:03:22 UTC (rev 670)
@@ -0,0 +1,1039 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/IsoTypes" targetNamespace=3D"http://www.minfin.fgov.b=
e/IsoTypes" elementFormDefault=3D"qualified" version=3D"1.0" xml:lang=3D"=
en">
+	<xs:annotation>
+		<xs:documentation xml:lang=3D"en"><![CDATA[
+
+			=3D=3D=3D HISTORY=3D=3D=3D=20
+			v1. Initial version
+				Content: country codes, currencies and languages
+			]]></xs:documentation>
+	</xs:annotation>
+	<!-- COUNTRIES -->
+	<xs:simpleType name=3D"BECountryCode">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"BE"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"DECountryCode">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"DE"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"MSCountryCodeExclBE">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"AT"/>
+			<xs:enumeration value=3D"BG"/>
+			<xs:enumeration value=3D"CY"/>
+			<xs:enumeration value=3D"CZ"/>
+			<xs:enumeration value=3D"DK"/>
+			<xs:enumeration value=3D"EE"/>
+			<xs:enumeration value=3D"FI"/>
+			<xs:enumeration value=3D"FR"/>
+			<xs:enumeration value=3D"DE"/>
+			<xs:enumeration value=3D"EL"/>
+			<xs:enumeration value=3D"HU"/>
+			<xs:enumeration value=3D"HR"/>
+			<xs:enumeration value=3D"IE"/>
+			<xs:enumeration value=3D"IT"/>
+			<xs:enumeration value=3D"LV"/>
+			<xs:enumeration value=3D"LT"/>
+			<xs:enumeration value=3D"LU"/>
+			<xs:enumeration value=3D"MT"/>
+			<xs:enumeration value=3D"MC"/>
+			<xs:enumeration value=3D"NL"/>
+			<xs:enumeration value=3D"PL"/>
+			<xs:enumeration value=3D"PT"/>
+			<xs:enumeration value=3D"RO"/>
+			<xs:enumeration value=3D"SK"/>
+			<xs:enumeration value=3D"SI"/>
+			<xs:enumeration value=3D"ES"/>
+			<xs:enumeration value=3D"SE"/>
+			<xs:enumeration value=3D"GB"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"MSCountryCode">
+		<xs:union memberTypes=3D"MSCountryCodeExclBE BECountryCode"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"CountryCode">
+		<xs:union memberTypes=3D"MSCountryCode CountryExMSCode"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"CountryExMSCode">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">
+			The appropriate country code from the ISO 3166 two-byte alpha version=
 for the state in which the party concerned is a resident. Omit this only=
 if  no data is available.
+			This list excludes Member States of the European Union
+Valid entries are:
+	- AF --  AFGHANISTAN=20
+	- AX --  =C3=85LAND ISLANDS
+	- AL --  ALBANIA=20
+	- DZ --  ALGERIA=20
+	- AS --  AMERICAN SAMOA=20
+	- AD --  ANDORRA=20
+	- AO --  ANGOLA=20
+	- AI --  ANGUILLA=20
+	- AQ --  ANTARCTICA=20
+	- AG --  ANTIGUA AND BARBUDA=20
+	- AR --  ARGENTINA=20
+	- AM --  ARMENIA=20
+	- AW --  ARUBA=20
+	- AU --  AUSTRALIA=20
+	- AT --  AUSTRIA=20
+	- AZ --  AZERBAIJAN=20
+	- BS --  BAHAMAS=20
+	- BH --  BAHRAIN=20
+	- BD --  BANGLADESH=20
+	- BB --  BARBADOS=20
+	- BY --  BELARUS=20
+	- BE --  BELGIUM=20
+	- BZ --  BELIZE=20
+	- BJ --  BENIN=20
+	- BM --  BERMUDA=20
+	- BT --  BHUTAN=20
+	- BO --  BOLIVIA=20
+	- BA --  BOSNIA AND HERZEGOVINA=20
+	- BW --  BOTSWANA=20
+	- BV --  BOUVET ISLAND=20
+	- BR --  BRAZIL=20
+	- IO --  BRITISH INDIAN OCEAN TERRITORY=20
+	- BN --  BRUNEI DARUSSALAM=20
+	- BG --  BULGARIA=20
+	- BF --  BURKINA FASO=20
+	- BI --  BURUNDI=20
+	- KH --  CAMBODIA=20
+	- CM --  CAMEROON=20
+	- CA --  CANADA=20
+	- CV --  CAPE VERDE=20
+	- KY --  CAYMAN ISLANDS=20
+	- CF --  CENTRAL AFRICAN REPUBLIC=20
+	- TD --  CHAD=20
+	- CL --  CHILE=20
+	- CN --  CHINA=20
+	- CX --  CHRISTMAS ISLAND=20
+	- CC --  COCOS (KEELING) ISLANDS=20
+	- CO --  COLOMBIA=20
+	- KM --  COMOROS=20
+	- CG --  CONGO=20
+	- CD --  CONGO, THE DEMOCRATIC REPUBLIC OF THE=20
+	- CK --  COOK ISLANDS=20
+	- CR --  COSTA RICA=20
+	- CI --  COTE D'IVOIRE=20
+	- HR --  CROATIA=20
+	- CU --  CUBA=20
+	- CY --  CYPRUS=20
+	- CZ --  CZECH REPUBLIC=20
+	- DK --  DENMARK=20
+	- DJ --  DJIBOUTI=20
+	- DM --  DOMINICA=20
+	- DO --  DOMINICAN REPUBLIC=20
+	- EC --  ECUADOR=20
+	- EG --  EGYPT=20
+	- SV --  EL SALVADOR=20
+	- GQ --  EQUATORIAL GUINEA=20
+	- ER --  ERITREA=20
+	- EE --  ESTONIA=20
+	- ET --  ETHIOPIA=20
+	- FK --  FALKLAND ISLANDS (MALVINAS)=20
+	- FO --  FAROE ISLANDS=20
+	- FJ --  FIJI=20
+	- FI --  FINLAND=20
+	- FR --  FRANCE=20
+	- GF --  FRENCH GUIANA=20
+	- PF --  FRENCH POLYNESIA=20
+	- TF --  FRENCH SOUTHERN TERRITORIES=20
+	- GA --  GABON=20
+	- GM --  GAMBIA=20
+	- GE --  GEORGIA=20
+	- DE --  GERMANY=20
+	- GH --  GHANA=20
+	- GI --  GIBRALTAR=20
+	- GR --  GREECE=20
+	- GL --  GREENLAND=20
+	- GD --  GRENADA=20
+	- GP --  GUADELOUPE=20
+	- GU --  GUAM=20
+	- GT --  GUATEMALA=20
+	- GG --  GUERNSEY
+	- GN --  GUINEA=20
+	- GW --  GUINEA-BISSAU=20
+	- GY --  GUYANA=20
+	- HT --  HAITI=20
+	- HM --  HEARD ISLAND AND MCDONALD ISLANDS=20
+	- VA --  HOLY SEE (VATICAN CITY STATE)=20
+	- HN --  HONDURAS=20
+	- HK --  HONG KONG=20
+	- HU --  HUNGARY=20
+	- IS --  ICELAND=20
+	- IN --  INDIA=20
+	- ID --  INDONESIA=20
+	- IR --  IRAN, ISLAMIC REPUBLIC OF=20
+	- IQ --  IRAQ=20
+	- IE --  IRELAND=20
+	- IM --  ISLE OF MAN
+	- IL --  ISRAEL=20
+	- IT --  ITALY=20
+	- JM --  JAMAICA=20
+	- JP --  JAPAN=20
+	- JE --	 JERSEY
+	- JO --  JORDAN=20
+	- KZ --  KAZAKHSTAN=20
+	- KE --  KENYA=20
+	- KI --  KIRIBATI=20
+	- KP --  KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF=20
+	- KR --  KOREA, REPUBLIC OF=20
+	- KW --  KUWAIT=20
+	- KG --  KYRGYZSTAN=20
+	- LA --  LAO PEOPLE'S DEMOCRATIC REPUBLIC=20
+	- LV --  LATVIA=20
+	- LB --  LEBANON=20
+	- LS --  LESOTHO=20
+	- LR --  LIBERIA=20
+	- LY --  LIBYAN ARAB JAMAHIRIYA=20
+	- LI --  LIECHTENSTEIN=20
+	- LT --  LITHUANIA=20
+	- LU --  LUXEMBOURG=20
+	- MO --  MACAO=20
+	- MK --  MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF=20
+	- MG --  MADAGASCAR=20
+	- MW --  MALAWI=20
+	- MY --  MALAYSIA=20
+	- MV --  MALDIVES=20
+	- ML --  MALI=20
+	- MT --  MALTA=20
+	- MH --  MARSHALL ISLANDS=20
+	- MQ --  MARTINIQUE=20
+	- MR --  MAURITANIA=20
+	- MU --  MAURITIUS=20
+	- YT --  MAYOTTE=20
+	- MX --  MEXICO=20
+	- FM --  MICRONESIA, FEDERATED STATES OF=20
+	- MD --  MOLDOVA, REPUBLIC OF=20
+	- MC --  MONACO=20
+	- MN --  MONGOLIA=20
+	- ME --  MONTENEGRO
+	- MS --  MONTSERRAT=20
+	- MA --  MOROCCO=20
+	- MZ --  MOZAMBIQUE=20
+	- MM --  MYANMAR=20
+	- NA --  NAMIBIA=20
+	- NR --  NAURU=20
+	- NP --  NEPAL=20
+	- NL --  NETHERLANDS=20
+	- AN --  NETHERLANDS ANTILLES=20
+	- NC --  NEW CALEDONIA=20
+	- NZ --  NEW ZEALAND=20
+	- NI --  NICARAGUA=20
+	- NE --  NIGER=20
+	- NG --  NIGERIA=20
+	- NU --  NIUE=20
+	- NF --  NORFOLK ISLAND=20
+	- MP --  NORTHERN MARIANA ISLANDS=20
+	- NO --  NORWAY=20
+	- OM --  OMAN=20
+	- PK --  PAKISTAN=20
+	- PW --  PALAU=20
+	- PS --  PALESTINIAN TERRITORY, OCCUPIED=20
+	- PA --  PANAMA=20
+	- PG --  PAPUA NEW GUINEA=20
+	- PY --  PARAGUAY=20
+	- PE --  PERU=20
+	- PH --  PHILIPPINES=20
+	- PN --  PITCAIRN=20
+	- PL --  POLAND=20
+	- PT --  PORTUGAL=20
+	- PR --  PUERTO RICO=20
+	- QA --  QATAR=20
+	- RE --  REUNION=20
+	- RO --  ROMANIA=20
+	- RU --  RUSSIAN FEDERATION=20
+	- RW --  RWANDA=20
+	- BL --  SAINT BARTH=C3=89LEMY
+	- SH --  SAINT HELENA=20
+	- KN --  SAINT KITTS AND NEVIS=20
+	- LC --  SAINT LUCIA=20
+	- MF --  SAINT MARTIN
+	- PM --  SAINT PIERRE AND MIQUELON=20
+	- VC --  SAINT VINCENT AND THE GRENADINES=20
+	- WS --  SAMOA=20
+	- SM --  SAN MARINO=20
+	- ST --  SAO TOME AND PRINCIPE=20
+	- SA --  SAUDI ARABIA=20
+	- SN --  SENEGAL=20
+	- RS --  SERBIA
+	- SC --  SEYCHELLES=20
+	- SL --  SIERRA LEONE=20
+	- SG --  SINGAPORE=20
+	- SK --  SLOVAKIA=20
+	- SI --  SLOVENIA=20
+	- SB --  SOLOMON ISLANDS=20
+	- SO --  SOMALIA=20
+	- ZA --  SOUTH AFRICA=20
+	- GS --  SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS=20
+	- ES --  SPAIN=20
+	- LK --  SRI LANKA=20
+	- SD --  SUDAN=20
+	- SR --  SURINAME=20
+	- SJ --  SVALBARD AND JAN MAYEN=20
+	- SZ --  SWAZILAND=20
+	- SE --  SWEDEN=20
+	- CH --  SWITZERLAND=20
+	- SY --  SYRIAN ARAB REPUBLIC=20
+	- TW --  TAIWAN, PROVINCE OF CHINA=20
+	- TJ --  TAJIKISTAN=20
+	- TZ --  TANZANIA, UNITED REPUBLIC OF=20
+	- TH --  THAILAND=20
+	- TL --  TIMOR-LESTE=20
+	- TG --  TOGO=20
+	- TK --  TOKELAU=20
+	- TO --  TONGA=20
+	- TT --  TRINIDAD AND TOBAGO=20
+	- TN --  TUNISIA=20
+	- TR --  TURKEY=20
+	- TM --  TURKMENISTAN=20
+	- TC --  TURKS AND CAICOS ISLANDS=20
+	- TV --  TUVALU=20
+	- UG --  UGANDA=20
+	- UA --  UKRAINE=20
+	- AE --  UNITED ARAB EMIRATES=20
+	- GB --  UNITED KINGDOM=20
+	- US --  UNITED STATES=20
+	- UM --  UNITED STATES MINOR OUTLYING ISLANDS=20
+	- UY --  URUGUAY=20
+	- UZ --  UZBEKISTAN=20
+	- VU --  VANUATU=20
+	- VE --  VENEZUELA, BOLIVARIAN REPUBLIC OF
+	- VN --  VIET NAM=20
+	- VG --  VIRGIN ISLANDS, BRITISH=20
+	- VI --  VIRGIN ISLANDS, U.S.=20
+	- WF --  WALLIS AND FUTUNA=20
+	- EH --  WESTERN SAHARA=20
+	- YE --  YEMEN=20
+	- ZM --  ZAMBIA=20
+	- ZW --  ZIMBABWE=20
+			</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"AF"/>
+			<xs:enumeration value=3D"AX"/>
+			<xs:enumeration value=3D"AL"/>
+			<xs:enumeration value=3D"DZ"/>
+			<xs:enumeration value=3D"AS"/>
+			<xs:enumeration value=3D"AD"/>
+			<xs:enumeration value=3D"AO"/>
+			<xs:enumeration value=3D"AI"/>
+			<xs:enumeration value=3D"AQ"/>
+			<xs:enumeration value=3D"AG"/>
+			<xs:enumeration value=3D"AR"/>
+			<xs:enumeration value=3D"AM"/>
+			<xs:enumeration value=3D"AW"/>
+			<xs:enumeration value=3D"AU"/>
+			<xs:enumeration value=3D"AZ"/>
+			<xs:enumeration value=3D"BS"/>
+			<xs:enumeration value=3D"BH"/>
+			<xs:enumeration value=3D"BD"/>
+			<xs:enumeration value=3D"BB"/>
+			<xs:enumeration value=3D"BY"/>
+			<xs:enumeration value=3D"BZ"/>
+			<xs:enumeration value=3D"BJ"/>
+			<xs:enumeration value=3D"BM"/>
+			<xs:enumeration value=3D"BT"/>
+			<xs:enumeration value=3D"BO"/>
+			<xs:enumeration value=3D"BA"/>
+			<xs:enumeration value=3D"BW"/>
+			<xs:enumeration value=3D"BV"/>
+			<xs:enumeration value=3D"BR"/>
+			<xs:enumeration value=3D"IO"/>
+			<xs:enumeration value=3D"BN"/>
+			<xs:enumeration value=3D"BF"/>
+			<xs:enumeration value=3D"BI"/>
+			<xs:enumeration value=3D"KH"/>
+			<xs:enumeration value=3D"CM"/>
+			<xs:enumeration value=3D"CA"/>
+			<xs:enumeration value=3D"CV"/>
+			<xs:enumeration value=3D"KY"/>
+			<xs:enumeration value=3D"CF"/>
+			<xs:enumeration value=3D"TD"/>
+			<xs:enumeration value=3D"CL"/>
+			<xs:enumeration value=3D"CN"/>
+			<xs:enumeration value=3D"CX"/>
+			<xs:enumeration value=3D"CC"/>
+			<xs:enumeration value=3D"CO"/>
+			<xs:enumeration value=3D"KM"/>
+			<xs:enumeration value=3D"CG"/>
+			<xs:enumeration value=3D"CD"/>
+			<xs:enumeration value=3D"CK"/>
+			<xs:enumeration value=3D"CR"/>
+			<xs:enumeration value=3D"CI"/>
+			<xs:enumeration value=3D"CU"/>
+			<xs:enumeration value=3D"DJ"/>
+			<xs:enumeration value=3D"DM"/>
+			<xs:enumeration value=3D"DO"/>
+			<xs:enumeration value=3D"EC"/>
+			<xs:enumeration value=3D"EG"/>
+			<xs:enumeration value=3D"SV"/>
+			<xs:enumeration value=3D"GQ"/>
+			<xs:enumeration value=3D"ER"/>
+			<xs:enumeration value=3D"ET"/>
+			<xs:enumeration value=3D"FK"/>
+			<xs:enumeration value=3D"FO"/>
+			<xs:enumeration value=3D"FJ"/>
+			<xs:enumeration value=3D"GF"/>
+			<xs:enumeration value=3D"PF"/>
+			<xs:enumeration value=3D"TF"/>
+			<xs:enumeration value=3D"GA"/>
+			<xs:enumeration value=3D"GM"/>
+			<xs:enumeration value=3D"GE"/>
+			<xs:enumeration value=3D"GH"/>
+			<xs:enumeration value=3D"GI"/>
+			<xs:enumeration value=3D"GL"/>
+			<xs:enumeration value=3D"GD"/>
+			<xs:enumeration value=3D"GP"/>
+			<xs:enumeration value=3D"GU"/>
+			<xs:enumeration value=3D"GT"/>
+			<xs:enumeration value=3D"GG"/>
+			<xs:enumeration value=3D"GN"/>
+			<xs:enumeration value=3D"GW"/>
+			<xs:enumeration value=3D"GY"/>
+			<xs:enumeration value=3D"HT"/>
+			<xs:enumeration value=3D"HM"/>
+			<xs:enumeration value=3D"VA"/>
+			<xs:enumeration value=3D"HN"/>
+			<xs:enumeration value=3D"HK"/>
+			<xs:enumeration value=3D"IS"/>
+			<xs:enumeration value=3D"IN"/>
+			<xs:enumeration value=3D"ID"/>
+			<xs:enumeration value=3D"IR"/>
+			<xs:enumeration value=3D"IQ"/>
+			<xs:enumeration value=3D"IM"/>
+			<xs:enumeration value=3D"IL"/>
+			<xs:enumeration value=3D"JM"/>
+			<xs:enumeration value=3D"JP"/>
+			<xs:enumeration value=3D"JE"/>
+			<xs:enumeration value=3D"JO"/>
+			<xs:enumeration value=3D"KZ"/>
+			<xs:enumeration value=3D"KE"/>
+			<xs:enumeration value=3D"KI"/>
+			<xs:enumeration value=3D"KP"/>
+			<xs:enumeration value=3D"KR"/>
+			<xs:enumeration value=3D"KW"/>
+			<xs:enumeration value=3D"KG"/>
+			<xs:enumeration value=3D"LA"/>
+			<xs:enumeration value=3D"LB"/>
+			<xs:enumeration value=3D"LS"/>
+			<xs:enumeration value=3D"LR"/>
+			<xs:enumeration value=3D"LY"/>
+			<xs:enumeration value=3D"LI"/>
+			<xs:enumeration value=3D"MO"/>
+			<xs:enumeration value=3D"MK"/>
+			<xs:enumeration value=3D"MG"/>
+			<xs:enumeration value=3D"MW"/>
+			<xs:enumeration value=3D"MY"/>
+			<xs:enumeration value=3D"MV"/>
+			<xs:enumeration value=3D"ML"/>
+			<xs:enumeration value=3D"MH"/>
+			<xs:enumeration value=3D"MQ"/>
+			<xs:enumeration value=3D"MR"/>
+			<xs:enumeration value=3D"MU"/>
+			<xs:enumeration value=3D"YT"/>
+			<xs:enumeration value=3D"MX"/>
+			<xs:enumeration value=3D"FM"/>
+			<xs:enumeration value=3D"MD"/>
+			<xs:enumeration value=3D"MN"/>
+			<xs:enumeration value=3D"ME"/>
+			<xs:enumeration value=3D"MS"/>
+			<xs:enumeration value=3D"MA"/>
+			<xs:enumeration value=3D"MZ"/>
+			<xs:enumeration value=3D"MM"/>
+			<xs:enumeration value=3D"NA"/>
+			<xs:enumeration value=3D"NR"/>
+			<xs:enumeration value=3D"NP"/>
+			<xs:enumeration value=3D"AN"/>
+			<xs:enumeration value=3D"NC"/>
+			<xs:enumeration value=3D"NZ"/>
+			<xs:enumeration value=3D"NI"/>
+			<xs:enumeration value=3D"NE"/>
+			<xs:enumeration value=3D"NG"/>
+			<xs:enumeration value=3D"NU"/>
+			<xs:enumeration value=3D"NF"/>
+			<xs:enumeration value=3D"MP"/>
+			<xs:enumeration value=3D"NO"/>
+			<xs:enumeration value=3D"OM"/>
+			<xs:enumeration value=3D"PK"/>
+			<xs:enumeration value=3D"PW"/>
+			<xs:enumeration value=3D"PS"/>
+			<xs:enumeration value=3D"PA"/>
+			<xs:enumeration value=3D"PG"/>
+			<xs:enumeration value=3D"PY"/>
+			<xs:enumeration value=3D"PE"/>
+			<xs:enumeration value=3D"PH"/>
+			<xs:enumeration value=3D"PN"/>
+			<xs:enumeration value=3D"PR"/>
+			<xs:enumeration value=3D"QA"/>
+			<xs:enumeration value=3D"RE"/>
+			<xs:enumeration value=3D"RU"/>
+			<xs:enumeration value=3D"RW"/>
+			<xs:enumeration value=3D"BL"/>
+			<xs:enumeration value=3D"SH"/>
+			<xs:enumeration value=3D"KN"/>
+			<xs:enumeration value=3D"LC"/>
+			<xs:enumeration value=3D"MF"/>
+			<xs:enumeration value=3D"PM"/>
+			<xs:enumeration value=3D"VC"/>
+			<xs:enumeration value=3D"WS"/>
+			<xs:enumeration value=3D"SM"/>
+			<xs:enumeration value=3D"ST"/>
+			<xs:enumeration value=3D"SA"/>
+			<xs:enumeration value=3D"SN"/>
+			<xs:enumeration value=3D"RS"/>
+			<xs:enumeration value=3D"SC"/>
+			<xs:enumeration value=3D"SL"/>
+			<xs:enumeration value=3D"SG"/>
+			<xs:enumeration value=3D"SB"/>
+			<xs:enumeration value=3D"SO"/>
+			<xs:enumeration value=3D"ZA"/>
+			<xs:enumeration value=3D"GS"/>
+			<xs:enumeration value=3D"LK"/>
+			<xs:enumeration value=3D"SD"/>
+			<xs:enumeration value=3D"SR"/>
+			<xs:enumeration value=3D"SJ"/>
+			<xs:enumeration value=3D"SZ"/>
+			<xs:enumeration value=3D"CH"/>
+			<xs:enumeration value=3D"SY"/>
+			<xs:enumeration value=3D"TW"/>
+			<xs:enumeration value=3D"TJ"/>
+			<xs:enumeration value=3D"TZ"/>
+			<xs:enumeration value=3D"TH"/>
+			<xs:enumeration value=3D"TL"/>
+			<xs:enumeration value=3D"TG"/>
+			<xs:enumeration value=3D"TK"/>
+			<xs:enumeration value=3D"TO"/>
+			<xs:enumeration value=3D"TT"/>
+			<xs:enumeration value=3D"TN"/>
+			<xs:enumeration value=3D"TR"/>
+			<xs:enumeration value=3D"TM"/>
+			<xs:enumeration value=3D"TC"/>
+			<xs:enumeration value=3D"TV"/>
+			<xs:enumeration value=3D"UG"/>
+			<xs:enumeration value=3D"UA"/>
+			<xs:enumeration value=3D"AE"/>
+			<xs:enumeration value=3D"US"/>
+			<xs:enumeration value=3D"UM"/>
+			<xs:enumeration value=3D"UY"/>
+			<xs:enumeration value=3D"UZ"/>
+			<xs:enumeration value=3D"VU"/>
+			<xs:enumeration value=3D"VE"/>
+			<xs:enumeration value=3D"VN"/>
+			<xs:enumeration value=3D"VG"/>
+			<xs:enumeration value=3D"VI"/>
+			<xs:enumeration value=3D"WF"/>
+			<xs:enumeration value=3D"EH"/>
+			<xs:enumeration value=3D"YE"/>
+			<xs:enumeration value=3D"ZM"/>
+			<xs:enumeration value=3D"ZW"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<!-- CURRENCIES -->
+	<xs:simpleType name=3D"MSCurrencyCode">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">
+			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed. Currency co=
des are limited to those of Member States.
+Valid entries are:
+BGN Bulgaria, Leva=20
+CZK Czech Republic, Koruny=20
+DKK Denmark, Kroner=20
+EEK Estonia, Krooni=20
+EUR Euro Member Countries, Euro=20
+GBP United Kingdom, Pounds=20
+HUF Hungary, Forint=20
+LTL Lithuania, Litai=20
+LVL Latvia, Lati=20
+PLN Poland, Zlotych=20
+RON Romania, New Lei=20
+SEK Sweden, Kronor
+HRK Croatia, Kuna=20
+			</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"BGN"/>
+			<xs:enumeration value=3D"CZK"/>
+			<xs:enumeration value=3D"DKK"/>
+			<xs:enumeration value=3D"EEK"/>
+			<xs:enumeration value=3D"EUR"/>
+			<xs:enumeration value=3D"GBP"/>
+			<xs:enumeration value=3D"HUF"/>
+			<xs:enumeration value=3D"LTL"/>
+			<xs:enumeration value=3D"LVL"/>
+			<xs:enumeration value=3D"PLN"/>
+			<xs:enumeration value=3D"RON"/>
+			<xs:enumeration value=3D"SEK"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"CurrencyCode">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">
+			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed.=20
+Valid entries are:
+AED United Arab Emirates, Dirhams=20
+AFN Afghanistan, Afghanis=20
+ALL Albania, Leke=20
+AMD Armenia, Drams=20
+ANG Netherlands Antilles, Guilders=20
+AOA Angola, Kwanza=20
+ARS Argentina, Pesos=20
+AUD Australia, Dollars=20
+AWG Aruba, Guilders=20
+AZN Azerbaijan, Manats=20
+BAM Bosnia and Herzegovina, Convertible Marka=20
+BBD Barbados, Dollars=20
+BDT Bangladesh, Taka=20
+BGN Bulgaria, Leva=20
+BHD Bahrain, Dinars=20
+BIF Burundi, Francs=20
+BMD Bermuda, Dollars=20
+BND Brunei Darussalam, Dollars=20
+BOB Bolivia, Bolivianos=20
+BOV Bolivia, Mvdol
+BRL Brazil, Brazil Real=20
+BSD Bahamas, Dollars=20
+BTN Bhutan, Ngultrum=20
+BWP Botswana, Pulas=20
+BYR Belarus, Rubles=20
+BZD Belize, Dollars=20
+CAD Canada, Dollars=20
+CDF Congo/Kinshasa, Congolese Francs=20
+CHF Switzerland, Francs=20
+CLF Chile, Unidades de fomento=20
+CLP Chile, Pesos=20
+CNY China, Yuan Renminbi=20
+COP Colombia, Pesos=20
+COU Colombia, Unidad de Valor Real
+CRC Costa Rica, Colones=20
+CUC Cuba, Convertible Pesos=20
+CUP Cuba, Pesos=20
+CVE Cape Verde, Escudos=20
+CZK Czech Republic, Koruny=20
+DJF Djibouti, Francs=20
+DKK Denmark, Kroner=20
+DOP Dominican Republic, Pesos=20
+DZD Algeria, Algeria Dinars=20
+EEK Estonia, Krooni=20
+EGP Egypt, Pounds=20
+ERN Eritrea, Nakfa=20
+ETB Ethiopia, Birr=20
+EUR Euro Member Countries, Euro=20
+FJD Fiji, Dollars=20
+FKP Falkland Islands (Malvinas), Pounds=20
+GBP United Kingdom, Pounds=20
+GEL Georgia, Lari=20
+GHS Ghana, Cedis=20
+GIP Gibraltar, Pounds=20
+GMD Gambia, Dalasi=20
+GNF Guinea, Francs=20
+GTQ Guatemala, Quetzales=20
+GWP Guinea-Bissau Peso
+GYD Guyana, Dollars=20
+HKD Hong Kong, Dollars=20
+HNL Honduras, Lempiras=20
+HTG Haiti, Gourdes=20
+HUF Hungary, Forint=20
+IDR Indonesia, Rupiahs=20
+ILS Israel, New Shekels=20
+INR India, Rupees=20
+IQD Iraq, Dinars=20
+IRR Iran, Rials=20
+ISK Iceland, Kronur =20
+JMD Jamaica, Dollars=20
+JOD Jordan, Dinars=20
+JPY Japan, Yen=20
+KES Kenya, Shillings=20
+KGS Kyrgyzstan, Soms=20
+KHR Cambodia, Riels=20
+KMF Comoros, Francs=20
+KPW Korea (North), Won=20
+KRW Korea (South), Won=20
+KWD Kuwait, Dinars=20
+KYD Cayman Islands, Dollars=20
+KZT Kazakstan, Tenge=20
+LAK Laos, Kips=20
+LBP Lebanon, Pounds=20
+LKR Sri Lanka, Rupees=20
+LRD Liberia, Dollars=20
+LSL Lesotho, Maloti=20
+LTL Lithuania, Litai=20
+LVL Latvia, Lati=20
+LYD Libya, Dinars=20
+MAD Morocco, Dirhams=20
+MDL Moldova, Lei=20
+MGA Madagascar, Malagasy Ariary=20
+MKD Macedonia, Denars=20
+MMK Myanmar (Burma), Kyats=20
+MNT Mongolia, Tugriks=20
+MOP Macau, Patacas=20
+MRO Mauritania, Ouguiyas=20
+MTL Malta, Liri=20
+MUR Mauritius, Rupees=20
+MVR Maldives (Maldive Islands), Rufiyaa=20
+MWK Malawi, Kwachas=20
+MXN Mexico, Pesos=20
+MXV Mexico, Mexican Unidad de Inversion
+MYR Malaysia, Ringgits=20
+MZN Mozambique, Meticais=20
+NAD Namibia, Dollars=20
+NGN Nigeria, Nairas=20
+NIO Nicaragua, Gold Cordobas=20
+NOK Norway, Krone=20
+NPR Nepal, Nepal Rupees=20
+NZD New Zealand, Dollars=20
+OMR Oman, Rials=20
+PAB Panama, Balboa=20
+PEN Peru, Nuevos Soles=20
+PGK Papua New Guinea, Kina=20
+PHP Philippines, Pesos=20
+PKR Pakistan, Rupees=20
+PLN Poland, Zlotych=20
+PYG Paraguay, Guarani=20
+QAR Qatar, Rials=20
+RON Romania, New Lei=20
+RSD Serbian Dinar
+RUB Russia, Rubles=20
+RWF Rwanda, Rwanda Francs=20
+SAR Saudi Arabia, Riyals=20
+SBD Solomon Islands, Dollars=20
+SCR Seychelles, Rupees=20
+SDG Sudan, Dinars=20
+SEK Sweden, Kronor=20
+SGD Singapore, Dollars=20
+SHP Saint Helena, Pounds=20
+SLL Sierra Leone, Leones=20
+SOS Somalia, Shillings=20
+SRD Suriname, Dollar=20
+STD S=C3=A3o Tome and Principe, Dobras=20
+SVC El Salvador, Colones=20
+SYP Syria, Pounds=20
+SZL Swaziland, Emalangeni=20
+THB Thailand, Baht=20
+TJS Tajikistan, Somoni=20
+TMT Turkmenistan, Manats=20
+TND Tunisia, Dinars=20
+TOP Tonga, Pa'anga=20
+TRY Turkey, Liras=20
+TTD Trinidad and Tobago, Dollars=20
+TWD Taiwan, New Dollars=20
+TZS Tanzania, Shillings=20
+UAH Ukraine, Hryvnia=20
+UGX Uganda, Shillings=20
+USD United States of America, Dollars=20
+UYU Uruguay, Pesos=20
+UZS Uzbekistan, Sums=20
+VEF Venezuela, Bolivares=20
+VND Viet Nam, Dong=20
+VUV Vanuatu, Vatu=20
+WST Samoa, Tala=20
+XAF Communaut=C3=A9 Financi=C3=A8re Africaine BEAC, Francs=20
+XCD East Caribbean Dollars=20
+XOF Communaut=C3=A9 Financi=C3=A8re Africaine BCEAO, Francs=20
+XPD Palladium Ounces=20
+XPF Comptoirs Fran=C3=A7ais du Pacifique Francs=20
+YER Yemen, Rials=20
+ZAR South Africa, Rand=20
+ZMK Zambia, Kwacha=20
+ZWL Zimbabwe, Zimbabwe Dollars=20
+			</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"AED"/>
+			<xs:enumeration value=3D"AFN"/>
+			<xs:enumeration value=3D"ALL"/>
+			<xs:enumeration value=3D"AMD"/>
+			<xs:enumeration value=3D"ANG"/>
+			<xs:enumeration value=3D"AOA"/>
+			<xs:enumeration value=3D"ARS"/>
+			<xs:enumeration value=3D"AUD"/>
+			<xs:enumeration value=3D"AWG"/>
+			<xs:enumeration value=3D"AZN"/>
+			<xs:enumeration value=3D"BAM"/>
+			<xs:enumeration value=3D"BBD"/>
+			<xs:enumeration value=3D"BDT"/>
+			<xs:enumeration value=3D"BGN"/>
+			<xs:enumeration value=3D"BHD"/>
+			<xs:enumeration value=3D"BIF"/>
+			<xs:enumeration value=3D"BMD"/>
+			<xs:enumeration value=3D"BND"/>
+			<xs:enumeration value=3D"BOB"/>
+			<xs:enumeration value=3D"BOV"/>
+			<xs:enumeration value=3D"BRL"/>
+			<xs:enumeration value=3D"BSD"/>
+			<xs:enumeration value=3D"BTN"/>
+			<xs:enumeration value=3D"BWP"/>
+			<xs:enumeration value=3D"BYR"/>
+			<xs:enumeration value=3D"BZD"/>
+			<xs:enumeration value=3D"CAD"/>
+			<xs:enumeration value=3D"CDF"/>
+			<xs:enumeration value=3D"CHF"/>
+			<xs:enumeration value=3D"CLF"/>
+			<xs:enumeration value=3D"CLP"/>
+			<xs:enumeration value=3D"CNY"/>
+			<xs:enumeration value=3D"COP"/>
+			<xs:enumeration value=3D"COU"/>
+			<xs:enumeration value=3D"CRC"/>
+			<xs:enumeration value=3D"CUC"/>
+			<xs:enumeration value=3D"CUP"/>
+			<xs:enumeration value=3D"CVE"/>
+			<xs:enumeration value=3D"CZK"/>
+			<xs:enumeration value=3D"DJF"/>
+			<xs:enumeration value=3D"DKK"/>
+			<xs:enumeration value=3D"DOP"/>
+			<xs:enumeration value=3D"DZD"/>
+			<xs:enumeration value=3D"EEK"/>
+			<xs:enumeration value=3D"EGP"/>
+			<xs:enumeration value=3D"ERN"/>
+			<xs:enumeration value=3D"ETB"/>
+			<xs:enumeration value=3D"EUR"/>
+			<xs:enumeration value=3D"FJD"/>
+			<xs:enumeration value=3D"FKP"/>
+			<xs:enumeration value=3D"GBP"/>
+			<xs:enumeration value=3D"GEL"/>
+			<xs:enumeration value=3D"GHS"/>
+			<xs:enumeration value=3D"GIP"/>
+			<xs:enumeration value=3D"GMD"/>
+			<xs:enumeration value=3D"GNF"/>
+			<xs:enumeration value=3D"GTQ"/>
+			<xs:enumeration value=3D"GWP"/>
+			<xs:enumeration value=3D"GYD"/>
+			<xs:enumeration value=3D"HKD"/>
+			<xs:enumeration value=3D"HNL"/>
+			<xs:enumeration value=3D"HRK"/>
+			<xs:enumeration value=3D"HTG"/>
+			<xs:enumeration value=3D"HUF"/>
+			<xs:enumeration value=3D"IDR"/>
+			<xs:enumeration value=3D"ILS"/>
+			<xs:enumeration value=3D"INR"/>
+			<xs:enumeration value=3D"IQD"/>
+			<xs:enumeration value=3D"IRR"/>
+			<xs:enumeration value=3D"ISK"/>
+			<xs:enumeration value=3D"JMD"/>
+			<xs:enumeration value=3D"JOD"/>
+			<xs:enumeration value=3D"JPY"/>
+			<xs:enumeration value=3D"KES"/>
+			<xs:enumeration value=3D"KGS"/>
+			<xs:enumeration value=3D"KHR"/>
+			<xs:enumeration value=3D"KMF"/>
+			<xs:enumeration value=3D"KPW"/>
+			<xs:enumeration value=3D"KRW"/>
+			<xs:enumeration value=3D"KWD"/>
+			<xs:enumeration value=3D"KYD"/>
+			<xs:enumeration value=3D"KZT"/>
+			<xs:enumeration value=3D"LAK"/>
+			<xs:enumeration value=3D"LBP"/>
+			<xs:enumeration value=3D"LKR"/>
+			<xs:enumeration value=3D"LRD"/>
+			<xs:enumeration value=3D"LSL"/>
+			<xs:enumeration value=3D"LTL"/>
+			<xs:enumeration value=3D"LVL"/>
+			<xs:enumeration value=3D"LYD"/>
+			<xs:enumeration value=3D"MAD"/>
+			<xs:enumeration value=3D"MDL"/>
+			<xs:enumeration value=3D"MGA"/>
+			<xs:enumeration value=3D"MKD"/>
+			<xs:enumeration value=3D"MMK"/>
+			<xs:enumeration value=3D"MNT"/>
+			<xs:enumeration value=3D"MOP"/>
+			<xs:enumeration value=3D"MRO"/>
+			<xs:enumeration value=3D"MUR"/>
+			<xs:enumeration value=3D"MVR"/>
+			<xs:enumeration value=3D"MWK"/>
+			<xs:enumeration value=3D"MXN"/>
+			<xs:enumeration value=3D"MXV"/>
+			<xs:enumeration value=3D"MYR"/>
+			<xs:enumeration value=3D"MZN"/>
+			<xs:enumeration value=3D"NAD"/>
+			<xs:enumeration value=3D"NGN"/>
+			<xs:enumeration value=3D"NIO"/>
+			<xs:enumeration value=3D"NOK"/>
+			<xs:enumeration value=3D"NPR"/>
+			<xs:enumeration value=3D"NZD"/>
+			<xs:enumeration value=3D"OMR"/>
+			<xs:enumeration value=3D"PAB"/>
+			<xs:enumeration value=3D"PEN"/>
+			<xs:enumeration value=3D"PGK"/>
+			<xs:enumeration value=3D"PHP"/>
+			<xs:enumeration value=3D"PKR"/>
+			<xs:enumeration value=3D"PLN"/>
+			<xs:enumeration value=3D"PYG"/>
+			<xs:enumeration value=3D"QAR"/>
+			<xs:enumeration value=3D"RON"/>
+			<xs:enumeration value=3D"RSD"/>
+			<xs:enumeration value=3D"RUB"/>
+			<xs:enumeration value=3D"RWF"/>
+			<xs:enumeration value=3D"SAR"/>
+			<xs:enumeration value=3D"SBD"/>
+			<xs:enumeration value=3D"SCR"/>
+			<xs:enumeration value=3D"SDG"/>
+			<xs:enumeration value=3D"SEK"/>
+			<xs:enumeration value=3D"SGD"/>
+			<xs:enumeration value=3D"SHP"/>
+			<xs:enumeration value=3D"SLL"/>
+			<xs:enumeration value=3D"SOS"/>
+			<xs:enumeration value=3D"SRD"/>
+			<xs:enumeration value=3D"STD"/>
+			<xs:enumeration value=3D"SVC"/>
+			<xs:enumeration value=3D"SYP"/>
+			<xs:enumeration value=3D"SZL"/>
+			<xs:enumeration value=3D"THB"/>
+			<xs:enumeration value=3D"TJS"/>
+			<xs:enumeration value=3D"TMT"/>
+			<xs:enumeration value=3D"TND"/>
+			<xs:enumeration value=3D"TOP"/>
+			<xs:enumeration value=3D"TRY"/>
+			<xs:enumeration value=3D"TTD"/>
+			<xs:enumeration value=3D"TVD"/>
+			<xs:enumeration value=3D"TWD"/>
+			<xs:enumeration value=3D"TZS"/>
+			<xs:enumeration value=3D"UAH"/>
+			<xs:enumeration value=3D"UGX"/>
+			<xs:enumeration value=3D"USD"/>
+			<xs:enumeration value=3D"UYU"/>
+			<xs:enumeration value=3D"UZS"/>
+			<xs:enumeration value=3D"VEF"/>
+			<xs:enumeration value=3D"VND"/>
+			<xs:enumeration value=3D"VUV"/>
+			<xs:enumeration value=3D"WST"/>
+			<xs:enumeration value=3D"XAF"/>
+			<xs:enumeration value=3D"XCD"/>
+			<xs:enumeration value=3D"XOF"/>
+			<xs:enumeration value=3D"XPD"/>
+			<xs:enumeration value=3D"XPF"/>
+			<xs:enumeration value=3D"YER"/>
+			<xs:enumeration value=3D"ZAR"/>
+			<xs:enumeration value=3D"ZMK"/>
+			<xs:enumeration value=3D"ZWL"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<!-- LANGUAGES -->
+	<xs:simpleType name=3D"EULanguageCode">
+		<xs:annotation>
+			<xs:documentation> The list of official languages of the EU.</xs:docu=
mentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"bg">
+				<xs:annotation>
+					<xs:documentation>Bulgarian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"cs">
+				<xs:annotation>
+					<xs:documentation>Czech</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"da">
+				<xs:annotation>
+					<xs:documentation>Danish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"de">
+				<xs:annotation>
+					<xs:documentation>German</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"el">
+				<xs:annotation>
+					<xs:documentation>Greek</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"en">
+				<xs:annotation>
+					<xs:documentation>English</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"es">
+				<xs:annotation>
+					<xs:documentation>Spanish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"et">
+				<xs:annotation>
+					<xs:documentation>Estonian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"fi">
+				<xs:annotation>
+					<xs:documentation>Finnish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"fr">
+				<xs:annotation>
+					<xs:documentation>French</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"ga">
+				<xs:annotation>
+					<xs:documentation>Irish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"hu">
+				<xs:annotation>
+					<xs:documentation>Hungarian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"it">
+				<xs:annotation>
+					<xs:documentation>Italian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"lt">
+				<xs:annotation>
+					<xs:documentation>Lithuanian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"lv">
+				<xs:annotation>
+					<xs:documentation>Latvian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"mt">
+				<xs:annotation>
+					<xs:documentation>Maltese</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"nl">
+				<xs:annotation>
+					<xs:documentation>Dutch</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"pl">
+				<xs:annotation>
+					<xs:documentation>Polish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"pt">
+				<xs:annotation>
+					<xs:documentation>Portuguese</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"ro">
+				<xs:annotation>
+					<xs:documentation>Romanian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"sk">
+				<xs:annotation>
+					<xs:documentation>Slovak </xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"sl">
+				<xs:annotation>
+					<xs:documentation>Slovenian </xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"sv">
+				<xs:annotation>
+					<xs:documentation>Swedish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"tr">
+				<xs:annotation>
+					<xs:documentation>Turkish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+</xs:schema>

Added: trunk/transform/unit-test/xsd/NewLK-in_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/NewLK-in_v0_7.xsd	                     =
   (rev 0)
+++ trunk/transform/unit-test/xsd/NewLK-in_v0_7.xsd	2014-01-28 17:03:22 U=
TC (rev 670)
@@ -0,0 +1,153 @@
+<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
+<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/ClientListingConsignment" xmlns:iso=3D"http://www.min=
fin.fgov.be/IsoTypes" xmlns:common=3D"http://www.minfin.fgov.be/InputComm=
on" targetNamespace=3D"http://www.minfin.fgov.be/ClientListingConsignment=
" elementFormDefault=3D"qualified" attributeFormDefault=3D"unqualified" v=
ersion=3D"1.0" xml:lang=3D"en">
+	<xs:import namespace=3D"http://www.minfin.fgov.be/InputCommon" schemaLo=
cation=3D"IntervatInputCommon_v0_7.xsd"/>
+    <xs:import namespace=3D"http://www.minfin.fgov.be/IsoTypes" schemaLo=
cation=3D"IntervatIsoTypes_v0_7.xsd"/>
+=09
+	<!-- Root Element -->
+	<xs:element name=3D"ClientListingConsignment">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"fr">Envoi regroup=E9 de listings client=
s, d=E9pos=E9 par un mandataire</xs:documentation>
+			<xs:documentation xml:lang=3D"nl">Gegroepeerde verzending van klanten=
listings, voorgelegd door een gevolmachtigde</xs:documentation>
+		</xs:annotation>
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name=3D"Representative" type=3D"common:Representative_Ty=
pe" minOccurs=3D"0">
+					<xs:annotation>
+						<xs:documentation xml:lang=3D"fr">Mandataire</xs:documentation>
+						<xs:documentation xml:lang=3D"nl">Gevolmachtigde</xs:documentation=
>
+						<xs:documentation xml:lang=3D"de">Bevollm=E4chtigter</xs:documenta=
tion>
+					</xs:annotation>
+				</xs:element>
+				<xs:element name=3D"RepresentativeReference" type=3D"common:Represen=
tativeReference_Type" minOccurs=3D"0">
+					<xs:annotation>
+						<xs:documentation>R=E9f=E9rence attribu=E9e =E0 l'envoi par le man=
dataire</xs:documentation>
+					</xs:annotation>
+				</xs:element>
+				<xs:element name=3D"ClientListing" type=3D"ClientListing_Type" maxOc=
curs=3D"unbounded">
+					<xs:annotation>
+						<xs:documentation xml:lang=3D"fr">Listing clients, pour un d=E9cla=
rant et une ann=E9e</xs:documentation>
+					</xs:annotation>
+				</xs:element>
+			</xs:sequence>
+			<xs:attribute name=3D"ClientListingsNbr" type=3D"xs:positiveInteger" =
use=3D"required">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Nombre de listings clients dans l=
'envoi</xs:documentation>
+				</xs:annotation>
+			</xs:attribute>
+		</xs:complexType>
+	</xs:element>
+	<!-- definition of complex types -->
+	<xs:complexType name=3D"ClientListing_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"fr">Lisintg clients, pour un d=E9claran=
t et une ann=E9e</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"ReplacedClientListing" type=3D"common:IntervatDec=
larationReference_Type" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Identifiant/R=E9f=E9rence Interva=
t d'un listing clients pr=E9c=E9dent qui est remplac=E9 par ce listing (r=
=E9f=E9rence donn=E9e dans l'accus=E9 de r=E9ception du listing original)=
</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Declarant" type=3D"common:Declarant_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">D=E9clarant (assujetti belge)</xs=
:documentation>
+					<xs:documentation xml:lang=3D"nl">Aangever (Belgische belastingplic=
htige)</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Period" type=3D"common:Year_Type">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">P=E9riode couverte par le listing=
 (ann=E9e au format YYYY)</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"TurnOver" type=3D"common:SignedAmount_Type" minOc=
curs=3D"0">
+				<xs:annotation>
+					<xs:documentation>Pour les petites entreprises: chiffre d'affaires.=
 Montant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentatio=
n>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Farmer" type=3D"common:YesNo_Type" minOccurs=3D"0=
">
+				<xs:annotation>
+					<xs:documentation>Pour un exploitant agricole: "YES" s'il d=E9clare=
 =EAtre tenu au d=E9p=F4t du relev=E9 intracommunautaire annuel, "NO" s'i=
l n'y est pas tenu. Tag absent pour les non-exploitants agricoles.</xs:do=
cumentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Client" type=3D"Client_Type" minOccurs=3D"0" maxO=
ccurs=3D"unbounded">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Informations concernant un client=
 du listing</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"FileAttachment" type=3D"common:FileAttachment_Typ=
e" minOccurs=3D"0" maxOccurs=3D"unbounded">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Informations concernant une annex=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"nl">Informatie betreffende een bijlag=
e</xs:documentation>
+					<xs:documentation xml:lang=3D"de">Informationen zu einer Anlage</xs=
:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"Comment" type=3D"common:Comment_Type" minOccurs=3D=
"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"fr">Commentaire libre</xs:documentati=
on>
+					<xs:documentation xml:lang=3D"nl">Vrije commentaar</xs:documentatio=
n>
+					<xs:documentation xml:lang=3D"de">Freier Kommentar</xs:documentatio=
n>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+		<xs:attribute name=3D"SequenceNumber" type=3D"xs:positiveInteger" use=3D=
"required">
+			<xs:annotation>
+				<xs:documentation xml:lang=3D"fr">Num=E9ro de s=E9quence du listing =
dans l'envoi</xs:documentation>
+			</xs:annotation>
+		</xs:attribute>
+		<xs:attribute name=3D"ClientsNbr" type=3D"xs:unsignedInt" use=3D"requi=
red">
+			<xs:annotation>
+				<xs:documentation>Nombre de clients dans le listing</xs:documentatio=
n>
+			</xs:annotation>
+		</xs:attribute>
+		<xs:attribute name=3D"DeclarantReference" type=3D"common:DeclarantRefe=
rence_Type">
+			<xs:annotation>
+				<xs:documentation xml:lang=3D"fr">R=E9f=E9rence attribu=E9e =E0 ce l=
isting clients par le d=E9clarant ou mandataire.</xs:documentation>
+			</xs:annotation>
+		</xs:attribute>
+		<xs:attribute name=3D"TurnOverSum" type=3D"common:UnlimitedSignedAmoun=
t_Type" use=3D"required">
+			<xs:annotation>
+				<xs:documentation>Somme des chiffres d'affaires (hors TVA) pour tous=
 les clients. Montant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs=
:documentation>
+			</xs:annotation>
+		</xs:attribute>
+		<xs:attribute name=3D"VATAmountSum" type=3D"common:UnlimitedSignedAmou=
nt_Type" use=3D"required">
+			<xs:annotation>
+				<xs:documentation>Somme des montants TVA pour tous les clients. Mont=
ant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentation>
+			</xs:annotation>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name=3D"Client_Type">
+		<xs:sequence>
+			<xs:element name=3D"CompanyVATNumber" type=3D"ClientVATNumber_Type">
+				<xs:annotation>
+					<xs:documentation>N=B0 de TVA du client (assujetti belge).</xs:docu=
mentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"TurnOver" type=3D"common:SignedAmount_Type">
+				<xs:annotation>
+					<xs:documentation>Chiffre d'affaires (hors TVA). Montant sign=E9 ex=
prim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name=3D"VATAmount" type=3D"common:SignedAmount_Type">
+				<xs:annotation>
+					<xs:documentation>Montant TVA. Montant sign=E9 exprim=E9 en EUR =E0=
 l'eurocent pr=E8s.</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+		<xs:attribute name=3D"SequenceNumber" type=3D"xs:positiveInteger" use=3D=
"required">
+			<xs:annotation>
+				<xs:documentation>N=B0 de s=E9quence du client dans le listing</xs:d=
ocumentation>
+			</xs:annotation>
+		</xs:attribute>
+	</xs:complexType>
+	<xs:complexType name=3D"ClientVATNumber_Type">
+		<xs:simpleContent>
+			<xs:extension base=3D"common:BEVATNumber">
+				<xs:attribute name=3D"issuedBy" type=3D"iso:BECountryCode" use=3D"re=
quired">
+					<xs:annotation>
+						<xs:documentation xml:lang=3D"fr">Etat membre qui a attribu=E9 le =
n=B0 de TVA (toujours "BE")</xs:documentation>
+						<xs:documentation xml:lang=3D"nl">Lidstaat die de btw-nummer heeft=
 toegekend (altijd "BE")</xs:documentation>
+					</xs:annotation>
+				</xs:attribute>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+</xs:schema>

Added: trunk/transform/unit-test/xsd/adjreasons_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/adjreasons_v1.xsd	                     =
   (rev 0)
+++ trunk/transform/unit-test/xsd/adjreasons_v1.xsd	2014-01-28 17:03:22 U=
TC (rev 670)
@@ -0,0 +1,35 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:vr=3D"urn=
:ec.europa.eu:taxud:fiscalis:vatrefund:v1" targetNamespace=3D"urn:ec.euro=
pa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"qualified" attri=
buteFormDefault=3D"unqualified">
+	<xs:annotation>
+		<xs:documentation xml:lang=3D"en"><![CDATA[
+			List of Pro-Rata Rate Adjustment Justification Reason Codes
+			=3D=3D=3D HISTORY=3D=3D=3D=20
+			Version 1.00 - first release of the schema to the Member States=20
+			]]></xs:documentation>
+	</xs:annotation>
+	<xs:simpleType name=3D"ProRataRateAdjustmentJustificationReasonCode_Typ=
e">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"01">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				Period is invalid or does not correspond to a period allowed by the =
legislation;
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"02">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				Adjusted pro-rata rate appears to be incorrect with regard to the in=
formation provided by the competent authority of your Member State of est=
ablishment
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"99">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+						Other
+					</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+</xs:schema>

Added: trunk/transform/unit-test/xsd/commontypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/commontypes_v1.xsd	                    =
    (rev 0)
+++ trunk/transform/unit-test/xsd/commontypes_v1.xsd	2014-01-28 17:03:22 =
UTC (rev 670)
@@ -0,0 +1,829 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+
+<xs:schema xmlns=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:cm=3D=
"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:xs=3D"http://www.w3.org=
/2001/XMLSchema" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:commo=
n:v1" elementFormDefault=3D"qualified" version=3D"1.6" xml:lang=3D"en">
+=09
+	<xs:annotation>
+		<xs:documentation xml:lang=3D"en"><![CDATA[
+			List of Goods Description types and sub-types
+			=3D=3D=3D HISTORY=3D=3D=3D=20
+			Version 1.6 - add Turkish to the list of languages
+			Version 1.5 - reduce size of VATNumberOrTIN_Type to 20 characters fro=
m 50 characters (20/03/2009)
+			Version 1.4 - first release of the schema to the Member States for VA=
T Refund=20
+			]]></xs:documentation>
+	</xs:annotation>
+	<xs:include schemaLocation=3D"isotypes_v1.xsd"/>
+	<xs:simpleType name=3D"CountryIsoCodeAlpha2_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">ISO 3166 alpha 2 country code</xs:d=
ocumentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:NMTOKEN">
+			<xs:pattern value=3D"[A-Z]{2}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"CountryIsoCodeNum3_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">ISO 3166 numeric country code</xs:d=
ocumentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:integer">
+			<xs:totalDigits value=3D"3"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"CurrencyIsoCode_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">ISO 4217 currency code</xs:document=
ation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:NMTOKEN">
+			<xs:pattern value=3D"[A-Z]{3}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EUCountryIsoCodeAlpha2_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">The set of ISO 3166 alpha 2 country=
 code values for the
+				EU member states, with the exception of the Hellenic Republic which =
is represented
+				by a non-standard code.</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"MSCountryCode_Type"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EUCountryIsoCodeAlpha2List_Type">
+		<xs:annotation>
+			<xs:documentation>List of EU country codes</xs:documentation>
+		</xs:annotation>
+		<xs:list itemType=3D"EUCountryIsoCodeAlpha2_Type"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EUCountryIsoCodeNum3_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">The set of ISO 3166 numeric country=
 code values for the
+				EU member states</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"CountryIsoCodeNum3_Type">
+			<xs:enumeration value=3D"040">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Austria</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"056">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Belgium</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"100">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Bulgaria</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"196">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Cyprus</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"203">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Czech Republic</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"208">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Denmark</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"233">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Estonia</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"246">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Finland</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"250">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">France</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"276">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Germany</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"300">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Greece</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"348">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Hungary</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"372">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Ireland</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"380">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Italy</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"428">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Latvia</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"440">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Lithuania</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"442">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Luxembourg</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"470">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Malta</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"528">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Netherlands</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"616">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Poland</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"620">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Portugal</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"642">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Romania</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"703">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Slovakia</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"705">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Slovenia</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"724">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Spain</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"752">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Sweden</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"826">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">United Kingdom</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EUCountryIsoCodeNum3List_Type">
+		<xs:annotation>
+			<xs:documentation>List of EU country code numbers</xs:documentation>
+		</xs:annotation>
+		<xs:list itemType=3D"EUCountryIsoCodeNum3_Type"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EUCurrencyIsoCode_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">The set of currency code values for=
 the EU member
+				states.Currencies that have been legal in recent years are included,=
 even if
+				replaced by the Euro.</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"CurrencyIsoCode_Type">
+			<xs:enumeration value=3D"BGN">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Leva (Bulgaria)</xs:documentation=
>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"CYP">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Pound (Cyprus)</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"CZK">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Koruny (Czech Republic)</xs:docum=
entation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"DKK">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Krone (Denmark)</xs:documentation=
>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"EEK">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Krooni (Estonia)</xs:documentatio=
n>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"EUR">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Euro (Euro Zone)</xs:documentatio=
n>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"GBP">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Pounds sterling (United
+					Kingdom)</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"HUF">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Forint (Hungary)</xs:documentatio=
n>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"LTL">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Litai (Lithuania)</xs:documentati=
on>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"LVL">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Lati (Latvia)</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"MTL">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Liri (Malta)</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"PLN">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Zlotych (Poland)</xs:documentatio=
n>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"ROL">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Lei (Romania)</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"SEK">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Krona (Sweden)</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"SKK">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Koruny (Slovakia)</xs:documentati=
on>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"SIT">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">Tolars (Slovenia)</xs:documentati=
on>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EULanguageCode_Type">
+		<xs:annotation>
+			<xs:documentation> The list of official languages of the EU.</xs:docu=
mentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"bg">
+				<xs:annotation>
+					<xs:documentation>Bulgarian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"cs">
+				<xs:annotation>
+					<xs:documentation>Czech</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"da">
+				<xs:annotation>
+					<xs:documentation>Danish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"de">
+				<xs:annotation>
+					<xs:documentation>German</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"el">
+				<xs:annotation>
+					<xs:documentation>Greek</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"en">
+				<xs:annotation>
+					<xs:documentation>English</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"es">
+				<xs:annotation>
+					<xs:documentation>Spanish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"et">
+				<xs:annotation>
+					<xs:documentation>Estonian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"fi">
+				<xs:annotation>
+					<xs:documentation>Finnish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"fr">
+				<xs:annotation>
+					<xs:documentation>French</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"ga">
+				<xs:annotation>
+					<xs:documentation>Irish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"hu">
+				<xs:annotation>
+					<xs:documentation>Hungarian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"it">
+				<xs:annotation>
+					<xs:documentation>Italian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"lt">
+				<xs:annotation>
+					<xs:documentation>Lithuanian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"lv">
+				<xs:annotation>
+					<xs:documentation>Latvian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"mt">
+				<xs:annotation>
+					<xs:documentation>Maltese</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"nl">
+				<xs:annotation>
+					<xs:documentation>Dutch</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"pl">
+				<xs:annotation>
+					<xs:documentation>Polish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"pt">
+				<xs:annotation>
+					<xs:documentation>Portuguese</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"ro">
+				<xs:annotation>
+					<xs:documentation>Romanian</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"sk">
+				<xs:annotation>
+					<xs:documentation>Slovak </xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"sl">
+				<xs:annotation>
+					<xs:documentation>Slovenian </xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"sv">
+				<xs:annotation>
+					<xs:documentation>Swedish</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		<xs:enumeration value=3D"tr">
+			<xs:annotation>
+				<xs:documentation>Turkish</xs:documentation>
+			</xs:annotation>
+		</xs:enumeration>
+
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EULanguageList_Type">
+		<xs:annotation>
+			<xs:documentation>List of EU Languages</xs:documentation>
+		</xs:annotation>
+		<xs:list itemType=3D"EULanguageCode_Type"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"AddressFree_Type">
+		<xs:annotation>
+			<xs:documentation>An unstructured address</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"AddressStatus_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"known"/>
+			<xs:enumeration value=3D"assumed"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"AmountValue_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">A decimal amount, resticted to two =
decimal
+			places</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:decimal">
+			<xs:fractionDigits value=3D"2"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"ApplicationId_Type">
+		<xs:annotation>
+			<xs:documentation>Application Identifier</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:token">
+			<xs:enumeration value=3D"ecommerce">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">The VAT on e-services application=
 (Council
+						Directive 2002/38/EC)</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"EMail_Type">
+		<xs:annotation>
+			<xs:documentation>An email address</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:token">
+			<xs:pattern value=3D"([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-=
Z]{2,5})">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">A regular expression for email ad=
dresses.
+						Matches something@someserver.com, firstname.lastname@mailserver.do=
main.com,
+						username-something@some-server.tld</xs:documentation>
+				</xs:annotation>
+			</xs:pattern>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Gender_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">This element can be used to indicat=
e Gender for
+				individuals.</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:token">
+			<xs:enumeration value=3D"M"/>
+			<xs:enumeration value=3D"F"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"IBAN_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">The International Bank Account Numb=
er has to be given
+				here for the account into which the payment in question has been mad=
e. Depending on
+				the transmission type this element is optional. Its structure is: Co=
untry code, 2
+				letters/Check digits, 2 digits/Basic Bank Account Number (BBAN), 10 =
to 30
+				alphanumeric characters </xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"[A-Z]{2}[0-9]{2}[0-9,A-Z]{10,30}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"MsgId_Type">
+		<xs:annotation>
+			<xs:documentation>Message Identifier</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:maxLength value=3D"64"/>
+			<xs:pattern value=3D"[a-zA-Z0-9\-_:@\.]*">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">The pattern caters for the 'ad-ho=
c' (MS ISO code
+						+ date + counter), RFC 2392-like mid, and UUID.</xs:documentation>
+				</xs:annotation>
+			</xs:pattern>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"NameFree_Type">
+		<xs:annotation>
+			<xs:documentation>An unstructured name</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string"/>
+	</xs:simpleType>
+	<xs:simpleType name=3D"nameType_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"indiv"/>
+			<xs:enumeration value=3D"alias"/>
+			<xs:enumeration value=3D"nick"/>
+			<xs:enumeration value=3D"aka"/>
+			<xs:enumeration value=3D"dba"/>
+			<xs:enumeration value=3D"legal"/>
+			<xs:enumeration value=3D"atbirth"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"NumberLength3_Type">
+		<xs:annotation>
+			<xs:documentation>A number with 3 digits</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:integer">
+			<xs:maxInclusive value=3D"999"/>
+			<xs:minInclusive value=3D"0"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"PhoneNumber_Type">
+		<xs:annotation>
+			<xs:documentation>A telephone number</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"(\+)?[0-9]{1,20}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Quarter_Type">
+		<xs:annotation>
+			<xs:documentation>A quarter (Q1, Q2, Q3, Q4)</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:integer">
+			<xs:maxInclusive value=3D"4"/>
+			<xs:minInclusive value=3D"1"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"VATNumber_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"[A-Za-z0-9\+\*]{1,12}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"VATNumberOrTIN_Type">
+		<xs:annotation>
+			<xs:documentation>A tax identifier, VAT or other</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:maxLength value=3D"20"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"VatRate_Type">
+		<xs:annotation>
+			<xs:documentation>VAT rate</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:decimal">
+			<xs:minInclusive value=3D"0.00"/>
+			<xs:maxInclusive value=3D"100.00"/>
+			<xs:fractionDigits value=3D"2"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:complexType name=3D"AddressStruct_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">Structure of the address for a part=
y broken down into
+				its logical parts, recommended for easy matching. The 'City' element=
 is the only
+				required subelement. All of the subelements are simple text - data t=
ype 'string'.
+			</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"Street" type=3D"xs:string" minOccurs=3D"0"/>
+			<xs:element name=3D"BuildingIdentifier" type=3D"xs:string" minOccurs=3D=
"0"/>
+			<xs:element name=3D"SuiteIdentifier" type=3D"xs:string" minOccurs=3D"=
0"/>
+			<xs:element name=3D"FloorIdentifier" type=3D"xs:string" minOccurs=3D"=
0"/>
+			<xs:element name=3D"DistrictName" type=3D"xs:string" minOccurs=3D"0"/=
>
+			<xs:element name=3D"POB" type=3D"xs:string" minOccurs=3D"0"/>
+			<xs:element name=3D"PostCode" type=3D"xs:string" minOccurs=3D"0"/>
+			<xs:element name=3D"City" type=3D"xs:string"/>
+			<xs:element name=3D"CountrySubentity" type=3D"xs:string" minOccurs=3D=
"0"/>
+			<xs:element name=3D"OtherLocalId" type=3D"xs:string" minOccurs=3D"0"/=
>
+		</xs:sequence>
+		<xs:anyAttribute/>
+	</xs:complexType>
+	<xs:complexType name=3D"EUMoneyAmount_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">An amount for the EU currencies</xs=
:documentation>
+		</xs:annotation>
+		<xs:simpleContent>
+			<xs:restriction base=3D"MoneyAmount_Type">
+				<xs:attribute name=3D"currency" type=3D"EUCurrencyIsoCode_Type" use=3D=
"required"/>
+			</xs:restriction>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"Header_Type">
+		<xs:annotation>
+			<xs:documentation>Header of generic tax message</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"OriginatingCountry" type=3D"EUCountryIsoCodeAlpha=
2_Type"/>
+			<xs:element name=3D"DestinationCountries" type=3D"EUCountryIsoCodeAlp=
ha2List_Type"/>
+			<xs:element name=3D"MessageId" type=3D"MsgId_Type"/>
+			<xs:element name=3D"CorrelationId" type=3D"MsgId_Type" minOccurs=3D"0=
"/>
+			<xs:element name=3D"Timestamp" type=3D"xs:dateTime"/>
+			<xs:element name=3D"ResponseRequired" type=3D"xs:date" minOccurs=3D"0=
"/>
+			<xs:element name=3D"Language" type=3D"xs:language" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">The language of the document. May=
 be overloaded
+						in some elements by a language attribute</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"I18nString_Type">
+		<xs:annotation>
+			<xs:documentation>Internationalised string</xs:documentation>
+		</xs:annotation>
+		<xs:simpleContent>
+			<xs:extension base=3D"xs:string">
+				<xs:attribute name=3D"lang" type=3D"xs:language" use=3D"optional"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"Individual_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">An individual</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
+			<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
+			<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=3D=
"0"/>
+		</xs:sequence>
+		<xs:attribute name=3D"indivQlf" type=3D"xs:string" use=3D"optional"/>
+	</xs:complexType>
+	<xs:complexType name=3D"IndivPersData_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">Data (other than Name and Address) =
to describe and
+				identify an Individual. </xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"Gender" type=3D"Gender_Type" minOccurs=3D"0"/>
+			<xs:element name=3D"Nationality" type=3D"CountryIsoCodeAlpha2_Type" m=
inOccurs=3D"0"/>
+			<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
+			<xs:element name=3D"BirthCity" type=3D"xs:string" minOccurs=3D"0"/>
+			<xs:element name=3D"BirthCitySubentity" type=3D"xs:string" minOccurs=3D=
"0"/>
+			<xs:element name=3D"BirthCountryCode" type=3D"xs:string" minOccurs=3D=
"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"IndivPersBirthData_Type">
+		<xs:annotation>
+			<xs:documentation>A simplified version of IndivPersData_Type</xs:docu=
mentation>
+		</xs:annotation>
+		<xs:complexContent>
+			<xs:restriction base=3D"IndivPersData_Type">
+				<xs:sequence>
+					<xs:element name=3D"Gender" type=3D"Gender_Type" minOccurs=3D"0" ma=
xOccurs=3D"0"/>
+					<xs:element name=3D"Nationality" type=3D"CountryIsoCodeAlpha2_Type"=
 minOccurs=3D"0" maxOccurs=3D"0"/>
+					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
+					<xs:element name=3D"BirthCity" type=3D"xs:string" minOccurs=3D"0"/>
+					<xs:element name=3D"BirthCitySubentity" type=3D"xs:string" minOccur=
s=3D"0" maxOccurs=3D"0"/>
+					<xs:element name=3D"BirthCountryCode" type=3D"xs:string" minOccurs=3D=
"0"/>
+				</xs:sequence>
+			</xs:restriction>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"IndividualWithAddress_Type">
+		<xs:complexContent>
+			<xs:restriction base=3D"Individual_Type">
+				<xs:sequence>
+					<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
+					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0" max=
Occurs=3D"0"/>
+					<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=
=3D"0"/>
+				</xs:sequence>
+			</xs:restriction>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"IndividualWithBirthDate_Type">
+		<xs:complexContent>
+			<xs:restriction base=3D"Individual_Type">
+				<xs:sequence>
+					<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
+					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
+					<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=
=3D"0" maxOccurs=3D"0"/>
+				</xs:sequence>
+			</xs:restriction>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"LegalEntity_Type">
+		<xs:annotation>
+			<xs:documentation>A legal entity</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"Name" type=3D"NameFree_Type"/>
+			<xs:element name=3D"LegalStatus" type=3D"xs:string"/>
+			<xs:element name=3D"Address" type=3D"AddressStruct_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"MoneyAmount_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
+			attribute</xs:documentation>
+		</xs:annotation>
+		<xs:simpleContent>
+			<xs:extension base=3D"AmountValue_Type">
+				<xs:attribute name=3D"currency" type=3D"CurrencyIsoCode_Type" use=3D=
"required"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"NameStruct_Type">
+		<xs:sequence>
+			<xs:element name=3D"PrecedingTitle" type=3D"xs:string" minOccurs=3D"0=
"/>
+			<xs:element name=3D"Title" type=3D"xs:string" minOccurs=3D"0" maxOccu=
rs=3D"unbounded"/>
+			<xs:element name=3D"FirstName" type=3D"xs:string"/>
+			<xs:element name=3D"MiddleName" type=3D"xs:string" minOccurs=3D"0" ma=
xOccurs=3D"unbounded"/>
+			<xs:element name=3D"NamePrefix" type=3D"xs:string" minOccurs=3D"0"/>
+			<xs:element name=3D"LastName" type=3D"xs:string"/>
+			<xs:element name=3D"GenerationIdentifier" type=3D"xs:string" minOccur=
s=3D"0" maxOccurs=3D"unbounded"/>
+			<xs:element name=3D"Suffix" type=3D"xs:string" minOccurs=3D"0" maxOcc=
urs=3D"unbounded"/>
+			<xs:element name=3D"GeneralSuffix" type=3D"xs:string" minOccurs=3D"0"=
/>
+			<xs:element name=3D"MaidenName" type=3D"xs:string" minOccurs=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Name_Type">
+		<xs:choice>
+			<xs:element name=3D"NameFree" type=3D"xs:string"/>
+			<xs:sequence>
+				<xs:element name=3D"NameStruct" type=3D"NameStruct_Type"/>
+				<xs:element name=3D"NameFree" type=3D"xs:string" minOccurs=3D"0"/>
+			</xs:sequence>
+		</xs:choice>
+		<xs:attribute name=3D"nameType" type=3D"nameType_Type" use=3D"optional=
"/>
+	</xs:complexType>
+	<xs:complexType name=3D"NameReducedFix_Type">
+		<xs:complexContent>
+			<xs:restriction base=3D"NameStruct_Type">
+				<xs:sequence>
+					<xs:element name=3D"PrecedingTitle" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
+					<xs:element name=3D"Title" type=3D"xs:string" minOccurs=3D"0" maxOc=
curs=3D"0"/>
+					<xs:element name=3D"FirstName" type=3D"xs:string"/>
+					<xs:element name=3D"MiddleName" type=3D"xs:string" minOccurs=3D"0" =
maxOccurs=3D"0"/>
+					<xs:element name=3D"NamePrefix" type=3D"xs:string" minOccurs=3D"0" =
maxOccurs=3D"0"/>
+					<xs:element name=3D"LastName" type=3D"xs:string"/>
+					<xs:element name=3D"GenerationIdentifier" type=3D"xs:string" minOcc=
urs=3D"0" maxOccurs=3D"0"/>
+					<xs:element name=3D"Suffix" type=3D"xs:string" minOccurs=3D"0" maxO=
ccurs=3D"0"/>
+					<xs:element name=3D"GeneralSuffix" type=3D"xs:string" minOccurs=3D"=
0" maxOccurs=3D"0"/>
+					<xs:element name=3D"MaidenName" type=3D"xs:string" minOccurs=3D"0"/=
>
+				</xs:sequence>
+			</xs:restriction>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"OrderedString_Type">
+		<xs:annotation>
+			<xs:documentation>A string with an attribute that allows ordering in =
a
+			list.</xs:documentation>
+		</xs:annotation>
+		<xs:simpleContent>
+			<xs:extension base=3D"xs:string">
+				<xs:attribute name=3D"order" type=3D"xs:byte" use=3D"required"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"NVPair_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">A type that holds a name value pair=
. The name is stored
+				in the 'name' attribute, and the value as a string in the element va=
lue
+			itself</xs:documentation>
+		</xs:annotation>
+		<xs:simpleContent>
+			<xs:extension base=3D"xs:string">
+				<xs:attribute name=3D"name" type=3D"xs:token" use=3D"required"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"Period_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">Represents a period of time specifi=
ed by a start date
+				and an end date. </xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"StartDate" type=3D"xs:date"/>
+			<xs:element name=3D"EndDate" type=3D"xs:date"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Person_Type">
+		<xs:annotation>
+			<xs:documentation>A person</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"Name" type=3D"NameStruct_Type"/>
+			<xs:element name=3D"IndivPersData" type=3D"IndivPersData_Type"/>
+			<xs:element name=3D"Address" type=3D"AddressStruct_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"ShortAddressStruct_Type">
+		<xs:annotation>
+			<xs:documentation>A shortenedform of Address_Fix with a mandatory sta=
tus
+			attribute</xs:documentation>
+		</xs:annotation>
+		<xs:complexContent>
+			<xs:restriction base=3D"cm:AddressStruct_Type">
+				<xs:sequence>
+					<xs:element name=3D"Street" type=3D"xs:string" minOccurs=3D"0"/>
+					<xs:element name=3D"BuildingIdentifier" type=3D"xs:string" minOccur=
s=3D"0"/>
+					<xs:element name=3D"SuiteIdentifier" type=3D"xs:string" minOccurs=3D=
"0"/>
+					<xs:element name=3D"FloorIdentifier" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
+					<xs:element name=3D"DistrictName" type=3D"xs:string" minOccurs=3D"0=
" maxOccurs=3D"0"/>
+					<xs:element name=3D"POB" type=3D"xs:string" minOccurs=3D"0" maxOccu=
rs=3D"0"/>
+					<xs:element name=3D"PostCode" type=3D"xs:string" minOccurs=3D"0"/>
+					<xs:element name=3D"City" type=3D"xs:string"/>
+					<xs:element name=3D"CountrySubentity" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
+					<!--					<xs:element name=3D"Country" type=3D"CountryIsoCodeAlpha2_=
Type" minOccurs=3D"0"/> -->
+				</xs:sequence>
+				<xs:attribute name=3D"status" type=3D"AddressStatus_Type" use=3D"req=
uired"/>
+			</xs:restriction>
+		</xs:complexContent>
+	</xs:complexType>
+</xs:schema>

Added: trunk/transform/unit-test/xsd/decreasons_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/decreasons_v1.xsd	                     =
   (rev 0)
+++ trunk/transform/unit-test/xsd/decreasons_v1.xsd	2014-01-28 17:03:22 U=
TC (rev 670)
@@ -0,0 +1,262 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:vr=3D"urn=
:ec.europa.eu:taxud:fiscalis:vatrefund:v1" targetNamespace=3D"urn:ec.euro=
pa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"qualified" attri=
buteFormDefault=3D"unqualified">
+	<xs:annotation>
+		<xs:documentation xml:lang=3D"en"><![CDATA[
+			List of VAT Refund Decision Justification Reason Codes
+			=3D=3D=3D HISTORY=3D=3D=3D=20
+			Version 1.01 - Correct code for "Partial decision of repayment" - 87 =
-> 95
+						 Add codes agreed at March workshop (codes 64 to 68 inclusive)
+			Version 1.00 - first release of the schema to the Member States=20
+			]]></xs:documentation>
+	</xs:annotation>
+	<xs:simpleType name=3D"RefundDecisionJustificationReasonCode_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"01">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				the refund period is invalid
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"02">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				the total claimed amount is smaller than the minimal allowed amount =
for the mentioned period
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"03">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				the description of the business activity via NACE Level 4 code(s) is=
 required.
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"04">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+	data of the mentioned bank account is incomplete or incorrect
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"05">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+your business activities imply to specify a pro-rata rate
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"06">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+after verification it appears that you were involved in the supply of go=
ods or services in our territory and that the latter are not covered by t=
he exemption defined in the legislation
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"07">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+  after verification, it has been found out that you have a permanent es=
tablishment in our territory from which you do business activities
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"08">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+  The application is received outside of the allowed period.
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"09">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+  The application shall submit a refund application for either the whole=
 year or a calendar quarter. The application is to be submitted when the =
refund period has been completed. However, the application has been sent =
in advance.
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"20">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the request for refund has already been handled in another VAT refund ap=
plication
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"21">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the currency is not the national currency
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"22">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+a sub-classification code is required for the classification code specif=
ied
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"23">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the nature of the goods and services must be clearly specified in case c=
lassification code "10" is used
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"24">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the purchase of goods or services was not performed on our territory
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"25">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the importation of the goods was not performed on our territory
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"40">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the VAT Identification number or tax reference number mentioned for the =
supplier is unknown or was not active for the date specified
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"41">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the VAT supplier name and address do not correspond to the ones associat=
ed with the VAT identification number or tax reference number
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"42">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the information about the supplier is not the one specified in the impor=
t/invoice document
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"60">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+a copy of the import/invoice document is required
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"61">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the original of the import/invoice document was requested but was not pr=
ovided in time
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"62">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+the import/invoice document appears to be a forgery
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"63">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+Copy of the invoice/import document is not readable
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"64">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+One or several invoices have not been issued with the name of the refund=
 applicant.
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"65">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+One or several invoices are not deemed to be valid. Invoices must contai=
n the name, VAT number and address of the seller and the buyer, descripti=
on of the operation, taxable amount, VAT rate, VAT amount, invoice number=
, place and date where the invoice was issued.
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"66">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+Operations included within the special scheme of Travel Agencies, under =
which VAT is not deductible.
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"67">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+The applicant provides financial services, which are deemed to be exempt=
. Exempt activities do not allow to obtain the repayment of input tax.
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"68">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+One or several invoices or import documents belong to a period different=
 from the period of the refund application. The application is submitted =
in reference to a specific period (1T, 2T, 3T or annual) and input tax in=
 other periods is not considered.
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"70">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+Additional information was requested but was not provided in time
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"80">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+The pro-rata rate mentioned in the request appears to be incorrect with =
regards to the information provided by the competent authority of your Me=
mber State of establishment
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"81">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+The taxable amount or/and VAT amount specified in the request are not th=
e ones specified in the import/invoice document
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"82">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+The claimed amount does not correspond to a legitimate VAT
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"83">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+The nature of the goods and services does not justify a VAT refund with =
regards to the specified business activities
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"84">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+The classification code or sub-code is incorrect with regards to the inf=
ormation available on the import/invoice document
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"85">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+Based on the nature of the goods and services, the deductible VAT amount=
 is limited to a given percentage
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"95">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+VAT Refund application partially evaluated (Non-final decision)
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"99"/>
+		</xs:restriction>
+	</xs:simpleType>
+</xs:schema>

Added: trunk/transform/unit-test/xsd/fiscalismessage_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/fiscalismessage_v1.xsd	                =
        (rev 0)
+++ trunk/transform/unit-test/xsd/fiscalismessage_v1.xsd	2014-01-28 17:03=
:22 UTC (rev 670)
@@ -0,0 +1,43 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<xs:schema xmlns=3D"urn:ec.europa.eu:taxud:fiscalis:message:v1" xmlns:cm=
=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:xs=3D"http://www.w3.=
org/2001/XMLSchema" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:me=
ssage:v1" elementFormDefault=3D"qualified" version=3D"1.0" xml:lang=3D"en=
">
+	<xs:annotation>
+		<xs:documentation xml:lang=3D"en">
+		=3D=3D=3D HISTORY=3D=3D=3D
+		- Version 1.0: first issue of the schema as part of the Technical Spec=
ifications.
+		</xs:documentation>
+	</xs:annotation>
+	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
+	<xs:element name=3D"FiscalisMessage">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name=3D"Header" type=3D"Header_Type"/>
+				<xs:element name=3D"Body" type=3D"Body_Type"/>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+	<xs:complexType name=3D"Body_Type">
+		<xs:sequence>
+			<xs:element ref=3D"AbstractBody"/>
+		</xs:sequence>
+		<xs:attribute name=3D"applicationId" use=3D"required"/>
+	</xs:complexType>
+	<xs:element name=3D"AbstractBody" abstract=3D"true"/>
+	<xs:complexType name=3D"Header_Type">
+		<xs:annotation>
+			<xs:documentation>Header of generic tax message</xs:documentation>
+		</xs:annotation>
+		<xs:sequence>
+			<xs:element name=3D"OriginatingCountry" type=3D"cm:EUCountryIsoCodeAl=
pha2_Type"/>
+			<xs:element name=3D"DestinationCountries" type=3D"cm:EUCountryIsoCode=
Alpha2List_Type"/>
+			<xs:element name=3D"MessageId" type=3D"cm:MsgId_Type"/>
+			<xs:element name=3D"CorrelationId" type=3D"cm:MsgId_Type" minOccurs=3D=
"0"/>
+			<xs:element name=3D"Timestamp" type=3D"xs:dateTime"/>
+			<xs:element name=3D"ResponseRequired" type=3D"xs:date" minOccurs=3D"0=
"/>
+			<xs:element name=3D"Language" type=3D"xs:language" minOccurs=3D"0">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">The language of the document. May=
 be overloaded in some elements by a language attribute</xs:documentation=
>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+</xs:schema>

Added: trunk/transform/unit-test/xsd/goodsdescriptiontypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/goodsdescriptiontypes_v1.xsd	          =
              (rev 0)
+++ trunk/transform/unit-test/xsd/goodsdescriptiontypes_v1.xsd	2014-01-28=
 17:03:22 UTC (rev 670)
@@ -0,0 +1,92 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" targetNamespace=
=3D"urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"q=
ualified" attributeFormDefault=3D"unqualified" version=3D"1.01">
+	<xs:annotation>
+		<xs:documentation xml:lang=3D"en"><![CDATA[
+			List of Goods Description types and sub-types
+			=3D=3D=3D HISTORY=3D=3D=3D=20
+			Version 1.02 - Modify pattern of the GoodsDescriptionSubCode_Type (20=
/08/2010)
+									   to have x.y.z with y and z both optional
+			Version 1.01 - add pattern to the GoodsDescriptionSubCode_Type (20/03=
/2009)
+			Version 1.00 - first release of the schema to the Member States=20
+			]]></xs:documentation>
+	</xs:annotation>
+	<xs:simpleType name=3D"GoodsDescriptionCode_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"1">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				fuel
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"2">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				hiring of means of transport
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"3">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				expenditure relating to means of transport (other than the goods and=
 services referred to under codes 1 and 2
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"4">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				road tolls and road user charge
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"5">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				travel expenses, such as taxi fares, public transport fares
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"6">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				accommodation
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"7">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				food, drink and restaurant services
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"8">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				admissions to fares and exhibitions
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"9">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				expenditure on luxuries, amusements and entertainment
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"10">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+				other
+			</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"GoodsDescriptionSubCode_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"([0-9]{1,2}){1}(\.\d{1,2}){0,2}"/>
+		</xs:restriction>
+	</xs:simpleType>
+</xs:schema>

Added: trunk/transform/unit-test/xsd/isotypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/isotypes_v1.xsd	                       =
 (rev 0)
+++ trunk/transform/unit-test/xsd/isotypes_v1.xsd	2014-01-28 17:03:22 UTC=
 (rev 670)
@@ -0,0 +1,936 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<xsd:schema xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" elementFormDe=
fault=3D"qualified" attributeFormDefault=3D"unqualified">
+
+	<!--  ISO 3166 alpha 2 Country Code -->
+	<!--HISTORY
+=09
+		09/12/2010 -
+		Move IC, XI, and XJ country codes to MSCountryCode_Type
+	=09
+		17/11/2010 - v1.1
+			Add country codes: IC, XI, XJ, CW, NM, BQ
+			Country code AN is obsolete but kept for backward compatiblity reason=
s
+
+	=09
+		20/05/2009 -=20
+		Add country codes for Serbia, Montenegro, Aland Islands, Saint Martin,=
 Saint Barthelemy, Jersey, Guernsey, Isle of Man
+
+		Modify currency codes:
+		AZM->AZN
+		BGL->BGN
+		AFA->AFN
+		GHC->GHS
+		MZM->MZN
+		RUR->RUB
+		SDD->SDG
+		SRG->SRD
+		TRL->TRY
+		VEB->VEF
+		ZWD->ZWL
+		MGF->MGA
+		=09
+		Remove currency codes CYP, GGP, JEP, IMP, ROL, SPL, YUM, XAG, XAU, XPT=
, MTL, SIT, SKK	=09
+		Add currency codes GWP, MXV, CLF, CUC, BOV, RSD
+	-->
+	<xsd:simpleType name=3D"CountryCode_Type">
+		<xsd:union memberTypes=3D"CountryCodeExMS_Type MSCountryCode_Type"/>
+	</xsd:simpleType>
+=09
+	<xsd:simpleType name=3D"CountryCodeExMS_Type">
+		<xsd:annotation>
+			<xsd:documentation xml:lang=3D"en">
+			The appropriate country code from the ISO 3166 two-byte alpha version=
 for the state in which the party concerned is a resident. Omit this only=
 if  no data is available.
+			This list excludes Member States of the European Union
+The following entries must not be used:
+	- AN --  NETHERLANDS ANTILLES
+Valid entries are:
+	- AF --  AFGHANISTAN=20
+	- AX --  =C3=85LAND ISLANDS
+	- AL --  ALBANIA=20
+	- DZ --  ALGERIA=20
+	- AS --  AMERICAN SAMOA=20
+	- AD --  ANDORRA=20
+	- AO --  ANGOLA=20
+	- AI --  ANGUILLA=20
+	- AQ --  ANTARCTICA=20
+	- AG --  ANTIGUA AND BARBUDA=20
+	- AR --  ARGENTINA=20
+	- AM --  ARMENIA=20
+	- AW --  ARUBA=20
+	- AU --  AUSTRALIA=20
+	- AT --  AUSTRIA=20
+	- AZ --  AZERBAIJAN=20
+	- BS --  BAHAMAS=20
+	- BH --  BAHRAIN=20
+	- BD --  BANGLADESH=20
+	- BB --  BARBADOS=20
+	- BY --  BELARUS=20
+	- BE --  BELGIUM=20
+	- BZ --  BELIZE=20
+	- BJ --  BENIN=20
+	- BM --  BERMUDA=20
+	- BT --  BHUTAN=20
+	- BO --  BOLIVIA=20
+	- BA --  BOSNIA AND HERZEGOVINA=20
+	- BW --  BOTSWANA=20
+	- BV --  BOUVET ISLAND=20
+	- BR --  BRAZIL=20
+	- IO --  BRITISH INDIAN OCEAN TERRITORY=20
+	- BN --  BRUNEI DARUSSALAM=20
+	- BG --  BULGARIA=20
+	- BF --  BURKINA FASO=20
+	- BI --  BURUNDI=20
+	- KH --  CAMBODIA=20
+	- CM --  CAMEROON=20
+	- CA --  CANADA=20
+	- CV --  CAPE VERDE=20
+	- KY --  CAYMAN ISLANDS=20
+	- CF --  CENTRAL AFRICAN REPUBLIC=20
+	- TD --  CHAD=20
+	- CL --  CHILE=20
+	- CN --  CHINA=20
+	- CX --  CHRISTMAS ISLAND=20
+	- CC --  COCOS (KEELING) ISLANDS=20
+	- CO --  COLOMBIA=20
+	- KM --  COMOROS=20
+	- CG --  CONGO=20
+	- CD --  CONGO, THE DEMOCRATIC REPUBLIC OF THE=20
+	- CK --  COOK ISLANDS=20
+	- CR --  COSTA RICA=20
+	- CI --  COTE D'IVOIRE=20
+	- HR --  CROATIA=20
+	- CU --  CUBA=20
+	- CY --  CYPRUS=20
+	- CZ --  CZECH REPUBLIC=20
+	- DK --  DENMARK=20
+	- DJ --  DJIBOUTI=20
+	- DM --  DOMINICA=20
+	- DO --  DOMINICAN REPUBLIC=20
+	- EC --  ECUADOR=20
+	- EG --  EGYPT=20
+	- SV --  EL SALVADOR=20
+	- GQ --  EQUATORIAL GUINEA=20
+	- ER --  ERITREA=20
+	- EE --  ESTONIA=20
+	- ET --  ETHIOPIA=20
+	- FK --  FALKLAND ISLANDS (MALVINAS)=20
+	- FO --  FAROE ISLANDS=20
+	- FJ --  FIJI=20
+	- FI --  FINLAND=20
+	- FR --  FRANCE=20
+	- GF --  FRENCH GUIANA=20
+	- PF --  FRENCH POLYNESIA=20
+	- TF --  FRENCH SOUTHERN TERRITORIES=20
+	- GA --  GABON=20
+	- GM --  GAMBIA=20
+	- GE --  GEORGIA=20
+	- DE --  GERMANY=20
+	- GH --  GHANA=20
+	- GI --  GIBRALTAR=20
+	- GR --  GREECE=20
+	- GL --  GREENLAND=20
+	- GD --  GRENADA=20
+	- GP --  GUADELOUPE=20
+	- GU --  GUAM=20
+	- GT --  GUATEMALA=20
+	- GG --  GUERNSEY
+	- GN --  GUINEA=20
+	- GW --  GUINEA-BISSAU=20
+	- GY --  GUYANA=20
+	- HT --  HAITI=20
+	- HM --  HEARD ISLAND AND MCDONALD ISLANDS=20
+	- VA --  HOLY SEE (VATICAN CITY STATE)=20
+	- HN --  HONDURAS=20
+	- HK --  HONG KONG=20
+	- HU --  HUNGARY=20
+	- IS --  ICELAND=20
+	- IN --  INDIA=20
+	- ID --  INDONESIA=20
+	- IR --  IRAN, ISLAMIC REPUBLIC OF=20
+	- IQ --  IRAQ=20
+	- IE --  IRELAND=20
+	- IM --  ISLE OF MAN
+	- IL --  ISRAEL=20
+	- IT --  ITALY=20
+	- JM --  JAMAICA=20
+	- JP --  JAPAN=20
+	- JE --	 JERSEY
+	- JO --  JORDAN=20
+	- KZ --  KAZAKHSTAN=20
+	- KE --  KENYA=20
+	- KI --  KIRIBATI=20
+	- KP --  KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF=20
+	- KR --  KOREA, REPUBLIC OF=20
+	- KW --  KUWAIT=20
+	- KG --  KYRGYZSTAN=20
+	- LA --  LAO PEOPLE'S DEMOCRATIC REPUBLIC=20
+	- LV --  LATVIA=20
+	- LB --  LEBANON=20
+	- LS --  LESOTHO=20
+	- LR --  LIBERIA=20
+	- LY --  LIBYAN ARAB JAMAHIRIYA=20
+	- LI --  LIECHTENSTEIN=20
+	- LT --  LITHUANIA=20
+	- LU --  LUXEMBOURG=20
+	- MO --  MACAO=20
+	- MK --  MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF=20
+	- MG --  MADAGASCAR=20
+	- MW --  MALAWI=20
+	- MY --  MALAYSIA=20
+	- MV --  MALDIVES=20
+	- ML --  MALI=20
+	- MT --  MALTA=20
+	- MH --  MARSHALL ISLANDS=20
+	- MQ --  MARTINIQUE=20
+	- MR --  MAURITANIA=20
+	- MU --  MAURITIUS=20
+	- YT --  MAYOTTE=20
+	- MX --  MEXICO=20
+	- FM --  MICRONESIA, FEDERATED STATES OF=20
+	- MD --  MOLDOVA, REPUBLIC OF=20
+	- MC --  MONACO=20
+	- MN --  MONGOLIA=20
+	- ME --  MONTENEGRO
+	- MS --  MONTSERRAT=20
+	- MA --  MOROCCO=20
+	- MZ --  MOZAMBIQUE=20
+	- MM --  MYANMAR=20
+	- NA --  NAMIBIA=20
+	- NR --  NAURU=20
+	- NP --  NEPAL=20
+	- NL --  NETHERLANDS=20
+	- NC --  NEW CALEDONIA=20
+	- NZ --  NEW ZEALAND=20
+	- NI --  NICARAGUA=20
+	- NE --  NIGER=20
+	- NG --  NIGERIA=20
+	- NU --  NIUE=20
+	- NF --  NORFOLK ISLAND=20
+	- MP --  NORTHERN MARIANA ISLANDS=20
+	- NO --  NORWAY=20
+	- OM --  OMAN=20
+	- PK --  PAKISTAN=20
+	- PW --  PALAU=20
+	- PS --  PALESTINIAN TERRITORY, OCCUPIED=20
+	- PA --  PANAMA=20
+	- PG --  PAPUA NEW GUINEA=20
+	- PY --  PARAGUAY=20
+	- PE --  PERU=20
+	- PH --  PHILIPPINES=20
+	- PN --  PITCAIRN=20
+	- PL --  POLAND=20
+	- PT --  PORTUGAL=20
+	- PR --  PUERTO RICO=20
+	- QA --  QATAR=20
+	- RE --  REUNION=20
+	- RO --  ROMANIA=20
+	- RU --  RUSSIAN FEDERATION=20
+	- RW --  RWANDA=20
+	- BL --  SAINT BARTH=C3=89LEMY
+	- SH --  SAINT HELENA=20
+	- KN --  SAINT KITTS AND NEVIS=20
+	- LC --  SAINT LUCIA=20
+	- MF --  SAINT MARTIN
+	- PM --  SAINT PIERRE AND MIQUELON=20
+	- VC --  SAINT VINCENT AND THE GRENADINES=20
+	- WS --  SAMOA=20
+	- SM --  SAN MARINO=20
+	- ST --  SAO TOME AND PRINCIPE=20
+	- SA --  SAUDI ARABIA=20
+	- SN --  SENEGAL=20
+	- RS --  SERBIA
+	- SC --  SEYCHELLES=20
+	- SL --  SIERRA LEONE=20
+	- SG --  SINGAPORE=20
+	- SK --  SLOVAKIA=20
+	- SI --  SLOVENIA=20
+	- SB --  SOLOMON ISLANDS=20
+	- SO --  SOMALIA=20
+	- ZA --  SOUTH AFRICA=20
+	- GS --  SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS=20
+	- ES --  SPAIN=20
+	- LK --  SRI LANKA=20
+	- SD --  SUDAN=20
+	- SR --  SURINAME=20
+	- SJ --  SVALBARD AND JAN MAYEN=20
+	- SZ --  SWAZILAND=20
+	- SE --  SWEDEN=20
+	- CH --  SWITZERLAND=20
+	- SY --  SYRIAN ARAB REPUBLIC=20
+	- TW --  TAIWAN, PROVINCE OF CHINA=20
+	- TJ --  TAJIKISTAN=20
+	- TZ --  TANZANIA, UNITED REPUBLIC OF=20
+	- TH --  THAILAND=20
+	- TL --  TIMOR-LESTE=20
+	- TG --  TOGO=20
+	- TK --  TOKELAU=20
+	- TO --  TONGA=20
+	- TT --  TRINIDAD AND TOBAGO=20
+	- TN --  TUNISIA=20
+	- TR --  TURKEY=20
+	- TM --  TURKMENISTAN=20
+	- TC --  TURKS AND CAICOS ISLANDS=20
+	- TV --  TUVALU=20
+	- UG --  UGANDA=20
+	- UA --  UKRAINE=20
+	- AE --  UNITED ARAB EMIRATES=20
+	- GB --  UNITED KINGDOM=20
+	- US --  UNITED STATES=20
+	- UM --  UNITED STATES MINOR OUTLYING ISLANDS=20
+	- UY --  URUGUAY=20
+	- UZ --  UZBEKISTAN=20
+	- VU --  VANUATU=20
+	- VE --  VENEZUELA, BOLIVARIAN REPUBLIC OF
+	- VN --  VIET NAM=20
+	- VG --  VIRGIN ISLANDS, BRITISH=20
+	- VI --  VIRGIN ISLANDS, U.S.=20
+	- WF --  WALLIS AND FUTUNA=20
+	- EH --  WESTERN SAHARA=20
+	- YE --  YEMEN=20
+	- ZM --  ZAMBIA=20
+	- ZW --  ZIMBABWE=20
+	- IC --  CANARY ISLANDS
+	- XI --  CEUTA
+	- XJ --  MELILLA
+	- CW --  CURACAO
+	- NM --  SAINT MARTIN (DUTCH PART)
+	- BQ --  BONAIRE, SAINT EUSTATIUS AND SABA
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base=3D"xsd:string">
+			<xsd:enumeration value=3D"AF"/>
+			<xsd:enumeration value=3D"AX"/>
+			<xsd:enumeration value=3D"AL"/>
+			<xsd:enumeration value=3D"DZ"/>
+			<xsd:enumeration value=3D"AS"/>
+			<xsd:enumeration value=3D"AD"/>
+			<xsd:enumeration value=3D"AO"/>
+			<xsd:enumeration value=3D"AI"/>
+			<xsd:enumeration value=3D"AQ"/>
+			<xsd:enumeration value=3D"AG"/>
+			<xsd:enumeration value=3D"AR"/>
+			<xsd:enumeration value=3D"AM"/>
+			<xsd:enumeration value=3D"AW"/>
+			<xsd:enumeration value=3D"AU"/>
+			<xsd:enumeration value=3D"AZ"/>
+			<xsd:enumeration value=3D"BS"/>
+			<xsd:enumeration value=3D"BH"/>
+			<xsd:enumeration value=3D"BD"/>
+			<xsd:enumeration value=3D"BB"/>
+			<xsd:enumeration value=3D"BY"/>
+			<xsd:enumeration value=3D"BZ"/>
+			<xsd:enumeration value=3D"BJ"/>
+			<xsd:enumeration value=3D"BM"/>
+			<xsd:enumeration value=3D"BT"/>
+			<xsd:enumeration value=3D"BO"/>
+			<xsd:enumeration value=3D"BA"/>
+			<xsd:enumeration value=3D"BW"/>
+			<xsd:enumeration value=3D"BV"/>
+			<xsd:enumeration value=3D"BR"/>
+			<xsd:enumeration value=3D"IO"/>
+			<xsd:enumeration value=3D"BN"/>
+			<xsd:enumeration value=3D"BF"/>
+			<xsd:enumeration value=3D"BI"/>
+			<xsd:enumeration value=3D"KH"/>
+			<xsd:enumeration value=3D"CM"/>
+			<xsd:enumeration value=3D"CA"/>
+			<xsd:enumeration value=3D"CV"/>
+			<xsd:enumeration value=3D"KY"/>
+			<xsd:enumeration value=3D"CF"/>
+			<xsd:enumeration value=3D"TD"/>
+			<xsd:enumeration value=3D"CL"/>
+			<xsd:enumeration value=3D"CN"/>
+			<xsd:enumeration value=3D"CX"/>
+			<xsd:enumeration value=3D"CC"/>
+			<xsd:enumeration value=3D"CO"/>
+			<xsd:enumeration value=3D"KM"/>
+			<xsd:enumeration value=3D"CG"/>
+			<xsd:enumeration value=3D"CD"/>
+			<xsd:enumeration value=3D"CK"/>
+			<xsd:enumeration value=3D"CR"/>
+			<xsd:enumeration value=3D"CI"/>
+			<xsd:enumeration value=3D"HR"/>
+			<xsd:enumeration value=3D"CU"/>
+			<xsd:enumeration value=3D"DJ"/>
+			<xsd:enumeration value=3D"DM"/>
+			<xsd:enumeration value=3D"DO"/>
+			<xsd:enumeration value=3D"EC"/>
+			<xsd:enumeration value=3D"EG"/>
+			<xsd:enumeration value=3D"SV"/>
+			<xsd:enumeration value=3D"GQ"/>
+			<xsd:enumeration value=3D"ER"/>
+			<xsd:enumeration value=3D"ET"/>
+			<xsd:enumeration value=3D"FK"/>
+			<xsd:enumeration value=3D"FO"/>
+			<xsd:enumeration value=3D"FJ"/>
+			<xsd:enumeration value=3D"GF"/>
+			<xsd:enumeration value=3D"PF"/>
+			<xsd:enumeration value=3D"TF"/>
+			<xsd:enumeration value=3D"GA"/>
+			<xsd:enumeration value=3D"GM"/>
+			<xsd:enumeration value=3D"GE"/>
+			<xsd:enumeration value=3D"GH"/>
+			<xsd:enumeration value=3D"GI"/>
+			<xsd:enumeration value=3D"GL"/>
+			<xsd:enumeration value=3D"GD"/>
+			<xsd:enumeration value=3D"GP"/>
+			<xsd:enumeration value=3D"GU"/>
+			<xsd:enumeration value=3D"GT"/>
+			<xsd:enumeration value=3D"GG"/>
+			<xsd:enumeration value=3D"GN"/>
+			<xsd:enumeration value=3D"GW"/>
+			<xsd:enumeration value=3D"GY"/>
+			<xsd:enumeration value=3D"HT"/>
+			<xsd:enumeration value=3D"HM"/>
+			<xsd:enumeration value=3D"VA"/>
+			<xsd:enumeration value=3D"HN"/>
+			<xsd:enumeration value=3D"HK"/>
+			<xsd:enumeration value=3D"IS"/>
+			<xsd:enumeration value=3D"IN"/>
+			<xsd:enumeration value=3D"ID"/>
+			<xsd:enumeration value=3D"IR"/>
+			<xsd:enumeration value=3D"IQ"/>
+			<xsd:enumeration value=3D"IM"/>
+			<xsd:enumeration value=3D"IL"/>
+			<xsd:enumeration value=3D"JM"/>
+			<xsd:enumeration value=3D"JP"/>
+			<xsd:enumeration value=3D"JE"/>
+			<xsd:enumeration value=3D"JO"/>
+			<xsd:enumeration value=3D"KZ"/>
+			<xsd:enumeration value=3D"KE"/>
+			<xsd:enumeration value=3D"KI"/>
+			<xsd:enumeration value=3D"KP"/>
+			<xsd:enumeration value=3D"KR"/>
+			<xsd:enumeration value=3D"KW"/>
+			<xsd:enumeration value=3D"KG"/>
+			<xsd:enumeration value=3D"LA"/>
+			<xsd:enumeration value=3D"LB"/>
+			<xsd:enumeration value=3D"LS"/>
+			<xsd:enumeration value=3D"LR"/>
+			<xsd:enumeration value=3D"LY"/>
+			<xsd:enumeration value=3D"LI"/>
+			<xsd:enumeration value=3D"MO"/>
+			<xsd:enumeration value=3D"MK"/>
+			<xsd:enumeration value=3D"MG"/>
+			<xsd:enumeration value=3D"MW"/>
+			<xsd:enumeration value=3D"MY"/>
+			<xsd:enumeration value=3D"MV"/>
+			<xsd:enumeration value=3D"ML"/>
+			<xsd:enumeration value=3D"MH"/>
+			<xsd:enumeration value=3D"MQ"/>
+			<xsd:enumeration value=3D"MR"/>
+			<xsd:enumeration value=3D"MU"/>
+			<xsd:enumeration value=3D"YT"/>
+			<xsd:enumeration value=3D"MX"/>
+			<xsd:enumeration value=3D"FM"/>
+			<xsd:enumeration value=3D"MD"/>
+			<xsd:enumeration value=3D"MC"/>
+			<xsd:enumeration value=3D"MN"/>
+			<xsd:enumeration value=3D"ME"/>
+			<xsd:enumeration value=3D"MS"/>
+			<xsd:enumeration value=3D"MA"/>
+			<xsd:enumeration value=3D"MZ"/>
+			<xsd:enumeration value=3D"MM"/>
+			<xsd:enumeration value=3D"NA"/>
+			<xsd:enumeration value=3D"NR"/>
+			<xsd:enumeration value=3D"NP"/>
+			<xsd:enumeration value=3D"AN"/>
+			<xsd:enumeration value=3D"NC"/>
+			<xsd:enumeration value=3D"NZ"/>
+			<xsd:enumeration value=3D"NI"/>
+			<xsd:enumeration value=3D"NE"/>
+			<xsd:enumeration value=3D"NG"/>
+			<xsd:enumeration value=3D"NU"/>
+			<xsd:enumeration value=3D"NF"/>
+			<xsd:enumeration value=3D"MP"/>
+			<xsd:enumeration value=3D"NO"/>
+			<xsd:enumeration value=3D"OM"/>
+			<xsd:enumeration value=3D"PK"/>
+			<xsd:enumeration value=3D"PW"/>
+			<xsd:enumeration value=3D"PS"/>
+			<xsd:enumeration value=3D"PA"/>
+			<xsd:enumeration value=3D"PG"/>
+			<xsd:enumeration value=3D"PY"/>
+			<xsd:enumeration value=3D"PE"/>
+			<xsd:enumeration value=3D"PH"/>
+			<xsd:enumeration value=3D"PN"/>
+			<xsd:enumeration value=3D"PR"/>
+			<xsd:enumeration value=3D"QA"/>
+			<xsd:enumeration value=3D"RE"/>
+			<xsd:enumeration value=3D"RU"/>
+			<xsd:enumeration value=3D"RW"/>
+			<xsd:enumeration value=3D"BL"/>
+			<xsd:enumeration value=3D"SH"/>
+			<xsd:enumeration value=3D"KN"/>
+			<xsd:enumeration value=3D"LC"/>
+			<xsd:enumeration value=3D"MF"/>
+			<xsd:enumeration value=3D"PM"/>
+			<xsd:enumeration value=3D"VC"/>
+			<xsd:enumeration value=3D"WS"/>
+			<xsd:enumeration value=3D"SM"/>
+			<xsd:enumeration value=3D"ST"/>
+			<xsd:enumeration value=3D"SA"/>
+			<xsd:enumeration value=3D"SN"/>
+			<xsd:enumeration value=3D"RS"/>
+			<xsd:enumeration value=3D"SC"/>
+			<xsd:enumeration value=3D"SL"/>
+			<xsd:enumeration value=3D"SG"/>
+			<xsd:enumeration value=3D"SB"/>
+			<xsd:enumeration value=3D"SO"/>
+			<xsd:enumeration value=3D"ZA"/>
+			<xsd:enumeration value=3D"GS"/>
+			<xsd:enumeration value=3D"LK"/>
+			<xsd:enumeration value=3D"SD"/>
+			<xsd:enumeration value=3D"SR"/>
+			<xsd:enumeration value=3D"SJ"/>
+			<xsd:enumeration value=3D"SZ"/>
+			<xsd:enumeration value=3D"CH"/>
+			<xsd:enumeration value=3D"SY"/>
+			<xsd:enumeration value=3D"TW"/>
+			<xsd:enumeration value=3D"TJ"/>
+			<xsd:enumeration value=3D"TZ"/>
+			<xsd:enumeration value=3D"TH"/>
+			<xsd:enumeration value=3D"TL"/>
+			<xsd:enumeration value=3D"TG"/>
+			<xsd:enumeration value=3D"TK"/>
+			<xsd:enumeration value=3D"TO"/>
+			<xsd:enumeration value=3D"TT"/>
+			<xsd:enumeration value=3D"TN"/>
+			<xsd:enumeration value=3D"TR"/>
+			<xsd:enumeration value=3D"TM"/>
+			<xsd:enumeration value=3D"TC"/>
+			<xsd:enumeration value=3D"TV"/>
+			<xsd:enumeration value=3D"UG"/>
+			<xsd:enumeration value=3D"UA"/>
+			<xsd:enumeration value=3D"AE"/>
+			<xsd:enumeration value=3D"US"/>
+			<xsd:enumeration value=3D"UM"/>
+			<xsd:enumeration value=3D"UY"/>
+			<xsd:enumeration value=3D"UZ"/>
+			<xsd:enumeration value=3D"VU"/>
+			<xsd:enumeration value=3D"VE"/>
+			<xsd:enumeration value=3D"VN"/>
+			<xsd:enumeration value=3D"VG"/>
+			<xsd:enumeration value=3D"VI"/>
+			<xsd:enumeration value=3D"WF"/>
+			<xsd:enumeration value=3D"EH"/>
+			<xsd:enumeration value=3D"YE"/>
+			<xsd:enumeration value=3D"ZM"/>
+			<xsd:enumeration value=3D"ZW"/>
+			<xsd:enumeration value=3D"CW"/>
+			<xsd:enumeration value=3D"NM"/>
+			<xsd:enumeration value=3D"BQ"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name=3D"MSCountryCode_Type">
+		<xsd:restriction base=3D"xsd:string">
+			<xsd:enumeration value=3D"AT"/>
+			<xsd:enumeration value=3D"BE"/>
+			<xsd:enumeration value=3D"BG"/>
+			<xsd:enumeration value=3D"CY"/>
+			<xsd:enumeration value=3D"CZ"/>
+			<xsd:enumeration value=3D"DK"/>
+			<xsd:enumeration value=3D"EE"/>
+			<xsd:enumeration value=3D"FI"/>
+			<xsd:enumeration value=3D"FR"/>
+			<xsd:enumeration value=3D"DE"/>
+			<xsd:enumeration value=3D"EL"/>
+			<xsd:enumeration value=3D"HU"/>
+			<xsd:enumeration value=3D"IE"/>
+			<xsd:enumeration value=3D"IT"/>
+			<xsd:enumeration value=3D"LV"/>
+			<xsd:enumeration value=3D"LT"/>
+			<xsd:enumeration value=3D"LU"/>
+			<xsd:enumeration value=3D"MT"/>
+			<xsd:enumeration value=3D"NL"/>
+			<xsd:enumeration value=3D"PL"/>
+			<xsd:enumeration value=3D"PT"/>
+			<xsd:enumeration value=3D"RO"/>
+			<xsd:enumeration value=3D"SK"/>
+			<xsd:enumeration value=3D"SI"/>
+			<xsd:enumeration value=3D"ES"/>
+			<xsd:enumeration value=3D"SE"/>
+			<xsd:enumeration value=3D"GB"/>
+			<xsd:enumeration value=3D"IC"/>
+			<xsd:enumeration value=3D"XI"/>
+			<xsd:enumeration value=3D"XJ"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<!--  ISO 4217 alpha 3 Currency Code -->
+	<xsd:simpleType name=3D"currCode_Type">
+		<xsd:annotation>
+			<xsd:documentation xml:lang=3D"en">
+			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed.=20
+Valid entries are:
+AED United Arab Emirates, Dirhams=20
+AFN Afghanistan, Afghanis=20
+ALL Albania, Leke=20
+AMD Armenia, Drams=20
+ANG Netherlands Antilles, Guilders=20
+AOA Angola, Kwanza=20
+ARS Argentina, Pesos=20
+AUD Australia, Dollars=20
+AWG Aruba, Guilders=20
+AZN Azerbaijan, Manats=20
+BAM Bosnia and Herzegovina, Convertible Marka=20
+BBD Barbados, Dollars=20
+BDT Bangladesh, Taka=20
+BGN Bulgaria, Leva=20
+BHD Bahrain, Dinars=20
+BIF Burundi, Francs=20
+BMD Bermuda, Dollars=20
+BND Brunei Darussalam, Dollars=20
+BOB Bolivia, Bolivianos=20
+BOV Bolivia, Mvdol
+BRL Brazil, Brazil Real=20
+BSD Bahamas, Dollars=20
+BTN Bhutan, Ngultrum=20
+BWP Botswana, Pulas=20
+BYR Belarus, Rubles=20
+BZD Belize, Dollars=20
+CAD Canada, Dollars=20
+CDF Congo/Kinshasa, Congolese Francs=20
+CHF Switzerland, Francs=20
+CLF Chile, Unidades de fomento=20
+CLP Chile, Pesos=20
+CNY China, Yuan Renminbi=20
+COP Colombia, Pesos=20
+COU Colombia, Unidad de Valor Real
+CRC Costa Rica, Colones=20
+CUC Cuba, Convertible Pesos=20
+CUP Cuba, Pesos=20
+CVE Cape Verde, Escudos=20
+CZK Czech Republic, Koruny=20
+DJF Djibouti, Francs=20
+DKK Denmark, Kroner=20
+DOP Dominican Republic, Pesos=20
+DZD Algeria, Algeria Dinars=20
+EEK Estonia, Krooni=20
+EGP Egypt, Pounds=20
+ERN Eritrea, Nakfa=20
+ETB Ethiopia, Birr=20
+EUR Euro Member Countries, Euro=20
+FJD Fiji, Dollars=20
+FKP Falkland Islands (Malvinas), Pounds=20
+GBP United Kingdom, Pounds=20
+GEL Georgia, Lari=20
+GHS Ghana, Cedis=20
+GIP Gibraltar, Pounds=20
+GMD Gambia, Dalasi=20
+GNF Guinea, Francs=20
+GTQ Guatemala, Quetzales=20
+GWP Guinea-Bissau Peso
+GYD Guyana, Dollars=20
+HKD Hong Kong, Dollars=20
+HNL Honduras, Lempiras=20
+HRK Croatia, Kuna=20
+HTG Haiti, Gourdes=20
+HUF Hungary, Forint=20
+IDR Indonesia, Rupiahs=20
+ILS Israel, New Shekels=20
+INR India, Rupees=20
+IQD Iraq, Dinars=20
+IRR Iran, Rials=20
+ISK Iceland, Kronur =20
+JMD Jamaica, Dollars=20
+JOD Jordan, Dinars=20
+JPY Japan, Yen=20
+KES Kenya, Shillings=20
+KGS Kyrgyzstan, Soms=20
+KHR Cambodia, Riels=20
+KMF Comoros, Francs=20
+KPW Korea (North), Won=20
+KRW Korea (South), Won=20
+KWD Kuwait, Dinars=20
+KYD Cayman Islands, Dollars=20
+KZT Kazakstan, Tenge=20
+LAK Laos, Kips=20
+LBP Lebanon, Pounds=20
+LKR Sri Lanka, Rupees=20
+LRD Liberia, Dollars=20
+LSL Lesotho, Maloti=20
+LTL Lithuania, Litai=20
+LVL Latvia, Lati=20
+LYD Libya, Dinars=20
+MAD Morocco, Dirhams=20
+MDL Moldova, Lei=20
+MGA Madagascar, Malagasy Ariary=20
+MKD Macedonia, Denars=20
+MMK Myanmar (Burma), Kyats=20
+MNT Mongolia, Tugriks=20
+MOP Macau, Patacas=20
+MRO Mauritania, Ouguiyas=20
+MTL Malta, Liri=20
+MUR Mauritius, Rupees=20
+MVR Maldives (Maldive Islands), Rufiyaa=20
+MWK Malawi, Kwachas=20
+MXN Mexico, Pesos=20
+MXV Mexico, Mexican Unidad de Inversion
+MYR Malaysia, Ringgits=20
+MZN Mozambique, Meticais=20
+NAD Namibia, Dollars=20
+NGN Nigeria, Nairas=20
+NIO Nicaragua, Gold Cordobas=20
+NOK Norway, Krone=20
+NPR Nepal, Nepal Rupees=20
+NZD New Zealand, Dollars=20
+OMR Oman, Rials=20
+PAB Panama, Balboa=20
+PEN Peru, Nuevos Soles=20
+PGK Papua New Guinea, Kina=20
+PHP Philippines, Pesos=20
+PKR Pakistan, Rupees=20
+PLN Poland, Zlotych=20
+PYG Paraguay, Guarani=20
+QAR Qatar, Rials=20
+RON Romania, New Lei=20
+RSD Serbian Dinar
+RUB Russia, Rubles=20
+RWF Rwanda, Rwanda Francs=20
+SAR Saudi Arabia, Riyals=20
+SBD Solomon Islands, Dollars=20
+SCR Seychelles, Rupees=20
+SDG Sudan, Dinars=20
+SEK Sweden, Kronor=20
+SGD Singapore, Dollars=20
+SHP Saint Helena, Pounds=20
+SLL Sierra Leone, Leones=20
+SOS Somalia, Shillings=20
+SRD Suriname, Dollar=20
+STD S=C3=A3o Tome and Principe, Dobras=20
+SVC El Salvador, Colones=20
+SYP Syria, Pounds=20
+SZL Swaziland, Emalangeni=20
+THB Thailand, Baht=20
+TJS Tajikistan, Somoni=20
+TMT Turkmenistan, Manats=20
+TND Tunisia, Dinars=20
+TOP Tonga, Pa'anga=20
+TRY Turkey, Liras=20
+TTD Trinidad and Tobago, Dollars=20
+TWD Taiwan, New Dollars=20
+TZS Tanzania, Shillings=20
+UAH Ukraine, Hryvnia=20
+UGX Uganda, Shillings=20
+USD United States of America, Dollars=20
+UYU Uruguay, Pesos=20
+UZS Uzbekistan, Sums=20
+VEF Venezuela, Bolivares=20
+VND Viet Nam, Dong=20
+VUV Vanuatu, Vatu=20
+WST Samoa, Tala=20
+XAF Communaut=C3=A9 Financi=C3=A8re Africaine BEAC, Francs=20
+XCD East Caribbean Dollars=20
+XOF Communaut=C3=A9 Financi=C3=A8re Africaine BCEAO, Francs=20
+XPD Palladium Ounces=20
+XPF Comptoirs Fran=C3=A7ais du Pacifique Francs=20
+YER Yemen, Rials=20
+ZAR South Africa, Rand=20
+ZMK Zambia, Kwacha=20
+ZWL Zimbabwe, Zimbabwe Dollars=20
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base=3D"xsd:string">
+			<xsd:enumeration value=3D"AED"/>
+			<xsd:enumeration value=3D"AFN"/>
+			<xsd:enumeration value=3D"ALL"/>
+			<xsd:enumeration value=3D"AMD"/>
+			<xsd:enumeration value=3D"ANG"/>
+			<xsd:enumeration value=3D"AOA"/>
+			<xsd:enumeration value=3D"ARS"/>
+			<xsd:enumeration value=3D"AUD"/>
+			<xsd:enumeration value=3D"AWG"/>
+			<xsd:enumeration value=3D"AZN"/>
+			<xsd:enumeration value=3D"BAM"/>
+			<xsd:enumeration value=3D"BBD"/>
+			<xsd:enumeration value=3D"BDT"/>
+			<xsd:enumeration value=3D"BGN"/>
+			<xsd:enumeration value=3D"BHD"/>
+			<xsd:enumeration value=3D"BIF"/>
+			<xsd:enumeration value=3D"BMD"/>
+			<xsd:enumeration value=3D"BND"/>
+			<xsd:enumeration value=3D"BOB"/>
+			<xsd:enumeration value=3D"BOV"/>
+			<xsd:enumeration value=3D"BRL"/>
+			<xsd:enumeration value=3D"BSD"/>
+			<xsd:enumeration value=3D"BTN"/>
+			<xsd:enumeration value=3D"BWP"/>
+			<xsd:enumeration value=3D"BYR"/>
+			<xsd:enumeration value=3D"BZD"/>
+			<xsd:enumeration value=3D"CAD"/>
+			<xsd:enumeration value=3D"CDF"/>
+			<xsd:enumeration value=3D"CHF"/>
+			<xsd:enumeration value=3D"CLF"/>
+			<xsd:enumeration value=3D"CLP"/>
+			<xsd:enumeration value=3D"CNY"/>
+			<xsd:enumeration value=3D"COP"/>
+			<xsd:enumeration value=3D"COU"/>
+			<xsd:enumeration value=3D"CRC"/>
+			<xsd:enumeration value=3D"CUC"/>
+			<xsd:enumeration value=3D"CUP"/>
+			<xsd:enumeration value=3D"CVE"/>
+			<xsd:enumeration value=3D"CZK"/>
+			<xsd:enumeration value=3D"DJF"/>
+			<xsd:enumeration value=3D"DKK"/>
+			<xsd:enumeration value=3D"DOP"/>
+			<xsd:enumeration value=3D"DZD"/>
+			<xsd:enumeration value=3D"EEK"/>
+			<xsd:enumeration value=3D"EGP"/>
+			<xsd:enumeration value=3D"ERN"/>
+			<xsd:enumeration value=3D"ETB"/>
+			<xsd:enumeration value=3D"EUR"/>
+			<xsd:enumeration value=3D"FJD"/>
+			<xsd:enumeration value=3D"FKP"/>
+			<xsd:enumeration value=3D"GBP"/>
+			<xsd:enumeration value=3D"GEL"/>
+			<xsd:enumeration value=3D"GHS"/>
+			<xsd:enumeration value=3D"GIP"/>
+			<xsd:enumeration value=3D"GMD"/>
+			<xsd:enumeration value=3D"GNF"/>
+			<xsd:enumeration value=3D"GTQ"/>
+			<xsd:enumeration value=3D"GWP"/>
+			<xsd:enumeration value=3D"GYD"/>
+			<xsd:enumeration value=3D"HKD"/>
+			<xsd:enumeration value=3D"HNL"/>
+			<xsd:enumeration value=3D"HRK"/>
+			<xsd:enumeration value=3D"HTG"/>
+			<xsd:enumeration value=3D"HUF"/>
+			<xsd:enumeration value=3D"IDR"/>
+			<xsd:enumeration value=3D"ILS"/>
+			<xsd:enumeration value=3D"INR"/>
+			<xsd:enumeration value=3D"IQD"/>
+			<xsd:enumeration value=3D"IRR"/>
+			<xsd:enumeration value=3D"ISK"/>
+			<xsd:enumeration value=3D"JMD"/>
+			<xsd:enumeration value=3D"JOD"/>
+			<xsd:enumeration value=3D"JPY"/>
+			<xsd:enumeration value=3D"KES"/>
+			<xsd:enumeration value=3D"KGS"/>
+			<xsd:enumeration value=3D"KHR"/>
+			<xsd:enumeration value=3D"KMF"/>
+			<xsd:enumeration value=3D"KPW"/>
+			<xsd:enumeration value=3D"KRW"/>
+			<xsd:enumeration value=3D"KWD"/>
+			<xsd:enumeration value=3D"KYD"/>
+			<xsd:enumeration value=3D"KZT"/>
+			<xsd:enumeration value=3D"LAK"/>
+			<xsd:enumeration value=3D"LBP"/>
+			<xsd:enumeration value=3D"LKR"/>
+			<xsd:enumeration value=3D"LRD"/>
+			<xsd:enumeration value=3D"LSL"/>
+			<xsd:enumeration value=3D"LTL"/>
+			<xsd:enumeration value=3D"LVL"/>
+			<xsd:enumeration value=3D"LYD"/>
+			<xsd:enumeration value=3D"MAD"/>
+			<xsd:enumeration value=3D"MDL"/>
+			<xsd:enumeration value=3D"MGA"/>
+			<xsd:enumeration value=3D"MKD"/>
+			<xsd:enumeration value=3D"MMK"/>
+			<xsd:enumeration value=3D"MNT"/>
+			<xsd:enumeration value=3D"MOP"/>
+			<xsd:enumeration value=3D"MRO"/>
+			<xsd:enumeration value=3D"MUR"/>
+			<xsd:enumeration value=3D"MVR"/>
+			<xsd:enumeration value=3D"MWK"/>
+			<xsd:enumeration value=3D"MXN"/>
+			<xsd:enumeration value=3D"MXV"/>
+			<xsd:enumeration value=3D"MYR"/>
+			<xsd:enumeration value=3D"MZN"/>
+			<xsd:enumeration value=3D"NAD"/>
+			<xsd:enumeration value=3D"NGN"/>
+			<xsd:enumeration value=3D"NIO"/>
+			<xsd:enumeration value=3D"NOK"/>
+			<xsd:enumeration value=3D"NPR"/>
+			<xsd:enumeration value=3D"NZD"/>
+			<xsd:enumeration value=3D"OMR"/>
+			<xsd:enumeration value=3D"PAB"/>
+			<xsd:enumeration value=3D"PEN"/>
+			<xsd:enumeration value=3D"PGK"/>
+			<xsd:enumeration value=3D"PHP"/>
+			<xsd:enumeration value=3D"PKR"/>
+			<xsd:enumeration value=3D"PLN"/>
+			<xsd:enumeration value=3D"PYG"/>
+			<xsd:enumeration value=3D"QAR"/>
+			<xsd:enumeration value=3D"RON"/>
+			<xsd:enumeration value=3D"RSD"/>
+			<xsd:enumeration value=3D"RUB"/>
+			<xsd:enumeration value=3D"RWF"/>
+			<xsd:enumeration value=3D"SAR"/>
+			<xsd:enumeration value=3D"SBD"/>
+			<xsd:enumeration value=3D"SCR"/>
+			<xsd:enumeration value=3D"SDG"/>
+			<xsd:enumeration value=3D"SEK"/>
+			<xsd:enumeration value=3D"SGD"/>
+			<xsd:enumeration value=3D"SHP"/>
+			<xsd:enumeration value=3D"SLL"/>
+			<xsd:enumeration value=3D"SOS"/>
+			<xsd:enumeration value=3D"SRD"/>
+			<xsd:enumeration value=3D"STD"/>
+			<xsd:enumeration value=3D"SVC"/>
+			<xsd:enumeration value=3D"SYP"/>
+			<xsd:enumeration value=3D"SZL"/>
+			<xsd:enumeration value=3D"THB"/>
+			<xsd:enumeration value=3D"TJS"/>
+			<xsd:enumeration value=3D"TMT"/>
+			<xsd:enumeration value=3D"TND"/>
+			<xsd:enumeration value=3D"TOP"/>
+			<xsd:enumeration value=3D"TRY"/>
+			<xsd:enumeration value=3D"TTD"/>
+			<xsd:enumeration value=3D"TVD"/>
+			<xsd:enumeration value=3D"TWD"/>
+			<xsd:enumeration value=3D"TZS"/>
+			<xsd:enumeration value=3D"UAH"/>
+			<xsd:enumeration value=3D"UGX"/>
+			<xsd:enumeration value=3D"USD"/>
+			<xsd:enumeration value=3D"UYU"/>
+			<xsd:enumeration value=3D"UZS"/>
+			<xsd:enumeration value=3D"VEF"/>
+			<xsd:enumeration value=3D"VND"/>
+			<xsd:enumeration value=3D"VUV"/>
+			<xsd:enumeration value=3D"WST"/>
+			<xsd:enumeration value=3D"XAF"/>
+			<xsd:enumeration value=3D"XCD"/>
+			<xsd:enumeration value=3D"XOF"/>
+			<xsd:enumeration value=3D"XPD"/>
+			<xsd:enumeration value=3D"XPF"/>
+			<xsd:enumeration value=3D"YER"/>
+			<xsd:enumeration value=3D"ZAR"/>
+			<xsd:enumeration value=3D"ZMK"/>
+			<xsd:enumeration value=3D"ZWL"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:simpleType name=3D"MSCurrCode_Type">
+		<xsd:annotation>
+			<xsd:documentation xml:lang=3D"en">
+			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed. Currency co=
des are limited to those of Member States.
+Valid entries are:
+BGN Bulgaria, Leva=20
+CZK Czech Republic, Koruny=20
+DKK Denmark, Kroner=20
+EEK Estonia, Krooni=20
+EUR Euro Member Countries, Euro=20
+GBP United Kingdom, Pounds=20
+HUF Hungary, Forint=20
+LTL Lithuania, Litai=20
+LVL Latvia, Lati=20
+PLN Poland, Zlotych=20
+RON Romania, New Lei=20
+SEK Sweden, Kronor=20
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:restriction base=3D"xsd:string">
+			<xsd:enumeration value=3D"BGN"/>
+			<xsd:enumeration value=3D"CZK"/>
+			<xsd:enumeration value=3D"DKK"/>
+			<xsd:enumeration value=3D"EEK"/>
+			<xsd:enumeration value=3D"EUR"/>
+			<xsd:enumeration value=3D"GBP"/>
+			<xsd:enumeration value=3D"HUF"/>
+			<xsd:enumeration value=3D"LTL"/>
+			<xsd:enumeration value=3D"LVL"/>
+			<xsd:enumeration value=3D"PLN"/>
+			<xsd:enumeration value=3D"RON"/>
+			<xsd:enumeration value=3D"SEK"/>
+		</xsd:restriction>
+	</xsd:simpleType>
+</xsd:schema>

Added: trunk/transform/unit-test/xsd/vatrefund_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/xsd/vatrefund_v1.xsd	                      =
  (rev 0)
+++ trunk/transform/unit-test/xsd/vatrefund_v1.xsd	2014-01-28 17:03:22 UT=
C (rev 670)
@@ -0,0 +1,739 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:cm=3D"urn=
:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:mes=3D"urn:ec.europa.eu:tax=
ud:fiscalis:message:v1" xmlns:vr=3D"urn:ec.europa.eu:taxud:fiscalis:vatre=
fund:v1" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1"=
 elementFormDefault=3D"qualified" version=3D"1.06" xml:lang=3D"en">
+	<xs:annotation>
+		<xs:documentation xml:lang=3D"en"><![CDATA[
+		=09
+		A schema for the definition of messages to be exchanged in the VAT Ref=
und system.
+		=3D=3D=3D HISTORY=3D=3D=3D
+		Version 1.08 - 16/12/2010
+		+ The type of RequestedAmount and AcceptedAmount in the decision is Si=
gnedMoneyAmount_Type instead of PositiveMoneyAmount_Type.
+		Version 1.07 - 15/07/2010
+		- Remove non EU Member State constraint on Supplier in ImportInformati=
on: Trader_Type uses
+		  cm:CountryCode_Type instead of cm:CountryCodeExMS_Type
+		+ AccountName_Type maxLength changed from 35 to 70
+		- Type of element FileDescription changed from xs:token to xs:string
+		+ Addition of bank fees in CorrectionReason_Type
+	=09
+		Version 1.06 - 22/07/2009
+		- Remove constraints PurchaseInformationReference_Unique and ImportInf=
ormationReferenceNumber_Unique=20
+
+		Version 1.05 - 28/05/2009
+		+Add application/zip to enumeration in OfficialCopyFileType_Type
+	=09
+		Version 1.04 - 11/05/2009
+		+Add ReasonCode 5 to 	UpdateRefusalReasonCode_Type
+		+Correct RefundDecisionJustificationReasonCode_Type code for "Partial =
decision of repayment" - 87 -> 95
+		+Add RefundDecisionJustificationReasonCode_Type codes agreed at March =
workshop (codes 64 to 68 inclusive)=09
+	=09
+		Version 1.03 - 25/03/2009
+		+ Allow two decimal places for the pro-rata rate
+		Version 1.02 - 20/03/2009
+		+ Add disclose attribute to VATREfundReceipt, VATRefundDecision, Adjus=
tmentReceipt and AdjustmentDecision
+		+ Add telephone number to BaseTrader_Type
+		Version 1.01 - 18/12/2008=20
+		 + Add a constraint on the issuedBy attribute of the TaxReferenceNumbe=
r - it must be the same as the RefundingCountryCode
+		 + Fix erroneous definition of constraint applying on reference of Pur=
chaseInformation of VATRefundApplication
+		 + Offer the possibility to provide multiple GoodsDescription for Impo=
rtInformation and PurchaseInformation of VATRefundApplication=20
+		Version 1.00 - first release of the schema to the Member States=20
+		]]></xs:documentation>
+	</xs:annotation>
+	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:message:v1" sch=
emaLocation=3D"fiscalismessage_v1.xsd"/>
+	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
+	<xs:include schemaLocation=3D"goodsdescriptiontypes_v1.xsd"/>
+	<xs:include schemaLocation=3D"decreasons_v1.xsd"/>
+	<xs:include schemaLocation=3D"adjreasons_v1.xsd"/>
+	<!--The VAT Refund Messages-->
+	<xs:element name=3D"VATRefundApplication" type=3D"vr:VATRefundApplicati=
onBody_Type" substitutionGroup=3D"mes:AbstractBody">
+		<xs:unique name=3D"SequenceNumber_Unique">
+			<xs:selector xpath=3D".//*"/>
+			<xs:field xpath=3D"vr:SequenceNumber"/>
+		</xs:unique>
+		<xs:unique name=3D"BusinessActivity_Unique">
+			<xs:selector xpath=3D".//vr:BusinessDescription/vr:BusinessActivity"/=
>
+			<xs:field xpath=3D"."/>
+		</xs:unique>
+		<xs:unique name=3D"TextualDescrLanguage_Unique">
+			<xs:selector xpath=3D".//vr:BusinessDescription/vr:TextualDescription=
"/>
+			<xs:field xpath=3D"./@language"/>
+		</xs:unique>
+		<!-- ensure the supplier country code is the same as the refunding cou=
ntry code -->
+		<xs:key name=3D"RefundingCountryKey">
+			<xs:selector xpath=3D"./vr:ApplicationReference"/>
+			<xs:field xpath=3D"vr:RefundingCountryCode"/>
+		</xs:key>
+		<xs:keyref name=3D"RefundingCountryToSupplier" refer=3D"vr:RefundingCo=
untryKey">
+			<xs:selector xpath=3D".//vr:PurchaseInformation"/>
+			<xs:field xpath=3D"vr:EUSupplier/vr:EUTraderID/vr:VATIdentificationNu=
mber/@issuedBy"/>
+		</xs:keyref>
+		<xs:keyref name=3D"RefundingCountryToSupplier2" refer=3D"vr:RefundingC=
ountryKey">
+			<xs:selector xpath=3D".//vr:PurchaseInformation"/>
+			<xs:field xpath=3D"vr:EUSupplier/vr:EUTraderID/vr:TaxReferenceNumber/=
@issuedBy"/>
+		</xs:keyref>
+	</xs:element>
+	<xs:element name=3D"ApplicationReceipt" type=3D"vr:ApplicationReceiptBo=
dy_Type" substitutionGroup=3D"mes:AbstractBody"/>
+	<xs:element name=3D"VATRefundDecision" type=3D"vr:VATRefundDecisionBody=
_Type" substitutionGroup=3D"mes:AbstractBody"/>
+	<xs:element name=3D"ProRataRateAdjustment" type=3D"vr:ProRataRateAdjust=
mentBody_Type" substitutionGroup=3D"mes:AbstractBody"/>
+	<xs:element name=3D"AdjustmentReceipt" type=3D"vr:AdjustmentReceiptBody=
_Type" substitutionGroup=3D"mes:AbstractBody"/>
+	<xs:element name=3D"AdjustmentResult" type=3D"vr:AdjustmentResultBody_T=
ype" substitutionGroup=3D"mes:AbstractBody">
+		<!-- ensure the refunding country code of application is the same as t=
he refunding country code -->
+		<xs:key name=3D"RefundingCountryKey2">
+			<xs:selector xpath=3D"."/>
+			<xs:field xpath=3D"vr:RefundingCountryCode"/>
+		</xs:key>
+		<xs:keyref name=3D"RefundingCountryToAcceptedRefundCountryCode" refer=3D=
"vr:RefundingCountryKey2">
+			<xs:selector xpath=3D".//vr:AcceptedRefund"/>
+			<xs:field xpath=3D"vr:ApplicationReference/vr:RefundingCountryCode"/>
+		</xs:keyref>
+	</xs:element>
+	<xs:element name=3D"NETPNotification" type=3D"vr:NETPNotificationBody_T=
ype" substitutionGroup=3D"mes:AbstractBody"/>
+	<xs:element name=3D"ValidationReport" type=3D"vr:ValidationReportBody_T=
ype" substitutionGroup=3D"mes:AbstractBody"/>
+	<!--The XML types for the content of the body element-->
+	<xs:complexType name=3D"VATRefundApplicationBody_Type">
+		<xs:sequence>
+			<xs:element name=3D"ApplicationReference" type=3D"vr:VersionedReferen=
ce_Type"/>
+			<xs:element name=3D"Applicant" type=3D"vr:Applicant_Type"/>
+			<xs:element name=3D"Representative" type=3D"vr:Representative_Type" m=
inOccurs=3D"0"/>
+			<xs:element name=3D"RefundPeriod" type=3D"cm:Period_Type"/>
+			<xs:element name=3D"BusinessDescription" type=3D"vr:BusinessDescripti=
on_Type"/>
+			<xs:element name=3D"DetailedBankAccount" type=3D"vr:DetailedBankAccou=
nt_Type"/>
+			<xs:element name=3D"ImportInformation" type=3D"vr:ImportInformation_T=
ype" minOccurs=3D"0" maxOccurs=3D"unbounded">
+				<xs:unique name=3D"ImportGoodsDescription_Unique">
+					<xs:selector xpath=3D"./vr:GoodsDescription"/>
+					<xs:field xpath=3D"vr:Code"/>
+					<xs:field xpath=3D"vr:SubCode"/>
+				</xs:unique>
+			</xs:element>
+			<xs:element name=3D"PurchaseInformation" type=3D"vr:PurchaseInformati=
on_Type" minOccurs=3D"0" maxOccurs=3D"unbounded">
+				<xs:unique name=3D"PurchaseGoodsDescription_Unique">
+					<xs:selector xpath=3D"./vr:GoodsDescription"/>
+					<xs:field xpath=3D"vr:Code"/>
+					<xs:field xpath=3D"vr:SubCode"/>
+				</xs:unique>
+			</xs:element>
+			<xs:element name=3D"DocumentCopy" type=3D"vr:FileAttachment_Type" min=
Occurs=3D"0" maxOccurs=3D"unbounded"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"ApplicationReceiptBody_Type">
+		<xs:sequence>
+			<xs:element name=3D"ReceiptReference" type=3D"vr:VersionedReference_T=
ype"/>
+			<xs:element name=3D"ReceiptDate" type=3D"vr:RestrictedDate_Type"/>
+			<xs:element name=3D"UpdateRefusal" type=3D"vr:UpdateRefusal_Type" min=
Occurs=3D"0"/>
+		</xs:sequence>
+		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
+	</xs:complexType>
+	<xs:complexType name=3D"VATRefundDecisionBody_Type">
+		<xs:sequence>
+			<xs:element name=3D"DecisionReference" type=3D"vr:VersionedReference_=
Type"/>
+			<xs:element name=3D"ApplicationVersion" type=3D"vr:RestrictedDateTime=
_Type"/>
+			<xs:element name=3D"Decision" type=3D"vr:RefundDecision_Type"/>
+			<xs:element name=3D"DecisionDate" type=3D"vr:RestrictedDate_Type"/>
+			<xs:element name=3D"RefundInformation" type=3D"vr:RefundInformation_T=
ype" minOccurs=3D"0"/>
+			<xs:element name=3D"Justification" type=3D"vr:RefundDecisionJustifica=
tion_Type" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
+			<xs:element name=3D"OfficialCopy" type=3D"vr:OfficialCopy_Type" minOc=
curs=3D"0"/>
+		</xs:sequence>
+		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
+	</xs:complexType>
+	<xs:complexType name=3D"ProRataRateAdjustmentBody_Type">
+		<xs:sequence>
+			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
+			<xs:element name=3D"Applicant" type=3D"vr:Applicant_Type"/>
+			<xs:element name=3D"Period" type=3D"cm:Period_Type"/>
+			<xs:element name=3D"AdjustedValue" type=3D"vr:ProRataRateCorrection_T=
ype"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"AdjustmentReceiptBody_Type">
+		<xs:sequence>
+			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
+			<xs:element name=3D"ReceiptDate" type=3D"vr:RestrictedDate_Type"/>
+			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
+		</xs:sequence>
+		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
+	</xs:complexType>
+	<xs:complexType name=3D"AdjustmentResultBody_Type">
+		<xs:sequence>
+			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
+			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
+			<xs:element name=3D"Decision" type=3D"vr:AdjustmentDecision_Type"/>
+			<xs:element name=3D"DecisionDate" type=3D"vr:RestrictedDate_Type"/>
+			<xs:element name=3D"AcceptedRefund" type=3D"vr:AcceptedRefund_Type" m=
inOccurs=3D"0" maxOccurs=3D"unbounded"/>
+			<xs:element name=3D"Justification" type=3D"vr:AdjustmentResultJustifi=
cation_Type" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
+			<xs:element name=3D"AdjustmentInformation" type=3D"vr:AdjustmentInfor=
mation_Type" minOccurs=3D"0"/>
+			<xs:element name=3D"OfficialCopy" type=3D"vr:OfficialCopy_Type" minOc=
curs=3D"0"/>
+		</xs:sequence>
+		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
+	</xs:complexType>
+	<xs:complexType name=3D"NETPNotificationBody_Type">
+		<xs:sequence>
+			<xs:choice>
+				<xs:element name=3D"VersionedReference" type=3D"vr:VersionedReferenc=
e_Type"/>
+				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe"/>
+			</xs:choice>
+			<xs:element name=3D"NotificationDate" type=3D"vr:RestrictedDate_Type"=
/>
+		</xs:sequence>
+		<xs:attribute name=3D"notifiedType" type=3D"vr:NETPNotificationType_Ty=
pe" use=3D"required"/>
+	</xs:complexType>
+	<xs:complexType name=3D"ValidationReportBody_Type">
+		<xs:sequence>
+			<xs:choice>
+				<xs:element name=3D"VersionedReference" type=3D"vr:VersionedReferenc=
e_Type" minOccurs=3D"0"/>
+				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe" minOccurs=3D"0"/>
+			</xs:choice>
+			<xs:element name=3D"Report" type=3D"vr:Report_Type"/>
+		</xs:sequence>
+		<xs:attribute name=3D"validatedType" type=3D"vr:MessageType_Type" use=3D=
"required"/>
+	</xs:complexType>
+	<!-- Complex Types-->
+	<xs:complexType name=3D"AcceptedRefund_Type">
+		<xs:sequence>
+			<xs:element name=3D"ApplicationReference" type=3D"vr:Reference_Type"/=
>
+			<xs:element name=3D"EstimatedTotalAmount" type=3D"vr:SignedMoneyAmoun=
t_Type"/>
+			<xs:element name=3D"AdjustedTotalAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Adjustment_Type">
+		<xs:sequence>
+			<xs:element name=3D"EstimatedTotalAmount" type=3D"vr:SignedMoneyAmoun=
t_Type"/>
+			<xs:element name=3D"AdjustedTotalAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
+			<xs:element name=3D"TransactionReference" type=3D"vr:TransactionRefer=
ence_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"AdjustmentInformation_Type">
+		<xs:sequence>
+			<xs:element name=3D"TotalAmount" type=3D"vr:SignedMoneyAmount_Type"/>
+			<xs:element name=3D"DebitBalance" type=3D"vr:DebitBalance_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"AdjustmentResultJustification_Type">
+		<xs:sequence>
+			<xs:element name=3D"ReasonCode" type=3D"vr:ProRataRateAdjustmentJusti=
ficationReasonCode_Type"/>
+			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Applicant_Type">
+		<xs:complexContent>
+			<xs:extension base=3D"vr:BaseTrader_Type">
+				<xs:sequence>
+					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
+					<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type"/>
+					<xs:element name=3D"EmailAddress" type=3D"cm:EMail_Type"/>
+				</xs:sequence>
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"BalanceCorrection_Type">
+		<xs:sequence>
+			<xs:element name=3D"Amount" type=3D"vr:SignedMoneyAmount_Type"/>
+			<xs:element name=3D"Reason" type=3D"vr:CorrectionReason_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"BankAccount_Type">
+		<xs:sequence>
+			<xs:element name=3D"OwnerName" type=3D"vr:AccountName_Type"/>
+			<xs:element name=3D"IBAN" type=3D"vr:MSIBAN_Type"/>
+			<xs:element name=3D"BIC" type=3D"vr:BIC_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"BaseTrader_Type">
+		<xs:sequence>
+			<xs:element name=3D"Name" type=3D"cm:Name_Type"/>
+			<xs:choice>
+				<xs:element name=3D"AddressFree" type=3D"cm:AddressFree_Type"/>
+				<xs:element name=3D"AddressStruct" type=3D"cm:AddressStruct_Type"/>
+			</xs:choice>
+			<xs:element name=3D"TelephoneNumber" type=3D"cm:PhoneNumber_Type" min=
Occurs=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"BusinessDescription_Type">
+		<xs:choice>
+			<xs:element name=3D"BusinessActivity" type=3D"vr:BusinessActivity_Typ=
e" maxOccurs=3D"unbounded"/>
+			<xs:element name=3D"TextualDescription" type=3D"vr:TextualDescription=
_Type" maxOccurs=3D"unbounded"/>
+		</xs:choice>
+	</xs:complexType>
+	<xs:complexType name=3D"DebitBalance_Type">
+		<xs:sequence>
+			<xs:element name=3D"AmountDue" type=3D"vr:SignedMoneyAmount_Type"/>
+			<xs:element name=3D"BalanceCorrection" type=3D"vr:BalanceCorrection_T=
ype" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
+			<xs:element name=3D"RecoveryInformation" type=3D"vr:RecoveryInformati=
on_Type" minOccurs=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Deduction_Type">
+		<xs:sequence>
+			<xs:element name=3D"ProRataRate" type=3D"vr:ProRataRate_Type" minOccu=
rs=3D"0"/>
+			<xs:element name=3D"DeductibleVATAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"DetailedBankAccount_Type">
+		<xs:sequence>
+			<xs:element name=3D"OwnerName" type=3D"vr:AccountName_Type"/>
+			<xs:element name=3D"OwnerType" type=3D"vr:BankAccountOwnerType_Type"/=
>
+			<xs:element name=3D"IBAN" type=3D"vr:MSIBAN_Type"/>
+			<xs:element name=3D"BIC" type=3D"vr:BIC_Type"/>
+			<xs:element name=3D"Currency" type=3D"cm:currCode_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"EUSupplier_Type">
+		<xs:complexContent>
+			<xs:extension base=3D"vr:BaseTrader_Type">
+				<xs:sequence>
+					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
+					<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type" minOccu=
rs=3D"0"/>
+				</xs:sequence>
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"EUTraderID_Type">
+		<xs:choice>
+			<xs:element name=3D"VATIdentificationNumber" type=3D"vr:VATNumber_Typ=
e"/>
+			<xs:element name=3D"TaxReferenceNumber" type=3D"vr:VATNumberOrTIN_Typ=
e"/>
+		</xs:choice>
+	</xs:complexType>
+	<xs:complexType name=3D"NonEUTrader_Type">
+		<xs:complexContent>
+			<xs:extension base=3D"vr:BaseTrader_Type">
+				<xs:sequence>
+					<xs:element name=3D"CountryCode" type=3D"cm:CountryCodeExMS_Type"/>
+				</xs:sequence>
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"FileAttachment_Type">
+		<xs:sequence>
+			<xs:element name=3D"FileType" type=3D"vr:FileType_Type"/>
+			<xs:element name=3D"FileName" type=3D"xs:token"/>
+			<xs:element name=3D"FileDescription" type=3D"xs:string" minOccurs=3D"=
0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"GoodsDescription_Type">
+		<xs:sequence>
+			<xs:element name=3D"Code" type=3D"vr:GoodsDescriptionCode_Type"/>
+			<xs:element name=3D"SubCode" type=3D"vr:GoodsDescriptionSubCode_Type"=
 minOccurs=3D"0"/>
+			<xs:element name=3D"FreeText" type=3D"vr:TextualDescription_Type" min=
Occurs=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"ImportInformation_Type">
+		<xs:sequence>
+			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
+			<xs:choice>
+				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe"/>
+				<xs:element name=3D"ReferenceInformation" type=3D"xs:string"/>
+			</xs:choice>
+			<xs:element name=3D"IssuingDate" type=3D"vr:RestrictedDate_Type"/>
+			<xs:element name=3D"Supplier" type=3D"vr:Trader_Type"/>
+			<xs:element name=3D"GoodsDescription" type=3D"vr:GoodsDescription_Typ=
e" maxOccurs=3D"unbounded"/>
+			<xs:element name=3D"TransactionDescription" type=3D"vr:TransactionDes=
cription_Type"/>
+			<xs:element name=3D"Deduction" type=3D"vr:Deduction_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"ImportReference_Type">
+		<xs:choice>
+			<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Typ=
e"/>
+			<xs:element name=3D"ReferenceInformation" type=3D"xs:string"/>
+		</xs:choice>
+	</xs:complexType>
+	<xs:complexType name=3D"InvoiceReference_Type">
+		<xs:sequence>
+			<xs:element name=3D"InvoiceReferenceNumber" type=3D"xs:token"/>
+			<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type" minOccurs=
=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"OfficialCopy_Type">
+		<xs:sequence>
+			<xs:element name=3D"FileType" type=3D"vr:OfficialCopyFileType_Type"/>
+			<xs:element name=3D"FileName" type=3D"xs:token"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"PositiveMoneyAmount_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
+			attribute</xs:documentation>
+		</xs:annotation>
+		<xs:simpleContent>
+			<xs:extension base=3D"vr:Amount_Type">
+				<xs:attribute name=3D"currency" type=3D"cm:MSCurrCode_Type" use=3D"r=
equired"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"PurchaseInformation_Type">
+		<xs:sequence>
+			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
+			<xs:element name=3D"ReferenceNumber" type=3D"xs:token"/>
+			<xs:element name=3D"IssuingDate" type=3D"vr:RestrictedDate_Type"/>
+			<xs:element name=3D"EUSupplier" type=3D"vr:EUSupplier_Type"/>
+			<xs:element name=3D"GoodsDescription" type=3D"vr:GoodsDescription_Typ=
e" maxOccurs=3D"unbounded"/>
+			<xs:element name=3D"TransactionDescription" type=3D"vr:TransactionDes=
cription_Type"/>
+			<xs:element name=3D"Deduction" type=3D"vr:Deduction_Type"/>
+		</xs:sequence>
+		<xs:attribute name=3D"simplifiedInvoice" type=3D"xs:boolean" use=3D"re=
quired"/>
+	</xs:complexType>
+	<xs:complexType name=3D"RecoveryInformation_Type">
+		<xs:sequence>
+			<xs:element name=3D"BankAccount" type=3D"vr:BankAccount_Type"/>
+			<xs:element name=3D"PaymentType" type=3D"vr:PaymentType_Type"/>
+			<xs:element name=3D"PaymentReference" type=3D"vr:PaymentInfo_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Reference_Type">
+		<xs:sequence>
+			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
+			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"RefundDecisionJustification_Type">
+		<xs:sequence>
+			<xs:element name=3D"ReasonCode" type=3D"vr:RefundDecisionJustificatio=
nReasonCode_Type"/>
+			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
+			<xs:element name=3D"TransactionReference" type=3D"vr:TransactionRefer=
ence_Type" minOccurs=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"RefundInformation_Type">
+		<xs:sequence>
+			<xs:element name=3D"RequestedAmount" type=3D"vr:SignedMoneyAmount_Typ=
e"/>
+			<xs:element name=3D"AcceptedAmount" type=3D"vr:SignedMoneyAmount_Type=
"/>
+			<xs:element name=3D"DebitBalance" type=3D"vr:DebitBalance_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Remark_Type">
+		<xs:sequence>
+			<xs:element name=3D"Type" type=3D"xs:int"/>
+			<xs:element name=3D"SubType" type=3D"xs:int"/>
+			<xs:element name=3D"Details" type=3D"xs:string" minOccurs=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Report_Type">
+		<xs:sequence>
+			<xs:element name=3D"Status" type=3D"vr:Status_Type"/>
+			<xs:element name=3D"Remark" type=3D"vr:Remark_Type" minOccurs=3D"0" m=
axOccurs=3D"unbounded"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"Representative_Type">
+		<xs:complexContent>
+			<xs:extension base=3D"vr:BaseTrader_Type">
+				<xs:sequence>
+					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
+					<xs:element name=3D"EmailAddress" type=3D"cm:EMail_Type"/>
+					<xs:element name=3D"RepresentativeID" type=3D"vr:RepresentativeID_T=
ype"/>
+				</xs:sequence>
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"RepresentativeID_Type">
+		<xs:simpleContent>
+			<xs:extension base=3D"xs:token">
+				<xs:attribute name=3D"issuedBy" type=3D"cm:CountryCode_Type" use=3D"=
required"/>
+				<xs:attribute name=3D"identificationType" type=3D"vr:RepresentativeI=
DType_Type" use=3D"required"/>
+				<xs:attribute name=3D"otherQlf" type=3D"xs:token" use=3D"optional"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"SignedMoneyAmount_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
+			attribute</xs:documentation>
+		</xs:annotation>
+		<xs:simpleContent>
+			<xs:extension base=3D"vr:SignedAmount_Type">
+				<xs:attribute name=3D"currency" type=3D"cm:MSCurrCode_Type" use=3D"r=
equired"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"TextualDescription_Type">
+		<xs:simpleContent>
+			<xs:extension base=3D"xs:string">
+				<xs:attribute name=3D"language" type=3D"cm:EULanguageCode_Type" use=3D=
"required"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"Trader_Type">
+		<xs:complexContent>
+			<xs:extension base=3D"vr:BaseTrader_Type">
+				<xs:sequence>
+					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
+				</xs:sequence>
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+	<xs:complexType name=3D"TransactionDescription_Type">
+		<xs:sequence>
+			<xs:element name=3D"TaxableAmount" type=3D"vr:SignedMoneyAmount_Type"=
/>
+			<xs:element name=3D"VATAmount" type=3D"vr:SignedMoneyAmount_Type"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"TransactionReference_Type">
+		<xs:sequence>
+			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
+			<xs:choice>
+				<xs:element name=3D"InvoiceReference" type=3D"vr:InvoiceReference_Ty=
pe"/>
+				<xs:element name=3D"ImportReference" type=3D"vr:ImportReference_Type=
"/>
+			</xs:choice>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"UpdateRefusal_Type">
+		<xs:sequence>
+			<xs:element name=3D"ReasonCode" type=3D"vr:UpdateRefusalReasonCode_Ty=
pe"/>
+			<xs:element name=3D"EffectiveVersion" type=3D"vr:RestrictedDateTime_T=
ype"/>
+			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name=3D"VATNumber_Type">
+		<xs:simpleContent>
+			<xs:extension base=3D"cm:VATNumber_Type">
+				<xs:attribute name=3D"issuedBy" type=3D"cm:EUCountryIsoCodeAlpha2_Ty=
pe" use=3D"required"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"VATNumberOrTIN_Type">
+		<xs:simpleContent>
+			<xs:extension base=3D"cm:VATNumberOrTIN_Type">
+				<xs:attribute name=3D"issuedBy" type=3D"cm:EUCountryIsoCodeAlpha2_Ty=
pe" use=3D"required" fixed=3D"DE"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name=3D"VersionedReference_Type">
+		<xs:complexContent>
+			<xs:extension base=3D"vr:Reference_Type">
+				<xs:sequence>
+					<xs:element name=3D"Version" type=3D"vr:RestrictedDateTime_Type"/>
+				</xs:sequence>
+			</xs:extension>
+		</xs:complexContent>
+	</xs:complexType>
+	<!-- SIMPLE TYPES -->
+	<xs:simpleType name=3D"AccountName_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:maxLength value=3D"70"/>
+			<xs:minLength value=3D"1"/>
+			<xs:pattern value=3D"[A-Za-z0-9/\-?:().,'+ ]*"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"AdjustmentDecision_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"Accepted"/>
+			<xs:enumeration value=3D"Refused"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Amount_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">A positive decimal amount, resticte=
d to two decimal
+				places</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:decimal">
+			<xs:fractionDigits value=3D"2"/>
+			<xs:minInclusive value=3D"0"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"ApplicationNumber_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"(AT|BE|BG|CY|CZ|DE|DK|EE|EL|ES|FI|FR|GB|HU|IE|IT=
|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK){1}\p{IsBasicLatin}{0,16}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"BankAccountOwnerType_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"applicant"/>
+			<xs:enumeration value=3D"representative"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"BIC_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">Bank Identifer Code</xs:documentati=
on>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3}){0,1}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"BusinessActivity_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:pattern value=3D"\d{4}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"CorrectionReason_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"previous payment"/>
+			<xs:enumeration value=3D"penalty"/>
+			<xs:enumeration value=3D"NETP interest"/>
+			<xs:enumeration value=3D"MSREF interest"/>
+			<xs:enumeration value=3D"recovery"/>
+			<xs:enumeration value=3D"transfer of balance"/>
+			<xs:enumeration value=3D"bank fees"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Disclose_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"01">
+				<xs:annotation>
+					<xs:documentation>Information for internal use of tax administratio=
n.</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"02">
+				<xs:annotation>
+					<xs:documentation>Inform NETP unofficially.</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"03">
+				<xs:annotation>
+					<xs:documentation>Officially notify the NETP.</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"FileType_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"application/pdf"/>
+			<xs:enumeration value=3D"image/jpeg"/>
+			<xs:enumeration value=3D"image/tiff"/>
+			<xs:enumeration value=3D"application/zip"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"MessageType_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"VATRefundApplication"/>
+			<xs:enumeration value=3D"ApplicationReceipt"/>
+			<xs:enumeration value=3D"VATRefundDecision"/>
+			<xs:enumeration value=3D"ProRataRateAdjustment"/>
+			<xs:enumeration value=3D"AdjustmentReceipt"/>
+			<xs:enumeration value=3D"AdjustmentResult"/>
+			<xs:enumeration value=3D"NETPNotification"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"MSIBAN_Type">
+		<xs:restriction base=3D"cm:IBAN_Type">
+			<xs:pattern value=3D"(AT|BE|BG|CY|CZ|DE|DK|EE|GR|ES|FI|FR|GB|HU|IE|IT=
|LT|LU|LV|MC|MT|NL|PL|PT|RO|SE|SI|SK){1}.*"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"NETPNotificationType_Type">
+		<xs:restriction base=3D"vr:MessageType_Type">
+			<xs:enumeration value=3D"ApplicationReceipt"/>
+			<xs:enumeration value=3D"VATRefundDecision"/>
+			<xs:enumeration value=3D"AdjustmentReceipt"/>
+			<xs:enumeration value=3D"AdjustmentResult"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"OfficialCopyFileType_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"application/pdf"/>
+			<xs:enumeration value=3D"image/jpeg"/>
+			<xs:enumeration value=3D"image/tiff"/>
+			<xs:enumeration value=3D"application/zip"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"PaymentType_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"Payment"/>
+			<xs:enumeration value=3D"Reimbursement"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"ProRataRateCorrection_Type">
+		<xs:restriction base=3D"xs:integer">
+			<xs:minInclusive value=3D"1"/>
+			<xs:maxInclusive value=3D"100"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"ProRataRate_Type">
+		<xs:restriction base=3D"xs:decimal">
+			<xs:fractionDigits value=3D"2"/>
+			<xs:minInclusive value=3D"0.01"/>
+			<xs:maxInclusive value=3D"99.99"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"ReferenceNumber_Type">
+		<xs:restriction base=3D"xs:token">
+			<xs:pattern value=3D"\p{IsBasicLatin}*"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"ReferenceNumber18_Type">
+		<xs:restriction base=3D"vr:ReferenceNumber_Type">
+			<xs:maxLength value=3D"18"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"RefundDecision_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"Accepted"/>
+			<xs:enumeration value=3D"PartiallyAccepted"/>
+			<xs:enumeration value=3D"Refused"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"RepresentativeIDType_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"NVAT"/>
+			<xs:enumeration value=3D"TIN"/>
+			<xs:enumeration value=3D"other"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"RestrictedDate_Type">
+		<xs:restriction base=3D"xs:date">
+			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"RestrictedDateTime_Type">
+		<xs:restriction base=3D"xs:dateTime">
+			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"SequenceNumber_Type">
+		<xs:restriction base=3D"xs:integer">
+			<xs:minInclusive value=3D"1"/>
+			<xs:maxInclusive value=3D"999999"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"SignedAmount_Type">
+		<xs:annotation>
+			<xs:documentation xml:lang=3D"en">A decimal amount, resticted to two =
decimal
+				places</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base=3D"xs:decimal">
+			<xs:fractionDigits value=3D"2"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"Status_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"accepted"/>
+			<xs:enumeration value=3D"rejected"/>
+			<xs:enumeration value=3D"warning"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"PaymentInfo_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:maxLength value=3D"140"/>
+			<xs:pattern value=3D"[A-Za-z0-9+\-\*/\s]{1,140}"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<xs:simpleType name=3D"UpdateRefusalReasonCode_Type">
+		<xs:restriction base=3D"xs:string">
+			<xs:enumeration value=3D"01">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+			Correction not allowed</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"02">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+			The updated VAT Refund Application cannot present new refund requests=
</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"03">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+			Correction received outside of allowed period</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"04">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+			Type of file is incorrect</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"05">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+			The updated application does not belong to the same period as the ini=
tial one</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value=3D"99">
+				<xs:annotation>
+					<xs:documentation xml:lang=3D"en">
+			Other</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+</xs:schema>

Deleted: trunk/transform/valide-exemple-listing.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/valide-exemple-listing.xml	2014-01-25 22:39:28 UTC (r=
ev 669)
+++ trunk/transform/valide-exemple-listing.xml	2014-01-28 17:03:22 UTC (r=
ev 670)
@@ -1,37 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>    =20
-	<ns2:ClientListingConsignment xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon" xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingConsignment" C=
lientListingsNbr=3D"1">
-		<ns2:Representative>
-			<RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">00000000=
97</RepresentativeID>
-			<Name>Gevolmachtigde- Mandataire TEST NV-SA </Name>
-			<Street>AV Test-laan 8</Street>
-			<PostCode>9999</PostCode>
-			<City> TESTCITY</City>
-			<CountryCode>BE</CountryCode>
-			<EmailAddress>something@something.be</EmailAddress>
-			<Phone>02555555</Phone>
-		</ns2:Representative>
-		<ns2:ClientListing VATAmountSum=3D"00.00" TurnOverSum=3D"1000.72" Clie=
ntsNbr=3D"2" SequenceNumber=3D"1">
-			<ns2:Declarant>
-				<VATNumber>0000000097</VATNumber>
-				<Name>TEST NV-SA</Name>
-				<Street>Av Test-laan 16</Street>
-				<PostCode>9999</PostCode>
-				<City>TESTCITY</City>
-				<CountryCode>BE</CountryCode>
-				<EmailAddress>cedric@francis.be</EmailAddress>
-				<Phone>025555555</Phone>
-			</ns2:Declarant>
-			<ns2:Period>2009</ns2:Period>
-			<ns2:Client SequenceNumber=3D"1">
-				<ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNumb=
er>
-				<ns2:TurnOver>500.36</ns2:TurnOver>
-				<ns2:VATAmount>0.00</ns2:VATAmount>
-			</ns2:Client>
-			<ns2:Client SequenceNumber=3D"2">
-				<ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNumb=
er>
-				<ns2:TurnOver>500.36</ns2:TurnOver>
-				<ns2:VATAmount>0.00</ns2:VATAmount>
-			</ns2:Client>
-			<ns2:Comment>free text max 2000 characters</ns2:Comment>
-		</ns2:ClientListing>
-	</ns2:ClientListingConsignment>   =20

Deleted: trunk/transform/valide-xml.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/valide-xml.php	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/valide-xml.php	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,64 +0,0 @@
-<?php
-/*
- * Validation
- */
-
-function libxml_display_error($error) {
-	$return =3D "<br/>\n";
-	switch ($error->level) {
-		case LIBXML_ERR_WARNING:
-		$return .=3D "<b>Warning $error->code</b>: ";
-		break;
-		case LIBXML_ERR_ERROR:
-		$return .=3D "<b>Error $error->code</b>: ";
-		break;
-		case LIBXML_ERR_FATAL:
-		$return .=3D "<b>Fatal Error $error->code</b>: ";
-		break;
-	}
-	$return .=3D trim($error->message);
-	if ($error->file) {
-		$return .=3D " in <b>$error->file</b>";
-	}
-		$return .=3D " on line <b>$error->line</b>\n";
-
-	return $return;
-}
-
-function libxml_display_errors($display_errors =3D true) {
-	$errors =3D libxml_get_errors();
-	$chain_errors =3D "";
-
-	foreach ($errors as $error) {
-		$chain_errors .=3D preg_replace('/( in\ \/(.*))/',""  , strip_tags(lib=
xml_display_error($error)))."\n";
-		if ($display_errors) {
-			trigger_error(libxml_display_error($error), E_USER_WARNING);
-		}
-	}
-	libxml_clear_errors();
-
-	return $chain_errors;
-}
-
-// Activer "user error handling"
-libxml_use_internal_errors(true);=20
-
-//$file =3D "valide-exemple-listing.xml";
-$file =3D "test.xml";
-$schema =3D "NewLK-in_v0_7.xsd";
-
-// Instanciation d=E2=80=99un DOMDocument
-$dom =3D new DOMDocument("1.0");
-
-// Charge du XML depuis un fichier
-$dom->load($file);
-echo "Validation $file";
-// Validation du document XML
-$validate =3D $dom->schemaValidate($schema) ?
-"<b>DOMDocument::schemaValidate() Valid schema!</b>" :
-"<b>DOMDocument::schemaValidate() Generated Errors!</b>";
-libxml_display_errors();
-// Affichage du r=C3=A9sultat
-echo $validate;
-echo PHP_EOL;
-?>
\ No newline at end of file

Deleted: trunk/transform/vatrefund_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/vatrefund_v1.xsd	2014-01-25 22:39:28 UTC (rev 669)
+++ trunk/transform/vatrefund_v1.xsd	2014-01-28 17:03:22 UTC (rev 670)
@@ -1,739 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:cm=3D"urn=
:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:mes=3D"urn:ec.europa.eu:tax=
ud:fiscalis:message:v1" xmlns:vr=3D"urn:ec.europa.eu:taxud:fiscalis:vatre=
fund:v1" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1"=
 elementFormDefault=3D"qualified" version=3D"1.06" xml:lang=3D"en">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-		=09
-		A schema for the definition of messages to be exchanged in the VAT Ref=
und system.
-		=3D=3D=3D HISTORY=3D=3D=3D
-		Version 1.08 - 16/12/2010
-		+ The type of RequestedAmount and AcceptedAmount in the decision is Si=
gnedMoneyAmount_Type instead of PositiveMoneyAmount_Type.
-		Version 1.07 - 15/07/2010
-		- Remove non EU Member State constraint on Supplier in ImportInformati=
on: Trader_Type uses
-		  cm:CountryCode_Type instead of cm:CountryCodeExMS_Type
-		+ AccountName_Type maxLength changed from 35 to 70
-		- Type of element FileDescription changed from xs:token to xs:string
-		+ Addition of bank fees in CorrectionReason_Type
-	=09
-		Version 1.06 - 22/07/2009
-		- Remove constraints PurchaseInformationReference_Unique and ImportInf=
ormationReferenceNumber_Unique=20
-
-		Version 1.05 - 28/05/2009
-		+Add application/zip to enumeration in OfficialCopyFileType_Type
-	=09
-		Version 1.04 - 11/05/2009
-		+Add ReasonCode 5 to 	UpdateRefusalReasonCode_Type
-		+Correct RefundDecisionJustificationReasonCode_Type code for "Partial =
decision of repayment" - 87 -> 95
-		+Add RefundDecisionJustificationReasonCode_Type codes agreed at March =
workshop (codes 64 to 68 inclusive)=09
-	=09
-		Version 1.03 - 25/03/2009
-		+ Allow two decimal places for the pro-rata rate
-		Version 1.02 - 20/03/2009
-		+ Add disclose attribute to VATREfundReceipt, VATRefundDecision, Adjus=
tmentReceipt and AdjustmentDecision
-		+ Add telephone number to BaseTrader_Type
-		Version 1.01 - 18/12/2008=20
-		 + Add a constraint on the issuedBy attribute of the TaxReferenceNumbe=
r - it must be the same as the RefundingCountryCode
-		 + Fix erroneous definition of constraint applying on reference of Pur=
chaseInformation of VATRefundApplication
-		 + Offer the possibility to provide multiple GoodsDescription for Impo=
rtInformation and PurchaseInformation of VATRefundApplication=20
-		Version 1.00 - first release of the schema to the Member States=20
-		]]></xs:documentation>
-	</xs:annotation>
-	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:message:v1" sch=
emaLocation=3D"fiscalismessage_v1.xsd"/>
-	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
-	<xs:include schemaLocation=3D"goodsdescriptiontypes_v1.xsd"/>
-	<xs:include schemaLocation=3D"decreasons_v1.xsd"/>
-	<xs:include schemaLocation=3D"adjreasons_v1.xsd"/>
-	<!--The VAT Refund Messages-->
-	<xs:element name=3D"VATRefundApplication" type=3D"vr:VATRefundApplicati=
onBody_Type" substitutionGroup=3D"mes:AbstractBody">
-		<xs:unique name=3D"SequenceNumber_Unique">
-			<xs:selector xpath=3D".//*"/>
-			<xs:field xpath=3D"vr:SequenceNumber"/>
-		</xs:unique>
-		<xs:unique name=3D"BusinessActivity_Unique">
-			<xs:selector xpath=3D".//vr:BusinessDescription/vr:BusinessActivity"/=
>
-			<xs:field xpath=3D"."/>
-		</xs:unique>
-		<xs:unique name=3D"TextualDescrLanguage_Unique">
-			<xs:selector xpath=3D".//vr:BusinessDescription/vr:TextualDescription=
"/>
-			<xs:field xpath=3D"./@language"/>
-		</xs:unique>
-		<!-- ensure the supplier country code is the same as the refunding cou=
ntry code -->
-		<xs:key name=3D"RefundingCountryKey">
-			<xs:selector xpath=3D"./vr:ApplicationReference"/>
-			<xs:field xpath=3D"vr:RefundingCountryCode"/>
-		</xs:key>
-		<xs:keyref name=3D"RefundingCountryToSupplier" refer=3D"vr:RefundingCo=
untryKey">
-			<xs:selector xpath=3D".//vr:PurchaseInformation"/>
-			<xs:field xpath=3D"vr:EUSupplier/vr:EUTraderID/vr:VATIdentificationNu=
mber/@issuedBy"/>
-		</xs:keyref>
-		<xs:keyref name=3D"RefundingCountryToSupplier2" refer=3D"vr:RefundingC=
ountryKey">
-			<xs:selector xpath=3D".//vr:PurchaseInformation"/>
-			<xs:field xpath=3D"vr:EUSupplier/vr:EUTraderID/vr:TaxReferenceNumber/=
@issuedBy"/>
-		</xs:keyref>
-	</xs:element>
-	<xs:element name=3D"ApplicationReceipt" type=3D"vr:ApplicationReceiptBo=
dy_Type" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"VATRefundDecision" type=3D"vr:VATRefundDecisionBody=
_Type" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"ProRataRateAdjustment" type=3D"vr:ProRataRateAdjust=
mentBody_Type" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"AdjustmentReceipt" type=3D"vr:AdjustmentReceiptBody=
_Type" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"AdjustmentResult" type=3D"vr:AdjustmentResultBody_T=
ype" substitutionGroup=3D"mes:AbstractBody">
-		<!-- ensure the refunding country code of application is the same as t=
he refunding country code -->
-		<xs:key name=3D"RefundingCountryKey2">
-			<xs:selector xpath=3D"."/>
-			<xs:field xpath=3D"vr:RefundingCountryCode"/>
-		</xs:key>
-		<xs:keyref name=3D"RefundingCountryToAcceptedRefundCountryCode" refer=3D=
"vr:RefundingCountryKey2">
-			<xs:selector xpath=3D".//vr:AcceptedRefund"/>
-			<xs:field xpath=3D"vr:ApplicationReference/vr:RefundingCountryCode"/>
-		</xs:keyref>
-	</xs:element>
-	<xs:element name=3D"NETPNotification" type=3D"vr:NETPNotificationBody_T=
ype" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"ValidationReport" type=3D"vr:ValidationReportBody_T=
ype" substitutionGroup=3D"mes:AbstractBody"/>
-	<!--The XML types for the content of the body element-->
-	<xs:complexType name=3D"VATRefundApplicationBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ApplicationReference" type=3D"vr:VersionedReferen=
ce_Type"/>
-			<xs:element name=3D"Applicant" type=3D"vr:Applicant_Type"/>
-			<xs:element name=3D"Representative" type=3D"vr:Representative_Type" m=
inOccurs=3D"0"/>
-			<xs:element name=3D"RefundPeriod" type=3D"cm:Period_Type"/>
-			<xs:element name=3D"BusinessDescription" type=3D"vr:BusinessDescripti=
on_Type"/>
-			<xs:element name=3D"DetailedBankAccount" type=3D"vr:DetailedBankAccou=
nt_Type"/>
-			<xs:element name=3D"ImportInformation" type=3D"vr:ImportInformation_T=
ype" minOccurs=3D"0" maxOccurs=3D"unbounded">
-				<xs:unique name=3D"ImportGoodsDescription_Unique">
-					<xs:selector xpath=3D"./vr:GoodsDescription"/>
-					<xs:field xpath=3D"vr:Code"/>
-					<xs:field xpath=3D"vr:SubCode"/>
-				</xs:unique>
-			</xs:element>
-			<xs:element name=3D"PurchaseInformation" type=3D"vr:PurchaseInformati=
on_Type" minOccurs=3D"0" maxOccurs=3D"unbounded">
-				<xs:unique name=3D"PurchaseGoodsDescription_Unique">
-					<xs:selector xpath=3D"./vr:GoodsDescription"/>
-					<xs:field xpath=3D"vr:Code"/>
-					<xs:field xpath=3D"vr:SubCode"/>
-				</xs:unique>
-			</xs:element>
-			<xs:element name=3D"DocumentCopy" type=3D"vr:FileAttachment_Type" min=
Occurs=3D"0" maxOccurs=3D"unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ApplicationReceiptBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReceiptReference" type=3D"vr:VersionedReference_T=
ype"/>
-			<xs:element name=3D"ReceiptDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"UpdateRefusal" type=3D"vr:UpdateRefusal_Type" min=
Occurs=3D"0"/>
-		</xs:sequence>
-		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
-	</xs:complexType>
-	<xs:complexType name=3D"VATRefundDecisionBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"DecisionReference" type=3D"vr:VersionedReference_=
Type"/>
-			<xs:element name=3D"ApplicationVersion" type=3D"vr:RestrictedDateTime=
_Type"/>
-			<xs:element name=3D"Decision" type=3D"vr:RefundDecision_Type"/>
-			<xs:element name=3D"DecisionDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"RefundInformation" type=3D"vr:RefundInformation_T=
ype" minOccurs=3D"0"/>
-			<xs:element name=3D"Justification" type=3D"vr:RefundDecisionJustifica=
tion_Type" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"OfficialCopy" type=3D"vr:OfficialCopy_Type" minOc=
curs=3D"0"/>
-		</xs:sequence>
-		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
-	</xs:complexType>
-	<xs:complexType name=3D"ProRataRateAdjustmentBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
-			<xs:element name=3D"Applicant" type=3D"vr:Applicant_Type"/>
-			<xs:element name=3D"Period" type=3D"cm:Period_Type"/>
-			<xs:element name=3D"AdjustedValue" type=3D"vr:ProRataRateCorrection_T=
ype"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"AdjustmentReceiptBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
-			<xs:element name=3D"ReceiptDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
-		</xs:sequence>
-		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
-	</xs:complexType>
-	<xs:complexType name=3D"AdjustmentResultBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
-			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
-			<xs:element name=3D"Decision" type=3D"vr:AdjustmentDecision_Type"/>
-			<xs:element name=3D"DecisionDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"AcceptedRefund" type=3D"vr:AcceptedRefund_Type" m=
inOccurs=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"Justification" type=3D"vr:AdjustmentResultJustifi=
cation_Type" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"AdjustmentInformation" type=3D"vr:AdjustmentInfor=
mation_Type" minOccurs=3D"0"/>
-			<xs:element name=3D"OfficialCopy" type=3D"vr:OfficialCopy_Type" minOc=
curs=3D"0"/>
-		</xs:sequence>
-		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
-	</xs:complexType>
-	<xs:complexType name=3D"NETPNotificationBody_Type">
-		<xs:sequence>
-			<xs:choice>
-				<xs:element name=3D"VersionedReference" type=3D"vr:VersionedReferenc=
e_Type"/>
-				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe"/>
-			</xs:choice>
-			<xs:element name=3D"NotificationDate" type=3D"vr:RestrictedDate_Type"=
/>
-		</xs:sequence>
-		<xs:attribute name=3D"notifiedType" type=3D"vr:NETPNotificationType_Ty=
pe" use=3D"required"/>
-	</xs:complexType>
-	<xs:complexType name=3D"ValidationReportBody_Type">
-		<xs:sequence>
-			<xs:choice>
-				<xs:element name=3D"VersionedReference" type=3D"vr:VersionedReferenc=
e_Type" minOccurs=3D"0"/>
-				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe" minOccurs=3D"0"/>
-			</xs:choice>
-			<xs:element name=3D"Report" type=3D"vr:Report_Type"/>
-		</xs:sequence>
-		<xs:attribute name=3D"validatedType" type=3D"vr:MessageType_Type" use=3D=
"required"/>
-	</xs:complexType>
-	<!-- Complex Types-->
-	<xs:complexType name=3D"AcceptedRefund_Type">
-		<xs:sequence>
-			<xs:element name=3D"ApplicationReference" type=3D"vr:Reference_Type"/=
>
-			<xs:element name=3D"EstimatedTotalAmount" type=3D"vr:SignedMoneyAmoun=
t_Type"/>
-			<xs:element name=3D"AdjustedTotalAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Adjustment_Type">
-		<xs:sequence>
-			<xs:element name=3D"EstimatedTotalAmount" type=3D"vr:SignedMoneyAmoun=
t_Type"/>
-			<xs:element name=3D"AdjustedTotalAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
-			<xs:element name=3D"TransactionReference" type=3D"vr:TransactionRefer=
ence_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"AdjustmentInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"TotalAmount" type=3D"vr:SignedMoneyAmount_Type"/>
-			<xs:element name=3D"DebitBalance" type=3D"vr:DebitBalance_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"AdjustmentResultJustification_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReasonCode" type=3D"vr:ProRataRateAdjustmentJusti=
ficationReasonCode_Type"/>
-			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Applicant_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
-					<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type"/>
-					<xs:element name=3D"EmailAddress" type=3D"cm:EMail_Type"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"BalanceCorrection_Type">
-		<xs:sequence>
-			<xs:element name=3D"Amount" type=3D"vr:SignedMoneyAmount_Type"/>
-			<xs:element name=3D"Reason" type=3D"vr:CorrectionReason_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"BankAccount_Type">
-		<xs:sequence>
-			<xs:element name=3D"OwnerName" type=3D"vr:AccountName_Type"/>
-			<xs:element name=3D"IBAN" type=3D"vr:MSIBAN_Type"/>
-			<xs:element name=3D"BIC" type=3D"vr:BIC_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"BaseTrader_Type">
-		<xs:sequence>
-			<xs:element name=3D"Name" type=3D"cm:Name_Type"/>
-			<xs:choice>
-				<xs:element name=3D"AddressFree" type=3D"cm:AddressFree_Type"/>
-				<xs:element name=3D"AddressStruct" type=3D"cm:AddressStruct_Type"/>
-			</xs:choice>
-			<xs:element name=3D"TelephoneNumber" type=3D"cm:PhoneNumber_Type" min=
Occurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"BusinessDescription_Type">
-		<xs:choice>
-			<xs:element name=3D"BusinessActivity" type=3D"vr:BusinessActivity_Typ=
e" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"TextualDescription" type=3D"vr:TextualDescription=
_Type" maxOccurs=3D"unbounded"/>
-		</xs:choice>
-	</xs:complexType>
-	<xs:complexType name=3D"DebitBalance_Type">
-		<xs:sequence>
-			<xs:element name=3D"AmountDue" type=3D"vr:SignedMoneyAmount_Type"/>
-			<xs:element name=3D"BalanceCorrection" type=3D"vr:BalanceCorrection_T=
ype" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"RecoveryInformation" type=3D"vr:RecoveryInformati=
on_Type" minOccurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Deduction_Type">
-		<xs:sequence>
-			<xs:element name=3D"ProRataRate" type=3D"vr:ProRataRate_Type" minOccu=
rs=3D"0"/>
-			<xs:element name=3D"DeductibleVATAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"DetailedBankAccount_Type">
-		<xs:sequence>
-			<xs:element name=3D"OwnerName" type=3D"vr:AccountName_Type"/>
-			<xs:element name=3D"OwnerType" type=3D"vr:BankAccountOwnerType_Type"/=
>
-			<xs:element name=3D"IBAN" type=3D"vr:MSIBAN_Type"/>
-			<xs:element name=3D"BIC" type=3D"vr:BIC_Type"/>
-			<xs:element name=3D"Currency" type=3D"cm:currCode_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"EUSupplier_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
-					<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type" minOccu=
rs=3D"0"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"EUTraderID_Type">
-		<xs:choice>
-			<xs:element name=3D"VATIdentificationNumber" type=3D"vr:VATNumber_Typ=
e"/>
-			<xs:element name=3D"TaxReferenceNumber" type=3D"vr:VATNumberOrTIN_Typ=
e"/>
-		</xs:choice>
-	</xs:complexType>
-	<xs:complexType name=3D"NonEUTrader_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCodeExMS_Type"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"FileAttachment_Type">
-		<xs:sequence>
-			<xs:element name=3D"FileType" type=3D"vr:FileType_Type"/>
-			<xs:element name=3D"FileName" type=3D"xs:token"/>
-			<xs:element name=3D"FileDescription" type=3D"xs:string" minOccurs=3D"=
0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"GoodsDescription_Type">
-		<xs:sequence>
-			<xs:element name=3D"Code" type=3D"vr:GoodsDescriptionCode_Type"/>
-			<xs:element name=3D"SubCode" type=3D"vr:GoodsDescriptionSubCode_Type"=
 minOccurs=3D"0"/>
-			<xs:element name=3D"FreeText" type=3D"vr:TextualDescription_Type" min=
Occurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ImportInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
-			<xs:choice>
-				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe"/>
-				<xs:element name=3D"ReferenceInformation" type=3D"xs:string"/>
-			</xs:choice>
-			<xs:element name=3D"IssuingDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"Supplier" type=3D"vr:Trader_Type"/>
-			<xs:element name=3D"GoodsDescription" type=3D"vr:GoodsDescription_Typ=
e" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"TransactionDescription" type=3D"vr:TransactionDes=
cription_Type"/>
-			<xs:element name=3D"Deduction" type=3D"vr:Deduction_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ImportReference_Type">
-		<xs:choice>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Typ=
e"/>
-			<xs:element name=3D"ReferenceInformation" type=3D"xs:string"/>
-		</xs:choice>
-	</xs:complexType>
-	<xs:complexType name=3D"InvoiceReference_Type">
-		<xs:sequence>
-			<xs:element name=3D"InvoiceReferenceNumber" type=3D"xs:token"/>
-			<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type" minOccurs=
=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"OfficialCopy_Type">
-		<xs:sequence>
-			<xs:element name=3D"FileType" type=3D"vr:OfficialCopyFileType_Type"/>
-			<xs:element name=3D"FileName" type=3D"xs:token"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"PositiveMoneyAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
-			attribute</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"vr:Amount_Type">
-				<xs:attribute name=3D"currency" type=3D"cm:MSCurrCode_Type" use=3D"r=
equired"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"PurchaseInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
-			<xs:element name=3D"ReferenceNumber" type=3D"xs:token"/>
-			<xs:element name=3D"IssuingDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"EUSupplier" type=3D"vr:EUSupplier_Type"/>
-			<xs:element name=3D"GoodsDescription" type=3D"vr:GoodsDescription_Typ=
e" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"TransactionDescription" type=3D"vr:TransactionDes=
cription_Type"/>
-			<xs:element name=3D"Deduction" type=3D"vr:Deduction_Type"/>
-		</xs:sequence>
-		<xs:attribute name=3D"simplifiedInvoice" type=3D"xs:boolean" use=3D"re=
quired"/>
-	</xs:complexType>
-	<xs:complexType name=3D"RecoveryInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"BankAccount" type=3D"vr:BankAccount_Type"/>
-			<xs:element name=3D"PaymentType" type=3D"vr:PaymentType_Type"/>
-			<xs:element name=3D"PaymentReference" type=3D"vr:PaymentInfo_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Reference_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
-			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"RefundDecisionJustification_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReasonCode" type=3D"vr:RefundDecisionJustificatio=
nReasonCode_Type"/>
-			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
-			<xs:element name=3D"TransactionReference" type=3D"vr:TransactionRefer=
ence_Type" minOccurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"RefundInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"RequestedAmount" type=3D"vr:SignedMoneyAmount_Typ=
e"/>
-			<xs:element name=3D"AcceptedAmount" type=3D"vr:SignedMoneyAmount_Type=
"/>
-			<xs:element name=3D"DebitBalance" type=3D"vr:DebitBalance_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Remark_Type">
-		<xs:sequence>
-			<xs:element name=3D"Type" type=3D"xs:int"/>
-			<xs:element name=3D"SubType" type=3D"xs:int"/>
-			<xs:element name=3D"Details" type=3D"xs:string" minOccurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Report_Type">
-		<xs:sequence>
-			<xs:element name=3D"Status" type=3D"vr:Status_Type"/>
-			<xs:element name=3D"Remark" type=3D"vr:Remark_Type" minOccurs=3D"0" m=
axOccurs=3D"unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Representative_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
-					<xs:element name=3D"EmailAddress" type=3D"cm:EMail_Type"/>
-					<xs:element name=3D"RepresentativeID" type=3D"vr:RepresentativeID_T=
ype"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"RepresentativeID_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:token">
-				<xs:attribute name=3D"issuedBy" type=3D"cm:CountryCode_Type" use=3D"=
required"/>
-				<xs:attribute name=3D"identificationType" type=3D"vr:RepresentativeI=
DType_Type" use=3D"required"/>
-				<xs:attribute name=3D"otherQlf" type=3D"xs:token" use=3D"optional"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"SignedMoneyAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
-			attribute</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"vr:SignedAmount_Type">
-				<xs:attribute name=3D"currency" type=3D"cm:MSCurrCode_Type" use=3D"r=
equired"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"TextualDescription_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:string">
-				<xs:attribute name=3D"language" type=3D"cm:EULanguageCode_Type" use=3D=
"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Trader_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"TransactionDescription_Type">
-		<xs:sequence>
-			<xs:element name=3D"TaxableAmount" type=3D"vr:SignedMoneyAmount_Type"=
/>
-			<xs:element name=3D"VATAmount" type=3D"vr:SignedMoneyAmount_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"TransactionReference_Type">
-		<xs:sequence>
-			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
-			<xs:choice>
-				<xs:element name=3D"InvoiceReference" type=3D"vr:InvoiceReference_Ty=
pe"/>
-				<xs:element name=3D"ImportReference" type=3D"vr:ImportReference_Type=
"/>
-			</xs:choice>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"UpdateRefusal_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReasonCode" type=3D"vr:UpdateRefusalReasonCode_Ty=
pe"/>
-			<xs:element name=3D"EffectiveVersion" type=3D"vr:RestrictedDateTime_T=
ype"/>
-			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"VATNumber_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"cm:VATNumber_Type">
-				<xs:attribute name=3D"issuedBy" type=3D"cm:EUCountryIsoCodeAlpha2_Ty=
pe" use=3D"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"VATNumberOrTIN_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"cm:VATNumberOrTIN_Type">
-				<xs:attribute name=3D"issuedBy" type=3D"cm:EUCountryIsoCodeAlpha2_Ty=
pe" use=3D"required" fixed=3D"DE"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"VersionedReference_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:Reference_Type">
-				<xs:sequence>
-					<xs:element name=3D"Version" type=3D"vr:RestrictedDateTime_Type"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<!-- SIMPLE TYPES -->
-	<xs:simpleType name=3D"AccountName_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"70"/>
-			<xs:minLength value=3D"1"/>
-			<xs:pattern value=3D"[A-Za-z0-9/\-?:().,'+ ]*"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"AdjustmentDecision_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"Accepted"/>
-			<xs:enumeration value=3D"Refused"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Amount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">A positive decimal amount, resticte=
d to two decimal
-				places</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-			<xs:minInclusive value=3D"0"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ApplicationNumber_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"(AT|BE|BG|CY|CZ|DE|DK|EE|EL|ES|FI|FR|GB|HU|IE|IT=
|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK){1}\p{IsBasicLatin}{0,16}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"BankAccountOwnerType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"applicant"/>
-			<xs:enumeration value=3D"representative"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"BIC_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">Bank Identifer Code</xs:documentati=
on>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3}){0,1}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"BusinessActivity_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"\d{4}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CorrectionReason_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"previous payment"/>
-			<xs:enumeration value=3D"penalty"/>
-			<xs:enumeration value=3D"NETP interest"/>
-			<xs:enumeration value=3D"MSREF interest"/>
-			<xs:enumeration value=3D"recovery"/>
-			<xs:enumeration value=3D"transfer of balance"/>
-			<xs:enumeration value=3D"bank fees"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Disclose_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"01">
-				<xs:annotation>
-					<xs:documentation>Information for internal use of tax administratio=
n.</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"02">
-				<xs:annotation>
-					<xs:documentation>Inform NETP unofficially.</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"03">
-				<xs:annotation>
-					<xs:documentation>Officially notify the NETP.</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"FileType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"application/pdf"/>
-			<xs:enumeration value=3D"image/jpeg"/>
-			<xs:enumeration value=3D"image/tiff"/>
-			<xs:enumeration value=3D"application/zip"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MessageType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"VATRefundApplication"/>
-			<xs:enumeration value=3D"ApplicationReceipt"/>
-			<xs:enumeration value=3D"VATRefundDecision"/>
-			<xs:enumeration value=3D"ProRataRateAdjustment"/>
-			<xs:enumeration value=3D"AdjustmentReceipt"/>
-			<xs:enumeration value=3D"AdjustmentResult"/>
-			<xs:enumeration value=3D"NETPNotification"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MSIBAN_Type">
-		<xs:restriction base=3D"cm:IBAN_Type">
-			<xs:pattern value=3D"(AT|BE|BG|CY|CZ|DE|DK|EE|GR|ES|FI|FR|GB|HU|IE|IT=
|LT|LU|LV|MC|MT|NL|PL|PT|RO|SE|SI|SK){1}.*"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"NETPNotificationType_Type">
-		<xs:restriction base=3D"vr:MessageType_Type">
-			<xs:enumeration value=3D"ApplicationReceipt"/>
-			<xs:enumeration value=3D"VATRefundDecision"/>
-			<xs:enumeration value=3D"AdjustmentReceipt"/>
-			<xs:enumeration value=3D"AdjustmentResult"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"OfficialCopyFileType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"application/pdf"/>
-			<xs:enumeration value=3D"image/jpeg"/>
-			<xs:enumeration value=3D"image/tiff"/>
-			<xs:enumeration value=3D"application/zip"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PaymentType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"Payment"/>
-			<xs:enumeration value=3D"Reimbursement"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ProRataRateCorrection_Type">
-		<xs:restriction base=3D"xs:integer">
-			<xs:minInclusive value=3D"1"/>
-			<xs:maxInclusive value=3D"100"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ProRataRate_Type">
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-			<xs:minInclusive value=3D"0.01"/>
-			<xs:maxInclusive value=3D"99.99"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ReferenceNumber_Type">
-		<xs:restriction base=3D"xs:token">
-			<xs:pattern value=3D"\p{IsBasicLatin}*"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ReferenceNumber18_Type">
-		<xs:restriction base=3D"vr:ReferenceNumber_Type">
-			<xs:maxLength value=3D"18"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RefundDecision_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"Accepted"/>
-			<xs:enumeration value=3D"PartiallyAccepted"/>
-			<xs:enumeration value=3D"Refused"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RepresentativeIDType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"NVAT"/>
-			<xs:enumeration value=3D"TIN"/>
-			<xs:enumeration value=3D"other"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RestrictedDate_Type">
-		<xs:restriction base=3D"xs:date">
-			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RestrictedDateTime_Type">
-		<xs:restriction base=3D"xs:dateTime">
-			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"SequenceNumber_Type">
-		<xs:restriction base=3D"xs:integer">
-			<xs:minInclusive value=3D"1"/>
-			<xs:maxInclusive value=3D"999999"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"SignedAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">A decimal amount, resticted to two =
decimal
-				places</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Status_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"accepted"/>
-			<xs:enumeration value=3D"rejected"/>
-			<xs:enumeration value=3D"warning"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PaymentInfo_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"140"/>
-			<xs:pattern value=3D"[A-Za-z0-9+\-\*/\s]{1,140}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"UpdateRefusalReasonCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"01">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			Correction not allowed</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"02">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			The updated VAT Refund Application cannot present new refund requests=
</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"03">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			Correction received outside of allowed period</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"04">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			Type of file is incorrect</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"05">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			The updated application does not belong to the same period as the ini=
tial one</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"99">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			Other</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Fri Jan 31 12:47:57 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W9IC5-0007TW-4N
	for mharc-phpcompta-dev@gnu.org; Fri, 31 Jan 2014 12:47:57 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Fri, 31 Jan 2014 18:34:51 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.183253.1391190476.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r671 - trunk/transform/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 17:47:55 -0000

Author: danydb
Date: 2014-01-31 18:34:51 +0100 (Fri, 31 Jan 2014)
New Revision: 671

Removed:
   trunk/transform/include/IntervatInputCommon_v0_7.xsd
   trunk/transform/include/IntervatIsoTypes_v0_7.xsd
   trunk/transform/include/NewLK-in_v0_7.xsd
   trunk/transform/include/adjreasons_v1.xsd
   trunk/transform/include/commontypes_v1.xsd
   trunk/transform/include/decreasons_v1.xsd
   trunk/transform/include/fiscalismessage_v1.xsd
   trunk/transform/include/goodsdescriptiontypes_v1.xsd
   trunk/transform/include/isotypes_v1.xsd
   trunk/transform/include/valide-exemple-listing.xml
   trunk/transform/include/valide-xml.php
   trunk/transform/include/vatrefund_v1.xsd
Log:
cleaning files

Deleted: trunk/transform/include/IntervatInputCommon_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/IntervatInputCommon_v0_7.xsd	2014-01-28 17:03=
:22 UTC (rev 670)
+++ trunk/transform/include/IntervatInputCommon_v0_7.xsd	2014-01-31 17:34=
:51 UTC (rev 671)
@@ -1,643 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/InputCommon" xmlns:iso=3D"http://www.minfin.fgov.be/I=
soTypes" xmlns:cm=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" targetNam=
espace=3D"http://www.minfin.fgov.be/InputCommon" elementFormDefault=3D"qu=
alified" version=3D"1.0" xml:lang=3D"en">
-	<xs:import namespace=3D"http://www.minfin.fgov.be/IsoTypes" schemaLocat=
ion=3D"IntervatIsoTypes_v0_7.xsd"/>
-	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
-=09
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-				1.1 =3D> import commonTypes_v1.xsd and add the phoneNumber to the Re=
presentative_Type
-			]]></xs:documentation>
-	</xs:annotation>
-	<!-- definition of complex types -->
-	<xs:complexType name=3D"Representative_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">Mandataire d'un envoi de type TVA, =
listing clients, relev=C3=A9 intracommunautaire, d=C3=A9claration sp=C3=A9=
ciale 629 ou MTN.</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
-					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:CountryCode" minOccurs=3D=
"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"RepresentativeID_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:token">
-				<xs:attribute name=3D"issuedBy" type=3D"iso:MSCountryCode" use=3D"re=
quired">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Etat membre qui a attribu=C3=A9 =
l'identifiant</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Lidstaat die de identificatie he=
eft toegekend</xs:documentation>
-						<xs:documentation xml:lang=3D"de">Mitgliedstaat, der die Kennung z=
uerkannt hat</xs:documentation>
-					</xs:annotation>
-				</xs:attribute>
-				<xs:attribute name=3D"identificationType" type=3D"RepresentativeIDTy=
pe_Type" use=3D"required">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Type d'identifiant (NVAT, TIN, o=
ther)</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Identificatietype (NVAT, TIN, ot=
her)</xs:documentation>
-						<xs:documentation xml:lang=3D"de">Kennungstyp (NVAT, TIN, other)</=
xs:documentation>
-					</xs:annotation>
-				</xs:attribute>
-				<xs:attribute name=3D"otherQlf" type=3D"xs:token" use=3D"optional">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Description d'un type d'identifi=
ant 'other'</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Omschrijving van een identificat=
ie van het type 'other'</xs:documentation>
-						<xs:documentation xml:lang=3D"de">Beschreibung eines Kennungstyps =
'other'</xs:documentation>
-					</xs:annotation>
-				</xs:attribute>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Declarant_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">D=C3=A9clarant d'un envoi de type T=
VA, listing clients, relev=C3=A9 intracommunautaire ou MTN.</xs:documenta=
tion>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
 (num=C3=A9ro de TVA belge sans "BE")</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
-					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode" minOccurs=
=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"DeclarantBE_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">D=C3=A9clarant d'un envoi de type d=
=C3=A9claration sp=C3=A9ciale 629, VATRefund ou modification du prorata V=
ATRefund (pays de l'adresse en Belgique).</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
 (num=C3=A9ro de TVA belge sans "BE")</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
-					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:BECountryCode" minOccurs=
=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse (BE)</xs:docume=
ntation>
-					<xs:documentation xml:lang=3D"nl">Land van het adres (BE)</xs:docum=
entation>
-					<xs:documentation xml:lang=3D"de">Land (BE)</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse email</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"FileAttachment_Type">
-		<xs:sequence>
-			<xs:element name=3D"FileType" type=3D"FileTypeCode">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Type de l'annexe</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"nl">Type van de bijlage</xs:documenta=
tion>
-					<xs:documentation xml:lang=3D"de">Typ der Anlage</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"FileName" type=3D"xs:token">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom du fichier (=3Dnom du fichier=
 dans le fichier zip qui inclut ce message et ses annexes)</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Naam van het bestand (=3D naam va=
n het bestand in het zip-bestand dat dit bericht en zijn bijlagen bevat)<=
/xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name der Datei (=3D Name der Date=
i in der Zip-Datei, die diese Mitteilung und ihre Anlagen enth=C3=A4lt)</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"FileDescription" type=3D"xs:token" minOccurs=3D"0=
">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Information suppl=C3=A9mentaire s=
ur le fichier</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Aanvullende informatie over het b=
estand</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Zus=C3=A4tzliche Information =C3=BC=
ber die Datei</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<!-- definition of simple types -->
-	<xs:simpleType name=3D"RepresentativeIDType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"NVAT"/>
-			<xs:enumeration value=3D"TIN"/>
-			<xs:enumeration value=3D"other"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUVATNumber">
-		<xs:restriction base=3D"xs:token">
-			<xs:maxLength value=3D"12"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"BEVATNumber">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[0-9]{10}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RepresentativeReference_Type">
-		<xs:restriction base=3D"xs:token">
-			<xs:maxLength value=3D"14"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"DeclarantReference_Type">
-		<xs:restriction base=3D"xs:token">
-			<xs:maxLength value=3D"14"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"IntervatConsignmentReference_Type">
-		<xs:restriction base=3D"xs:positiveInteger"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"IntervatDeclarationReference_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[0-9]+-[0-9]{10}-[0-9]{6}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"STIRINTReference_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"BE[0-9]{16}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"IntervatOrSTIRINTDeclReference_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"([0-9]+-[0-9]{10}-[0-9]{6})|(BE[0-9]{16})"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"FileTypeCode">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"application/pdf"/>
-			<xs:enumeration value=3D"image/jpeg"/>
-			<xs:enumeration value=3D"image/tiff"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Month_Type">
-		<xs:restriction base=3D"xs:integer">
-			<xs:minInclusive value=3D"1"/>
-			<xs:maxInclusive value=3D"12"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Quarter_Type">
-		<xs:restriction base=3D"xs:integer">
-			<xs:minInclusive value=3D"1"/>
-			<xs:maxInclusive value=3D"4"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Year_Type">
-		<xs:restriction base=3D"xs:unsignedLong">
-			<xs:totalDigits value=3D"4"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PositiveAmount_Type">
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-			<xs:minInclusive value=3D"0"/>
-			<xs:maxInclusive value=3D"99999999999.99"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"SignedAmount_Type">
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-			<xs:minInclusive value=3D"-99999999999.99"/>
-			<xs:maxInclusive value=3D"99999999999.99"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"UnlimitedSignedAmount_Type">
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"YesNo_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"YES"/>
-			<xs:enumeration value=3D"NO"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RestrictedDateTime_Type">
-		<xs:restriction base=3D"xs:dateTime">
-			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RestrictedDate_Type">
-		<xs:restriction base=3D"xs:date">
-			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Name_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"200"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Street_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"200"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PostCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"15"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"City_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"184"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EMail_Type">
-		<xs:annotation>
-			<xs:documentation>An email address</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:token">
-			<xs:pattern value=3D"([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-=
Z]{2,5})">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">A regular expression for email ad=
dresses.
-						Matches something@someserver.com, firstname.lastname@mailserver.do=
main.com,
-						username-something@some-server.tld</xs:documentation>
-				</xs:annotation>
-			</xs:pattern>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Comment_Type">
-		<xs:restriction base=3D"xs:string"/>
-	</xs:simpleType>
-	<!-- Types specific to VATRefund and Prorata -->
-	<xs:complexType name=3D"VR_Representative_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">Mandataire d'un envoi de type VATRe=
fund ou modification du prorata VATRefund (pays de l'adresse limit=C3=A9 =
aux Etats Membres)</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
-					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode" minOccurs=
=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"VR_Declarant_Type">
-		<xs:sequence>
-			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de TVA de l'assujetti=
</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Btw-nummer van de belastingplicht=
ige</xs:documentation>
-					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:BECountryCode" minOccurs=
=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-		<!-- Specificity vs. Declarant_Type:  e-mail required + countrycode of=
 address always "BE"  -->
-	</xs:complexType>
-	<!-- Types specific to Accus=C3=A9 de r=C3=A9ception -->
-	<xs:complexType name=3D"ACK_Representative_Type">
-		<xs:sequence>
-			<xs:element name=3D"RepresentativeID" type=3D"RepresentativeID_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Identifiant du mandataire</xs:doc=
umentation>
-					<xs:documentation xml:lang=3D"nl">Identificatie van de gevolmachtig=
de</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Kennung des Bevollm=C3=A4chtigten=
</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:CountryCode">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ACK_Declarant_Type">
-		<xs:sequence>
-			<xs:element name=3D"VATNumber" type=3D"BEVATNumber">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">N=C2=B0 TVA de l'assujetti</xs:do=
cumentation>
-					<xs:documentation xml:lang=3D"nl">Btw-numer van de belastingplichti=
ge</xs:documentation>
-					<xs:documentation xml:lang=3D"de">MwSt.-Nr. des Steuerpflichtigen</=
xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Name" type=3D"Name_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nom</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Naam</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Name</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Street" type=3D"Street_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Rue et num=C3=A9ro</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"nl">Straat en nummer</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Stra=C3=9Fe</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"PostCode" type=3D"PostCode_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Code postal</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Postcode</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Postleitzahl</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"City" type=3D"City_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Localit=C3=A9</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Gemeente</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Ortschaft</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"CountryCode" type=3D"iso:MSCountryCode">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Pays de l'adresse</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Land van het adres</xs:documentat=
ion>
-					<xs:documentation xml:lang=3D"de">Land</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"EmailAddress" type=3D"EMail_Type" minOccurs=3D"0"=
>
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Adresse e-mail</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">E-mail adres</xs:documentation>
-					<xs:documentation xml:lang=3D"de">E-Mail-Adresse</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element  name=3D"Phone" type=3D"cm:PhoneNumber_Type" minOccurs=3D=
"0">
-					<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Num=C3=A9ro de t=C3=A9l=C3=A9phon=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Telefoon nummer</xs:documentation=
>
-					<xs:documentation xml:lang=3D"de">Telefoon nummer</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-</xs:schema>

Deleted: trunk/transform/include/IntervatIsoTypes_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/IntervatIsoTypes_v0_7.xsd	2014-01-28 17:03:22=
 UTC (rev 670)
+++ trunk/transform/include/IntervatIsoTypes_v0_7.xsd	2014-01-31 17:34:51=
 UTC (rev 671)
@@ -1,1039 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/IsoTypes" targetNamespace=3D"http://www.minfin.fgov.b=
e/IsoTypes" elementFormDefault=3D"qualified" version=3D"1.0" xml:lang=3D"=
en">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			v1. Initial version
-				Content: country codes, currencies and languages
-			]]></xs:documentation>
-	</xs:annotation>
-	<!-- COUNTRIES -->
-	<xs:simpleType name=3D"BECountryCode">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"BE"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"DECountryCode">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"DE"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MSCountryCodeExclBE">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"AT"/>
-			<xs:enumeration value=3D"BG"/>
-			<xs:enumeration value=3D"CY"/>
-			<xs:enumeration value=3D"CZ"/>
-			<xs:enumeration value=3D"DK"/>
-			<xs:enumeration value=3D"EE"/>
-			<xs:enumeration value=3D"FI"/>
-			<xs:enumeration value=3D"FR"/>
-			<xs:enumeration value=3D"DE"/>
-			<xs:enumeration value=3D"EL"/>
-			<xs:enumeration value=3D"HU"/>
-			<xs:enumeration value=3D"HR"/>
-			<xs:enumeration value=3D"IE"/>
-			<xs:enumeration value=3D"IT"/>
-			<xs:enumeration value=3D"LV"/>
-			<xs:enumeration value=3D"LT"/>
-			<xs:enumeration value=3D"LU"/>
-			<xs:enumeration value=3D"MT"/>
-			<xs:enumeration value=3D"MC"/>
-			<xs:enumeration value=3D"NL"/>
-			<xs:enumeration value=3D"PL"/>
-			<xs:enumeration value=3D"PT"/>
-			<xs:enumeration value=3D"RO"/>
-			<xs:enumeration value=3D"SK"/>
-			<xs:enumeration value=3D"SI"/>
-			<xs:enumeration value=3D"ES"/>
-			<xs:enumeration value=3D"SE"/>
-			<xs:enumeration value=3D"GB"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MSCountryCode">
-		<xs:union memberTypes=3D"MSCountryCodeExclBE BECountryCode"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CountryCode">
-		<xs:union memberTypes=3D"MSCountryCode CountryExMSCode"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CountryExMSCode">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">
-			The appropriate country code from the ISO 3166 two-byte alpha version=
 for the state in which the party concerned is a resident. Omit this only=
 if  no data is available.
-			This list excludes Member States of the European Union
-Valid entries are:
-	- AF --  AFGHANISTAN=20
-	- AX --  =C3=85LAND ISLANDS
-	- AL --  ALBANIA=20
-	- DZ --  ALGERIA=20
-	- AS --  AMERICAN SAMOA=20
-	- AD --  ANDORRA=20
-	- AO --  ANGOLA=20
-	- AI --  ANGUILLA=20
-	- AQ --  ANTARCTICA=20
-	- AG --  ANTIGUA AND BARBUDA=20
-	- AR --  ARGENTINA=20
-	- AM --  ARMENIA=20
-	- AW --  ARUBA=20
-	- AU --  AUSTRALIA=20
-	- AT --  AUSTRIA=20
-	- AZ --  AZERBAIJAN=20
-	- BS --  BAHAMAS=20
-	- BH --  BAHRAIN=20
-	- BD --  BANGLADESH=20
-	- BB --  BARBADOS=20
-	- BY --  BELARUS=20
-	- BE --  BELGIUM=20
-	- BZ --  BELIZE=20
-	- BJ --  BENIN=20
-	- BM --  BERMUDA=20
-	- BT --  BHUTAN=20
-	- BO --  BOLIVIA=20
-	- BA --  BOSNIA AND HERZEGOVINA=20
-	- BW --  BOTSWANA=20
-	- BV --  BOUVET ISLAND=20
-	- BR --  BRAZIL=20
-	- IO --  BRITISH INDIAN OCEAN TERRITORY=20
-	- BN --  BRUNEI DARUSSALAM=20
-	- BG --  BULGARIA=20
-	- BF --  BURKINA FASO=20
-	- BI --  BURUNDI=20
-	- KH --  CAMBODIA=20
-	- CM --  CAMEROON=20
-	- CA --  CANADA=20
-	- CV --  CAPE VERDE=20
-	- KY --  CAYMAN ISLANDS=20
-	- CF --  CENTRAL AFRICAN REPUBLIC=20
-	- TD --  CHAD=20
-	- CL --  CHILE=20
-	- CN --  CHINA=20
-	- CX --  CHRISTMAS ISLAND=20
-	- CC --  COCOS (KEELING) ISLANDS=20
-	- CO --  COLOMBIA=20
-	- KM --  COMOROS=20
-	- CG --  CONGO=20
-	- CD --  CONGO, THE DEMOCRATIC REPUBLIC OF THE=20
-	- CK --  COOK ISLANDS=20
-	- CR --  COSTA RICA=20
-	- CI --  COTE D'IVOIRE=20
-	- HR --  CROATIA=20
-	- CU --  CUBA=20
-	- CY --  CYPRUS=20
-	- CZ --  CZECH REPUBLIC=20
-	- DK --  DENMARK=20
-	- DJ --  DJIBOUTI=20
-	- DM --  DOMINICA=20
-	- DO --  DOMINICAN REPUBLIC=20
-	- EC --  ECUADOR=20
-	- EG --  EGYPT=20
-	- SV --  EL SALVADOR=20
-	- GQ --  EQUATORIAL GUINEA=20
-	- ER --  ERITREA=20
-	- EE --  ESTONIA=20
-	- ET --  ETHIOPIA=20
-	- FK --  FALKLAND ISLANDS (MALVINAS)=20
-	- FO --  FAROE ISLANDS=20
-	- FJ --  FIJI=20
-	- FI --  FINLAND=20
-	- FR --  FRANCE=20
-	- GF --  FRENCH GUIANA=20
-	- PF --  FRENCH POLYNESIA=20
-	- TF --  FRENCH SOUTHERN TERRITORIES=20
-	- GA --  GABON=20
-	- GM --  GAMBIA=20
-	- GE --  GEORGIA=20
-	- DE --  GERMANY=20
-	- GH --  GHANA=20
-	- GI --  GIBRALTAR=20
-	- GR --  GREECE=20
-	- GL --  GREENLAND=20
-	- GD --  GRENADA=20
-	- GP --  GUADELOUPE=20
-	- GU --  GUAM=20
-	- GT --  GUATEMALA=20
-	- GG --  GUERNSEY
-	- GN --  GUINEA=20
-	- GW --  GUINEA-BISSAU=20
-	- GY --  GUYANA=20
-	- HT --  HAITI=20
-	- HM --  HEARD ISLAND AND MCDONALD ISLANDS=20
-	- VA --  HOLY SEE (VATICAN CITY STATE)=20
-	- HN --  HONDURAS=20
-	- HK --  HONG KONG=20
-	- HU --  HUNGARY=20
-	- IS --  ICELAND=20
-	- IN --  INDIA=20
-	- ID --  INDONESIA=20
-	- IR --  IRAN, ISLAMIC REPUBLIC OF=20
-	- IQ --  IRAQ=20
-	- IE --  IRELAND=20
-	- IM --  ISLE OF MAN
-	- IL --  ISRAEL=20
-	- IT --  ITALY=20
-	- JM --  JAMAICA=20
-	- JP --  JAPAN=20
-	- JE --	 JERSEY
-	- JO --  JORDAN=20
-	- KZ --  KAZAKHSTAN=20
-	- KE --  KENYA=20
-	- KI --  KIRIBATI=20
-	- KP --  KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF=20
-	- KR --  KOREA, REPUBLIC OF=20
-	- KW --  KUWAIT=20
-	- KG --  KYRGYZSTAN=20
-	- LA --  LAO PEOPLE'S DEMOCRATIC REPUBLIC=20
-	- LV --  LATVIA=20
-	- LB --  LEBANON=20
-	- LS --  LESOTHO=20
-	- LR --  LIBERIA=20
-	- LY --  LIBYAN ARAB JAMAHIRIYA=20
-	- LI --  LIECHTENSTEIN=20
-	- LT --  LITHUANIA=20
-	- LU --  LUXEMBOURG=20
-	- MO --  MACAO=20
-	- MK --  MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF=20
-	- MG --  MADAGASCAR=20
-	- MW --  MALAWI=20
-	- MY --  MALAYSIA=20
-	- MV --  MALDIVES=20
-	- ML --  MALI=20
-	- MT --  MALTA=20
-	- MH --  MARSHALL ISLANDS=20
-	- MQ --  MARTINIQUE=20
-	- MR --  MAURITANIA=20
-	- MU --  MAURITIUS=20
-	- YT --  MAYOTTE=20
-	- MX --  MEXICO=20
-	- FM --  MICRONESIA, FEDERATED STATES OF=20
-	- MD --  MOLDOVA, REPUBLIC OF=20
-	- MC --  MONACO=20
-	- MN --  MONGOLIA=20
-	- ME --  MONTENEGRO
-	- MS --  MONTSERRAT=20
-	- MA --  MOROCCO=20
-	- MZ --  MOZAMBIQUE=20
-	- MM --  MYANMAR=20
-	- NA --  NAMIBIA=20
-	- NR --  NAURU=20
-	- NP --  NEPAL=20
-	- NL --  NETHERLANDS=20
-	- AN --  NETHERLANDS ANTILLES=20
-	- NC --  NEW CALEDONIA=20
-	- NZ --  NEW ZEALAND=20
-	- NI --  NICARAGUA=20
-	- NE --  NIGER=20
-	- NG --  NIGERIA=20
-	- NU --  NIUE=20
-	- NF --  NORFOLK ISLAND=20
-	- MP --  NORTHERN MARIANA ISLANDS=20
-	- NO --  NORWAY=20
-	- OM --  OMAN=20
-	- PK --  PAKISTAN=20
-	- PW --  PALAU=20
-	- PS --  PALESTINIAN TERRITORY, OCCUPIED=20
-	- PA --  PANAMA=20
-	- PG --  PAPUA NEW GUINEA=20
-	- PY --  PARAGUAY=20
-	- PE --  PERU=20
-	- PH --  PHILIPPINES=20
-	- PN --  PITCAIRN=20
-	- PL --  POLAND=20
-	- PT --  PORTUGAL=20
-	- PR --  PUERTO RICO=20
-	- QA --  QATAR=20
-	- RE --  REUNION=20
-	- RO --  ROMANIA=20
-	- RU --  RUSSIAN FEDERATION=20
-	- RW --  RWANDA=20
-	- BL --  SAINT BARTH=C3=89LEMY
-	- SH --  SAINT HELENA=20
-	- KN --  SAINT KITTS AND NEVIS=20
-	- LC --  SAINT LUCIA=20
-	- MF --  SAINT MARTIN
-	- PM --  SAINT PIERRE AND MIQUELON=20
-	- VC --  SAINT VINCENT AND THE GRENADINES=20
-	- WS --  SAMOA=20
-	- SM --  SAN MARINO=20
-	- ST --  SAO TOME AND PRINCIPE=20
-	- SA --  SAUDI ARABIA=20
-	- SN --  SENEGAL=20
-	- RS --  SERBIA
-	- SC --  SEYCHELLES=20
-	- SL --  SIERRA LEONE=20
-	- SG --  SINGAPORE=20
-	- SK --  SLOVAKIA=20
-	- SI --  SLOVENIA=20
-	- SB --  SOLOMON ISLANDS=20
-	- SO --  SOMALIA=20
-	- ZA --  SOUTH AFRICA=20
-	- GS --  SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS=20
-	- ES --  SPAIN=20
-	- LK --  SRI LANKA=20
-	- SD --  SUDAN=20
-	- SR --  SURINAME=20
-	- SJ --  SVALBARD AND JAN MAYEN=20
-	- SZ --  SWAZILAND=20
-	- SE --  SWEDEN=20
-	- CH --  SWITZERLAND=20
-	- SY --  SYRIAN ARAB REPUBLIC=20
-	- TW --  TAIWAN, PROVINCE OF CHINA=20
-	- TJ --  TAJIKISTAN=20
-	- TZ --  TANZANIA, UNITED REPUBLIC OF=20
-	- TH --  THAILAND=20
-	- TL --  TIMOR-LESTE=20
-	- TG --  TOGO=20
-	- TK --  TOKELAU=20
-	- TO --  TONGA=20
-	- TT --  TRINIDAD AND TOBAGO=20
-	- TN --  TUNISIA=20
-	- TR --  TURKEY=20
-	- TM --  TURKMENISTAN=20
-	- TC --  TURKS AND CAICOS ISLANDS=20
-	- TV --  TUVALU=20
-	- UG --  UGANDA=20
-	- UA --  UKRAINE=20
-	- AE --  UNITED ARAB EMIRATES=20
-	- GB --  UNITED KINGDOM=20
-	- US --  UNITED STATES=20
-	- UM --  UNITED STATES MINOR OUTLYING ISLANDS=20
-	- UY --  URUGUAY=20
-	- UZ --  UZBEKISTAN=20
-	- VU --  VANUATU=20
-	- VE --  VENEZUELA, BOLIVARIAN REPUBLIC OF
-	- VN --  VIET NAM=20
-	- VG --  VIRGIN ISLANDS, BRITISH=20
-	- VI --  VIRGIN ISLANDS, U.S.=20
-	- WF --  WALLIS AND FUTUNA=20
-	- EH --  WESTERN SAHARA=20
-	- YE --  YEMEN=20
-	- ZM --  ZAMBIA=20
-	- ZW --  ZIMBABWE=20
-			</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"AF"/>
-			<xs:enumeration value=3D"AX"/>
-			<xs:enumeration value=3D"AL"/>
-			<xs:enumeration value=3D"DZ"/>
-			<xs:enumeration value=3D"AS"/>
-			<xs:enumeration value=3D"AD"/>
-			<xs:enumeration value=3D"AO"/>
-			<xs:enumeration value=3D"AI"/>
-			<xs:enumeration value=3D"AQ"/>
-			<xs:enumeration value=3D"AG"/>
-			<xs:enumeration value=3D"AR"/>
-			<xs:enumeration value=3D"AM"/>
-			<xs:enumeration value=3D"AW"/>
-			<xs:enumeration value=3D"AU"/>
-			<xs:enumeration value=3D"AZ"/>
-			<xs:enumeration value=3D"BS"/>
-			<xs:enumeration value=3D"BH"/>
-			<xs:enumeration value=3D"BD"/>
-			<xs:enumeration value=3D"BB"/>
-			<xs:enumeration value=3D"BY"/>
-			<xs:enumeration value=3D"BZ"/>
-			<xs:enumeration value=3D"BJ"/>
-			<xs:enumeration value=3D"BM"/>
-			<xs:enumeration value=3D"BT"/>
-			<xs:enumeration value=3D"BO"/>
-			<xs:enumeration value=3D"BA"/>
-			<xs:enumeration value=3D"BW"/>
-			<xs:enumeration value=3D"BV"/>
-			<xs:enumeration value=3D"BR"/>
-			<xs:enumeration value=3D"IO"/>
-			<xs:enumeration value=3D"BN"/>
-			<xs:enumeration value=3D"BF"/>
-			<xs:enumeration value=3D"BI"/>
-			<xs:enumeration value=3D"KH"/>
-			<xs:enumeration value=3D"CM"/>
-			<xs:enumeration value=3D"CA"/>
-			<xs:enumeration value=3D"CV"/>
-			<xs:enumeration value=3D"KY"/>
-			<xs:enumeration value=3D"CF"/>
-			<xs:enumeration value=3D"TD"/>
-			<xs:enumeration value=3D"CL"/>
-			<xs:enumeration value=3D"CN"/>
-			<xs:enumeration value=3D"CX"/>
-			<xs:enumeration value=3D"CC"/>
-			<xs:enumeration value=3D"CO"/>
-			<xs:enumeration value=3D"KM"/>
-			<xs:enumeration value=3D"CG"/>
-			<xs:enumeration value=3D"CD"/>
-			<xs:enumeration value=3D"CK"/>
-			<xs:enumeration value=3D"CR"/>
-			<xs:enumeration value=3D"CI"/>
-			<xs:enumeration value=3D"CU"/>
-			<xs:enumeration value=3D"DJ"/>
-			<xs:enumeration value=3D"DM"/>
-			<xs:enumeration value=3D"DO"/>
-			<xs:enumeration value=3D"EC"/>
-			<xs:enumeration value=3D"EG"/>
-			<xs:enumeration value=3D"SV"/>
-			<xs:enumeration value=3D"GQ"/>
-			<xs:enumeration value=3D"ER"/>
-			<xs:enumeration value=3D"ET"/>
-			<xs:enumeration value=3D"FK"/>
-			<xs:enumeration value=3D"FO"/>
-			<xs:enumeration value=3D"FJ"/>
-			<xs:enumeration value=3D"GF"/>
-			<xs:enumeration value=3D"PF"/>
-			<xs:enumeration value=3D"TF"/>
-			<xs:enumeration value=3D"GA"/>
-			<xs:enumeration value=3D"GM"/>
-			<xs:enumeration value=3D"GE"/>
-			<xs:enumeration value=3D"GH"/>
-			<xs:enumeration value=3D"GI"/>
-			<xs:enumeration value=3D"GL"/>
-			<xs:enumeration value=3D"GD"/>
-			<xs:enumeration value=3D"GP"/>
-			<xs:enumeration value=3D"GU"/>
-			<xs:enumeration value=3D"GT"/>
-			<xs:enumeration value=3D"GG"/>
-			<xs:enumeration value=3D"GN"/>
-			<xs:enumeration value=3D"GW"/>
-			<xs:enumeration value=3D"GY"/>
-			<xs:enumeration value=3D"HT"/>
-			<xs:enumeration value=3D"HM"/>
-			<xs:enumeration value=3D"VA"/>
-			<xs:enumeration value=3D"HN"/>
-			<xs:enumeration value=3D"HK"/>
-			<xs:enumeration value=3D"IS"/>
-			<xs:enumeration value=3D"IN"/>
-			<xs:enumeration value=3D"ID"/>
-			<xs:enumeration value=3D"IR"/>
-			<xs:enumeration value=3D"IQ"/>
-			<xs:enumeration value=3D"IM"/>
-			<xs:enumeration value=3D"IL"/>
-			<xs:enumeration value=3D"JM"/>
-			<xs:enumeration value=3D"JP"/>
-			<xs:enumeration value=3D"JE"/>
-			<xs:enumeration value=3D"JO"/>
-			<xs:enumeration value=3D"KZ"/>
-			<xs:enumeration value=3D"KE"/>
-			<xs:enumeration value=3D"KI"/>
-			<xs:enumeration value=3D"KP"/>
-			<xs:enumeration value=3D"KR"/>
-			<xs:enumeration value=3D"KW"/>
-			<xs:enumeration value=3D"KG"/>
-			<xs:enumeration value=3D"LA"/>
-			<xs:enumeration value=3D"LB"/>
-			<xs:enumeration value=3D"LS"/>
-			<xs:enumeration value=3D"LR"/>
-			<xs:enumeration value=3D"LY"/>
-			<xs:enumeration value=3D"LI"/>
-			<xs:enumeration value=3D"MO"/>
-			<xs:enumeration value=3D"MK"/>
-			<xs:enumeration value=3D"MG"/>
-			<xs:enumeration value=3D"MW"/>
-			<xs:enumeration value=3D"MY"/>
-			<xs:enumeration value=3D"MV"/>
-			<xs:enumeration value=3D"ML"/>
-			<xs:enumeration value=3D"MH"/>
-			<xs:enumeration value=3D"MQ"/>
-			<xs:enumeration value=3D"MR"/>
-			<xs:enumeration value=3D"MU"/>
-			<xs:enumeration value=3D"YT"/>
-			<xs:enumeration value=3D"MX"/>
-			<xs:enumeration value=3D"FM"/>
-			<xs:enumeration value=3D"MD"/>
-			<xs:enumeration value=3D"MN"/>
-			<xs:enumeration value=3D"ME"/>
-			<xs:enumeration value=3D"MS"/>
-			<xs:enumeration value=3D"MA"/>
-			<xs:enumeration value=3D"MZ"/>
-			<xs:enumeration value=3D"MM"/>
-			<xs:enumeration value=3D"NA"/>
-			<xs:enumeration value=3D"NR"/>
-			<xs:enumeration value=3D"NP"/>
-			<xs:enumeration value=3D"AN"/>
-			<xs:enumeration value=3D"NC"/>
-			<xs:enumeration value=3D"NZ"/>
-			<xs:enumeration value=3D"NI"/>
-			<xs:enumeration value=3D"NE"/>
-			<xs:enumeration value=3D"NG"/>
-			<xs:enumeration value=3D"NU"/>
-			<xs:enumeration value=3D"NF"/>
-			<xs:enumeration value=3D"MP"/>
-			<xs:enumeration value=3D"NO"/>
-			<xs:enumeration value=3D"OM"/>
-			<xs:enumeration value=3D"PK"/>
-			<xs:enumeration value=3D"PW"/>
-			<xs:enumeration value=3D"PS"/>
-			<xs:enumeration value=3D"PA"/>
-			<xs:enumeration value=3D"PG"/>
-			<xs:enumeration value=3D"PY"/>
-			<xs:enumeration value=3D"PE"/>
-			<xs:enumeration value=3D"PH"/>
-			<xs:enumeration value=3D"PN"/>
-			<xs:enumeration value=3D"PR"/>
-			<xs:enumeration value=3D"QA"/>
-			<xs:enumeration value=3D"RE"/>
-			<xs:enumeration value=3D"RU"/>
-			<xs:enumeration value=3D"RW"/>
-			<xs:enumeration value=3D"BL"/>
-			<xs:enumeration value=3D"SH"/>
-			<xs:enumeration value=3D"KN"/>
-			<xs:enumeration value=3D"LC"/>
-			<xs:enumeration value=3D"MF"/>
-			<xs:enumeration value=3D"PM"/>
-			<xs:enumeration value=3D"VC"/>
-			<xs:enumeration value=3D"WS"/>
-			<xs:enumeration value=3D"SM"/>
-			<xs:enumeration value=3D"ST"/>
-			<xs:enumeration value=3D"SA"/>
-			<xs:enumeration value=3D"SN"/>
-			<xs:enumeration value=3D"RS"/>
-			<xs:enumeration value=3D"SC"/>
-			<xs:enumeration value=3D"SL"/>
-			<xs:enumeration value=3D"SG"/>
-			<xs:enumeration value=3D"SB"/>
-			<xs:enumeration value=3D"SO"/>
-			<xs:enumeration value=3D"ZA"/>
-			<xs:enumeration value=3D"GS"/>
-			<xs:enumeration value=3D"LK"/>
-			<xs:enumeration value=3D"SD"/>
-			<xs:enumeration value=3D"SR"/>
-			<xs:enumeration value=3D"SJ"/>
-			<xs:enumeration value=3D"SZ"/>
-			<xs:enumeration value=3D"CH"/>
-			<xs:enumeration value=3D"SY"/>
-			<xs:enumeration value=3D"TW"/>
-			<xs:enumeration value=3D"TJ"/>
-			<xs:enumeration value=3D"TZ"/>
-			<xs:enumeration value=3D"TH"/>
-			<xs:enumeration value=3D"TL"/>
-			<xs:enumeration value=3D"TG"/>
-			<xs:enumeration value=3D"TK"/>
-			<xs:enumeration value=3D"TO"/>
-			<xs:enumeration value=3D"TT"/>
-			<xs:enumeration value=3D"TN"/>
-			<xs:enumeration value=3D"TR"/>
-			<xs:enumeration value=3D"TM"/>
-			<xs:enumeration value=3D"TC"/>
-			<xs:enumeration value=3D"TV"/>
-			<xs:enumeration value=3D"UG"/>
-			<xs:enumeration value=3D"UA"/>
-			<xs:enumeration value=3D"AE"/>
-			<xs:enumeration value=3D"US"/>
-			<xs:enumeration value=3D"UM"/>
-			<xs:enumeration value=3D"UY"/>
-			<xs:enumeration value=3D"UZ"/>
-			<xs:enumeration value=3D"VU"/>
-			<xs:enumeration value=3D"VE"/>
-			<xs:enumeration value=3D"VN"/>
-			<xs:enumeration value=3D"VG"/>
-			<xs:enumeration value=3D"VI"/>
-			<xs:enumeration value=3D"WF"/>
-			<xs:enumeration value=3D"EH"/>
-			<xs:enumeration value=3D"YE"/>
-			<xs:enumeration value=3D"ZM"/>
-			<xs:enumeration value=3D"ZW"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<!-- CURRENCIES -->
-	<xs:simpleType name=3D"MSCurrencyCode">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">
-			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed. Currency co=
des are limited to those of Member States.
-Valid entries are:
-BGN Bulgaria, Leva=20
-CZK Czech Republic, Koruny=20
-DKK Denmark, Kroner=20
-EEK Estonia, Krooni=20
-EUR Euro Member Countries, Euro=20
-GBP United Kingdom, Pounds=20
-HUF Hungary, Forint=20
-LTL Lithuania, Litai=20
-LVL Latvia, Lati=20
-PLN Poland, Zlotych=20
-RON Romania, New Lei=20
-SEK Sweden, Kronor
-HRK Croatia, Kuna=20
-			</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"BGN"/>
-			<xs:enumeration value=3D"CZK"/>
-			<xs:enumeration value=3D"DKK"/>
-			<xs:enumeration value=3D"EEK"/>
-			<xs:enumeration value=3D"EUR"/>
-			<xs:enumeration value=3D"GBP"/>
-			<xs:enumeration value=3D"HUF"/>
-			<xs:enumeration value=3D"LTL"/>
-			<xs:enumeration value=3D"LVL"/>
-			<xs:enumeration value=3D"PLN"/>
-			<xs:enumeration value=3D"RON"/>
-			<xs:enumeration value=3D"SEK"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CurrencyCode">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">
-			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed.=20
-Valid entries are:
-AED United Arab Emirates, Dirhams=20
-AFN Afghanistan, Afghanis=20
-ALL Albania, Leke=20
-AMD Armenia, Drams=20
-ANG Netherlands Antilles, Guilders=20
-AOA Angola, Kwanza=20
-ARS Argentina, Pesos=20
-AUD Australia, Dollars=20
-AWG Aruba, Guilders=20
-AZN Azerbaijan, Manats=20
-BAM Bosnia and Herzegovina, Convertible Marka=20
-BBD Barbados, Dollars=20
-BDT Bangladesh, Taka=20
-BGN Bulgaria, Leva=20
-BHD Bahrain, Dinars=20
-BIF Burundi, Francs=20
-BMD Bermuda, Dollars=20
-BND Brunei Darussalam, Dollars=20
-BOB Bolivia, Bolivianos=20
-BOV Bolivia, Mvdol
-BRL Brazil, Brazil Real=20
-BSD Bahamas, Dollars=20
-BTN Bhutan, Ngultrum=20
-BWP Botswana, Pulas=20
-BYR Belarus, Rubles=20
-BZD Belize, Dollars=20
-CAD Canada, Dollars=20
-CDF Congo/Kinshasa, Congolese Francs=20
-CHF Switzerland, Francs=20
-CLF Chile, Unidades de fomento=20
-CLP Chile, Pesos=20
-CNY China, Yuan Renminbi=20
-COP Colombia, Pesos=20
-COU Colombia, Unidad de Valor Real
-CRC Costa Rica, Colones=20
-CUC Cuba, Convertible Pesos=20
-CUP Cuba, Pesos=20
-CVE Cape Verde, Escudos=20
-CZK Czech Republic, Koruny=20
-DJF Djibouti, Francs=20
-DKK Denmark, Kroner=20
-DOP Dominican Republic, Pesos=20
-DZD Algeria, Algeria Dinars=20
-EEK Estonia, Krooni=20
-EGP Egypt, Pounds=20
-ERN Eritrea, Nakfa=20
-ETB Ethiopia, Birr=20
-EUR Euro Member Countries, Euro=20
-FJD Fiji, Dollars=20
-FKP Falkland Islands (Malvinas), Pounds=20
-GBP United Kingdom, Pounds=20
-GEL Georgia, Lari=20
-GHS Ghana, Cedis=20
-GIP Gibraltar, Pounds=20
-GMD Gambia, Dalasi=20
-GNF Guinea, Francs=20
-GTQ Guatemala, Quetzales=20
-GWP Guinea-Bissau Peso
-GYD Guyana, Dollars=20
-HKD Hong Kong, Dollars=20
-HNL Honduras, Lempiras=20
-HTG Haiti, Gourdes=20
-HUF Hungary, Forint=20
-IDR Indonesia, Rupiahs=20
-ILS Israel, New Shekels=20
-INR India, Rupees=20
-IQD Iraq, Dinars=20
-IRR Iran, Rials=20
-ISK Iceland, Kronur =20
-JMD Jamaica, Dollars=20
-JOD Jordan, Dinars=20
-JPY Japan, Yen=20
-KES Kenya, Shillings=20
-KGS Kyrgyzstan, Soms=20
-KHR Cambodia, Riels=20
-KMF Comoros, Francs=20
-KPW Korea (North), Won=20
-KRW Korea (South), Won=20
-KWD Kuwait, Dinars=20
-KYD Cayman Islands, Dollars=20
-KZT Kazakstan, Tenge=20
-LAK Laos, Kips=20
-LBP Lebanon, Pounds=20
-LKR Sri Lanka, Rupees=20
-LRD Liberia, Dollars=20
-LSL Lesotho, Maloti=20
-LTL Lithuania, Litai=20
-LVL Latvia, Lati=20
-LYD Libya, Dinars=20
-MAD Morocco, Dirhams=20
-MDL Moldova, Lei=20
-MGA Madagascar, Malagasy Ariary=20
-MKD Macedonia, Denars=20
-MMK Myanmar (Burma), Kyats=20
-MNT Mongolia, Tugriks=20
-MOP Macau, Patacas=20
-MRO Mauritania, Ouguiyas=20
-MTL Malta, Liri=20
-MUR Mauritius, Rupees=20
-MVR Maldives (Maldive Islands), Rufiyaa=20
-MWK Malawi, Kwachas=20
-MXN Mexico, Pesos=20
-MXV Mexico, Mexican Unidad de Inversion
-MYR Malaysia, Ringgits=20
-MZN Mozambique, Meticais=20
-NAD Namibia, Dollars=20
-NGN Nigeria, Nairas=20
-NIO Nicaragua, Gold Cordobas=20
-NOK Norway, Krone=20
-NPR Nepal, Nepal Rupees=20
-NZD New Zealand, Dollars=20
-OMR Oman, Rials=20
-PAB Panama, Balboa=20
-PEN Peru, Nuevos Soles=20
-PGK Papua New Guinea, Kina=20
-PHP Philippines, Pesos=20
-PKR Pakistan, Rupees=20
-PLN Poland, Zlotych=20
-PYG Paraguay, Guarani=20
-QAR Qatar, Rials=20
-RON Romania, New Lei=20
-RSD Serbian Dinar
-RUB Russia, Rubles=20
-RWF Rwanda, Rwanda Francs=20
-SAR Saudi Arabia, Riyals=20
-SBD Solomon Islands, Dollars=20
-SCR Seychelles, Rupees=20
-SDG Sudan, Dinars=20
-SEK Sweden, Kronor=20
-SGD Singapore, Dollars=20
-SHP Saint Helena, Pounds=20
-SLL Sierra Leone, Leones=20
-SOS Somalia, Shillings=20
-SRD Suriname, Dollar=20
-STD S=C3=A3o Tome and Principe, Dobras=20
-SVC El Salvador, Colones=20
-SYP Syria, Pounds=20
-SZL Swaziland, Emalangeni=20
-THB Thailand, Baht=20
-TJS Tajikistan, Somoni=20
-TMT Turkmenistan, Manats=20
-TND Tunisia, Dinars=20
-TOP Tonga, Pa'anga=20
-TRY Turkey, Liras=20
-TTD Trinidad and Tobago, Dollars=20
-TWD Taiwan, New Dollars=20
-TZS Tanzania, Shillings=20
-UAH Ukraine, Hryvnia=20
-UGX Uganda, Shillings=20
-USD United States of America, Dollars=20
-UYU Uruguay, Pesos=20
-UZS Uzbekistan, Sums=20
-VEF Venezuela, Bolivares=20
-VND Viet Nam, Dong=20
-VUV Vanuatu, Vatu=20
-WST Samoa, Tala=20
-XAF Communaut=C3=A9 Financi=C3=A8re Africaine BEAC, Francs=20
-XCD East Caribbean Dollars=20
-XOF Communaut=C3=A9 Financi=C3=A8re Africaine BCEAO, Francs=20
-XPD Palladium Ounces=20
-XPF Comptoirs Fran=C3=A7ais du Pacifique Francs=20
-YER Yemen, Rials=20
-ZAR South Africa, Rand=20
-ZMK Zambia, Kwacha=20
-ZWL Zimbabwe, Zimbabwe Dollars=20
-			</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"AED"/>
-			<xs:enumeration value=3D"AFN"/>
-			<xs:enumeration value=3D"ALL"/>
-			<xs:enumeration value=3D"AMD"/>
-			<xs:enumeration value=3D"ANG"/>
-			<xs:enumeration value=3D"AOA"/>
-			<xs:enumeration value=3D"ARS"/>
-			<xs:enumeration value=3D"AUD"/>
-			<xs:enumeration value=3D"AWG"/>
-			<xs:enumeration value=3D"AZN"/>
-			<xs:enumeration value=3D"BAM"/>
-			<xs:enumeration value=3D"BBD"/>
-			<xs:enumeration value=3D"BDT"/>
-			<xs:enumeration value=3D"BGN"/>
-			<xs:enumeration value=3D"BHD"/>
-			<xs:enumeration value=3D"BIF"/>
-			<xs:enumeration value=3D"BMD"/>
-			<xs:enumeration value=3D"BND"/>
-			<xs:enumeration value=3D"BOB"/>
-			<xs:enumeration value=3D"BOV"/>
-			<xs:enumeration value=3D"BRL"/>
-			<xs:enumeration value=3D"BSD"/>
-			<xs:enumeration value=3D"BTN"/>
-			<xs:enumeration value=3D"BWP"/>
-			<xs:enumeration value=3D"BYR"/>
-			<xs:enumeration value=3D"BZD"/>
-			<xs:enumeration value=3D"CAD"/>
-			<xs:enumeration value=3D"CDF"/>
-			<xs:enumeration value=3D"CHF"/>
-			<xs:enumeration value=3D"CLF"/>
-			<xs:enumeration value=3D"CLP"/>
-			<xs:enumeration value=3D"CNY"/>
-			<xs:enumeration value=3D"COP"/>
-			<xs:enumeration value=3D"COU"/>
-			<xs:enumeration value=3D"CRC"/>
-			<xs:enumeration value=3D"CUC"/>
-			<xs:enumeration value=3D"CUP"/>
-			<xs:enumeration value=3D"CVE"/>
-			<xs:enumeration value=3D"CZK"/>
-			<xs:enumeration value=3D"DJF"/>
-			<xs:enumeration value=3D"DKK"/>
-			<xs:enumeration value=3D"DOP"/>
-			<xs:enumeration value=3D"DZD"/>
-			<xs:enumeration value=3D"EEK"/>
-			<xs:enumeration value=3D"EGP"/>
-			<xs:enumeration value=3D"ERN"/>
-			<xs:enumeration value=3D"ETB"/>
-			<xs:enumeration value=3D"EUR"/>
-			<xs:enumeration value=3D"FJD"/>
-			<xs:enumeration value=3D"FKP"/>
-			<xs:enumeration value=3D"GBP"/>
-			<xs:enumeration value=3D"GEL"/>
-			<xs:enumeration value=3D"GHS"/>
-			<xs:enumeration value=3D"GIP"/>
-			<xs:enumeration value=3D"GMD"/>
-			<xs:enumeration value=3D"GNF"/>
-			<xs:enumeration value=3D"GTQ"/>
-			<xs:enumeration value=3D"GWP"/>
-			<xs:enumeration value=3D"GYD"/>
-			<xs:enumeration value=3D"HKD"/>
-			<xs:enumeration value=3D"HNL"/>
-			<xs:enumeration value=3D"HRK"/>
-			<xs:enumeration value=3D"HTG"/>
-			<xs:enumeration value=3D"HUF"/>
-			<xs:enumeration value=3D"IDR"/>
-			<xs:enumeration value=3D"ILS"/>
-			<xs:enumeration value=3D"INR"/>
-			<xs:enumeration value=3D"IQD"/>
-			<xs:enumeration value=3D"IRR"/>
-			<xs:enumeration value=3D"ISK"/>
-			<xs:enumeration value=3D"JMD"/>
-			<xs:enumeration value=3D"JOD"/>
-			<xs:enumeration value=3D"JPY"/>
-			<xs:enumeration value=3D"KES"/>
-			<xs:enumeration value=3D"KGS"/>
-			<xs:enumeration value=3D"KHR"/>
-			<xs:enumeration value=3D"KMF"/>
-			<xs:enumeration value=3D"KPW"/>
-			<xs:enumeration value=3D"KRW"/>
-			<xs:enumeration value=3D"KWD"/>
-			<xs:enumeration value=3D"KYD"/>
-			<xs:enumeration value=3D"KZT"/>
-			<xs:enumeration value=3D"LAK"/>
-			<xs:enumeration value=3D"LBP"/>
-			<xs:enumeration value=3D"LKR"/>
-			<xs:enumeration value=3D"LRD"/>
-			<xs:enumeration value=3D"LSL"/>
-			<xs:enumeration value=3D"LTL"/>
-			<xs:enumeration value=3D"LVL"/>
-			<xs:enumeration value=3D"LYD"/>
-			<xs:enumeration value=3D"MAD"/>
-			<xs:enumeration value=3D"MDL"/>
-			<xs:enumeration value=3D"MGA"/>
-			<xs:enumeration value=3D"MKD"/>
-			<xs:enumeration value=3D"MMK"/>
-			<xs:enumeration value=3D"MNT"/>
-			<xs:enumeration value=3D"MOP"/>
-			<xs:enumeration value=3D"MRO"/>
-			<xs:enumeration value=3D"MUR"/>
-			<xs:enumeration value=3D"MVR"/>
-			<xs:enumeration value=3D"MWK"/>
-			<xs:enumeration value=3D"MXN"/>
-			<xs:enumeration value=3D"MXV"/>
-			<xs:enumeration value=3D"MYR"/>
-			<xs:enumeration value=3D"MZN"/>
-			<xs:enumeration value=3D"NAD"/>
-			<xs:enumeration value=3D"NGN"/>
-			<xs:enumeration value=3D"NIO"/>
-			<xs:enumeration value=3D"NOK"/>
-			<xs:enumeration value=3D"NPR"/>
-			<xs:enumeration value=3D"NZD"/>
-			<xs:enumeration value=3D"OMR"/>
-			<xs:enumeration value=3D"PAB"/>
-			<xs:enumeration value=3D"PEN"/>
-			<xs:enumeration value=3D"PGK"/>
-			<xs:enumeration value=3D"PHP"/>
-			<xs:enumeration value=3D"PKR"/>
-			<xs:enumeration value=3D"PLN"/>
-			<xs:enumeration value=3D"PYG"/>
-			<xs:enumeration value=3D"QAR"/>
-			<xs:enumeration value=3D"RON"/>
-			<xs:enumeration value=3D"RSD"/>
-			<xs:enumeration value=3D"RUB"/>
-			<xs:enumeration value=3D"RWF"/>
-			<xs:enumeration value=3D"SAR"/>
-			<xs:enumeration value=3D"SBD"/>
-			<xs:enumeration value=3D"SCR"/>
-			<xs:enumeration value=3D"SDG"/>
-			<xs:enumeration value=3D"SEK"/>
-			<xs:enumeration value=3D"SGD"/>
-			<xs:enumeration value=3D"SHP"/>
-			<xs:enumeration value=3D"SLL"/>
-			<xs:enumeration value=3D"SOS"/>
-			<xs:enumeration value=3D"SRD"/>
-			<xs:enumeration value=3D"STD"/>
-			<xs:enumeration value=3D"SVC"/>
-			<xs:enumeration value=3D"SYP"/>
-			<xs:enumeration value=3D"SZL"/>
-			<xs:enumeration value=3D"THB"/>
-			<xs:enumeration value=3D"TJS"/>
-			<xs:enumeration value=3D"TMT"/>
-			<xs:enumeration value=3D"TND"/>
-			<xs:enumeration value=3D"TOP"/>
-			<xs:enumeration value=3D"TRY"/>
-			<xs:enumeration value=3D"TTD"/>
-			<xs:enumeration value=3D"TVD"/>
-			<xs:enumeration value=3D"TWD"/>
-			<xs:enumeration value=3D"TZS"/>
-			<xs:enumeration value=3D"UAH"/>
-			<xs:enumeration value=3D"UGX"/>
-			<xs:enumeration value=3D"USD"/>
-			<xs:enumeration value=3D"UYU"/>
-			<xs:enumeration value=3D"UZS"/>
-			<xs:enumeration value=3D"VEF"/>
-			<xs:enumeration value=3D"VND"/>
-			<xs:enumeration value=3D"VUV"/>
-			<xs:enumeration value=3D"WST"/>
-			<xs:enumeration value=3D"XAF"/>
-			<xs:enumeration value=3D"XCD"/>
-			<xs:enumeration value=3D"XOF"/>
-			<xs:enumeration value=3D"XPD"/>
-			<xs:enumeration value=3D"XPF"/>
-			<xs:enumeration value=3D"YER"/>
-			<xs:enumeration value=3D"ZAR"/>
-			<xs:enumeration value=3D"ZMK"/>
-			<xs:enumeration value=3D"ZWL"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<!-- LANGUAGES -->
-	<xs:simpleType name=3D"EULanguageCode">
-		<xs:annotation>
-			<xs:documentation> The list of official languages of the EU.</xs:docu=
mentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"bg">
-				<xs:annotation>
-					<xs:documentation>Bulgarian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"cs">
-				<xs:annotation>
-					<xs:documentation>Czech</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"da">
-				<xs:annotation>
-					<xs:documentation>Danish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"de">
-				<xs:annotation>
-					<xs:documentation>German</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"el">
-				<xs:annotation>
-					<xs:documentation>Greek</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"en">
-				<xs:annotation>
-					<xs:documentation>English</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"es">
-				<xs:annotation>
-					<xs:documentation>Spanish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"et">
-				<xs:annotation>
-					<xs:documentation>Estonian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"fi">
-				<xs:annotation>
-					<xs:documentation>Finnish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"fr">
-				<xs:annotation>
-					<xs:documentation>French</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ga">
-				<xs:annotation>
-					<xs:documentation>Irish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"hu">
-				<xs:annotation>
-					<xs:documentation>Hungarian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"it">
-				<xs:annotation>
-					<xs:documentation>Italian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"lt">
-				<xs:annotation>
-					<xs:documentation>Lithuanian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"lv">
-				<xs:annotation>
-					<xs:documentation>Latvian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"mt">
-				<xs:annotation>
-					<xs:documentation>Maltese</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"nl">
-				<xs:annotation>
-					<xs:documentation>Dutch</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"pl">
-				<xs:annotation>
-					<xs:documentation>Polish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"pt">
-				<xs:annotation>
-					<xs:documentation>Portuguese</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ro">
-				<xs:annotation>
-					<xs:documentation>Romanian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sk">
-				<xs:annotation>
-					<xs:documentation>Slovak </xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sl">
-				<xs:annotation>
-					<xs:documentation>Slovenian </xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sv">
-				<xs:annotation>
-					<xs:documentation>Swedish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"tr">
-				<xs:annotation>
-					<xs:documentation>Turkish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

Deleted: trunk/transform/include/NewLK-in_v0_7.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/NewLK-in_v0_7.xsd	2014-01-28 17:03:22 UTC (re=
v 670)
+++ trunk/transform/include/NewLK-in_v0_7.xsd	2014-01-31 17:34:51 UTC (re=
v 671)
@@ -1,153 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/=
/www.minfin.fgov.be/ClientListingConsignment" xmlns:iso=3D"http://www.min=
fin.fgov.be/IsoTypes" xmlns:common=3D"http://www.minfin.fgov.be/InputComm=
on" targetNamespace=3D"http://www.minfin.fgov.be/ClientListingConsignment=
" elementFormDefault=3D"qualified" attributeFormDefault=3D"unqualified" v=
ersion=3D"1.0" xml:lang=3D"en">
-	<xs:import namespace=3D"http://www.minfin.fgov.be/InputCommon" schemaLo=
cation=3D"IntervatInputCommon_v0_7.xsd"/>
-    <xs:import namespace=3D"http://www.minfin.fgov.be/IsoTypes" schemaLo=
cation=3D"IntervatIsoTypes_v0_7.xsd"/>
-=09
-	<!-- Root Element -->
-	<xs:element name=3D"ClientListingConsignment">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">Envoi regroup=E9 de listings client=
s, d=E9pos=E9 par un mandataire</xs:documentation>
-			<xs:documentation xml:lang=3D"nl">Gegroepeerde verzending van klanten=
listings, voorgelegd door een gevolmachtigde</xs:documentation>
-		</xs:annotation>
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element name=3D"Representative" type=3D"common:Representative_Ty=
pe" minOccurs=3D"0">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Mandataire</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Gevolmachtigde</xs:documentation=
>
-						<xs:documentation xml:lang=3D"de">Bevollm=E4chtigter</xs:documenta=
tion>
-					</xs:annotation>
-				</xs:element>
-				<xs:element name=3D"RepresentativeReference" type=3D"common:Represen=
tativeReference_Type" minOccurs=3D"0">
-					<xs:annotation>
-						<xs:documentation>R=E9f=E9rence attribu=E9e =E0 l'envoi par le man=
dataire</xs:documentation>
-					</xs:annotation>
-				</xs:element>
-				<xs:element name=3D"ClientListing" type=3D"ClientListing_Type" maxOc=
curs=3D"unbounded">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Listing clients, pour un d=E9cla=
rant et une ann=E9e</xs:documentation>
-					</xs:annotation>
-				</xs:element>
-			</xs:sequence>
-			<xs:attribute name=3D"ClientListingsNbr" type=3D"xs:positiveInteger" =
use=3D"required">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Nombre de listings clients dans l=
'envoi</xs:documentation>
-				</xs:annotation>
-			</xs:attribute>
-		</xs:complexType>
-	</xs:element>
-	<!-- definition of complex types -->
-	<xs:complexType name=3D"ClientListing_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"fr">Lisintg clients, pour un d=E9claran=
t et une ann=E9e</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"ReplacedClientListing" type=3D"common:IntervatDec=
larationReference_Type" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Identifiant/R=E9f=E9rence Interva=
t d'un listing clients pr=E9c=E9dent qui est remplac=E9 par ce listing (r=
=E9f=E9rence donn=E9e dans l'accus=E9 de r=E9ception du listing original)=
</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Declarant" type=3D"common:Declarant_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">D=E9clarant (assujetti belge)</xs=
:documentation>
-					<xs:documentation xml:lang=3D"nl">Aangever (Belgische belastingplic=
htige)</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Period" type=3D"common:Year_Type">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">P=E9riode couverte par le listing=
 (ann=E9e au format YYYY)</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"TurnOver" type=3D"common:SignedAmount_Type" minOc=
curs=3D"0">
-				<xs:annotation>
-					<xs:documentation>Pour les petites entreprises: chiffre d'affaires.=
 Montant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Farmer" type=3D"common:YesNo_Type" minOccurs=3D"0=
">
-				<xs:annotation>
-					<xs:documentation>Pour un exploitant agricole: "YES" s'il d=E9clare=
 =EAtre tenu au d=E9p=F4t du relev=E9 intracommunautaire annuel, "NO" s'i=
l n'y est pas tenu. Tag absent pour les non-exploitants agricoles.</xs:do=
cumentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Client" type=3D"Client_Type" minOccurs=3D"0" maxO=
ccurs=3D"unbounded">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Informations concernant un client=
 du listing</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"FileAttachment" type=3D"common:FileAttachment_Typ=
e" minOccurs=3D"0" maxOccurs=3D"unbounded">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Informations concernant une annex=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"nl">Informatie betreffende een bijlag=
e</xs:documentation>
-					<xs:documentation xml:lang=3D"de">Informationen zu einer Anlage</xs=
:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"Comment" type=3D"common:Comment_Type" minOccurs=3D=
"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"fr">Commentaire libre</xs:documentati=
on>
-					<xs:documentation xml:lang=3D"nl">Vrije commentaar</xs:documentatio=
n>
-					<xs:documentation xml:lang=3D"de">Freier Kommentar</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-		<xs:attribute name=3D"SequenceNumber" type=3D"xs:positiveInteger" use=3D=
"required">
-			<xs:annotation>
-				<xs:documentation xml:lang=3D"fr">Num=E9ro de s=E9quence du listing =
dans l'envoi</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name=3D"ClientsNbr" type=3D"xs:unsignedInt" use=3D"requi=
red">
-			<xs:annotation>
-				<xs:documentation>Nombre de clients dans le listing</xs:documentatio=
n>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name=3D"DeclarantReference" type=3D"common:DeclarantRefe=
rence_Type">
-			<xs:annotation>
-				<xs:documentation xml:lang=3D"fr">R=E9f=E9rence attribu=E9e =E0 ce l=
isting clients par le d=E9clarant ou mandataire.</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name=3D"TurnOverSum" type=3D"common:UnlimitedSignedAmoun=
t_Type" use=3D"required">
-			<xs:annotation>
-				<xs:documentation>Somme des chiffres d'affaires (hors TVA) pour tous=
 les clients. Montant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs=
:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name=3D"VATAmountSum" type=3D"common:UnlimitedSignedAmou=
nt_Type" use=3D"required">
-			<xs:annotation>
-				<xs:documentation>Somme des montants TVA pour tous les clients. Mont=
ant sign=E9 exprim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-	</xs:complexType>
-	<xs:complexType name=3D"Client_Type">
-		<xs:sequence>
-			<xs:element name=3D"CompanyVATNumber" type=3D"ClientVATNumber_Type">
-				<xs:annotation>
-					<xs:documentation>N=B0 de TVA du client (assujetti belge).</xs:docu=
mentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"TurnOver" type=3D"common:SignedAmount_Type">
-				<xs:annotation>
-					<xs:documentation>Chiffre d'affaires (hors TVA). Montant sign=E9 ex=
prim=E9 en EUR =E0 l'eurocent pr=E8s.</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name=3D"VATAmount" type=3D"common:SignedAmount_Type">
-				<xs:annotation>
-					<xs:documentation>Montant TVA. Montant sign=E9 exprim=E9 en EUR =E0=
 l'eurocent pr=E8s.</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-		<xs:attribute name=3D"SequenceNumber" type=3D"xs:positiveInteger" use=3D=
"required">
-			<xs:annotation>
-				<xs:documentation>N=B0 de s=E9quence du client dans le listing</xs:d=
ocumentation>
-			</xs:annotation>
-		</xs:attribute>
-	</xs:complexType>
-	<xs:complexType name=3D"ClientVATNumber_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"common:BEVATNumber">
-				<xs:attribute name=3D"issuedBy" type=3D"iso:BECountryCode" use=3D"re=
quired">
-					<xs:annotation>
-						<xs:documentation xml:lang=3D"fr">Etat membre qui a attribu=E9 le =
n=B0 de TVA (toujours "BE")</xs:documentation>
-						<xs:documentation xml:lang=3D"nl">Lidstaat die de btw-nummer heeft=
 toegekend (altijd "BE")</xs:documentation>
-					</xs:annotation>
-				</xs:attribute>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-</xs:schema>

Deleted: trunk/transform/include/adjreasons_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/adjreasons_v1.xsd	2014-01-28 17:03:22 UTC (re=
v 670)
+++ trunk/transform/include/adjreasons_v1.xsd	2014-01-31 17:34:51 UTC (re=
v 671)
@@ -1,35 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:vr=3D"urn=
:ec.europa.eu:taxud:fiscalis:vatrefund:v1" targetNamespace=3D"urn:ec.euro=
pa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"qualified" attri=
buteFormDefault=3D"unqualified">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-			List of Pro-Rata Rate Adjustment Justification Reason Codes
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			Version 1.00 - first release of the schema to the Member States=20
-			]]></xs:documentation>
-	</xs:annotation>
-	<xs:simpleType name=3D"ProRataRateAdjustmentJustificationReasonCode_Typ=
e">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"01">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				Period is invalid or does not correspond to a period allowed by the =
legislation;
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"02">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				Adjusted pro-rata rate appears to be incorrect with regard to the in=
formation provided by the competent authority of your Member State of est=
ablishment
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"99">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-						Other
-					</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

Deleted: trunk/transform/include/commontypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/commontypes_v1.xsd	2014-01-28 17:03:22 UTC (r=
ev 670)
+++ trunk/transform/include/commontypes_v1.xsd	2014-01-31 17:34:51 UTC (r=
ev 671)
@@ -1,829 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-
-<xs:schema xmlns=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:cm=3D=
"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:xs=3D"http://www.w3.org=
/2001/XMLSchema" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:commo=
n:v1" elementFormDefault=3D"qualified" version=3D"1.6" xml:lang=3D"en">
-=09
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-			List of Goods Description types and sub-types
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			Version 1.6 - add Turkish to the list of languages
-			Version 1.5 - reduce size of VATNumberOrTIN_Type to 20 characters fro=
m 50 characters (20/03/2009)
-			Version 1.4 - first release of the schema to the Member States for VA=
T Refund=20
-			]]></xs:documentation>
-	</xs:annotation>
-	<xs:include schemaLocation=3D"isotypes_v1.xsd"/>
-	<xs:simpleType name=3D"CountryIsoCodeAlpha2_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">ISO 3166 alpha 2 country code</xs:d=
ocumentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:NMTOKEN">
-			<xs:pattern value=3D"[A-Z]{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CountryIsoCodeNum3_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">ISO 3166 numeric country code</xs:d=
ocumentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:integer">
-			<xs:totalDigits value=3D"3"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CurrencyIsoCode_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">ISO 4217 currency code</xs:document=
ation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:NMTOKEN">
-			<xs:pattern value=3D"[A-Z]{3}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCountryIsoCodeAlpha2_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">The set of ISO 3166 alpha 2 country=
 code values for the
-				EU member states, with the exception of the Hellenic Republic which =
is represented
-				by a non-standard code.</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"MSCountryCode_Type"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCountryIsoCodeAlpha2List_Type">
-		<xs:annotation>
-			<xs:documentation>List of EU country codes</xs:documentation>
-		</xs:annotation>
-		<xs:list itemType=3D"EUCountryIsoCodeAlpha2_Type"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCountryIsoCodeNum3_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">The set of ISO 3166 numeric country=
 code values for the
-				EU member states</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"CountryIsoCodeNum3_Type">
-			<xs:enumeration value=3D"040">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Austria</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"056">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Belgium</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"100">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Bulgaria</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"196">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Cyprus</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"203">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Czech Republic</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"208">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Denmark</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"233">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Estonia</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"246">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Finland</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"250">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">France</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"276">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Germany</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"300">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Greece</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"348">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Hungary</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"372">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Ireland</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"380">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Italy</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"428">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Latvia</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"440">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Lithuania</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"442">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Luxembourg</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"470">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Malta</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"528">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Netherlands</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"616">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Poland</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"620">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Portugal</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"642">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Romania</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"703">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Slovakia</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"705">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Slovenia</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"724">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Spain</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"752">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Sweden</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"826">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">United Kingdom</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCountryIsoCodeNum3List_Type">
-		<xs:annotation>
-			<xs:documentation>List of EU country code numbers</xs:documentation>
-		</xs:annotation>
-		<xs:list itemType=3D"EUCountryIsoCodeNum3_Type"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EUCurrencyIsoCode_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">The set of currency code values for=
 the EU member
-				states.Currencies that have been legal in recent years are included,=
 even if
-				replaced by the Euro.</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"CurrencyIsoCode_Type">
-			<xs:enumeration value=3D"BGN">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Leva (Bulgaria)</xs:documentation=
>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"CYP">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Pound (Cyprus)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"CZK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Koruny (Czech Republic)</xs:docum=
entation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"DKK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Krone (Denmark)</xs:documentation=
>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"EEK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Krooni (Estonia)</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"EUR">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Euro (Euro Zone)</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"GBP">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Pounds sterling (United
-					Kingdom)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"HUF">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Forint (Hungary)</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"LTL">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Litai (Lithuania)</xs:documentati=
on>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"LVL">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Lati (Latvia)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"MTL">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Liri (Malta)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"PLN">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Zlotych (Poland)</xs:documentatio=
n>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ROL">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Lei (Romania)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"SEK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Krona (Sweden)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"SKK">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Koruny (Slovakia)</xs:documentati=
on>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"SIT">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">Tolars (Slovenia)</xs:documentati=
on>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EULanguageCode_Type">
-		<xs:annotation>
-			<xs:documentation> The list of official languages of the EU.</xs:docu=
mentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"bg">
-				<xs:annotation>
-					<xs:documentation>Bulgarian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"cs">
-				<xs:annotation>
-					<xs:documentation>Czech</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"da">
-				<xs:annotation>
-					<xs:documentation>Danish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"de">
-				<xs:annotation>
-					<xs:documentation>German</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"el">
-				<xs:annotation>
-					<xs:documentation>Greek</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"en">
-				<xs:annotation>
-					<xs:documentation>English</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"es">
-				<xs:annotation>
-					<xs:documentation>Spanish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"et">
-				<xs:annotation>
-					<xs:documentation>Estonian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"fi">
-				<xs:annotation>
-					<xs:documentation>Finnish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"fr">
-				<xs:annotation>
-					<xs:documentation>French</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ga">
-				<xs:annotation>
-					<xs:documentation>Irish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"hu">
-				<xs:annotation>
-					<xs:documentation>Hungarian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"it">
-				<xs:annotation>
-					<xs:documentation>Italian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"lt">
-				<xs:annotation>
-					<xs:documentation>Lithuanian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"lv">
-				<xs:annotation>
-					<xs:documentation>Latvian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"mt">
-				<xs:annotation>
-					<xs:documentation>Maltese</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"nl">
-				<xs:annotation>
-					<xs:documentation>Dutch</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"pl">
-				<xs:annotation>
-					<xs:documentation>Polish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"pt">
-				<xs:annotation>
-					<xs:documentation>Portuguese</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"ro">
-				<xs:annotation>
-					<xs:documentation>Romanian</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sk">
-				<xs:annotation>
-					<xs:documentation>Slovak </xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sl">
-				<xs:annotation>
-					<xs:documentation>Slovenian </xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"sv">
-				<xs:annotation>
-					<xs:documentation>Swedish</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		<xs:enumeration value=3D"tr">
-			<xs:annotation>
-				<xs:documentation>Turkish</xs:documentation>
-			</xs:annotation>
-		</xs:enumeration>
-
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EULanguageList_Type">
-		<xs:annotation>
-			<xs:documentation>List of EU Languages</xs:documentation>
-		</xs:annotation>
-		<xs:list itemType=3D"EULanguageCode_Type"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"AddressFree_Type">
-		<xs:annotation>
-			<xs:documentation>An unstructured address</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"AddressStatus_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"known"/>
-			<xs:enumeration value=3D"assumed"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"AmountValue_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">A decimal amount, resticted to two =
decimal
-			places</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ApplicationId_Type">
-		<xs:annotation>
-			<xs:documentation>Application Identifier</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:token">
-			<xs:enumeration value=3D"ecommerce">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">The VAT on e-services application=
 (Council
-						Directive 2002/38/EC)</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"EMail_Type">
-		<xs:annotation>
-			<xs:documentation>An email address</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:token">
-			<xs:pattern value=3D"([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-=
Z]{2,5})">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">A regular expression for email ad=
dresses.
-						Matches something@someserver.com, firstname.lastname@mailserver.do=
main.com,
-						username-something@some-server.tld</xs:documentation>
-				</xs:annotation>
-			</xs:pattern>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Gender_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">This element can be used to indicat=
e Gender for
-				individuals.</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:token">
-			<xs:enumeration value=3D"M"/>
-			<xs:enumeration value=3D"F"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"IBAN_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">The International Bank Account Numb=
er has to be given
-				here for the account into which the payment in question has been mad=
e. Depending on
-				the transmission type this element is optional. Its structure is: Co=
untry code, 2
-				letters/Check digits, 2 digits/Basic Bank Account Number (BBAN), 10 =
to 30
-				alphanumeric characters </xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[A-Z]{2}[0-9]{2}[0-9,A-Z]{10,30}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MsgId_Type">
-		<xs:annotation>
-			<xs:documentation>Message Identifier</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"64"/>
-			<xs:pattern value=3D"[a-zA-Z0-9\-_:@\.]*">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">The pattern caters for the 'ad-ho=
c' (MS ISO code
-						+ date + counter), RFC 2392-like mid, and UUID.</xs:documentation>
-				</xs:annotation>
-			</xs:pattern>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"NameFree_Type">
-		<xs:annotation>
-			<xs:documentation>An unstructured name</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string"/>
-	</xs:simpleType>
-	<xs:simpleType name=3D"nameType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"indiv"/>
-			<xs:enumeration value=3D"alias"/>
-			<xs:enumeration value=3D"nick"/>
-			<xs:enumeration value=3D"aka"/>
-			<xs:enumeration value=3D"dba"/>
-			<xs:enumeration value=3D"legal"/>
-			<xs:enumeration value=3D"atbirth"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"NumberLength3_Type">
-		<xs:annotation>
-			<xs:documentation>A number with 3 digits</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:integer">
-			<xs:maxInclusive value=3D"999"/>
-			<xs:minInclusive value=3D"0"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PhoneNumber_Type">
-		<xs:annotation>
-			<xs:documentation>A telephone number</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"(\+)?[0-9]{1,20}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Quarter_Type">
-		<xs:annotation>
-			<xs:documentation>A quarter (Q1, Q2, Q3, Q4)</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:integer">
-			<xs:maxInclusive value=3D"4"/>
-			<xs:minInclusive value=3D"1"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"VATNumber_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[A-Za-z0-9\+\*]{1,12}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"VATNumberOrTIN_Type">
-		<xs:annotation>
-			<xs:documentation>A tax identifier, VAT or other</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"20"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"VatRate_Type">
-		<xs:annotation>
-			<xs:documentation>VAT rate</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:decimal">
-			<xs:minInclusive value=3D"0.00"/>
-			<xs:maxInclusive value=3D"100.00"/>
-			<xs:fractionDigits value=3D"2"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:complexType name=3D"AddressStruct_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">Structure of the address for a part=
y broken down into
-				its logical parts, recommended for easy matching. The 'City' element=
 is the only
-				required subelement. All of the subelements are simple text - data t=
ype 'string'.
-			</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Street" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"BuildingIdentifier" type=3D"xs:string" minOccurs=3D=
"0"/>
-			<xs:element name=3D"SuiteIdentifier" type=3D"xs:string" minOccurs=3D"=
0"/>
-			<xs:element name=3D"FloorIdentifier" type=3D"xs:string" minOccurs=3D"=
0"/>
-			<xs:element name=3D"DistrictName" type=3D"xs:string" minOccurs=3D"0"/=
>
-			<xs:element name=3D"POB" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"PostCode" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"City" type=3D"xs:string"/>
-			<xs:element name=3D"CountrySubentity" type=3D"xs:string" minOccurs=3D=
"0"/>
-			<xs:element name=3D"OtherLocalId" type=3D"xs:string" minOccurs=3D"0"/=
>
-		</xs:sequence>
-		<xs:anyAttribute/>
-	</xs:complexType>
-	<xs:complexType name=3D"EUMoneyAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An amount for the EU currencies</xs=
:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:restriction base=3D"MoneyAmount_Type">
-				<xs:attribute name=3D"currency" type=3D"EUCurrencyIsoCode_Type" use=3D=
"required"/>
-			</xs:restriction>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Header_Type">
-		<xs:annotation>
-			<xs:documentation>Header of generic tax message</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"OriginatingCountry" type=3D"EUCountryIsoCodeAlpha=
2_Type"/>
-			<xs:element name=3D"DestinationCountries" type=3D"EUCountryIsoCodeAlp=
ha2List_Type"/>
-			<xs:element name=3D"MessageId" type=3D"MsgId_Type"/>
-			<xs:element name=3D"CorrelationId" type=3D"MsgId_Type" minOccurs=3D"0=
"/>
-			<xs:element name=3D"Timestamp" type=3D"xs:dateTime"/>
-			<xs:element name=3D"ResponseRequired" type=3D"xs:date" minOccurs=3D"0=
"/>
-			<xs:element name=3D"Language" type=3D"xs:language" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">The language of the document. May=
 be overloaded
-						in some elements by a language attribute</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"I18nString_Type">
-		<xs:annotation>
-			<xs:documentation>Internationalised string</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:string">
-				<xs:attribute name=3D"lang" type=3D"xs:language" use=3D"optional"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Individual_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An individual</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
-			<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
-			<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=3D=
"0"/>
-		</xs:sequence>
-		<xs:attribute name=3D"indivQlf" type=3D"xs:string" use=3D"optional"/>
-	</xs:complexType>
-	<xs:complexType name=3D"IndivPersData_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">Data (other than Name and Address) =
to describe and
-				identify an Individual. </xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Gender" type=3D"Gender_Type" minOccurs=3D"0"/>
-			<xs:element name=3D"Nationality" type=3D"CountryIsoCodeAlpha2_Type" m=
inOccurs=3D"0"/>
-			<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
-			<xs:element name=3D"BirthCity" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"BirthCitySubentity" type=3D"xs:string" minOccurs=3D=
"0"/>
-			<xs:element name=3D"BirthCountryCode" type=3D"xs:string" minOccurs=3D=
"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"IndivPersBirthData_Type">
-		<xs:annotation>
-			<xs:documentation>A simplified version of IndivPersData_Type</xs:docu=
mentation>
-		</xs:annotation>
-		<xs:complexContent>
-			<xs:restriction base=3D"IndivPersData_Type">
-				<xs:sequence>
-					<xs:element name=3D"Gender" type=3D"Gender_Type" minOccurs=3D"0" ma=
xOccurs=3D"0"/>
-					<xs:element name=3D"Nationality" type=3D"CountryIsoCodeAlpha2_Type"=
 minOccurs=3D"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
-					<xs:element name=3D"BirthCity" type=3D"xs:string" minOccurs=3D"0"/>
-					<xs:element name=3D"BirthCitySubentity" type=3D"xs:string" minOccur=
s=3D"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"BirthCountryCode" type=3D"xs:string" minOccurs=3D=
"0"/>
-				</xs:sequence>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"IndividualWithAddress_Type">
-		<xs:complexContent>
-			<xs:restriction base=3D"Individual_Type">
-				<xs:sequence>
-					<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
-					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0" max=
Occurs=3D"0"/>
-					<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=
=3D"0"/>
-				</xs:sequence>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"IndividualWithBirthDate_Type">
-		<xs:complexContent>
-			<xs:restriction base=3D"Individual_Type">
-				<xs:sequence>
-					<xs:element name=3D"Name" type=3D"NameFree_Type" minOccurs=3D"0"/>
-					<xs:element name=3D"BirthDate" type=3D"xs:date" minOccurs=3D"0"/>
-					<xs:element name=3D"Address" type=3D"cm:AddressFree_Type" minOccurs=
=3D"0" maxOccurs=3D"0"/>
-				</xs:sequence>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"LegalEntity_Type">
-		<xs:annotation>
-			<xs:documentation>A legal entity</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Name" type=3D"NameFree_Type"/>
-			<xs:element name=3D"LegalStatus" type=3D"xs:string"/>
-			<xs:element name=3D"Address" type=3D"AddressStruct_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"MoneyAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
-			attribute</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"AmountValue_Type">
-				<xs:attribute name=3D"currency" type=3D"CurrencyIsoCode_Type" use=3D=
"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"NameStruct_Type">
-		<xs:sequence>
-			<xs:element name=3D"PrecedingTitle" type=3D"xs:string" minOccurs=3D"0=
"/>
-			<xs:element name=3D"Title" type=3D"xs:string" minOccurs=3D"0" maxOccu=
rs=3D"unbounded"/>
-			<xs:element name=3D"FirstName" type=3D"xs:string"/>
-			<xs:element name=3D"MiddleName" type=3D"xs:string" minOccurs=3D"0" ma=
xOccurs=3D"unbounded"/>
-			<xs:element name=3D"NamePrefix" type=3D"xs:string" minOccurs=3D"0"/>
-			<xs:element name=3D"LastName" type=3D"xs:string"/>
-			<xs:element name=3D"GenerationIdentifier" type=3D"xs:string" minOccur=
s=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"Suffix" type=3D"xs:string" minOccurs=3D"0" maxOcc=
urs=3D"unbounded"/>
-			<xs:element name=3D"GeneralSuffix" type=3D"xs:string" minOccurs=3D"0"=
/>
-			<xs:element name=3D"MaidenName" type=3D"xs:string" minOccurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Name_Type">
-		<xs:choice>
-			<xs:element name=3D"NameFree" type=3D"xs:string"/>
-			<xs:sequence>
-				<xs:element name=3D"NameStruct" type=3D"NameStruct_Type"/>
-				<xs:element name=3D"NameFree" type=3D"xs:string" minOccurs=3D"0"/>
-			</xs:sequence>
-		</xs:choice>
-		<xs:attribute name=3D"nameType" type=3D"nameType_Type" use=3D"optional=
"/>
-	</xs:complexType>
-	<xs:complexType name=3D"NameReducedFix_Type">
-		<xs:complexContent>
-			<xs:restriction base=3D"NameStruct_Type">
-				<xs:sequence>
-					<xs:element name=3D"PrecedingTitle" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"Title" type=3D"xs:string" minOccurs=3D"0" maxOc=
curs=3D"0"/>
-					<xs:element name=3D"FirstName" type=3D"xs:string"/>
-					<xs:element name=3D"MiddleName" type=3D"xs:string" minOccurs=3D"0" =
maxOccurs=3D"0"/>
-					<xs:element name=3D"NamePrefix" type=3D"xs:string" minOccurs=3D"0" =
maxOccurs=3D"0"/>
-					<xs:element name=3D"LastName" type=3D"xs:string"/>
-					<xs:element name=3D"GenerationIdentifier" type=3D"xs:string" minOcc=
urs=3D"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"Suffix" type=3D"xs:string" minOccurs=3D"0" maxO=
ccurs=3D"0"/>
-					<xs:element name=3D"GeneralSuffix" type=3D"xs:string" minOccurs=3D"=
0" maxOccurs=3D"0"/>
-					<xs:element name=3D"MaidenName" type=3D"xs:string" minOccurs=3D"0"/=
>
-				</xs:sequence>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"OrderedString_Type">
-		<xs:annotation>
-			<xs:documentation>A string with an attribute that allows ordering in =
a
-			list.</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:string">
-				<xs:attribute name=3D"order" type=3D"xs:byte" use=3D"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"NVPair_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">A type that holds a name value pair=
. The name is stored
-				in the 'name' attribute, and the value as a string in the element va=
lue
-			itself</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:string">
-				<xs:attribute name=3D"name" type=3D"xs:token" use=3D"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Period_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">Represents a period of time specifi=
ed by a start date
-				and an end date. </xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"StartDate" type=3D"xs:date"/>
-			<xs:element name=3D"EndDate" type=3D"xs:date"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Person_Type">
-		<xs:annotation>
-			<xs:documentation>A person</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"Name" type=3D"NameStruct_Type"/>
-			<xs:element name=3D"IndivPersData" type=3D"IndivPersData_Type"/>
-			<xs:element name=3D"Address" type=3D"AddressStruct_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ShortAddressStruct_Type">
-		<xs:annotation>
-			<xs:documentation>A shortenedform of Address_Fix with a mandatory sta=
tus
-			attribute</xs:documentation>
-		</xs:annotation>
-		<xs:complexContent>
-			<xs:restriction base=3D"cm:AddressStruct_Type">
-				<xs:sequence>
-					<xs:element name=3D"Street" type=3D"xs:string" minOccurs=3D"0"/>
-					<xs:element name=3D"BuildingIdentifier" type=3D"xs:string" minOccur=
s=3D"0"/>
-					<xs:element name=3D"SuiteIdentifier" type=3D"xs:string" minOccurs=3D=
"0"/>
-					<xs:element name=3D"FloorIdentifier" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
-					<xs:element name=3D"DistrictName" type=3D"xs:string" minOccurs=3D"0=
" maxOccurs=3D"0"/>
-					<xs:element name=3D"POB" type=3D"xs:string" minOccurs=3D"0" maxOccu=
rs=3D"0"/>
-					<xs:element name=3D"PostCode" type=3D"xs:string" minOccurs=3D"0"/>
-					<xs:element name=3D"City" type=3D"xs:string"/>
-					<xs:element name=3D"CountrySubentity" type=3D"xs:string" minOccurs=3D=
"0" maxOccurs=3D"0"/>
-					<!--					<xs:element name=3D"Country" type=3D"CountryIsoCodeAlpha2_=
Type" minOccurs=3D"0"/> -->
-				</xs:sequence>
-				<xs:attribute name=3D"status" type=3D"AddressStatus_Type" use=3D"req=
uired"/>
-			</xs:restriction>
-		</xs:complexContent>
-	</xs:complexType>
-</xs:schema>

Deleted: trunk/transform/include/decreasons_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/decreasons_v1.xsd	2014-01-28 17:03:22 UTC (re=
v 670)
+++ trunk/transform/include/decreasons_v1.xsd	2014-01-31 17:34:51 UTC (re=
v 671)
@@ -1,262 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:vr=3D"urn=
:ec.europa.eu:taxud:fiscalis:vatrefund:v1" targetNamespace=3D"urn:ec.euro=
pa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"qualified" attri=
buteFormDefault=3D"unqualified">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-			List of VAT Refund Decision Justification Reason Codes
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			Version 1.01 - Correct code for "Partial decision of repayment" - 87 =
-> 95
-						 Add codes agreed at March workshop (codes 64 to 68 inclusive)
-			Version 1.00 - first release of the schema to the Member States=20
-			]]></xs:documentation>
-	</xs:annotation>
-	<xs:simpleType name=3D"RefundDecisionJustificationReasonCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"01">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				the refund period is invalid
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"02">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				the total claimed amount is smaller than the minimal allowed amount =
for the mentioned period
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"03">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				the description of the business activity via NACE Level 4 code(s) is=
 required.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"04">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-	data of the mentioned bank account is incomplete or incorrect
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"05">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-your business activities imply to specify a pro-rata rate
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"06">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-after verification it appears that you were involved in the supply of go=
ods or services in our territory and that the latter are not covered by t=
he exemption defined in the legislation
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"07">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-  after verification, it has been found out that you have a permanent es=
tablishment in our territory from which you do business activities
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"08">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-  The application is received outside of the allowed period.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"09">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-  The application shall submit a refund application for either the whole=
 year or a calendar quarter. The application is to be submitted when the =
refund period has been completed. However, the application has been sent =
in advance.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"20">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the request for refund has already been handled in another VAT refund ap=
plication
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"21">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the currency is not the national currency
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"22">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-a sub-classification code is required for the classification code specif=
ied
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"23">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the nature of the goods and services must be clearly specified in case c=
lassification code "10" is used
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"24">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the purchase of goods or services was not performed on our territory
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"25">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the importation of the goods was not performed on our territory
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"40">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the VAT Identification number or tax reference number mentioned for the =
supplier is unknown or was not active for the date specified
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"41">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the VAT supplier name and address do not correspond to the ones associat=
ed with the VAT identification number or tax reference number
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"42">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the information about the supplier is not the one specified in the impor=
t/invoice document
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"60">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-a copy of the import/invoice document is required
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"61">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the original of the import/invoice document was requested but was not pr=
ovided in time
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"62">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-the import/invoice document appears to be a forgery
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"63">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-Copy of the invoice/import document is not readable
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"64">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-One or several invoices have not been issued with the name of the refund=
 applicant.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"65">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-One or several invoices are not deemed to be valid. Invoices must contai=
n the name, VAT number and address of the seller and the buyer, descripti=
on of the operation, taxable amount, VAT rate, VAT amount, invoice number=
, place and date where the invoice was issued.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"66">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-Operations included within the special scheme of Travel Agencies, under =
which VAT is not deductible.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"67">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The applicant provides financial services, which are deemed to be exempt=
. Exempt activities do not allow to obtain the repayment of input tax.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"68">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-One or several invoices or import documents belong to a period different=
 from the period of the refund application. The application is submitted =
in reference to a specific period (1T, 2T, 3T or annual) and input tax in=
 other periods is not considered.
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"70">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-Additional information was requested but was not provided in time
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"80">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The pro-rata rate mentioned in the request appears to be incorrect with =
regards to the information provided by the competent authority of your Me=
mber State of establishment
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"81">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The taxable amount or/and VAT amount specified in the request are not th=
e ones specified in the import/invoice document
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"82">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The claimed amount does not correspond to a legitimate VAT
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"83">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The nature of the goods and services does not justify a VAT refund with =
regards to the specified business activities
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"84">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-The classification code or sub-code is incorrect with regards to the inf=
ormation available on the import/invoice document
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"85">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-Based on the nature of the goods and services, the deductible VAT amount=
 is limited to a given percentage
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"95">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-VAT Refund application partially evaluated (Non-final decision)
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"99"/>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

Deleted: trunk/transform/include/fiscalismessage_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/fiscalismessage_v1.xsd	2014-01-28 17:03:22 UT=
C (rev 670)
+++ trunk/transform/include/fiscalismessage_v1.xsd	2014-01-31 17:34:51 UT=
C (rev 671)
@@ -1,43 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns=3D"urn:ec.europa.eu:taxud:fiscalis:message:v1" xmlns:cm=
=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:xs=3D"http://www.w3.=
org/2001/XMLSchema" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:me=
ssage:v1" elementFormDefault=3D"qualified" version=3D"1.0" xml:lang=3D"en=
">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en">
-		=3D=3D=3D HISTORY=3D=3D=3D
-		- Version 1.0: first issue of the schema as part of the Technical Spec=
ifications.
-		</xs:documentation>
-	</xs:annotation>
-	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
-	<xs:element name=3D"FiscalisMessage">
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element name=3D"Header" type=3D"Header_Type"/>
-				<xs:element name=3D"Body" type=3D"Body_Type"/>
-			</xs:sequence>
-		</xs:complexType>
-	</xs:element>
-	<xs:complexType name=3D"Body_Type">
-		<xs:sequence>
-			<xs:element ref=3D"AbstractBody"/>
-		</xs:sequence>
-		<xs:attribute name=3D"applicationId" use=3D"required"/>
-	</xs:complexType>
-	<xs:element name=3D"AbstractBody" abstract=3D"true"/>
-	<xs:complexType name=3D"Header_Type">
-		<xs:annotation>
-			<xs:documentation>Header of generic tax message</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name=3D"OriginatingCountry" type=3D"cm:EUCountryIsoCodeAl=
pha2_Type"/>
-			<xs:element name=3D"DestinationCountries" type=3D"cm:EUCountryIsoCode=
Alpha2List_Type"/>
-			<xs:element name=3D"MessageId" type=3D"cm:MsgId_Type"/>
-			<xs:element name=3D"CorrelationId" type=3D"cm:MsgId_Type" minOccurs=3D=
"0"/>
-			<xs:element name=3D"Timestamp" type=3D"xs:dateTime"/>
-			<xs:element name=3D"ResponseRequired" type=3D"xs:date" minOccurs=3D"0=
"/>
-			<xs:element name=3D"Language" type=3D"xs:language" minOccurs=3D"0">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">The language of the document. May=
 be overloaded in some elements by a language attribute</xs:documentation=
>
-				</xs:annotation>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-</xs:schema>

Deleted: trunk/transform/include/goodsdescriptiontypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/goodsdescriptiontypes_v1.xsd	2014-01-28 17:03=
:22 UTC (rev 670)
+++ trunk/transform/include/goodsdescriptiontypes_v1.xsd	2014-01-31 17:34=
:51 UTC (rev 671)
@@ -1,92 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" targetNamespace=
=3D"urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1" elementFormDefault=3D"q=
ualified" attributeFormDefault=3D"unqualified" version=3D"1.01">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-			List of Goods Description types and sub-types
-			=3D=3D=3D HISTORY=3D=3D=3D=20
-			Version 1.02 - Modify pattern of the GoodsDescriptionSubCode_Type (20=
/08/2010)
-									   to have x.y.z with y and z both optional
-			Version 1.01 - add pattern to the GoodsDescriptionSubCode_Type (20/03=
/2009)
-			Version 1.00 - first release of the schema to the Member States=20
-			]]></xs:documentation>
-	</xs:annotation>
-	<xs:simpleType name=3D"GoodsDescriptionCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"1">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				fuel
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"2">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				hiring of means of transport
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"3">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				expenditure relating to means of transport (other than the goods and=
 services referred to under codes 1 and 2
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"4">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				road tolls and road user charge
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"5">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				travel expenses, such as taxi fares, public transport fares
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"6">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				accommodation
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"7">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				food, drink and restaurant services
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"8">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				admissions to fares and exhibitions
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"9">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				expenditure on luxuries, amusements and entertainment
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"10">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-				other
-			</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"GoodsDescriptionSubCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"([0-9]{1,2}){1}(\.\d{1,2}){0,2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

Deleted: trunk/transform/include/isotypes_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/isotypes_v1.xsd	2014-01-28 17:03:22 UTC (rev =
670)
+++ trunk/transform/include/isotypes_v1.xsd	2014-01-31 17:34:51 UTC (rev =
671)
@@ -1,936 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xsd:schema xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" elementFormDe=
fault=3D"qualified" attributeFormDefault=3D"unqualified">
-
-	<!--  ISO 3166 alpha 2 Country Code -->
-	<!--HISTORY
-=09
-		09/12/2010 -
-		Move IC, XI, and XJ country codes to MSCountryCode_Type
-	=09
-		17/11/2010 - v1.1
-			Add country codes: IC, XI, XJ, CW, NM, BQ
-			Country code AN is obsolete but kept for backward compatiblity reason=
s
-
-	=09
-		20/05/2009 -=20
-		Add country codes for Serbia, Montenegro, Aland Islands, Saint Martin,=
 Saint Barthelemy, Jersey, Guernsey, Isle of Man
-
-		Modify currency codes:
-		AZM->AZN
-		BGL->BGN
-		AFA->AFN
-		GHC->GHS
-		MZM->MZN
-		RUR->RUB
-		SDD->SDG
-		SRG->SRD
-		TRL->TRY
-		VEB->VEF
-		ZWD->ZWL
-		MGF->MGA
-		=09
-		Remove currency codes CYP, GGP, JEP, IMP, ROL, SPL, YUM, XAG, XAU, XPT=
, MTL, SIT, SKK	=09
-		Add currency codes GWP, MXV, CLF, CUC, BOV, RSD
-	-->
-	<xsd:simpleType name=3D"CountryCode_Type">
-		<xsd:union memberTypes=3D"CountryCodeExMS_Type MSCountryCode_Type"/>
-	</xsd:simpleType>
-=09
-	<xsd:simpleType name=3D"CountryCodeExMS_Type">
-		<xsd:annotation>
-			<xsd:documentation xml:lang=3D"en">
-			The appropriate country code from the ISO 3166 two-byte alpha version=
 for the state in which the party concerned is a resident. Omit this only=
 if  no data is available.
-			This list excludes Member States of the European Union
-The following entries must not be used:
-	- AN --  NETHERLANDS ANTILLES
-Valid entries are:
-	- AF --  AFGHANISTAN=20
-	- AX --  =C3=85LAND ISLANDS
-	- AL --  ALBANIA=20
-	- DZ --  ALGERIA=20
-	- AS --  AMERICAN SAMOA=20
-	- AD --  ANDORRA=20
-	- AO --  ANGOLA=20
-	- AI --  ANGUILLA=20
-	- AQ --  ANTARCTICA=20
-	- AG --  ANTIGUA AND BARBUDA=20
-	- AR --  ARGENTINA=20
-	- AM --  ARMENIA=20
-	- AW --  ARUBA=20
-	- AU --  AUSTRALIA=20
-	- AT --  AUSTRIA=20
-	- AZ --  AZERBAIJAN=20
-	- BS --  BAHAMAS=20
-	- BH --  BAHRAIN=20
-	- BD --  BANGLADESH=20
-	- BB --  BARBADOS=20
-	- BY --  BELARUS=20
-	- BE --  BELGIUM=20
-	- BZ --  BELIZE=20
-	- BJ --  BENIN=20
-	- BM --  BERMUDA=20
-	- BT --  BHUTAN=20
-	- BO --  BOLIVIA=20
-	- BA --  BOSNIA AND HERZEGOVINA=20
-	- BW --  BOTSWANA=20
-	- BV --  BOUVET ISLAND=20
-	- BR --  BRAZIL=20
-	- IO --  BRITISH INDIAN OCEAN TERRITORY=20
-	- BN --  BRUNEI DARUSSALAM=20
-	- BG --  BULGARIA=20
-	- BF --  BURKINA FASO=20
-	- BI --  BURUNDI=20
-	- KH --  CAMBODIA=20
-	- CM --  CAMEROON=20
-	- CA --  CANADA=20
-	- CV --  CAPE VERDE=20
-	- KY --  CAYMAN ISLANDS=20
-	- CF --  CENTRAL AFRICAN REPUBLIC=20
-	- TD --  CHAD=20
-	- CL --  CHILE=20
-	- CN --  CHINA=20
-	- CX --  CHRISTMAS ISLAND=20
-	- CC --  COCOS (KEELING) ISLANDS=20
-	- CO --  COLOMBIA=20
-	- KM --  COMOROS=20
-	- CG --  CONGO=20
-	- CD --  CONGO, THE DEMOCRATIC REPUBLIC OF THE=20
-	- CK --  COOK ISLANDS=20
-	- CR --  COSTA RICA=20
-	- CI --  COTE D'IVOIRE=20
-	- HR --  CROATIA=20
-	- CU --  CUBA=20
-	- CY --  CYPRUS=20
-	- CZ --  CZECH REPUBLIC=20
-	- DK --  DENMARK=20
-	- DJ --  DJIBOUTI=20
-	- DM --  DOMINICA=20
-	- DO --  DOMINICAN REPUBLIC=20
-	- EC --  ECUADOR=20
-	- EG --  EGYPT=20
-	- SV --  EL SALVADOR=20
-	- GQ --  EQUATORIAL GUINEA=20
-	- ER --  ERITREA=20
-	- EE --  ESTONIA=20
-	- ET --  ETHIOPIA=20
-	- FK --  FALKLAND ISLANDS (MALVINAS)=20
-	- FO --  FAROE ISLANDS=20
-	- FJ --  FIJI=20
-	- FI --  FINLAND=20
-	- FR --  FRANCE=20
-	- GF --  FRENCH GUIANA=20
-	- PF --  FRENCH POLYNESIA=20
-	- TF --  FRENCH SOUTHERN TERRITORIES=20
-	- GA --  GABON=20
-	- GM --  GAMBIA=20
-	- GE --  GEORGIA=20
-	- DE --  GERMANY=20
-	- GH --  GHANA=20
-	- GI --  GIBRALTAR=20
-	- GR --  GREECE=20
-	- GL --  GREENLAND=20
-	- GD --  GRENADA=20
-	- GP --  GUADELOUPE=20
-	- GU --  GUAM=20
-	- GT --  GUATEMALA=20
-	- GG --  GUERNSEY
-	- GN --  GUINEA=20
-	- GW --  GUINEA-BISSAU=20
-	- GY --  GUYANA=20
-	- HT --  HAITI=20
-	- HM --  HEARD ISLAND AND MCDONALD ISLANDS=20
-	- VA --  HOLY SEE (VATICAN CITY STATE)=20
-	- HN --  HONDURAS=20
-	- HK --  HONG KONG=20
-	- HU --  HUNGARY=20
-	- IS --  ICELAND=20
-	- IN --  INDIA=20
-	- ID --  INDONESIA=20
-	- IR --  IRAN, ISLAMIC REPUBLIC OF=20
-	- IQ --  IRAQ=20
-	- IE --  IRELAND=20
-	- IM --  ISLE OF MAN
-	- IL --  ISRAEL=20
-	- IT --  ITALY=20
-	- JM --  JAMAICA=20
-	- JP --  JAPAN=20
-	- JE --	 JERSEY
-	- JO --  JORDAN=20
-	- KZ --  KAZAKHSTAN=20
-	- KE --  KENYA=20
-	- KI --  KIRIBATI=20
-	- KP --  KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF=20
-	- KR --  KOREA, REPUBLIC OF=20
-	- KW --  KUWAIT=20
-	- KG --  KYRGYZSTAN=20
-	- LA --  LAO PEOPLE'S DEMOCRATIC REPUBLIC=20
-	- LV --  LATVIA=20
-	- LB --  LEBANON=20
-	- LS --  LESOTHO=20
-	- LR --  LIBERIA=20
-	- LY --  LIBYAN ARAB JAMAHIRIYA=20
-	- LI --  LIECHTENSTEIN=20
-	- LT --  LITHUANIA=20
-	- LU --  LUXEMBOURG=20
-	- MO --  MACAO=20
-	- MK --  MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF=20
-	- MG --  MADAGASCAR=20
-	- MW --  MALAWI=20
-	- MY --  MALAYSIA=20
-	- MV --  MALDIVES=20
-	- ML --  MALI=20
-	- MT --  MALTA=20
-	- MH --  MARSHALL ISLANDS=20
-	- MQ --  MARTINIQUE=20
-	- MR --  MAURITANIA=20
-	- MU --  MAURITIUS=20
-	- YT --  MAYOTTE=20
-	- MX --  MEXICO=20
-	- FM --  MICRONESIA, FEDERATED STATES OF=20
-	- MD --  MOLDOVA, REPUBLIC OF=20
-	- MC --  MONACO=20
-	- MN --  MONGOLIA=20
-	- ME --  MONTENEGRO
-	- MS --  MONTSERRAT=20
-	- MA --  MOROCCO=20
-	- MZ --  MOZAMBIQUE=20
-	- MM --  MYANMAR=20
-	- NA --  NAMIBIA=20
-	- NR --  NAURU=20
-	- NP --  NEPAL=20
-	- NL --  NETHERLANDS=20
-	- NC --  NEW CALEDONIA=20
-	- NZ --  NEW ZEALAND=20
-	- NI --  NICARAGUA=20
-	- NE --  NIGER=20
-	- NG --  NIGERIA=20
-	- NU --  NIUE=20
-	- NF --  NORFOLK ISLAND=20
-	- MP --  NORTHERN MARIANA ISLANDS=20
-	- NO --  NORWAY=20
-	- OM --  OMAN=20
-	- PK --  PAKISTAN=20
-	- PW --  PALAU=20
-	- PS --  PALESTINIAN TERRITORY, OCCUPIED=20
-	- PA --  PANAMA=20
-	- PG --  PAPUA NEW GUINEA=20
-	- PY --  PARAGUAY=20
-	- PE --  PERU=20
-	- PH --  PHILIPPINES=20
-	- PN --  PITCAIRN=20
-	- PL --  POLAND=20
-	- PT --  PORTUGAL=20
-	- PR --  PUERTO RICO=20
-	- QA --  QATAR=20
-	- RE --  REUNION=20
-	- RO --  ROMANIA=20
-	- RU --  RUSSIAN FEDERATION=20
-	- RW --  RWANDA=20
-	- BL --  SAINT BARTH=C3=89LEMY
-	- SH --  SAINT HELENA=20
-	- KN --  SAINT KITTS AND NEVIS=20
-	- LC --  SAINT LUCIA=20
-	- MF --  SAINT MARTIN
-	- PM --  SAINT PIERRE AND MIQUELON=20
-	- VC --  SAINT VINCENT AND THE GRENADINES=20
-	- WS --  SAMOA=20
-	- SM --  SAN MARINO=20
-	- ST --  SAO TOME AND PRINCIPE=20
-	- SA --  SAUDI ARABIA=20
-	- SN --  SENEGAL=20
-	- RS --  SERBIA
-	- SC --  SEYCHELLES=20
-	- SL --  SIERRA LEONE=20
-	- SG --  SINGAPORE=20
-	- SK --  SLOVAKIA=20
-	- SI --  SLOVENIA=20
-	- SB --  SOLOMON ISLANDS=20
-	- SO --  SOMALIA=20
-	- ZA --  SOUTH AFRICA=20
-	- GS --  SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS=20
-	- ES --  SPAIN=20
-	- LK --  SRI LANKA=20
-	- SD --  SUDAN=20
-	- SR --  SURINAME=20
-	- SJ --  SVALBARD AND JAN MAYEN=20
-	- SZ --  SWAZILAND=20
-	- SE --  SWEDEN=20
-	- CH --  SWITZERLAND=20
-	- SY --  SYRIAN ARAB REPUBLIC=20
-	- TW --  TAIWAN, PROVINCE OF CHINA=20
-	- TJ --  TAJIKISTAN=20
-	- TZ --  TANZANIA, UNITED REPUBLIC OF=20
-	- TH --  THAILAND=20
-	- TL --  TIMOR-LESTE=20
-	- TG --  TOGO=20
-	- TK --  TOKELAU=20
-	- TO --  TONGA=20
-	- TT --  TRINIDAD AND TOBAGO=20
-	- TN --  TUNISIA=20
-	- TR --  TURKEY=20
-	- TM --  TURKMENISTAN=20
-	- TC --  TURKS AND CAICOS ISLANDS=20
-	- TV --  TUVALU=20
-	- UG --  UGANDA=20
-	- UA --  UKRAINE=20
-	- AE --  UNITED ARAB EMIRATES=20
-	- GB --  UNITED KINGDOM=20
-	- US --  UNITED STATES=20
-	- UM --  UNITED STATES MINOR OUTLYING ISLANDS=20
-	- UY --  URUGUAY=20
-	- UZ --  UZBEKISTAN=20
-	- VU --  VANUATU=20
-	- VE --  VENEZUELA, BOLIVARIAN REPUBLIC OF
-	- VN --  VIET NAM=20
-	- VG --  VIRGIN ISLANDS, BRITISH=20
-	- VI --  VIRGIN ISLANDS, U.S.=20
-	- WF --  WALLIS AND FUTUNA=20
-	- EH --  WESTERN SAHARA=20
-	- YE --  YEMEN=20
-	- ZM --  ZAMBIA=20
-	- ZW --  ZIMBABWE=20
-	- IC --  CANARY ISLANDS
-	- XI --  CEUTA
-	- XJ --  MELILLA
-	- CW --  CURACAO
-	- NM --  SAINT MARTIN (DUTCH PART)
-	- BQ --  BONAIRE, SAINT EUSTATIUS AND SABA
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base=3D"xsd:string">
-			<xsd:enumeration value=3D"AF"/>
-			<xsd:enumeration value=3D"AX"/>
-			<xsd:enumeration value=3D"AL"/>
-			<xsd:enumeration value=3D"DZ"/>
-			<xsd:enumeration value=3D"AS"/>
-			<xsd:enumeration value=3D"AD"/>
-			<xsd:enumeration value=3D"AO"/>
-			<xsd:enumeration value=3D"AI"/>
-			<xsd:enumeration value=3D"AQ"/>
-			<xsd:enumeration value=3D"AG"/>
-			<xsd:enumeration value=3D"AR"/>
-			<xsd:enumeration value=3D"AM"/>
-			<xsd:enumeration value=3D"AW"/>
-			<xsd:enumeration value=3D"AU"/>
-			<xsd:enumeration value=3D"AZ"/>
-			<xsd:enumeration value=3D"BS"/>
-			<xsd:enumeration value=3D"BH"/>
-			<xsd:enumeration value=3D"BD"/>
-			<xsd:enumeration value=3D"BB"/>
-			<xsd:enumeration value=3D"BY"/>
-			<xsd:enumeration value=3D"BZ"/>
-			<xsd:enumeration value=3D"BJ"/>
-			<xsd:enumeration value=3D"BM"/>
-			<xsd:enumeration value=3D"BT"/>
-			<xsd:enumeration value=3D"BO"/>
-			<xsd:enumeration value=3D"BA"/>
-			<xsd:enumeration value=3D"BW"/>
-			<xsd:enumeration value=3D"BV"/>
-			<xsd:enumeration value=3D"BR"/>
-			<xsd:enumeration value=3D"IO"/>
-			<xsd:enumeration value=3D"BN"/>
-			<xsd:enumeration value=3D"BF"/>
-			<xsd:enumeration value=3D"BI"/>
-			<xsd:enumeration value=3D"KH"/>
-			<xsd:enumeration value=3D"CM"/>
-			<xsd:enumeration value=3D"CA"/>
-			<xsd:enumeration value=3D"CV"/>
-			<xsd:enumeration value=3D"KY"/>
-			<xsd:enumeration value=3D"CF"/>
-			<xsd:enumeration value=3D"TD"/>
-			<xsd:enumeration value=3D"CL"/>
-			<xsd:enumeration value=3D"CN"/>
-			<xsd:enumeration value=3D"CX"/>
-			<xsd:enumeration value=3D"CC"/>
-			<xsd:enumeration value=3D"CO"/>
-			<xsd:enumeration value=3D"KM"/>
-			<xsd:enumeration value=3D"CG"/>
-			<xsd:enumeration value=3D"CD"/>
-			<xsd:enumeration value=3D"CK"/>
-			<xsd:enumeration value=3D"CR"/>
-			<xsd:enumeration value=3D"CI"/>
-			<xsd:enumeration value=3D"HR"/>
-			<xsd:enumeration value=3D"CU"/>
-			<xsd:enumeration value=3D"DJ"/>
-			<xsd:enumeration value=3D"DM"/>
-			<xsd:enumeration value=3D"DO"/>
-			<xsd:enumeration value=3D"EC"/>
-			<xsd:enumeration value=3D"EG"/>
-			<xsd:enumeration value=3D"SV"/>
-			<xsd:enumeration value=3D"GQ"/>
-			<xsd:enumeration value=3D"ER"/>
-			<xsd:enumeration value=3D"ET"/>
-			<xsd:enumeration value=3D"FK"/>
-			<xsd:enumeration value=3D"FO"/>
-			<xsd:enumeration value=3D"FJ"/>
-			<xsd:enumeration value=3D"GF"/>
-			<xsd:enumeration value=3D"PF"/>
-			<xsd:enumeration value=3D"TF"/>
-			<xsd:enumeration value=3D"GA"/>
-			<xsd:enumeration value=3D"GM"/>
-			<xsd:enumeration value=3D"GE"/>
-			<xsd:enumeration value=3D"GH"/>
-			<xsd:enumeration value=3D"GI"/>
-			<xsd:enumeration value=3D"GL"/>
-			<xsd:enumeration value=3D"GD"/>
-			<xsd:enumeration value=3D"GP"/>
-			<xsd:enumeration value=3D"GU"/>
-			<xsd:enumeration value=3D"GT"/>
-			<xsd:enumeration value=3D"GG"/>
-			<xsd:enumeration value=3D"GN"/>
-			<xsd:enumeration value=3D"GW"/>
-			<xsd:enumeration value=3D"GY"/>
-			<xsd:enumeration value=3D"HT"/>
-			<xsd:enumeration value=3D"HM"/>
-			<xsd:enumeration value=3D"VA"/>
-			<xsd:enumeration value=3D"HN"/>
-			<xsd:enumeration value=3D"HK"/>
-			<xsd:enumeration value=3D"IS"/>
-			<xsd:enumeration value=3D"IN"/>
-			<xsd:enumeration value=3D"ID"/>
-			<xsd:enumeration value=3D"IR"/>
-			<xsd:enumeration value=3D"IQ"/>
-			<xsd:enumeration value=3D"IM"/>
-			<xsd:enumeration value=3D"IL"/>
-			<xsd:enumeration value=3D"JM"/>
-			<xsd:enumeration value=3D"JP"/>
-			<xsd:enumeration value=3D"JE"/>
-			<xsd:enumeration value=3D"JO"/>
-			<xsd:enumeration value=3D"KZ"/>
-			<xsd:enumeration value=3D"KE"/>
-			<xsd:enumeration value=3D"KI"/>
-			<xsd:enumeration value=3D"KP"/>
-			<xsd:enumeration value=3D"KR"/>
-			<xsd:enumeration value=3D"KW"/>
-			<xsd:enumeration value=3D"KG"/>
-			<xsd:enumeration value=3D"LA"/>
-			<xsd:enumeration value=3D"LB"/>
-			<xsd:enumeration value=3D"LS"/>
-			<xsd:enumeration value=3D"LR"/>
-			<xsd:enumeration value=3D"LY"/>
-			<xsd:enumeration value=3D"LI"/>
-			<xsd:enumeration value=3D"MO"/>
-			<xsd:enumeration value=3D"MK"/>
-			<xsd:enumeration value=3D"MG"/>
-			<xsd:enumeration value=3D"MW"/>
-			<xsd:enumeration value=3D"MY"/>
-			<xsd:enumeration value=3D"MV"/>
-			<xsd:enumeration value=3D"ML"/>
-			<xsd:enumeration value=3D"MH"/>
-			<xsd:enumeration value=3D"MQ"/>
-			<xsd:enumeration value=3D"MR"/>
-			<xsd:enumeration value=3D"MU"/>
-			<xsd:enumeration value=3D"YT"/>
-			<xsd:enumeration value=3D"MX"/>
-			<xsd:enumeration value=3D"FM"/>
-			<xsd:enumeration value=3D"MD"/>
-			<xsd:enumeration value=3D"MC"/>
-			<xsd:enumeration value=3D"MN"/>
-			<xsd:enumeration value=3D"ME"/>
-			<xsd:enumeration value=3D"MS"/>
-			<xsd:enumeration value=3D"MA"/>
-			<xsd:enumeration value=3D"MZ"/>
-			<xsd:enumeration value=3D"MM"/>
-			<xsd:enumeration value=3D"NA"/>
-			<xsd:enumeration value=3D"NR"/>
-			<xsd:enumeration value=3D"NP"/>
-			<xsd:enumeration value=3D"AN"/>
-			<xsd:enumeration value=3D"NC"/>
-			<xsd:enumeration value=3D"NZ"/>
-			<xsd:enumeration value=3D"NI"/>
-			<xsd:enumeration value=3D"NE"/>
-			<xsd:enumeration value=3D"NG"/>
-			<xsd:enumeration value=3D"NU"/>
-			<xsd:enumeration value=3D"NF"/>
-			<xsd:enumeration value=3D"MP"/>
-			<xsd:enumeration value=3D"NO"/>
-			<xsd:enumeration value=3D"OM"/>
-			<xsd:enumeration value=3D"PK"/>
-			<xsd:enumeration value=3D"PW"/>
-			<xsd:enumeration value=3D"PS"/>
-			<xsd:enumeration value=3D"PA"/>
-			<xsd:enumeration value=3D"PG"/>
-			<xsd:enumeration value=3D"PY"/>
-			<xsd:enumeration value=3D"PE"/>
-			<xsd:enumeration value=3D"PH"/>
-			<xsd:enumeration value=3D"PN"/>
-			<xsd:enumeration value=3D"PR"/>
-			<xsd:enumeration value=3D"QA"/>
-			<xsd:enumeration value=3D"RE"/>
-			<xsd:enumeration value=3D"RU"/>
-			<xsd:enumeration value=3D"RW"/>
-			<xsd:enumeration value=3D"BL"/>
-			<xsd:enumeration value=3D"SH"/>
-			<xsd:enumeration value=3D"KN"/>
-			<xsd:enumeration value=3D"LC"/>
-			<xsd:enumeration value=3D"MF"/>
-			<xsd:enumeration value=3D"PM"/>
-			<xsd:enumeration value=3D"VC"/>
-			<xsd:enumeration value=3D"WS"/>
-			<xsd:enumeration value=3D"SM"/>
-			<xsd:enumeration value=3D"ST"/>
-			<xsd:enumeration value=3D"SA"/>
-			<xsd:enumeration value=3D"SN"/>
-			<xsd:enumeration value=3D"RS"/>
-			<xsd:enumeration value=3D"SC"/>
-			<xsd:enumeration value=3D"SL"/>
-			<xsd:enumeration value=3D"SG"/>
-			<xsd:enumeration value=3D"SB"/>
-			<xsd:enumeration value=3D"SO"/>
-			<xsd:enumeration value=3D"ZA"/>
-			<xsd:enumeration value=3D"GS"/>
-			<xsd:enumeration value=3D"LK"/>
-			<xsd:enumeration value=3D"SD"/>
-			<xsd:enumeration value=3D"SR"/>
-			<xsd:enumeration value=3D"SJ"/>
-			<xsd:enumeration value=3D"SZ"/>
-			<xsd:enumeration value=3D"CH"/>
-			<xsd:enumeration value=3D"SY"/>
-			<xsd:enumeration value=3D"TW"/>
-			<xsd:enumeration value=3D"TJ"/>
-			<xsd:enumeration value=3D"TZ"/>
-			<xsd:enumeration value=3D"TH"/>
-			<xsd:enumeration value=3D"TL"/>
-			<xsd:enumeration value=3D"TG"/>
-			<xsd:enumeration value=3D"TK"/>
-			<xsd:enumeration value=3D"TO"/>
-			<xsd:enumeration value=3D"TT"/>
-			<xsd:enumeration value=3D"TN"/>
-			<xsd:enumeration value=3D"TR"/>
-			<xsd:enumeration value=3D"TM"/>
-			<xsd:enumeration value=3D"TC"/>
-			<xsd:enumeration value=3D"TV"/>
-			<xsd:enumeration value=3D"UG"/>
-			<xsd:enumeration value=3D"UA"/>
-			<xsd:enumeration value=3D"AE"/>
-			<xsd:enumeration value=3D"US"/>
-			<xsd:enumeration value=3D"UM"/>
-			<xsd:enumeration value=3D"UY"/>
-			<xsd:enumeration value=3D"UZ"/>
-			<xsd:enumeration value=3D"VU"/>
-			<xsd:enumeration value=3D"VE"/>
-			<xsd:enumeration value=3D"VN"/>
-			<xsd:enumeration value=3D"VG"/>
-			<xsd:enumeration value=3D"VI"/>
-			<xsd:enumeration value=3D"WF"/>
-			<xsd:enumeration value=3D"EH"/>
-			<xsd:enumeration value=3D"YE"/>
-			<xsd:enumeration value=3D"ZM"/>
-			<xsd:enumeration value=3D"ZW"/>
-			<xsd:enumeration value=3D"CW"/>
-			<xsd:enumeration value=3D"NM"/>
-			<xsd:enumeration value=3D"BQ"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-	<xsd:simpleType name=3D"MSCountryCode_Type">
-		<xsd:restriction base=3D"xsd:string">
-			<xsd:enumeration value=3D"AT"/>
-			<xsd:enumeration value=3D"BE"/>
-			<xsd:enumeration value=3D"BG"/>
-			<xsd:enumeration value=3D"CY"/>
-			<xsd:enumeration value=3D"CZ"/>
-			<xsd:enumeration value=3D"DK"/>
-			<xsd:enumeration value=3D"EE"/>
-			<xsd:enumeration value=3D"FI"/>
-			<xsd:enumeration value=3D"FR"/>
-			<xsd:enumeration value=3D"DE"/>
-			<xsd:enumeration value=3D"EL"/>
-			<xsd:enumeration value=3D"HU"/>
-			<xsd:enumeration value=3D"IE"/>
-			<xsd:enumeration value=3D"IT"/>
-			<xsd:enumeration value=3D"LV"/>
-			<xsd:enumeration value=3D"LT"/>
-			<xsd:enumeration value=3D"LU"/>
-			<xsd:enumeration value=3D"MT"/>
-			<xsd:enumeration value=3D"NL"/>
-			<xsd:enumeration value=3D"PL"/>
-			<xsd:enumeration value=3D"PT"/>
-			<xsd:enumeration value=3D"RO"/>
-			<xsd:enumeration value=3D"SK"/>
-			<xsd:enumeration value=3D"SI"/>
-			<xsd:enumeration value=3D"ES"/>
-			<xsd:enumeration value=3D"SE"/>
-			<xsd:enumeration value=3D"GB"/>
-			<xsd:enumeration value=3D"IC"/>
-			<xsd:enumeration value=3D"XI"/>
-			<xsd:enumeration value=3D"XJ"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-	<!--  ISO 4217 alpha 3 Currency Code -->
-	<xsd:simpleType name=3D"currCode_Type">
-		<xsd:annotation>
-			<xsd:documentation xml:lang=3D"en">
-			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed.=20
-Valid entries are:
-AED United Arab Emirates, Dirhams=20
-AFN Afghanistan, Afghanis=20
-ALL Albania, Leke=20
-AMD Armenia, Drams=20
-ANG Netherlands Antilles, Guilders=20
-AOA Angola, Kwanza=20
-ARS Argentina, Pesos=20
-AUD Australia, Dollars=20
-AWG Aruba, Guilders=20
-AZN Azerbaijan, Manats=20
-BAM Bosnia and Herzegovina, Convertible Marka=20
-BBD Barbados, Dollars=20
-BDT Bangladesh, Taka=20
-BGN Bulgaria, Leva=20
-BHD Bahrain, Dinars=20
-BIF Burundi, Francs=20
-BMD Bermuda, Dollars=20
-BND Brunei Darussalam, Dollars=20
-BOB Bolivia, Bolivianos=20
-BOV Bolivia, Mvdol
-BRL Brazil, Brazil Real=20
-BSD Bahamas, Dollars=20
-BTN Bhutan, Ngultrum=20
-BWP Botswana, Pulas=20
-BYR Belarus, Rubles=20
-BZD Belize, Dollars=20
-CAD Canada, Dollars=20
-CDF Congo/Kinshasa, Congolese Francs=20
-CHF Switzerland, Francs=20
-CLF Chile, Unidades de fomento=20
-CLP Chile, Pesos=20
-CNY China, Yuan Renminbi=20
-COP Colombia, Pesos=20
-COU Colombia, Unidad de Valor Real
-CRC Costa Rica, Colones=20
-CUC Cuba, Convertible Pesos=20
-CUP Cuba, Pesos=20
-CVE Cape Verde, Escudos=20
-CZK Czech Republic, Koruny=20
-DJF Djibouti, Francs=20
-DKK Denmark, Kroner=20
-DOP Dominican Republic, Pesos=20
-DZD Algeria, Algeria Dinars=20
-EEK Estonia, Krooni=20
-EGP Egypt, Pounds=20
-ERN Eritrea, Nakfa=20
-ETB Ethiopia, Birr=20
-EUR Euro Member Countries, Euro=20
-FJD Fiji, Dollars=20
-FKP Falkland Islands (Malvinas), Pounds=20
-GBP United Kingdom, Pounds=20
-GEL Georgia, Lari=20
-GHS Ghana, Cedis=20
-GIP Gibraltar, Pounds=20
-GMD Gambia, Dalasi=20
-GNF Guinea, Francs=20
-GTQ Guatemala, Quetzales=20
-GWP Guinea-Bissau Peso
-GYD Guyana, Dollars=20
-HKD Hong Kong, Dollars=20
-HNL Honduras, Lempiras=20
-HRK Croatia, Kuna=20
-HTG Haiti, Gourdes=20
-HUF Hungary, Forint=20
-IDR Indonesia, Rupiahs=20
-ILS Israel, New Shekels=20
-INR India, Rupees=20
-IQD Iraq, Dinars=20
-IRR Iran, Rials=20
-ISK Iceland, Kronur =20
-JMD Jamaica, Dollars=20
-JOD Jordan, Dinars=20
-JPY Japan, Yen=20
-KES Kenya, Shillings=20
-KGS Kyrgyzstan, Soms=20
-KHR Cambodia, Riels=20
-KMF Comoros, Francs=20
-KPW Korea (North), Won=20
-KRW Korea (South), Won=20
-KWD Kuwait, Dinars=20
-KYD Cayman Islands, Dollars=20
-KZT Kazakstan, Tenge=20
-LAK Laos, Kips=20
-LBP Lebanon, Pounds=20
-LKR Sri Lanka, Rupees=20
-LRD Liberia, Dollars=20
-LSL Lesotho, Maloti=20
-LTL Lithuania, Litai=20
-LVL Latvia, Lati=20
-LYD Libya, Dinars=20
-MAD Morocco, Dirhams=20
-MDL Moldova, Lei=20
-MGA Madagascar, Malagasy Ariary=20
-MKD Macedonia, Denars=20
-MMK Myanmar (Burma), Kyats=20
-MNT Mongolia, Tugriks=20
-MOP Macau, Patacas=20
-MRO Mauritania, Ouguiyas=20
-MTL Malta, Liri=20
-MUR Mauritius, Rupees=20
-MVR Maldives (Maldive Islands), Rufiyaa=20
-MWK Malawi, Kwachas=20
-MXN Mexico, Pesos=20
-MXV Mexico, Mexican Unidad de Inversion
-MYR Malaysia, Ringgits=20
-MZN Mozambique, Meticais=20
-NAD Namibia, Dollars=20
-NGN Nigeria, Nairas=20
-NIO Nicaragua, Gold Cordobas=20
-NOK Norway, Krone=20
-NPR Nepal, Nepal Rupees=20
-NZD New Zealand, Dollars=20
-OMR Oman, Rials=20
-PAB Panama, Balboa=20
-PEN Peru, Nuevos Soles=20
-PGK Papua New Guinea, Kina=20
-PHP Philippines, Pesos=20
-PKR Pakistan, Rupees=20
-PLN Poland, Zlotych=20
-PYG Paraguay, Guarani=20
-QAR Qatar, Rials=20
-RON Romania, New Lei=20
-RSD Serbian Dinar
-RUB Russia, Rubles=20
-RWF Rwanda, Rwanda Francs=20
-SAR Saudi Arabia, Riyals=20
-SBD Solomon Islands, Dollars=20
-SCR Seychelles, Rupees=20
-SDG Sudan, Dinars=20
-SEK Sweden, Kronor=20
-SGD Singapore, Dollars=20
-SHP Saint Helena, Pounds=20
-SLL Sierra Leone, Leones=20
-SOS Somalia, Shillings=20
-SRD Suriname, Dollar=20
-STD S=C3=A3o Tome and Principe, Dobras=20
-SVC El Salvador, Colones=20
-SYP Syria, Pounds=20
-SZL Swaziland, Emalangeni=20
-THB Thailand, Baht=20
-TJS Tajikistan, Somoni=20
-TMT Turkmenistan, Manats=20
-TND Tunisia, Dinars=20
-TOP Tonga, Pa'anga=20
-TRY Turkey, Liras=20
-TTD Trinidad and Tobago, Dollars=20
-TWD Taiwan, New Dollars=20
-TZS Tanzania, Shillings=20
-UAH Ukraine, Hryvnia=20
-UGX Uganda, Shillings=20
-USD United States of America, Dollars=20
-UYU Uruguay, Pesos=20
-UZS Uzbekistan, Sums=20
-VEF Venezuela, Bolivares=20
-VND Viet Nam, Dong=20
-VUV Vanuatu, Vatu=20
-WST Samoa, Tala=20
-XAF Communaut=C3=A9 Financi=C3=A8re Africaine BEAC, Francs=20
-XCD East Caribbean Dollars=20
-XOF Communaut=C3=A9 Financi=C3=A8re Africaine BCEAO, Francs=20
-XPD Palladium Ounces=20
-XPF Comptoirs Fran=C3=A7ais du Pacifique Francs=20
-YER Yemen, Rials=20
-ZAR South Africa, Rand=20
-ZMK Zambia, Kwacha=20
-ZWL Zimbabwe, Zimbabwe Dollars=20
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base=3D"xsd:string">
-			<xsd:enumeration value=3D"AED"/>
-			<xsd:enumeration value=3D"AFN"/>
-			<xsd:enumeration value=3D"ALL"/>
-			<xsd:enumeration value=3D"AMD"/>
-			<xsd:enumeration value=3D"ANG"/>
-			<xsd:enumeration value=3D"AOA"/>
-			<xsd:enumeration value=3D"ARS"/>
-			<xsd:enumeration value=3D"AUD"/>
-			<xsd:enumeration value=3D"AWG"/>
-			<xsd:enumeration value=3D"AZN"/>
-			<xsd:enumeration value=3D"BAM"/>
-			<xsd:enumeration value=3D"BBD"/>
-			<xsd:enumeration value=3D"BDT"/>
-			<xsd:enumeration value=3D"BGN"/>
-			<xsd:enumeration value=3D"BHD"/>
-			<xsd:enumeration value=3D"BIF"/>
-			<xsd:enumeration value=3D"BMD"/>
-			<xsd:enumeration value=3D"BND"/>
-			<xsd:enumeration value=3D"BOB"/>
-			<xsd:enumeration value=3D"BOV"/>
-			<xsd:enumeration value=3D"BRL"/>
-			<xsd:enumeration value=3D"BSD"/>
-			<xsd:enumeration value=3D"BTN"/>
-			<xsd:enumeration value=3D"BWP"/>
-			<xsd:enumeration value=3D"BYR"/>
-			<xsd:enumeration value=3D"BZD"/>
-			<xsd:enumeration value=3D"CAD"/>
-			<xsd:enumeration value=3D"CDF"/>
-			<xsd:enumeration value=3D"CHF"/>
-			<xsd:enumeration value=3D"CLF"/>
-			<xsd:enumeration value=3D"CLP"/>
-			<xsd:enumeration value=3D"CNY"/>
-			<xsd:enumeration value=3D"COP"/>
-			<xsd:enumeration value=3D"COU"/>
-			<xsd:enumeration value=3D"CRC"/>
-			<xsd:enumeration value=3D"CUC"/>
-			<xsd:enumeration value=3D"CUP"/>
-			<xsd:enumeration value=3D"CVE"/>
-			<xsd:enumeration value=3D"CZK"/>
-			<xsd:enumeration value=3D"DJF"/>
-			<xsd:enumeration value=3D"DKK"/>
-			<xsd:enumeration value=3D"DOP"/>
-			<xsd:enumeration value=3D"DZD"/>
-			<xsd:enumeration value=3D"EEK"/>
-			<xsd:enumeration value=3D"EGP"/>
-			<xsd:enumeration value=3D"ERN"/>
-			<xsd:enumeration value=3D"ETB"/>
-			<xsd:enumeration value=3D"EUR"/>
-			<xsd:enumeration value=3D"FJD"/>
-			<xsd:enumeration value=3D"FKP"/>
-			<xsd:enumeration value=3D"GBP"/>
-			<xsd:enumeration value=3D"GEL"/>
-			<xsd:enumeration value=3D"GHS"/>
-			<xsd:enumeration value=3D"GIP"/>
-			<xsd:enumeration value=3D"GMD"/>
-			<xsd:enumeration value=3D"GNF"/>
-			<xsd:enumeration value=3D"GTQ"/>
-			<xsd:enumeration value=3D"GWP"/>
-			<xsd:enumeration value=3D"GYD"/>
-			<xsd:enumeration value=3D"HKD"/>
-			<xsd:enumeration value=3D"HNL"/>
-			<xsd:enumeration value=3D"HRK"/>
-			<xsd:enumeration value=3D"HTG"/>
-			<xsd:enumeration value=3D"HUF"/>
-			<xsd:enumeration value=3D"IDR"/>
-			<xsd:enumeration value=3D"ILS"/>
-			<xsd:enumeration value=3D"INR"/>
-			<xsd:enumeration value=3D"IQD"/>
-			<xsd:enumeration value=3D"IRR"/>
-			<xsd:enumeration value=3D"ISK"/>
-			<xsd:enumeration value=3D"JMD"/>
-			<xsd:enumeration value=3D"JOD"/>
-			<xsd:enumeration value=3D"JPY"/>
-			<xsd:enumeration value=3D"KES"/>
-			<xsd:enumeration value=3D"KGS"/>
-			<xsd:enumeration value=3D"KHR"/>
-			<xsd:enumeration value=3D"KMF"/>
-			<xsd:enumeration value=3D"KPW"/>
-			<xsd:enumeration value=3D"KRW"/>
-			<xsd:enumeration value=3D"KWD"/>
-			<xsd:enumeration value=3D"KYD"/>
-			<xsd:enumeration value=3D"KZT"/>
-			<xsd:enumeration value=3D"LAK"/>
-			<xsd:enumeration value=3D"LBP"/>
-			<xsd:enumeration value=3D"LKR"/>
-			<xsd:enumeration value=3D"LRD"/>
-			<xsd:enumeration value=3D"LSL"/>
-			<xsd:enumeration value=3D"LTL"/>
-			<xsd:enumeration value=3D"LVL"/>
-			<xsd:enumeration value=3D"LYD"/>
-			<xsd:enumeration value=3D"MAD"/>
-			<xsd:enumeration value=3D"MDL"/>
-			<xsd:enumeration value=3D"MGA"/>
-			<xsd:enumeration value=3D"MKD"/>
-			<xsd:enumeration value=3D"MMK"/>
-			<xsd:enumeration value=3D"MNT"/>
-			<xsd:enumeration value=3D"MOP"/>
-			<xsd:enumeration value=3D"MRO"/>
-			<xsd:enumeration value=3D"MUR"/>
-			<xsd:enumeration value=3D"MVR"/>
-			<xsd:enumeration value=3D"MWK"/>
-			<xsd:enumeration value=3D"MXN"/>
-			<xsd:enumeration value=3D"MXV"/>
-			<xsd:enumeration value=3D"MYR"/>
-			<xsd:enumeration value=3D"MZN"/>
-			<xsd:enumeration value=3D"NAD"/>
-			<xsd:enumeration value=3D"NGN"/>
-			<xsd:enumeration value=3D"NIO"/>
-			<xsd:enumeration value=3D"NOK"/>
-			<xsd:enumeration value=3D"NPR"/>
-			<xsd:enumeration value=3D"NZD"/>
-			<xsd:enumeration value=3D"OMR"/>
-			<xsd:enumeration value=3D"PAB"/>
-			<xsd:enumeration value=3D"PEN"/>
-			<xsd:enumeration value=3D"PGK"/>
-			<xsd:enumeration value=3D"PHP"/>
-			<xsd:enumeration value=3D"PKR"/>
-			<xsd:enumeration value=3D"PLN"/>
-			<xsd:enumeration value=3D"PYG"/>
-			<xsd:enumeration value=3D"QAR"/>
-			<xsd:enumeration value=3D"RON"/>
-			<xsd:enumeration value=3D"RSD"/>
-			<xsd:enumeration value=3D"RUB"/>
-			<xsd:enumeration value=3D"RWF"/>
-			<xsd:enumeration value=3D"SAR"/>
-			<xsd:enumeration value=3D"SBD"/>
-			<xsd:enumeration value=3D"SCR"/>
-			<xsd:enumeration value=3D"SDG"/>
-			<xsd:enumeration value=3D"SEK"/>
-			<xsd:enumeration value=3D"SGD"/>
-			<xsd:enumeration value=3D"SHP"/>
-			<xsd:enumeration value=3D"SLL"/>
-			<xsd:enumeration value=3D"SOS"/>
-			<xsd:enumeration value=3D"SRD"/>
-			<xsd:enumeration value=3D"STD"/>
-			<xsd:enumeration value=3D"SVC"/>
-			<xsd:enumeration value=3D"SYP"/>
-			<xsd:enumeration value=3D"SZL"/>
-			<xsd:enumeration value=3D"THB"/>
-			<xsd:enumeration value=3D"TJS"/>
-			<xsd:enumeration value=3D"TMT"/>
-			<xsd:enumeration value=3D"TND"/>
-			<xsd:enumeration value=3D"TOP"/>
-			<xsd:enumeration value=3D"TRY"/>
-			<xsd:enumeration value=3D"TTD"/>
-			<xsd:enumeration value=3D"TVD"/>
-			<xsd:enumeration value=3D"TWD"/>
-			<xsd:enumeration value=3D"TZS"/>
-			<xsd:enumeration value=3D"UAH"/>
-			<xsd:enumeration value=3D"UGX"/>
-			<xsd:enumeration value=3D"USD"/>
-			<xsd:enumeration value=3D"UYU"/>
-			<xsd:enumeration value=3D"UZS"/>
-			<xsd:enumeration value=3D"VEF"/>
-			<xsd:enumeration value=3D"VND"/>
-			<xsd:enumeration value=3D"VUV"/>
-			<xsd:enumeration value=3D"WST"/>
-			<xsd:enumeration value=3D"XAF"/>
-			<xsd:enumeration value=3D"XCD"/>
-			<xsd:enumeration value=3D"XOF"/>
-			<xsd:enumeration value=3D"XPD"/>
-			<xsd:enumeration value=3D"XPF"/>
-			<xsd:enumeration value=3D"YER"/>
-			<xsd:enumeration value=3D"ZAR"/>
-			<xsd:enumeration value=3D"ZMK"/>
-			<xsd:enumeration value=3D"ZWL"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-	<xsd:simpleType name=3D"MSCurrCode_Type">
-		<xsd:annotation>
-			<xsd:documentation xml:lang=3D"en">
-			The appropriate currency code from the ISO 4217 three-byte alpha vers=
ion for the currency in which a monetary amount is expressed. Currency co=
des are limited to those of Member States.
-Valid entries are:
-BGN Bulgaria, Leva=20
-CZK Czech Republic, Koruny=20
-DKK Denmark, Kroner=20
-EEK Estonia, Krooni=20
-EUR Euro Member Countries, Euro=20
-GBP United Kingdom, Pounds=20
-HUF Hungary, Forint=20
-LTL Lithuania, Litai=20
-LVL Latvia, Lati=20
-PLN Poland, Zlotych=20
-RON Romania, New Lei=20
-SEK Sweden, Kronor=20
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base=3D"xsd:string">
-			<xsd:enumeration value=3D"BGN"/>
-			<xsd:enumeration value=3D"CZK"/>
-			<xsd:enumeration value=3D"DKK"/>
-			<xsd:enumeration value=3D"EEK"/>
-			<xsd:enumeration value=3D"EUR"/>
-			<xsd:enumeration value=3D"GBP"/>
-			<xsd:enumeration value=3D"HUF"/>
-			<xsd:enumeration value=3D"LTL"/>
-			<xsd:enumeration value=3D"LVL"/>
-			<xsd:enumeration value=3D"PLN"/>
-			<xsd:enumeration value=3D"RON"/>
-			<xsd:enumeration value=3D"SEK"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-</xsd:schema>

Deleted: trunk/transform/include/valide-exemple-listing.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/valide-exemple-listing.xml	2014-01-28 17:03:2=
2 UTC (rev 670)
+++ trunk/transform/include/valide-exemple-listing.xml	2014-01-31 17:34:5=
1 UTC (rev 671)
@@ -1,37 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>    =20
-	<ns2:ClientListingConsignment xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon" xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingConsignment" C=
lientListingsNbr=3D"1">
-		<ns2:Representative>
-			<RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">00000000=
97</RepresentativeID>
-			<Name>Gevolmachtigde- Mandataire TEST NV-SA </Name>
-			<Street>AV Test-laan 8</Street>
-			<PostCode>9999</PostCode>
-			<City> TESTCITY</City>
-			<CountryCode>BE</CountryCode>
-			<EmailAddress>something@something.be</EmailAddress>
-			<Phone>02555555</Phone>
-		</ns2:Representative>
-		<ns2:ClientListing VATAmountSum=3D"00.00" TurnOverSum=3D"1000.72" Clie=
ntsNbr=3D"2" SequenceNumber=3D"1">
-			<ns2:Declarant>
-				<VATNumber>0000000097</VATNumber>
-				<Name>TEST NV-SA</Name>
-				<Street>Av Test-laan 16</Street>
-				<PostCode>9999</PostCode>
-				<City>TESTCITY</City>
-				<CountryCode>BE</CountryCode>
-				<EmailAddress>cedric@francis.be</EmailAddress>
-				<Phone>025555555</Phone>
-			</ns2:Declarant>
-			<ns2:Period>2009</ns2:Period>
-			<ns2:Client SequenceNumber=3D"1">
-				<ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNumb=
er>
-				<ns2:TurnOver>500.36</ns2:TurnOver>
-				<ns2:VATAmount>0.00</ns2:VATAmount>
-			</ns2:Client>
-			<ns2:Client SequenceNumber=3D"2">
-				<ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNumb=
er>
-				<ns2:TurnOver>500.36</ns2:TurnOver>
-				<ns2:VATAmount>0.00</ns2:VATAmount>
-			</ns2:Client>
-			<ns2:Comment>free text max 2000 characters</ns2:Comment>
-		</ns2:ClientListing>
-	</ns2:ClientListingConsignment>   =20

Deleted: trunk/transform/include/valide-xml.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/valide-xml.php	2014-01-28 17:03:22 UTC (rev 6=
70)
+++ trunk/transform/include/valide-xml.php	2014-01-31 17:34:51 UTC (rev 6=
71)
@@ -1,65 +0,0 @@
-<?php
-$file =3D "valide-exemple-listing.xml";
-$file =3D "a.xml";
-/*
- * Validation
- */
-
-function libxml_display_error($error) {
-	$return =3D "<br/>\n";
-	switch ($error->level) {
-		case LIBXML_ERR_WARNING:
-		$return .=3D "<b>Warning $error->code</b>: ";
-		break;
-		case LIBXML_ERR_ERROR:
-		$return .=3D "<b>Error $error->code</b>: ";
-		break;
-		case LIBXML_ERR_FATAL:
-		$return .=3D "<b>Fatal Error $error->code</b>: ";
-		break;
-	}
-	$return .=3D trim($error->message);
-	if ($error->file) {
-		$return .=3D " in <b>$error->file</b>";
-	}
-		$return .=3D " on line <b>$error->line</b>\n";
-
-	return $return;
-}
-
-function libxml_display_errors($display_errors =3D true) {
-	$errors =3D libxml_get_errors();
-	$chain_errors =3D "";
-
-	foreach ($errors as $error) {
-		$chain_errors .=3D preg_replace('/( in\ \/(.*))/',""  , strip_tags(lib=
xml_display_error($error)))."\n";
-		if ($display_errors) {
-			trigger_error(libxml_display_error($error), E_USER_WARNING);
-		}
-	}
-	libxml_clear_errors();
-
-	return $chain_errors;
-}
-
-// Activer "user error handling"
-libxml_use_internal_errors(true);=20
-
-//$file =3D "valide-exemple-listing.xml";
-$schema =3D "NewLK-in_v0_7.xsd";
-
-// Instanciation d=E2=80=99un DOMDocument
-$dom =3D new DOMDocument("1.0");
-
-// Charge du XML depuis un fichier
-$dom->load($file);
-echo "Validation $file";
-// Validation du document XML
-$validate =3D $dom->schemaValidate($schema) ?
-"<b>DOMDocument::schemaValidate() Valid schema!</b>" :
-"<b>DOMDocument::schemaValidate() Generated Errors!</b>";
-libxml_display_errors();
-// Affichage du r=C3=A9sultat
-echo $validate;
-echo PHP_EOL;
-?>

Deleted: trunk/transform/include/vatrefund_v1.xsd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/vatrefund_v1.xsd	2014-01-28 17:03:22 UTC (rev=
 670)
+++ trunk/transform/include/vatrefund_v1.xsd	2014-01-31 17:34:51 UTC (rev=
 671)
@@ -1,739 +0,0 @@
-<?xml version=3D"1.0" encoding=3D"UTF-8"?>
-<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:cm=3D"urn=
:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:mes=3D"urn:ec.europa.eu:tax=
ud:fiscalis:message:v1" xmlns:vr=3D"urn:ec.europa.eu:taxud:fiscalis:vatre=
fund:v1" targetNamespace=3D"urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1"=
 elementFormDefault=3D"qualified" version=3D"1.06" xml:lang=3D"en">
-	<xs:annotation>
-		<xs:documentation xml:lang=3D"en"><![CDATA[
-		=09
-		A schema for the definition of messages to be exchanged in the VAT Ref=
und system.
-		=3D=3D=3D HISTORY=3D=3D=3D
-		Version 1.08 - 16/12/2010
-		+ The type of RequestedAmount and AcceptedAmount in the decision is Si=
gnedMoneyAmount_Type instead of PositiveMoneyAmount_Type.
-		Version 1.07 - 15/07/2010
-		- Remove non EU Member State constraint on Supplier in ImportInformati=
on: Trader_Type uses
-		  cm:CountryCode_Type instead of cm:CountryCodeExMS_Type
-		+ AccountName_Type maxLength changed from 35 to 70
-		- Type of element FileDescription changed from xs:token to xs:string
-		+ Addition of bank fees in CorrectionReason_Type
-	=09
-		Version 1.06 - 22/07/2009
-		- Remove constraints PurchaseInformationReference_Unique and ImportInf=
ormationReferenceNumber_Unique=20
-
-		Version 1.05 - 28/05/2009
-		+Add application/zip to enumeration in OfficialCopyFileType_Type
-	=09
-		Version 1.04 - 11/05/2009
-		+Add ReasonCode 5 to 	UpdateRefusalReasonCode_Type
-		+Correct RefundDecisionJustificationReasonCode_Type code for "Partial =
decision of repayment" - 87 -> 95
-		+Add RefundDecisionJustificationReasonCode_Type codes agreed at March =
workshop (codes 64 to 68 inclusive)=09
-	=09
-		Version 1.03 - 25/03/2009
-		+ Allow two decimal places for the pro-rata rate
-		Version 1.02 - 20/03/2009
-		+ Add disclose attribute to VATREfundReceipt, VATRefundDecision, Adjus=
tmentReceipt and AdjustmentDecision
-		+ Add telephone number to BaseTrader_Type
-		Version 1.01 - 18/12/2008=20
-		 + Add a constraint on the issuedBy attribute of the TaxReferenceNumbe=
r - it must be the same as the RefundingCountryCode
-		 + Fix erroneous definition of constraint applying on reference of Pur=
chaseInformation of VATRefundApplication
-		 + Offer the possibility to provide multiple GoodsDescription for Impo=
rtInformation and PurchaseInformation of VATRefundApplication=20
-		Version 1.00 - first release of the schema to the Member States=20
-		]]></xs:documentation>
-	</xs:annotation>
-	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:message:v1" sch=
emaLocation=3D"fiscalismessage_v1.xsd"/>
-	<xs:import namespace=3D"urn:ec.europa.eu:taxud:fiscalis:common:v1" sche=
maLocation=3D"commontypes_v1.xsd"/>
-	<xs:include schemaLocation=3D"goodsdescriptiontypes_v1.xsd"/>
-	<xs:include schemaLocation=3D"decreasons_v1.xsd"/>
-	<xs:include schemaLocation=3D"adjreasons_v1.xsd"/>
-	<!--The VAT Refund Messages-->
-	<xs:element name=3D"VATRefundApplication" type=3D"vr:VATRefundApplicati=
onBody_Type" substitutionGroup=3D"mes:AbstractBody">
-		<xs:unique name=3D"SequenceNumber_Unique">
-			<xs:selector xpath=3D".//*"/>
-			<xs:field xpath=3D"vr:SequenceNumber"/>
-		</xs:unique>
-		<xs:unique name=3D"BusinessActivity_Unique">
-			<xs:selector xpath=3D".//vr:BusinessDescription/vr:BusinessActivity"/=
>
-			<xs:field xpath=3D"."/>
-		</xs:unique>
-		<xs:unique name=3D"TextualDescrLanguage_Unique">
-			<xs:selector xpath=3D".//vr:BusinessDescription/vr:TextualDescription=
"/>
-			<xs:field xpath=3D"./@language"/>
-		</xs:unique>
-		<!-- ensure the supplier country code is the same as the refunding cou=
ntry code -->
-		<xs:key name=3D"RefundingCountryKey">
-			<xs:selector xpath=3D"./vr:ApplicationReference"/>
-			<xs:field xpath=3D"vr:RefundingCountryCode"/>
-		</xs:key>
-		<xs:keyref name=3D"RefundingCountryToSupplier" refer=3D"vr:RefundingCo=
untryKey">
-			<xs:selector xpath=3D".//vr:PurchaseInformation"/>
-			<xs:field xpath=3D"vr:EUSupplier/vr:EUTraderID/vr:VATIdentificationNu=
mber/@issuedBy"/>
-		</xs:keyref>
-		<xs:keyref name=3D"RefundingCountryToSupplier2" refer=3D"vr:RefundingC=
ountryKey">
-			<xs:selector xpath=3D".//vr:PurchaseInformation"/>
-			<xs:field xpath=3D"vr:EUSupplier/vr:EUTraderID/vr:TaxReferenceNumber/=
@issuedBy"/>
-		</xs:keyref>
-	</xs:element>
-	<xs:element name=3D"ApplicationReceipt" type=3D"vr:ApplicationReceiptBo=
dy_Type" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"VATRefundDecision" type=3D"vr:VATRefundDecisionBody=
_Type" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"ProRataRateAdjustment" type=3D"vr:ProRataRateAdjust=
mentBody_Type" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"AdjustmentReceipt" type=3D"vr:AdjustmentReceiptBody=
_Type" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"AdjustmentResult" type=3D"vr:AdjustmentResultBody_T=
ype" substitutionGroup=3D"mes:AbstractBody">
-		<!-- ensure the refunding country code of application is the same as t=
he refunding country code -->
-		<xs:key name=3D"RefundingCountryKey2">
-			<xs:selector xpath=3D"."/>
-			<xs:field xpath=3D"vr:RefundingCountryCode"/>
-		</xs:key>
-		<xs:keyref name=3D"RefundingCountryToAcceptedRefundCountryCode" refer=3D=
"vr:RefundingCountryKey2">
-			<xs:selector xpath=3D".//vr:AcceptedRefund"/>
-			<xs:field xpath=3D"vr:ApplicationReference/vr:RefundingCountryCode"/>
-		</xs:keyref>
-	</xs:element>
-	<xs:element name=3D"NETPNotification" type=3D"vr:NETPNotificationBody_T=
ype" substitutionGroup=3D"mes:AbstractBody"/>
-	<xs:element name=3D"ValidationReport" type=3D"vr:ValidationReportBody_T=
ype" substitutionGroup=3D"mes:AbstractBody"/>
-	<!--The XML types for the content of the body element-->
-	<xs:complexType name=3D"VATRefundApplicationBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ApplicationReference" type=3D"vr:VersionedReferen=
ce_Type"/>
-			<xs:element name=3D"Applicant" type=3D"vr:Applicant_Type"/>
-			<xs:element name=3D"Representative" type=3D"vr:Representative_Type" m=
inOccurs=3D"0"/>
-			<xs:element name=3D"RefundPeriod" type=3D"cm:Period_Type"/>
-			<xs:element name=3D"BusinessDescription" type=3D"vr:BusinessDescripti=
on_Type"/>
-			<xs:element name=3D"DetailedBankAccount" type=3D"vr:DetailedBankAccou=
nt_Type"/>
-			<xs:element name=3D"ImportInformation" type=3D"vr:ImportInformation_T=
ype" minOccurs=3D"0" maxOccurs=3D"unbounded">
-				<xs:unique name=3D"ImportGoodsDescription_Unique">
-					<xs:selector xpath=3D"./vr:GoodsDescription"/>
-					<xs:field xpath=3D"vr:Code"/>
-					<xs:field xpath=3D"vr:SubCode"/>
-				</xs:unique>
-			</xs:element>
-			<xs:element name=3D"PurchaseInformation" type=3D"vr:PurchaseInformati=
on_Type" minOccurs=3D"0" maxOccurs=3D"unbounded">
-				<xs:unique name=3D"PurchaseGoodsDescription_Unique">
-					<xs:selector xpath=3D"./vr:GoodsDescription"/>
-					<xs:field xpath=3D"vr:Code"/>
-					<xs:field xpath=3D"vr:SubCode"/>
-				</xs:unique>
-			</xs:element>
-			<xs:element name=3D"DocumentCopy" type=3D"vr:FileAttachment_Type" min=
Occurs=3D"0" maxOccurs=3D"unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ApplicationReceiptBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReceiptReference" type=3D"vr:VersionedReference_T=
ype"/>
-			<xs:element name=3D"ReceiptDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"UpdateRefusal" type=3D"vr:UpdateRefusal_Type" min=
Occurs=3D"0"/>
-		</xs:sequence>
-		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
-	</xs:complexType>
-	<xs:complexType name=3D"VATRefundDecisionBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"DecisionReference" type=3D"vr:VersionedReference_=
Type"/>
-			<xs:element name=3D"ApplicationVersion" type=3D"vr:RestrictedDateTime=
_Type"/>
-			<xs:element name=3D"Decision" type=3D"vr:RefundDecision_Type"/>
-			<xs:element name=3D"DecisionDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"RefundInformation" type=3D"vr:RefundInformation_T=
ype" minOccurs=3D"0"/>
-			<xs:element name=3D"Justification" type=3D"vr:RefundDecisionJustifica=
tion_Type" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"OfficialCopy" type=3D"vr:OfficialCopy_Type" minOc=
curs=3D"0"/>
-		</xs:sequence>
-		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
-	</xs:complexType>
-	<xs:complexType name=3D"ProRataRateAdjustmentBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
-			<xs:element name=3D"Applicant" type=3D"vr:Applicant_Type"/>
-			<xs:element name=3D"Period" type=3D"cm:Period_Type"/>
-			<xs:element name=3D"AdjustedValue" type=3D"vr:ProRataRateCorrection_T=
ype"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"AdjustmentReceiptBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
-			<xs:element name=3D"ReceiptDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
-		</xs:sequence>
-		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
-	</xs:complexType>
-	<xs:complexType name=3D"AdjustmentResultBody_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
-			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
-			<xs:element name=3D"Decision" type=3D"vr:AdjustmentDecision_Type"/>
-			<xs:element name=3D"DecisionDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"AcceptedRefund" type=3D"vr:AcceptedRefund_Type" m=
inOccurs=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"Justification" type=3D"vr:AdjustmentResultJustifi=
cation_Type" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"AdjustmentInformation" type=3D"vr:AdjustmentInfor=
mation_Type" minOccurs=3D"0"/>
-			<xs:element name=3D"OfficialCopy" type=3D"vr:OfficialCopy_Type" minOc=
curs=3D"0"/>
-		</xs:sequence>
-		<xs:attribute name=3D"disclose" type=3D"vr:Disclose_Type" use=3D"optio=
nal" default=3D"03"/>
-	</xs:complexType>
-	<xs:complexType name=3D"NETPNotificationBody_Type">
-		<xs:sequence>
-			<xs:choice>
-				<xs:element name=3D"VersionedReference" type=3D"vr:VersionedReferenc=
e_Type"/>
-				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe"/>
-			</xs:choice>
-			<xs:element name=3D"NotificationDate" type=3D"vr:RestrictedDate_Type"=
/>
-		</xs:sequence>
-		<xs:attribute name=3D"notifiedType" type=3D"vr:NETPNotificationType_Ty=
pe" use=3D"required"/>
-	</xs:complexType>
-	<xs:complexType name=3D"ValidationReportBody_Type">
-		<xs:sequence>
-			<xs:choice>
-				<xs:element name=3D"VersionedReference" type=3D"vr:VersionedReferenc=
e_Type" minOccurs=3D"0"/>
-				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe" minOccurs=3D"0"/>
-			</xs:choice>
-			<xs:element name=3D"Report" type=3D"vr:Report_Type"/>
-		</xs:sequence>
-		<xs:attribute name=3D"validatedType" type=3D"vr:MessageType_Type" use=3D=
"required"/>
-	</xs:complexType>
-	<!-- Complex Types-->
-	<xs:complexType name=3D"AcceptedRefund_Type">
-		<xs:sequence>
-			<xs:element name=3D"ApplicationReference" type=3D"vr:Reference_Type"/=
>
-			<xs:element name=3D"EstimatedTotalAmount" type=3D"vr:SignedMoneyAmoun=
t_Type"/>
-			<xs:element name=3D"AdjustedTotalAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Adjustment_Type">
-		<xs:sequence>
-			<xs:element name=3D"EstimatedTotalAmount" type=3D"vr:SignedMoneyAmoun=
t_Type"/>
-			<xs:element name=3D"AdjustedTotalAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
-			<xs:element name=3D"TransactionReference" type=3D"vr:TransactionRefer=
ence_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"AdjustmentInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"TotalAmount" type=3D"vr:SignedMoneyAmount_Type"/>
-			<xs:element name=3D"DebitBalance" type=3D"vr:DebitBalance_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"AdjustmentResultJustification_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReasonCode" type=3D"vr:ProRataRateAdjustmentJusti=
ficationReasonCode_Type"/>
-			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Applicant_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
-					<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type"/>
-					<xs:element name=3D"EmailAddress" type=3D"cm:EMail_Type"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"BalanceCorrection_Type">
-		<xs:sequence>
-			<xs:element name=3D"Amount" type=3D"vr:SignedMoneyAmount_Type"/>
-			<xs:element name=3D"Reason" type=3D"vr:CorrectionReason_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"BankAccount_Type">
-		<xs:sequence>
-			<xs:element name=3D"OwnerName" type=3D"vr:AccountName_Type"/>
-			<xs:element name=3D"IBAN" type=3D"vr:MSIBAN_Type"/>
-			<xs:element name=3D"BIC" type=3D"vr:BIC_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"BaseTrader_Type">
-		<xs:sequence>
-			<xs:element name=3D"Name" type=3D"cm:Name_Type"/>
-			<xs:choice>
-				<xs:element name=3D"AddressFree" type=3D"cm:AddressFree_Type"/>
-				<xs:element name=3D"AddressStruct" type=3D"cm:AddressStruct_Type"/>
-			</xs:choice>
-			<xs:element name=3D"TelephoneNumber" type=3D"cm:PhoneNumber_Type" min=
Occurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"BusinessDescription_Type">
-		<xs:choice>
-			<xs:element name=3D"BusinessActivity" type=3D"vr:BusinessActivity_Typ=
e" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"TextualDescription" type=3D"vr:TextualDescription=
_Type" maxOccurs=3D"unbounded"/>
-		</xs:choice>
-	</xs:complexType>
-	<xs:complexType name=3D"DebitBalance_Type">
-		<xs:sequence>
-			<xs:element name=3D"AmountDue" type=3D"vr:SignedMoneyAmount_Type"/>
-			<xs:element name=3D"BalanceCorrection" type=3D"vr:BalanceCorrection_T=
ype" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"RecoveryInformation" type=3D"vr:RecoveryInformati=
on_Type" minOccurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Deduction_Type">
-		<xs:sequence>
-			<xs:element name=3D"ProRataRate" type=3D"vr:ProRataRate_Type" minOccu=
rs=3D"0"/>
-			<xs:element name=3D"DeductibleVATAmount" type=3D"vr:SignedMoneyAmount=
_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"DetailedBankAccount_Type">
-		<xs:sequence>
-			<xs:element name=3D"OwnerName" type=3D"vr:AccountName_Type"/>
-			<xs:element name=3D"OwnerType" type=3D"vr:BankAccountOwnerType_Type"/=
>
-			<xs:element name=3D"IBAN" type=3D"vr:MSIBAN_Type"/>
-			<xs:element name=3D"BIC" type=3D"vr:BIC_Type"/>
-			<xs:element name=3D"Currency" type=3D"cm:currCode_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"EUSupplier_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
-					<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type" minOccu=
rs=3D"0"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"EUTraderID_Type">
-		<xs:choice>
-			<xs:element name=3D"VATIdentificationNumber" type=3D"vr:VATNumber_Typ=
e"/>
-			<xs:element name=3D"TaxReferenceNumber" type=3D"vr:VATNumberOrTIN_Typ=
e"/>
-		</xs:choice>
-	</xs:complexType>
-	<xs:complexType name=3D"NonEUTrader_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCodeExMS_Type"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"FileAttachment_Type">
-		<xs:sequence>
-			<xs:element name=3D"FileType" type=3D"vr:FileType_Type"/>
-			<xs:element name=3D"FileName" type=3D"xs:token"/>
-			<xs:element name=3D"FileDescription" type=3D"xs:string" minOccurs=3D"=
0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"GoodsDescription_Type">
-		<xs:sequence>
-			<xs:element name=3D"Code" type=3D"vr:GoodsDescriptionCode_Type"/>
-			<xs:element name=3D"SubCode" type=3D"vr:GoodsDescriptionSubCode_Type"=
 minOccurs=3D"0"/>
-			<xs:element name=3D"FreeText" type=3D"vr:TextualDescription_Type" min=
Occurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ImportInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
-			<xs:choice>
-				<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Ty=
pe"/>
-				<xs:element name=3D"ReferenceInformation" type=3D"xs:string"/>
-			</xs:choice>
-			<xs:element name=3D"IssuingDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"Supplier" type=3D"vr:Trader_Type"/>
-			<xs:element name=3D"GoodsDescription" type=3D"vr:GoodsDescription_Typ=
e" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"TransactionDescription" type=3D"vr:TransactionDes=
cription_Type"/>
-			<xs:element name=3D"Deduction" type=3D"vr:Deduction_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"ImportReference_Type">
-		<xs:choice>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ReferenceNumber18_Typ=
e"/>
-			<xs:element name=3D"ReferenceInformation" type=3D"xs:string"/>
-		</xs:choice>
-	</xs:complexType>
-	<xs:complexType name=3D"InvoiceReference_Type">
-		<xs:sequence>
-			<xs:element name=3D"InvoiceReferenceNumber" type=3D"xs:token"/>
-			<xs:element name=3D"EUTraderID" type=3D"vr:EUTraderID_Type" minOccurs=
=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"OfficialCopy_Type">
-		<xs:sequence>
-			<xs:element name=3D"FileType" type=3D"vr:OfficialCopyFileType_Type"/>
-			<xs:element name=3D"FileName" type=3D"xs:token"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"PositiveMoneyAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
-			attribute</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"vr:Amount_Type">
-				<xs:attribute name=3D"currency" type=3D"cm:MSCurrCode_Type" use=3D"r=
equired"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"PurchaseInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
-			<xs:element name=3D"ReferenceNumber" type=3D"xs:token"/>
-			<xs:element name=3D"IssuingDate" type=3D"vr:RestrictedDate_Type"/>
-			<xs:element name=3D"EUSupplier" type=3D"vr:EUSupplier_Type"/>
-			<xs:element name=3D"GoodsDescription" type=3D"vr:GoodsDescription_Typ=
e" maxOccurs=3D"unbounded"/>
-			<xs:element name=3D"TransactionDescription" type=3D"vr:TransactionDes=
cription_Type"/>
-			<xs:element name=3D"Deduction" type=3D"vr:Deduction_Type"/>
-		</xs:sequence>
-		<xs:attribute name=3D"simplifiedInvoice" type=3D"xs:boolean" use=3D"re=
quired"/>
-	</xs:complexType>
-	<xs:complexType name=3D"RecoveryInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"BankAccount" type=3D"vr:BankAccount_Type"/>
-			<xs:element name=3D"PaymentType" type=3D"vr:PaymentType_Type"/>
-			<xs:element name=3D"PaymentReference" type=3D"vr:PaymentInfo_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Reference_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReferenceNumber" type=3D"vr:ApplicationNumber_Typ=
e"/>
-			<xs:element name=3D"RefundingCountryCode" type=3D"cm:EUCountryIsoCode=
Alpha2_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"RefundDecisionJustification_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReasonCode" type=3D"vr:RefundDecisionJustificatio=
nReasonCode_Type"/>
-			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
-			<xs:element name=3D"TransactionReference" type=3D"vr:TransactionRefer=
ence_Type" minOccurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"RefundInformation_Type">
-		<xs:sequence>
-			<xs:element name=3D"RequestedAmount" type=3D"vr:SignedMoneyAmount_Typ=
e"/>
-			<xs:element name=3D"AcceptedAmount" type=3D"vr:SignedMoneyAmount_Type=
"/>
-			<xs:element name=3D"DebitBalance" type=3D"vr:DebitBalance_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Remark_Type">
-		<xs:sequence>
-			<xs:element name=3D"Type" type=3D"xs:int"/>
-			<xs:element name=3D"SubType" type=3D"xs:int"/>
-			<xs:element name=3D"Details" type=3D"xs:string" minOccurs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Report_Type">
-		<xs:sequence>
-			<xs:element name=3D"Status" type=3D"vr:Status_Type"/>
-			<xs:element name=3D"Remark" type=3D"vr:Remark_Type" minOccurs=3D"0" m=
axOccurs=3D"unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"Representative_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
-					<xs:element name=3D"EmailAddress" type=3D"cm:EMail_Type"/>
-					<xs:element name=3D"RepresentativeID" type=3D"vr:RepresentativeID_T=
ype"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"RepresentativeID_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:token">
-				<xs:attribute name=3D"issuedBy" type=3D"cm:CountryCode_Type" use=3D"=
required"/>
-				<xs:attribute name=3D"identificationType" type=3D"vr:RepresentativeI=
DType_Type" use=3D"required"/>
-				<xs:attribute name=3D"otherQlf" type=3D"xs:token" use=3D"optional"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"SignedMoneyAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">An amount: a value with a currency
-			attribute</xs:documentation>
-		</xs:annotation>
-		<xs:simpleContent>
-			<xs:extension base=3D"vr:SignedAmount_Type">
-				<xs:attribute name=3D"currency" type=3D"cm:MSCurrCode_Type" use=3D"r=
equired"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"TextualDescription_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"xs:string">
-				<xs:attribute name=3D"language" type=3D"cm:EULanguageCode_Type" use=3D=
"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"Trader_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:BaseTrader_Type">
-				<xs:sequence>
-					<xs:element name=3D"CountryCode" type=3D"cm:CountryCode_Type"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<xs:complexType name=3D"TransactionDescription_Type">
-		<xs:sequence>
-			<xs:element name=3D"TaxableAmount" type=3D"vr:SignedMoneyAmount_Type"=
/>
-			<xs:element name=3D"VATAmount" type=3D"vr:SignedMoneyAmount_Type"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"TransactionReference_Type">
-		<xs:sequence>
-			<xs:element name=3D"SequenceNumber" type=3D"vr:SequenceNumber_Type"/>
-			<xs:choice>
-				<xs:element name=3D"InvoiceReference" type=3D"vr:InvoiceReference_Ty=
pe"/>
-				<xs:element name=3D"ImportReference" type=3D"vr:ImportReference_Type=
"/>
-			</xs:choice>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"UpdateRefusal_Type">
-		<xs:sequence>
-			<xs:element name=3D"ReasonCode" type=3D"vr:UpdateRefusalReasonCode_Ty=
pe"/>
-			<xs:element name=3D"EffectiveVersion" type=3D"vr:RestrictedDateTime_T=
ype"/>
-			<xs:element name=3D"AdditionalInformation" type=3D"xs:string" minOccu=
rs=3D"0"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name=3D"VATNumber_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"cm:VATNumber_Type">
-				<xs:attribute name=3D"issuedBy" type=3D"cm:EUCountryIsoCodeAlpha2_Ty=
pe" use=3D"required"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"VATNumberOrTIN_Type">
-		<xs:simpleContent>
-			<xs:extension base=3D"cm:VATNumberOrTIN_Type">
-				<xs:attribute name=3D"issuedBy" type=3D"cm:EUCountryIsoCodeAlpha2_Ty=
pe" use=3D"required" fixed=3D"DE"/>
-			</xs:extension>
-		</xs:simpleContent>
-	</xs:complexType>
-	<xs:complexType name=3D"VersionedReference_Type">
-		<xs:complexContent>
-			<xs:extension base=3D"vr:Reference_Type">
-				<xs:sequence>
-					<xs:element name=3D"Version" type=3D"vr:RestrictedDateTime_Type"/>
-				</xs:sequence>
-			</xs:extension>
-		</xs:complexContent>
-	</xs:complexType>
-	<!-- SIMPLE TYPES -->
-	<xs:simpleType name=3D"AccountName_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"70"/>
-			<xs:minLength value=3D"1"/>
-			<xs:pattern value=3D"[A-Za-z0-9/\-?:().,'+ ]*"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"AdjustmentDecision_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"Accepted"/>
-			<xs:enumeration value=3D"Refused"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Amount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">A positive decimal amount, resticte=
d to two decimal
-				places</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-			<xs:minInclusive value=3D"0"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ApplicationNumber_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"(AT|BE|BG|CY|CZ|DE|DK|EE|EL|ES|FI|FR|GB|HU|IE|IT=
|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK){1}\p{IsBasicLatin}{0,16}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"BankAccountOwnerType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"applicant"/>
-			<xs:enumeration value=3D"representative"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"BIC_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">Bank Identifer Code</xs:documentati=
on>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3}){0,1}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"BusinessActivity_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:pattern value=3D"\d{4}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"CorrectionReason_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"previous payment"/>
-			<xs:enumeration value=3D"penalty"/>
-			<xs:enumeration value=3D"NETP interest"/>
-			<xs:enumeration value=3D"MSREF interest"/>
-			<xs:enumeration value=3D"recovery"/>
-			<xs:enumeration value=3D"transfer of balance"/>
-			<xs:enumeration value=3D"bank fees"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Disclose_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"01">
-				<xs:annotation>
-					<xs:documentation>Information for internal use of tax administratio=
n.</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"02">
-				<xs:annotation>
-					<xs:documentation>Inform NETP unofficially.</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"03">
-				<xs:annotation>
-					<xs:documentation>Officially notify the NETP.</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"FileType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"application/pdf"/>
-			<xs:enumeration value=3D"image/jpeg"/>
-			<xs:enumeration value=3D"image/tiff"/>
-			<xs:enumeration value=3D"application/zip"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MessageType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"VATRefundApplication"/>
-			<xs:enumeration value=3D"ApplicationReceipt"/>
-			<xs:enumeration value=3D"VATRefundDecision"/>
-			<xs:enumeration value=3D"ProRataRateAdjustment"/>
-			<xs:enumeration value=3D"AdjustmentReceipt"/>
-			<xs:enumeration value=3D"AdjustmentResult"/>
-			<xs:enumeration value=3D"NETPNotification"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"MSIBAN_Type">
-		<xs:restriction base=3D"cm:IBAN_Type">
-			<xs:pattern value=3D"(AT|BE|BG|CY|CZ|DE|DK|EE|GR|ES|FI|FR|GB|HU|IE|IT=
|LT|LU|LV|MC|MT|NL|PL|PT|RO|SE|SI|SK){1}.*"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"NETPNotificationType_Type">
-		<xs:restriction base=3D"vr:MessageType_Type">
-			<xs:enumeration value=3D"ApplicationReceipt"/>
-			<xs:enumeration value=3D"VATRefundDecision"/>
-			<xs:enumeration value=3D"AdjustmentReceipt"/>
-			<xs:enumeration value=3D"AdjustmentResult"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"OfficialCopyFileType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"application/pdf"/>
-			<xs:enumeration value=3D"image/jpeg"/>
-			<xs:enumeration value=3D"image/tiff"/>
-			<xs:enumeration value=3D"application/zip"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PaymentType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"Payment"/>
-			<xs:enumeration value=3D"Reimbursement"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ProRataRateCorrection_Type">
-		<xs:restriction base=3D"xs:integer">
-			<xs:minInclusive value=3D"1"/>
-			<xs:maxInclusive value=3D"100"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ProRataRate_Type">
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-			<xs:minInclusive value=3D"0.01"/>
-			<xs:maxInclusive value=3D"99.99"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ReferenceNumber_Type">
-		<xs:restriction base=3D"xs:token">
-			<xs:pattern value=3D"\p{IsBasicLatin}*"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"ReferenceNumber18_Type">
-		<xs:restriction base=3D"vr:ReferenceNumber_Type">
-			<xs:maxLength value=3D"18"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RefundDecision_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"Accepted"/>
-			<xs:enumeration value=3D"PartiallyAccepted"/>
-			<xs:enumeration value=3D"Refused"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RepresentativeIDType_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"NVAT"/>
-			<xs:enumeration value=3D"TIN"/>
-			<xs:enumeration value=3D"other"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RestrictedDate_Type">
-		<xs:restriction base=3D"xs:date">
-			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"RestrictedDateTime_Type">
-		<xs:restriction base=3D"xs:dateTime">
-			<xs:pattern value=3D"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"SequenceNumber_Type">
-		<xs:restriction base=3D"xs:integer">
-			<xs:minInclusive value=3D"1"/>
-			<xs:maxInclusive value=3D"999999"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"SignedAmount_Type">
-		<xs:annotation>
-			<xs:documentation xml:lang=3D"en">A decimal amount, resticted to two =
decimal
-				places</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base=3D"xs:decimal">
-			<xs:fractionDigits value=3D"2"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"Status_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"accepted"/>
-			<xs:enumeration value=3D"rejected"/>
-			<xs:enumeration value=3D"warning"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"PaymentInfo_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:maxLength value=3D"140"/>
-			<xs:pattern value=3D"[A-Za-z0-9+\-\*/\s]{1,140}"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name=3D"UpdateRefusalReasonCode_Type">
-		<xs:restriction base=3D"xs:string">
-			<xs:enumeration value=3D"01">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			Correction not allowed</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"02">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			The updated VAT Refund Application cannot present new refund requests=
</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"03">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			Correction received outside of allowed period</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"04">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			Type of file is incorrect</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"05">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			The updated application does not belong to the same period as the ini=
tial one</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-			<xs:enumeration value=3D"99">
-				<xs:annotation>
-					<xs:documentation xml:lang=3D"en">
-			Other</xs:documentation>
-				</xs:annotation>
-			</xs:enumeration>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Fri Jan 31 12:48:38 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W9ICk-0007qX-2u
	for mharc-phpcompta-dev@gnu.org; Fri, 31 Jan 2014 12:48:38 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Fri, 31 Jan 2014 18:35:53 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.183260.1391190516.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r672 - trunk/transform/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 17:48:36 -0000

Author: danydb
Date: 2014-01-31 18:35:53 +0100 (Fri, 31 Jan 2014)
New Revision: 672

Removed:
   trunk/transform/include/IntervatTest.php
Log:
cleaning files

Deleted: trunk/transform/include/IntervatTest.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/IntervatTest.php	2014-01-31 17:34:51 UTC (rev=
 671)
+++ trunk/transform/include/IntervatTest.php	2014-01-31 17:35:53 UTC (rev=
 672)
@@ -1,88 +0,0 @@
-<?php
-/**
- * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-01-25 at 23:34:3=
8.
- */
-class IntervatTest extends PHPUnit_Framework_TestCase
-{
-    /**
-     * @var Intervat
-     */
-    protected $object;
-
-    /**
-     * Sets up the fixture, for example, opens a network connection.
-     * This method is called before a test is executed.
-     */
-    protected function setUp()
-    {
-        $this->object =3D new Intervat;
-    }
-
-    /**
-     * Tears down the fixture, for example, closes a network connection.
-     * This method is called after a test is executed.
-     */
-    protected function tearDown()
-    {
-    }
-
-    /**
-     * @covers Intervat::append_root
-     * @todo   Implement testAppend_root().
-     */
-    public function testAppend_root()
-    {
-        // Remove the following lines when you implement this test.
-        $this->markTestIncomplete(
-          'This test has not been implemented yet.'
-        );
-    }
-
-    /**
-     * @covers Intervat::append_representative
-     * @todo   Implement testAppend_representative().
-     */
-    public function testAppend_representative()
-    {
-        // Remove the following lines when you implement this test.
-        $this->markTestIncomplete(
-          'This test has not been implemented yet.'
-        );
-    }
-
-    /**
-     * @covers Intervat::append_client_listing
-     * @todo   Implement testAppend_client_listing().
-     */
-    public function testAppend_client_listing()
-    {
-        // Remove the following lines when you implement this test.
-        $this->markTestIncomplete(
-          'This test has not been implemented yet.'
-        );
-    }
-
-    /**
-     * @covers Intervat::append_declarant
-     * @todo   Implement testAppend_declarant().
-     */
-    public function testAppend_declarant()
-    {
-        // Remove the following lines when you implement this test.
-        $this->markTestIncomplete(
-          'This test has not been implemented yet.'
-        );
-    }
-
-    /**
-     * @covers Intervat::append_listing
-     * @todo   Implement testAppend_listing().
-     */
-    public function testAppend_listing()
-    {
-        // Remove the following lines when you implement this test.
-        $this->markTestIncomplete(
-          'This test has not been implemented yet.'
-        );
-    }
-}



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Fri Jan 31 14:49:28 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W9K5g-0003Hb-CF
	for mharc-phpcompta-dev@gnu.org; Fri, 31 Jan 2014 14:49:28 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Fri, 31 Jan 2014 20:36:41 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.183325.1391197766.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r673 - in trunk/transform: . include
	include/template unit-test
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 19:49:25 -0000

Author: danydb
Date: 2014-01-31 20:36:41 +0100 (Fri, 31 Jan 2014)
New Revision: 673

Added:
   trunk/transform/include/class_transform_declarant.php
   trunk/transform/include/class_transform_intervat.php
   trunk/transform/include/class_transform_representative.php
   trunk/transform/include/intervat_listing_assujetti.inc.php
   trunk/transform/include/template/listing_assujetti_declarant.php
   trunk/transform/include/template/listing_assujetti_representative.php
   trunk/transform/unit-test/transform_IntervatTest.php
Removed:
   trunk/transform/include/class_intervat.php
   trunk/transform/unit-test/IntervatTest.php
Modified:
   trunk/transform/index.php
Log:
Change name class + add class Transform_Declarant and class Transform_Rep=
resentative
update unit test


Deleted: trunk/transform/include/class_intervat.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/class_intervat.php	2014-01-31 17:35:53 UTC (r=
ev 672)
+++ trunk/transform/include/class_intervat.php	2014-01-31 19:36:41 UTC (r=
ev 673)
@@ -1,256 +0,0 @@
-<?php
-
-/*
- * Copyright (C) 2014 dany
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307=
, USA.
- */
-
-
-
-/**
- * Description of class_intervat
- *
- * @author dany
- */
-class Intervat
-{
-
-    /**
-     * Content the XML Document
-     * @var DOMDocument
-     */
-    var $domdoc;
-
-    function __construct()
-    {
-        $this->domdoc =3D new DOMDocument('1.0', 'ISO-8859-1');
-        $this->ns =3D 'http://www.minfin.fgov.be/ClientListingConsignmen=
t';
-        $this->domdoc->formatOutput =3D true;
-    }
-   =20
-    function append_root()
-    {
-        $ns =3D 'http://www.minfin.fgov.be/ClientListingConsignment';
-        $t =3D $this->domdoc->createElementNS($this->ns, 'ns2:ClientList=
ingConsignment');
-
-        $root =3D $this->domdoc->appendChild($t);
-        $xmls =3D $root->setAttribute("xmlns", "http://www.minfin.fgov.b=
e/InputCommon");
-
-        $listing =3D $this->domdoc->appendChild($root);
-
-        $nb =3D $this->domdoc->createAttribute('ClientListingsNbr');
-        $nb->value =3D 1;
-        $listing->appendChild($nb);
-
-        $this->domdoc->appendChild($root);
-    }
-
-    /**
-     * Creation du mandataire
-     @code
-      	<ns2:Representative>
-			<RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">00000000=
97</RepresentativeID>
-			<Name>Gevolmachtigde- Mandataire TEST NV-SA </Name>
-			<Street>AV Test-laan 8</Street>
-			<PostCode>9999</PostCode>
-			<City> TESTCITY</City>
-			<CountryCode>BE</CountryCode>
-			<EmailAddress>something@something.be</EmailAddress>
-			<Phone>02555555</Phone>
-		</ns2:Representative>
-     @endcode
-     */
-    function append_representative()
-    {
-        /*
-         * Variables
-         */
-        $ID =3D "0000000097";
-        $issued =3D "BE";
-        $type =3D 'TIN';
-        $name =3D "Nom Mandataire";
-        $street =3D "Nom de rue";
-        $postcode =3D "9999";
-        $city =3D "TESTCITY";
-        $countrycode =3D "BE";
-        $email =3D "dany@alch.be";
-        $phone =3D "000000000";
-
-        $representative =3D $this->domdoc->createElementNS($this->ns, "n=
s2:Representative");
-        $rep_id =3D $this->domdoc->createElement("RepresentativeID");
-        $at =3D $rep_id->setAttribute('identificationType', $type);
-        $ai =3D $rep_id->setAttribute('issuedBy', $issued);
-        $value =3D $this->domdoc->createTextNode($ID);
-        $rep_id->appendChild($value);
-        $representative->appendChild($rep_id);
-        $representative->appendChild($this->domdoc->createElement("Name"=
, $name));
-        $representative->appendChild($this->domdoc->createElement("Stree=
t", $street));
-        $representative->appendChild($this->domdoc->createElement("PostC=
ode", $postcode));
-        $representative->appendChild($this->domdoc->createElement("City"=
, $city));
-        $representative->appendChild($this->domdoc->createElement("Count=
ryCode", $countrycode));
-        $representative->appendChild($this->domdoc->createElement("Email=
Address", $email));
-        $representative->appendChild($this->domdoc->createElement("Phone=
", $phone));
-
-        $l =3D $this->domdoc->getElementsByTagNameNS($this->ns, "ClientL=
istingConsignment");
-        $nb =3D $l->length;
-        if ($nb <> 1)
-            die('erreur non trouv=C3=A9');
-
-        $root =3D $l->item(0);
-        $root->appendChild($representative);
-    }
-    /**
-     * Add the listing
-     *=20
-     @code=20
-      <ns2:ClientListing VATAmountSum=3D"00.00" TurnOverSum=3D"1000.72" =
ClientsNbr=3D"2" SequenceNumber=3D"1">
-     @endcode
-     *=20
-     */
-    function append_client_listing($p_array)
-    {
-        // variable
-        $vat_amount_sum =3D 0;
-        $turnoversum =3D 0;
-        $clientnb =3D 2;
-        $seqnb =3D 1;
-        $periode =3D 2009;
-        $commentaire=3D"Commentaire";
-
-        $decl =3D $this->domdoc->createElementNS($this->ns, "ns2:ClientL=
isting");
-        $ai =3D $decl->setAttribute('VATAmountSum', $vat_amount_sum);
-        $ai =3D $decl->setAttribute('TurnOverSum', $turnoversum);
-        $ai =3D $decl->setAttribute('ClientsNbr', $clientnb);
-        $ai =3D $decl->setAttribute('SequenceNumber', $seqnb);
-
-
-
-        $this->append_declarant($decl, $p_array);
-
-        $periode =3D $this->domdoc->createElementNS($this->ns, "ns2:Peri=
od", $periode);
-        $decl->appendChild($periode);
-
-        $this->append_listing($decl, $p_array);
-
-
-        $l =3D $this->domdoc->getElementsByTagNameNS($this->ns, "ClientL=
istingConsignment");
-        $nb =3D $l->length;
-        if ($nb <> 1)
-            die('erreur non trouv=C3=A9');
-
-        $root =3D $l->item(0);
-        $root->appendChild($decl);
-        $decomment =3D $this->domdoc->createElementNS($this->ns, "ns2:Co=
mment",$commentaire);
-        $decl->appendChild($decomment);
-    }
-    /*
-     * Add the "Declarant"
-     * @code
-     <ns2:Declarant>
-            <VATNumber>0000000097</VATNumber>
-            <Name>TEST NV-SA</Name>
-            <Street>Av Test-laan 16</Street>
-            <PostCode>9999</PostCode>
-            <City>TESTCITY</City>
-            <CountryCode>BE</CountryCode>
-            <EmailAddress>cedric@francis.be</EmailAddress>
-            <Phone>025555555</Phone>
-        </ns2:Declarant>
-     @endcode
-     */
-    function append_declarant(DOMElement $p_dom, $p_array)
-    {
-        /*
-         * Variables
-         */
-        $vat_number =3D "0000000097";
-        $name =3D "Nom Declarant";
-        $street =3D "Rue du declarant";
-        $postcode =3D "9999";
-        $city =3D "TESTCITY";
-        $countrycode =3D "BE";
-        $email =3D "dany@alch.be";
-        $phone =3D "000000000";
-
-        $declarant =3D $this->domdoc->createElementNS($this->ns, "ns2:De=
clarant");
-        $declarant->appendChild($this->domdoc->createElement("VATNumber"=
, $vat_number));
-        $declarant->appendChild($this->domdoc->createElement("Name", $na=
me));
-        $declarant->appendChild($this->domdoc->createElement("Street", $=
street));
-        $declarant->appendChild($this->domdoc->createElement("PostCode",=
 $postcode));
-        $declarant->appendChild($this->domdoc->createElement("City", $ci=
ty));
-        $declarant->appendChild($this->domdoc->createElement("CountryCod=
e", $countrycode));
-        $declarant->appendChild($this->domdoc->createElement("EmailAddre=
ss", $email));
-        $declarant->appendChild($this->domdoc->createElement("Phone", $p=
hone));
-        $p_dom->appendChild($declarant);
-    }
-    /**=20
-     * Add all the customers
-     * @code
-        <ns2:Client SequenceNumber=3D"1">
-          <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyV=
ATNumber>
-          <ns2:TurnOver>500.36</ns2:TurnOver>
-          <ns2:VATAmount>0.00</ns2:VATAmount>
-          </ns2:Client>
-          <ns2:Client SequenceNumber=3D"2">
-          <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyV=
ATNumber>
-          <ns2:TurnOver>500.36</ns2:TurnOver>
-          <ns2:VATAmount>0.00</ns2:VATAmount>
-          </ns2:Client>
-     * @endcode
-     * @param DOMElement $p_dom
-     * @param type $p_array
-     */
-
-    function append_listing(DOMElement $p_dom, $p_array)
-    {
-        /*
-         * Client are in array
-         */
-        $nb_client =3D 2;
-        $vat_number =3D "0000000097";
-        $issued =3D "BE";
-        $turnover =3D 500;
-        $vat_amount =3D 0;
-        $vat_amount_sum =3D 0;
-
-       =20
-        for ($i =3D 0; $i < $nb_client; $i++)
-        {
-            $client =3D $this->domdoc->createElementNS($this->ns, "ns2:C=
lient");
-            $ai =3D $client->setAttribute('SequenceNumber', $i+1);
-            $company =3D $this->domdoc->createElementNS($this->ns, "ns2:=
CompanyVATNumber");
-            $company->setAttribute('issuedBy', 'BE');
-            $de_vat_number =3D $this->domdoc->createTextNode($vat_number=
);
-            $company->appendChild($de_vat_number);
-            $client->appendChild($company);
-            $client->appendChild($this->domdoc->createElementNS($this->n=
s,"ns2:TurnOver", $turnover));
-            $client->appendChild($this->domdoc->createElementNS($this->n=
s,"ns2:VATAmount", $vat_amount));
-            $p_dom->appendChild($client);
-        }
-       =20
-    }
-
-}
-/*=20
- * Test=20
-$a =3D new Intervat();
-$a->domdoc->formatOutput =3D true;
-
-$a->append_root();
-$a->append_representative();
-$a->append_client_listing(array());
-echo $a->domdoc->saveXML();
-*/
\ No newline at end of file

Added: trunk/transform/include/class_transform_declarant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/class_transform_declarant.php	               =
         (rev 0)
+++ trunk/transform/include/class_transform_declarant.php	2014-01-31 19:3=
6:41 UTC (rev 673)
@@ -0,0 +1,94 @@
+<?php
+
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+*/
+/**
+ * @brief contains declarant
+@code
+$vat_number =3D "0000000097";
+$name =3D "Nom Declarant";
+$street =3D "Rue du declarant";
+$postcode =3D "9999";
+$city =3D "TESTCITY";
+$countrycode =3D "BE";
+$email =3D "dany@alch.be";
+$phone =3D "000000000";
+@endcode
+ */
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+class Transform_Declarant
+{
+   =20
+   /**
+    * name
+    */
+   var $name;
+   /**
+    * street
+    */
+   var $street;
+   /**
+    * Postcode
+    */
+   var $postcode;
+   /**
+    * city
+    */
+   var $city;
+   /**
+    * country code (BE)
+    */
+   var $countrycode;
+   /**
+    * email
+    */
+   var $email;
+   /**
+    * phone
+    */
+   var $phone;
+   /**
+    * vatnumber
+    */
+   var $vatnumber;
+   function fromPost()
+   {
+       $this->name=3DHtmlInput::default_value_post("p_name",null);
+       $this->street=3DHtmlInput::default_value_post("p_street",null);
+       $this->postcode=3DHtmlInput::default_value_post("p_postcode",null=
);
+       $this->city=3DHtmlInput::default_value_post("p_city",null);
+       $this->countrycode=3DHtmlInput::default_value_post("p_countrycode=
",null);
+       $this->email=3DHtmlInput::default_value_post("p_email",null);
+       $this->phone=3DHtmlInput::default_value_post("p_phone",null);
+       $this->vatnumber=3DHtmlInput::default_value_post("p_vatnumber",nu=
ll);
+   }
+   function input()
+   {
+       $h_name=3Dnew IText('p_name',$this->name);
+       $h_vatnumber=3Dnew IText('p_vatnumber',$this->vatnumber);
+       $h_street=3Dnew IText('p_street',$this->street);
+       $h_postcode=3Dnew IText('p_postcode',$this->postcode);
+       $h_city=3Dnew IText('p_city',$this->city);
+       $h_countrycode=3Dnew IText('p_countrycode',$this->countrycode);
+       $h_email=3Dnew IText('p_email',$this->email);
+       $h_phone=3Dnew IText('p_phone',$this->phone);
+       require_once 'template/listing_assujetti_declarant.php';
+
+   }
+}
+?>

Copied: trunk/transform/include/class_transform_intervat.php (from rev 67=
1, trunk/transform/include/class_intervat.php)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/class_transform_intervat.php	                =
        (rev 0)
+++ trunk/transform/include/class_transform_intervat.php	2014-01-31 19:36=
:41 UTC (rev 673)
@@ -0,0 +1,228 @@
+<?php
+
+/*
+ * Copyright (C) 2014 dany
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307=
, USA.
+ */
+require_once 'class_transform_declarant.php';
+require_once 'class_transform_representative.php';
+
+
+/**
+ * Description of class_intervat
+ *
+ * @author dany
+ */
+class Transform_Intervat
+{
+
+    /**
+     * Content the XML Document
+     * @var DOMDocument
+     */
+    var $domdoc;
+
+    function __construct()
+    {
+        $this->domdoc =3D new DOMDocument('1.0', 'ISO-8859-1');
+        $this->ns =3D 'http://www.minfin.fgov.be/ClientListingConsignmen=
t';
+        $this->domdoc->formatOutput =3D true;
+    }
+   =20
+    function append_root()
+    {
+        $ns =3D 'http://www.minfin.fgov.be/ClientListingConsignment';
+        $t =3D $this->domdoc->createElementNS($this->ns, 'ns2:ClientList=
ingConsignment');
+
+        $root =3D $this->domdoc->appendChild($t);
+        $xmls =3D $root->setAttribute("xmlns", "http://www.minfin.fgov.b=
e/InputCommon");
+
+        $listing =3D $this->domdoc->appendChild($root);
+
+        $nb =3D $this->domdoc->createAttribute('ClientListingsNbr');
+        $nb->value =3D 1;
+        $listing->appendChild($nb);
+
+        $this->domdoc->appendChild($root);
+    }
+
+    /**
+     * Creation du mandataire
+     @code
+      	<ns2:Representative>
+			<RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">00000000=
97</RepresentativeID>
+			<Name>Gevolmachtigde- Mandataire TEST NV-SA </Name>
+			<Street>AV Test-laan 8</Street>
+			<PostCode>9999</PostCode>
+			<City> TESTCITY</City>
+			<CountryCode>BE</CountryCode>
+			<EmailAddress>something@something.be</EmailAddress>
+			<Phone>02555555</Phone>
+		</ns2:Representative>
+     @endcode
+     */
+    function append_representative(Transform_Representative $p_represent=
ative)
+    {
+        /*
+         * Variables
+         */
+       =20
+
+        $representative =3D $this->domdoc->createElementNS($this->ns, "n=
s2:Representative");
+        $rep_id =3D $this->domdoc->createElement("RepresentativeID");
+        $at =3D $rep_id->setAttribute('identificationType', $p_represent=
ative->type);
+        $ai =3D $rep_id->setAttribute('issuedBy', $p_representative->iss=
ued);
+        $value =3D $this->domdoc->createTextNode($p_representative->id);
+        $rep_id->appendChild($value);
+        $representative->appendChild($rep_id);
+        $representative->appendChild($this->domdoc->createElement("Name"=
, $p_representative->name));
+        $representative->appendChild($this->domdoc->createElement("Stree=
t", $p_representative->street));
+        $representative->appendChild($this->domdoc->createElement("PostC=
ode", $p_representative->postcode));
+        $representative->appendChild($this->domdoc->createElement("City"=
, $p_representative->city));
+        $representative->appendChild($this->domdoc->createElement("Count=
ryCode", $p_representative->countrycode));
+        $representative->appendChild($this->domdoc->createElement("Email=
Address", $p_representative->email));
+        $representative->appendChild($this->domdoc->createElement("Phone=
", $p_representative->phone));
+
+        $l =3D $this->domdoc->getElementsByTagNameNS($this->ns, "ClientL=
istingConsignment");
+        $nb =3D $l->length;
+        if ($nb <> 1)
+            die('erreur non trouv=C3=A9');
+
+        $root =3D $l->item(0);
+        $root->appendChild($representative);
+    }
+    /**
+     * Add the listing
+     *=20
+     @code=20
+      <ns2:ClientListing VATAmountSum=3D"00.00" TurnOverSum=3D"1000.72" =
ClientsNbr=3D"2" SequenceNumber=3D"1">
+     @endcode
+     *=20
+     */
+    function append_client_listing(Transform_Declarant $p_declarant,$p_a=
rray)
+    {
+        // variable
+        $vat_amount_sum =3D 0;
+        $turnoversum =3D 0;
+        $clientnb =3D 2;
+        $seqnb =3D 1;
+        $periode =3D 2009;
+        $commentaire=3D"Commentaire";
+
+        $decl =3D $this->domdoc->createElementNS($this->ns, "ns2:ClientL=
isting");
+        $ai =3D $decl->setAttribute('VATAmountSum', $vat_amount_sum);
+        $ai =3D $decl->setAttribute('TurnOverSum', $turnoversum);
+        $ai =3D $decl->setAttribute('ClientsNbr', $clientnb);
+        $ai =3D $decl->setAttribute('SequenceNumber', $seqnb);
+
+
+
+        $this->append_declarant($decl, $p_declarant,$p_array);
+
+        $periode =3D $this->domdoc->createElementNS($this->ns, "ns2:Peri=
od", $periode);
+        $decl->appendChild($periode);
+
+        $this->append_listing($decl, $p_array);
+
+
+        $l =3D $this->domdoc->getElementsByTagNameNS($this->ns, "ClientL=
istingConsignment");
+        $nb =3D $l->length;
+        if ($nb <> 1)
+            die('erreur non trouv=C3=A9');
+
+        $root =3D $l->item(0);
+        $root->appendChild($decl);
+        $decomment =3D $this->domdoc->createElementNS($this->ns, "ns2:Co=
mment",$commentaire);
+        $decl->appendChild($decomment);
+    }
+    /*
+     * Add the "Declarant"
+     * @code
+     <ns2:Declarant>
+            <VATNumber>0000000097</VATNumber>
+            <Name>TEST NV-SA</Name>
+            <Street>Av Test-laan 16</Street>
+            <PostCode>9999</PostCode>
+            <City>TESTCITY</City>
+            <CountryCode>BE</CountryCode>
+            <EmailAddress>cedric@francis.be</EmailAddress>
+            <Phone>025555555</Phone>
+        </ns2:Declarant>
+     @endcode
+     */
+    function append_declarant(DOMElement $p_dom, Transform_Declarant $p_=
declarant,$p_array)
+    {
+ =20
+
+        $declarant =3D $this->domdoc->createElementNS($this->ns, "ns2:De=
clarant");
+        $declarant->appendChild($this->domdoc->createElement("VATNumber"=
, $p_declarant->vat_number));
+        $declarant->appendChild($this->domdoc->createElement("Name", $p_=
declarant->name));
+        $declarant->appendChild($this->domdoc->createElement("Street", $=
p_declarant->street));
+        $declarant->appendChild($this->domdoc->createElement("PostCode",=
 $p_declarant->postcode));
+        $declarant->appendChild($this->domdoc->createElement("City", $p_=
declarant->city));
+        $declarant->appendChild($this->domdoc->createElement("CountryCod=
e", $p_declarant->countrycode));
+        $declarant->appendChild($this->domdoc->createElement("EmailAddre=
ss", $p_declarant->email));
+        $declarant->appendChild($this->domdoc->createElement("Phone", $p=
_declarant->phone));
+        $p_dom->appendChild($declarant);
+    }
+    /**=20
+     * Add all the customers
+     * @code
+        <ns2:Client SequenceNumber=3D"1">
+          <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyV=
ATNumber>
+          <ns2:TurnOver>500.36</ns2:TurnOver>
+          <ns2:VATAmount>0.00</ns2:VATAmount>
+          </ns2:Client>
+          <ns2:Client SequenceNumber=3D"2">
+          <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyV=
ATNumber>
+          <ns2:TurnOver>500.36</ns2:TurnOver>
+          <ns2:VATAmount>0.00</ns2:VATAmount>
+          </ns2:Client>
+     * @endcode
+     * @param DOMElement $p_dom
+     * @param type $p_array
+     */
+
+    function append_listing(DOMElement $p_dom, $p_array)
+    {
+        /*
+         * Client are in array
+         */
+        $nb_client =3D 2;
+        $vat_number =3D "0000000097";
+        $issued =3D "BE";
+        $turnover =3D 500;
+        $vat_amount =3D 0;
+        $vat_amount_sum =3D 0;
+
+       =20
+        for ($i =3D 0; $i < $nb_client; $i++)
+        {
+            $client =3D $this->domdoc->createElementNS($this->ns, "ns2:C=
lient");
+            $ai =3D $client->setAttribute('SequenceNumber', $i+1);
+            $company =3D $this->domdoc->createElementNS($this->ns, "ns2:=
CompanyVATNumber");
+            $company->setAttribute('issuedBy', 'BE');
+            $de_vat_number =3D $this->domdoc->createTextNode($vat_number=
);
+            $company->appendChild($de_vat_number);
+            $client->appendChild($company);
+            $client->appendChild($this->domdoc->createElementNS($this->n=
s,"ns2:TurnOver", $turnover));
+            $client->appendChild($this->domdoc->createElementNS($this->n=
s,"ns2:VATAmount", $vat_amount));
+            $p_dom->appendChild($client);
+        }
+       =20
+    }
+
+}

Added: trunk/transform/include/class_transform_representative.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/class_transform_representative.php	          =
              (rev 0)
+++ trunk/transform/include/class_transform_representative.php	2014-01-31=
 19:36:41 UTC (rev 673)
@@ -0,0 +1,115 @@
+<?php
+
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+*/
+
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+/**
+ * @brief contains the representative
+ @code
+  $ID =3D "0000000097";
+$issued =3D "BE";
+$type =3D 'TIN';
+$name =3D "Nom Mandataire";
+$street =3D "Nom de rue";
+$postcode =3D "9999";
+$city =3D "TESTCITY";
+$countrycode =3D "BE";
+$email =3D "dany@alch.be";
+$phone =3D "000000000";
+ @endcode
+ */
+
+class Transform_Representative
+{
+    /**
+     * id is the id of the listing
+     */
+    var $id;
+    /**
+     * issued by
+     */
+   var $issued;
+   /**
+    * Type (TIN)
+    */
+   var $type;
+   /**
+    * name
+    */
+   var $name;
+   /**
+    * street
+    */
+   var $street;
+   /**
+    * Postcode
+    */
+   var $postcode;
+   /**
+    * city
+    */
+   var $city;
+   /**
+    * country code (BE)
+    */
+   var $countrycode;
+   /**
+    * email
+    */
+   var $email;
+   /**
+    * phone
+    */
+   var $phone;
+   function fromPost()
+   {
+       $this->id=3DHtmlInput::default_value_post("p_id",null);
+       $this->type=3DHtmlInput::default_value_post("p_type",null);
+       $this->name=3DHtmlInput::default_value_post("p_name",null);
+       $this->street=3DHtmlInput::default_value_post("p_street",null);
+       $this->postcode=3DHtmlInput::default_value_post("p_postcode",null=
);
+       $this->city=3DHtmlInput::default_value_post("p_city",null);
+       $this->countrycode=3DHtmlInput::default_value_post("p_countrycode=
",null);
+       $this->email=3DHtmlInput::default_value_post("p_email",null);
+       $this->phone=3DHtmlInput::default_value_post("p_phone",null);
+       $this->issued=3DHtmlInput::default_value_post("p_issued",null);
+   }
+   function input()
+   {
+       $h_type=3Dnew ISelect('p_type');
+       $h_type->value=3Darray(
+            array("label"=3D>'TIN',"value"=3D>"TIN"),
+            array("label"=3D>'NVAT',"value"=3D>"NVAT"),
+            array("label"=3D>'other',"value"=3D>"other")
+           );
+       $h_type->selected=3D$this->type;
+       $h_name=3Dnew IText('p_name',$this->name);
+       $h_street=3Dnew IText('p_street',$this->street);
+       $h_postcode=3Dnew IText('p_postcode',$this->postcode);
+       $h_city=3Dnew IText('p_city',$this->city);
+       $h_countrycode=3Dnew IText('p_countrycode',$this->countrycode);
+       $h_email=3Dnew IText('p_email',$this->email);
+       $h_phone=3Dnew IText('p_phone',$this->phone);
+       $h_id=3Dnew INum('p_id',$this->id);
+       $h_issued=3Dnew IText("p_issued",$this->issued);
+       require_once 'template/listing_assujetti_representative.php';
+
+   }
+}
+

Added: trunk/transform/include/intervat_listing_assujetti.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/intervat_listing_assujetti.inc.php	          =
              (rev 0)
+++ trunk/transform/include/intervat_listing_assujetti.inc.php	2014-01-31=
 19:36:41 UTC (rev 673)
@@ -0,0 +1,49 @@
+<?php
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+require_once 'class_transform_representative.php';
+require_once 'class_transform_declarant.php';
+$representative=3Dnew Transform_Representative();
+$declarant=3Dnew Transform_Declarant();
+?>
+<h1>Listing Assujetti Intervat </h1>
+
+<form method=3D"post" enctype=3D"multipart/form-data">
+    <h2><?php echo _('Mandataire');?></h2>
+<?php
+$representative->input();
+?>
+    <h2><?php echo _('D=C3=A9clarant');?></h2>
+<?php
+$declarant->input();
+?>
+    <p>
+    <?php
+    $file =3D new IFile('client_assujetti');
+    echo $file->input();
+    ?>
+    </p>
+    <p>
+        <?php
+        echo HtmlInput::request_to_hidden(array('gDossier', 'ac', 'plugi=
n_code', 'sa'));
+        echo HtmlInput::submit('send_list', 'Valider');
+        ?>
+    </p>
+</form>   =20

Added: trunk/transform/include/template/listing_assujetti_declarant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/template/listing_assujetti_declarant.php	    =
                    (rev 0)
+++ trunk/transform/include/template/listing_assujetti_declarant.php	2014=
-01-31 19:36:41 UTC (rev 673)
@@ -0,0 +1,68 @@
+<?php
+
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+*/
+
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+
+?>
+<table>
+    <tr>
+        <td>
+            <?php echo _('Nom') . "</td><td>" . $h_name->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Rue') . "</td><td>" . $h_street->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Code postal') . "</td><td>" . $h_postcode->inp=
ut(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Ville') . "</td><td>" . $h_city->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Code Pays') . "</td><td>" . $h_countrycode->in=
put(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('email') . "</td><td>" . $h_email->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('T=C3=A9l=C3=A9phone') . "</td><td>" . $h_phone=
->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('N=C2=B0 TVA') . "</td><td>" . $h_vatnumber->in=
put(); ?>
+        </td>
+    <tr>
+   =20
+
+</table>
+

Added: trunk/transform/include/template/listing_assujetti_representative.=
php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/template/listing_assujetti_representative.php=
	                        (rev 0)
+++ trunk/transform/include/template/listing_assujetti_representative.php=
	2014-01-31 19:36:41 UTC (rev 673)
@@ -0,0 +1,69 @@
+<?php
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+?>
+<table>
+    <tr>
+        <td>
+            <?php echo _('Nom') . "</td><td>" . $h_name->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Rue') . "</td><td>" . $h_street->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Code postal') . "</td><td>" . $h_postcode->inp=
ut(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Ville') . "</td><td>" . $h_city->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Code Pays') . "</td><td>" . $h_countrycode->in=
put(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('email') . "</td><td>" . $h_email->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('T=C3=A9l=C3=A9phone') . "</td><td>" . $h_phone=
->input(); ?>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('listing id') . "</td><td>" . $h_id->input(); ?=
>
+        </td>
+    <tr>
+    <tr>
+        <td>
+            <?php echo _('Type') . "</td><td>" . $h_type->input(); ?>
+        </td>
+    <tr>
+
+</table>
\ No newline at end of file

Modified: trunk/transform/index.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/index.php	2014-01-31 17:35:53 UTC (rev 672)
+++ trunk/transform/index.php	2014-01-31 19:36:41 UTC (rev 673)
@@ -19,54 +19,10 @@
=20
 // Copyright Author Dany De Bontridder danydb@aevalys.eu
=20
-$doc=3Dnew DOMDocument('1.0','ISO-8859-1');
-$doc->formatOutput =3D true;
+echo '<div style=3D"float:right"><a class=3D"mtitle" style=3D"font-size:=
140%" href=3D"http://wiki.phpcompta.eu/doku.php?id=3Dtransformateur" targ=
et=3D"_blank">Aide</a>'.
+'<span style=3D"font-size:0.8em;color:red;display:inline">vers:SVNINFO</=
span>'.
+'</div>';
=20
-// $ns=3D"http://www.w3.org/2001/XMLSchema";
-$ns=3D'http://www.minfin.fgov.be/ClientListingConsignment';
-$t=3D$doc->createElementNS($ns,'ns2:ClientListingConsignment');
+require_once "include/intervat_listing_assujetti.inc.php";
=20
-$root=3D$doc->appendChild($t);
-
-// $root->setAttributeNS($ns,'ns2:iso','http://www.minfin.fgov.be/IsoTyp=
es');
-$listing=3D$doc->appendChild($root);
-$xmls=3D$root->setAttribute("xmlns","http://www.minfin.fgov.be/InputComm=
on");
-
-//$xmls->value=3D"http://www.minfin.fgov.be/InputCommon";
-$listing=3D$doc->appendChild($root);
-
-
-$nb=3D$doc->createAttribute('ClientListingsNbr');
-$nb->value=3D1;
-$listing->appendChild($nb);
-
-$declarant=3D$doc->createElementNS('http://www.minfin.fgov.be/ClientList=
ingConsigment','ns2:Declarant');
-$vatnumber=3D$doc->createElement("VATNumber","dany");
-$name=3D$doc->createElement("Name","dany");
-$street=3D$doc->createElement("Street","dany");
-$postcode=3D$doc->createElement("PostCode","dany");
-$city=3D$doc->createElement("City","dany");
-$country=3D$doc->createElement("CountryCode","dany");
-$email=3D$doc->createElement("EmailAddress","dany");
-$phone=3D$doc->createElement("Phone","0000000");
-
-
-
-$declarant_xml=3D$root->appendChild($declarant);
-$declarant_xml->appendChild($vatnumber);
-$declarant_xml->appendChild($name);
-$declarant_xml->appendChild($street);
-$declarant_xml->appendChild($postcode);
-$declarant_xml->appendChild($city);
-$declarant_xml->appendChild($country);
-$declarant_xml->appendChild($email);
-$declarant_xml->appendChild($phone);
-
-$periode=3D$doc->createElementNS("http://www.minfin.fgov.be/ClientListin=
gConsignment","ns2Periode","1402");
-$root->appendChild($periode);
-
-$test=3D$doc->saveXML();
-$doc->save('test.xml');
-echo $test;
-echo ' file text.xml created'.PHP_EOL;
 ?>

Deleted: trunk/transform/unit-test/IntervatTest.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/IntervatTest.php	2014-01-31 17:35:53 UTC (r=
ev 672)
+++ trunk/transform/unit-test/IntervatTest.php	2014-01-31 19:36:41 UTC (r=
ev 673)
@@ -1,176 +0,0 @@
-<?php
-
-/**
- * Testing of class_intervat
- *  phpunit-skelgen --bootstrap bootstrap.php --test -- Intervat ../incl=
ude/class_intervat.php
- * phpunit --bootstrap bootstrap.php IntervatTest.php=20
- * @author dany
- * Expected result
- * @code
- * <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
-<ns2:ClientListingConsignment xmlns:ns2=3D"http://www.minfin.fgov.be/Cli=
entListingConsignment" xmlns=3D"http://www.minfin.fgov.be/InputCommon" Cl=
ientListingsNbr=3D"1">
-  <ns2:Representative>
-    <RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">0000000=
097</RepresentativeID>
-    <Name>Nom Mandataire</Name>
-    <Street>Nom de rue</Street>
-    <PostCode>9999</PostCode>
-    <City>TESTCITY</City>
-    <CountryCode>BE</CountryCode>
-    <EmailAddress>dany@alch.be</EmailAddress>
-    <Phone>000000000</Phone>
-  </ns2:Representative>
-  <ns2:ClientListing VATAmountSum=3D"0" TurnOverSum=3D"0" ClientsNbr=3D"=
2" SequenceNumber=3D"1">
-    <ns2:Declarant>
-      <VATNumber>0000000097</VATNumber>
-      <Name>Nom D=C3=A9clarant</Name>
-      <Street>Rue du d=C3=A9clarant</Street>
-      <PostCode>9999</PostCode>
-      <City>TESTCITY</City>
-      <CountryCode>BE</CountryCode>
-      <EmailAddress>dany@alch.be</EmailAddress>
-      <Phone>000000000</Phone>
-    </ns2:Declarant>
-    <ns2:Period>2009</ns2:Period>
-    <ns2:Client SequenceNumber=3D"1">
-      <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNu=
mber>
-      <ns2:TurnOver>500</ns2:TurnOver>
-      <ns2:VATAmount>0</ns2:VATAmount>
-    </ns2:Client>
-    <ns2:Client SequenceNumber=3D"2">
-      <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNu=
mber>
-      <ns2:TurnOver>500</ns2:TurnOver>
-      <ns2:VATAmount>0</ns2:VATAmount>
-    </ns2:Client>
-    <ns2:Comment>Commentaire</ns2:Comment>
-  </ns2:ClientListing>
-</ns2:ClientListingConsignment>
- * @endcode
- *=20
- */
-require_once 'class_intervat.php';
-require_once 'bootstrap.php';
-
-/**
- * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-01-25 at 18:01:0=
8.
- */
-class IntervatTest extends PHPUnit_Framework_TestCase
-{
-
-    /**
-     * @var Intervat
-     */
-    protected $object;
-
-    /**
-     * Sets up the fixture, for example, opens a network connection.
-     * This method is called before a test is executed.
-     */
-    protected function setUp()
-    {
-        $this->object =3D new Intervat;
-        $this->result=3D'<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
-<ns2:ClientListingConsignment xmlns:ns2=3D"http://www.minfin.fgov.be/Cli=
entListingConsignment" xmlns=3D"http://www.minfin.fgov.be/InputCommon" Cl=
ientListingsNbr=3D"1">
-  <ns2:Representative>
-    <RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">0000000=
097</RepresentativeID>
-    <Name>Nom Mandataire</Name>
-    <Street>Nom de rue</Street>
-    <PostCode>9999</PostCode>
-    <City>TESTCITY</City>
-    <CountryCode>BE</CountryCode>
-    <EmailAddress>dany@alch.be</EmailAddress>
-    <Phone>000000000</Phone>
-  </ns2:Representative>
-  <ns2:ClientListing VATAmountSum=3D"0" TurnOverSum=3D"0" ClientsNbr=3D"=
2" SequenceNumber=3D"1">
-    <ns2:Declarant>
-      <VATNumber>0000000097</VATNumber>
-      <Name>Nom Declarant</Name>
-      <Street>Rue du declarant</Street>
-      <PostCode>9999</PostCode>
-      <City>TESTCITY</City>
-      <CountryCode>BE</CountryCode>
-      <EmailAddress>dany@alch.be</EmailAddress>
-      <Phone>000000000</Phone>
-    </ns2:Declarant>
-    <ns2:Period>2009</ns2:Period>
-    <ns2:Client SequenceNumber=3D"1">
-      <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNu=
mber>
-      <ns2:TurnOver>500</ns2:TurnOver>
-      <ns2:VATAmount>0</ns2:VATAmount>
-    </ns2:Client>
-    <ns2:Client SequenceNumber=3D"2">
-      <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNu=
mber>
-      <ns2:TurnOver>500</ns2:TurnOver>
-      <ns2:VATAmount>0</ns2:VATAmount>
-    </ns2:Client>
-    <ns2:Comment>Commentaire</ns2:Comment>
-  </ns2:ClientListing>
-</ns2:ClientListingConsignment>
-';
-    }
-
-    /**
-     * Tears down the fixture, for example, closes a network connection.
-     * This method is called after a test is executed.
-     */
-    protected function tearDown()
-    {
-       =20
-    }
-
-    /**
-     * @covers Intervat::append_root
-     * @todo   Implement testAppend_root().
-     */
-    public function testAppend_root()
-    {
-        $this->object->append_root();
-        $result =3D $this->object->domdoc->saveXML();
-        $must_march =3D '<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>=
    =20
-	<ns2:ClientListingConsignment xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon" xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingConsignment" C=
lientListingsNbr=3D"1">';
-        $this->assertContains('<?xml version=3D"1.0" encoding=3D"ISO-885=
9-1"?>', $result);
-        $this->assertContains('<ns2:ClientListingConsignment', $result);
-        $this->assertContains('xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon"', $result);
-        $this->assertContains('xmlns:ns2=3D"http://www.minfin.fgov.be/Cl=
ientListingConsignment"', $result);
-        $this->assertContains('ClientListingsNbr=3D"1"', $result);
-    }
-    public function testAppend_representative()
-    {
-          $this->object->append_root();
-        $this->object->append_representative();
-        $result =3D $this->object->domdoc->saveXML();
-        $this->assertContains('ns2:Representative',$result);
-    }
-   /**
-     * @covers Intervat::append_client_listing
-     * @todo   Implement testAppend_client_listing().
-     */
-    public function testAppend_client_listing()
-    {
-      $this->object->append_root();
-      $this->object->append_representative();
-      $this->object->append_client_listing(array());
-      $result =3D $this->object->domdoc->saveXML();
-      $this->assertEquals($this->result,$result);
-     =20
-    }
-
-    /**
-     * @covers Intervat::append_declarant
-     * @todo   Implement testAppend_declarant().
-     */
-    public function testAppend_declarant()
-    {
-       =20
-    }
-
-    /**
-     * @covers Intervat::append_listing
-     * @todo   Implement testAppend_listing().
-     */
-    public function testAppend_listing()
-    {
-       =20
-    }
-   =20
-
-}

Copied: trunk/transform/unit-test/transform_IntervatTest.php (from rev 67=
1, trunk/transform/unit-test/IntervatTest.php)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/transform_IntervatTest.php	                =
        (rev 0)
+++ trunk/transform/unit-test/transform_IntervatTest.php	2014-01-31 19:36=
:41 UTC (rev 673)
@@ -0,0 +1,197 @@
+<?php
+
+/**
+ * Testing of class_intervat
+ *  phpunit-skelgen --bootstrap bootstrap.php --test -- Intervat ../incl=
ude/class_transform_intervat.php
+ * phpunit --bootstrap bootstrap.php transform_IntervatTest.php=20
+ * @author dany
+ * Expected result
+ * @code
+ * <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
+  <ns2:ClientListingConsignment xmlns:ns2=3D"http://www.minfin.fgov.be/C=
lientListingConsignment" xmlns=3D"http://www.minfin.fgov.be/InputCommon" =
ClientListingsNbr=3D"1">
+  <ns2:Representative>
+  <RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">000000009=
7</RepresentativeID>
+  <Name>Nom Mandataire</Name>
+  <Street>Nom de rue</Street>
+  <PostCode>9999</PostCode>
+  <City>TESTCITY</City>
+  <CountryCode>BE</CountryCode>
+  <EmailAddress>dany@alch.be</EmailAddress>
+  <Phone>000000000</Phone>
+  </ns2:Representative>
+  <ns2:ClientListing VATAmountSum=3D"0" TurnOverSum=3D"0" ClientsNbr=3D"=
2" SequenceNumber=3D"1">
+  <ns2:Declarant>
+  <VATNumber>0000000097</VATNumber>
+  <Name>Nom D=C3=A9clarant</Name>
+  <Street>Rue du d=C3=A9clarant</Street>
+  <PostCode>9999</PostCode>
+  <City>TESTCITY</City>
+  <CountryCode>BE</CountryCode>
+  <EmailAddress>dany@alch.be</EmailAddress>
+  <Phone>000000000</Phone>
+  </ns2:Declarant>
+  <ns2:Period>2009</ns2:Period>
+  <ns2:Client SequenceNumber=3D"1">
+  <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNumber=
>
+  <ns2:TurnOver>500</ns2:TurnOver>
+  <ns2:VATAmount>0</ns2:VATAmount>
+  </ns2:Client>
+  <ns2:Client SequenceNumber=3D"2">
+  <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNumber=
>
+  <ns2:TurnOver>500</ns2:TurnOver>
+  <ns2:VATAmount>0</ns2:VATAmount>
+  </ns2:Client>
+  <ns2:Comment>Commentaire</ns2:Comment>
+  </ns2:ClientListing>
+  </ns2:ClientListingConsignment>
+ * @endcode
+ *=20
+ */
+require_once 'class_transform_intervat.php';
+require_once 'class_transform_representative.php';
+require_once 'bootstrap.php';
+
+/**
+ * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-01-25 at 18:01:0=
8.
+ */
+class IntervatTest extends PHPUnit_Framework_TestCase
+{
+
+    /**
+     * @var Intervat
+     */
+    protected $object;
+
+    /**
+     * Sets up the fixture, for example, opens a network connection.
+     * This method is called before a test is executed.
+     */
+    protected function setUp()
+    {
+        $this->object =3D new Transform_Intervat;
+        $this->result =3D '<?xml version=3D"1.0" encoding=3D"ISO-8859-1"=
?>
+<ns2:ClientListingConsignment xmlns:ns2=3D"http://www.minfin.fgov.be/Cli=
entListingConsignment" xmlns=3D"http://www.minfin.fgov.be/InputCommon" Cl=
ientListingsNbr=3D"1">
+  <ns2:Representative>
+    <RepresentativeID identificationType=3D"TIN" issuedBy=3D"BE">0000000=
097</RepresentativeID>
+    <Name>Nom Mandataire</Name>
+    <Street>Nom de rue</Street>
+    <PostCode>9999</PostCode>
+    <City>TESTCITY</City>
+    <CountryCode>BE</CountryCode>
+    <EmailAddress>dany@alch.be</EmailAddress>
+    <Phone>000000000</Phone>
+  </ns2:Representative>
+  <ns2:ClientListing VATAmountSum=3D"0" TurnOverSum=3D"0" ClientsNbr=3D"=
2" SequenceNumber=3D"1">
+    <ns2:Declarant>
+      <VATNumber>0000000097</VATNumber>
+      <Name>Nom Declarant</Name>
+      <Street>Rue du declarant</Street>
+      <PostCode>9999</PostCode>
+      <City>TESTCITY</City>
+      <CountryCode>BE</CountryCode>
+      <EmailAddress>dany@alch.be</EmailAddress>
+      <Phone>000000000</Phone>
+    </ns2:Declarant>
+    <ns2:Period>2009</ns2:Period>
+    <ns2:Client SequenceNumber=3D"1">
+      <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNu=
mber>
+      <ns2:TurnOver>500</ns2:TurnOver>
+      <ns2:VATAmount>0</ns2:VATAmount>
+    </ns2:Client>
+    <ns2:Client SequenceNumber=3D"2">
+      <ns2:CompanyVATNumber issuedBy=3D"BE">0000000097</ns2:CompanyVATNu=
mber>
+      <ns2:TurnOver>500</ns2:TurnOver>
+      <ns2:VATAmount>0</ns2:VATAmount>
+    </ns2:Client>
+    <ns2:Comment>Commentaire</ns2:Comment>
+  </ns2:ClientListing>
+</ns2:ClientListingConsignment>
+';
+        $this->representative =3D new Transform_Representative();
+        $this->representative->id =3D "0000000097";
+        $this->representative->issued =3D "BE";
+        $this->representative->type =3D 'TIN';
+        $this->representative->name =3D "Nom Mandataire";
+        $this->representative->street =3D "Nom de rue";
+        $this->representative->postcode =3D "9999";
+        $this->representative->city =3D "TESTCITY";
+        $this->representative->countrycode =3D "BE";
+        $this->representative->email =3D "dany@alch.be";
+        $this->representative->phone =3D "000000000";
+              /*
+         * Variables
+         */
+        $this->declarant=3Dnew Transform_Declarant();
+        $this->declarant->vat_number =3D "0000000097";
+        $this->declarant->name =3D "Nom Declarant";
+        $this->declarant->street =3D "Rue du declarant";
+        $this->declarant->postcode =3D "9999";
+        $this->declarant->city =3D "TESTCITY";
+        $this->declarant->countrycode =3D "BE";
+        $this->declarant->email =3D "dany@alch.be";
+        $this->declarant->phone =3D "000000000";
+    }
+
+    /**
+     * Tears down the fixture, for example, closes a network connection.
+     * This method is called after a test is executed.
+     */
+    protected function tearDown()
+    {
+       =20
+    }
+
+    /**
+     * @covers Intervat::append_root
+     * @todo   Implement testAppend_root().
+     */
+    public function testAppend_root()
+    {
+        $this->object->append_root();
+        $result =3D $this->object->domdoc->saveXML();
+        $must_march =3D '<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>=
    =20
+	<ns2:ClientListingConsignment xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon" xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingConsignment" C=
lientListingsNbr=3D"1">';
+        $this->assertContains('<?xml version=3D"1.0" encoding=3D"ISO-885=
9-1"?>', $result);
+        $this->assertContains('<ns2:ClientListingConsignment', $result);
+        $this->assertContains('xmlns=3D"http://www.minfin.fgov.be/InputC=
ommon"', $result);
+        $this->assertContains('xmlns:ns2=3D"http://www.minfin.fgov.be/Cl=
ientListingConsignment"', $result);
+        $this->assertContains('ClientListingsNbr=3D"1"', $result);
+    }
+
+    public function testAppend_representative()
+    {
+
+        $this->object->append_root();
+        $this->object->append_representative($this->representative);
+        $result =3D $this->object->domdoc->saveXML();
+        $this->assertContains('ns2:Representative', $result);
+    }
+
+    /**
+     * @covers Intervat::append_client_listing
+     * @todo   Implement testAppend_client_listing().
+     */
+    public function testAppend_client_listing()
+    {
+        $this->object->append_root();
+        $this->object->append_representative($this->representative);
+        $this->object->append_client_listing($this->declarant,array());
+        $result =3D $this->object->domdoc->saveXML();
+        $this->assertEquals($this->result, $result);
+    }
+
+    /**
+     * @covers Intervat::append_declarant
+     * @todo   Implement testAppend_declarant().
+     */
+    public function testAppend_declarant()
+    {
+        $this->object->append_root();
+        $this->object->append_representative($this->representative);
+        $this->object->append_client_listing($this->declarant,array());
+        $result =3D $this->object->domdoc->saveXML();
+        $this->assertEquals($this->result, $result);
+    }
+
+
+}



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Fri Jan 31 17:40:28 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W9MlA-00016d-Bk
	for mharc-phpcompta-dev@gnu.org; Fri, 31 Jan 2014 17:40:28 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Fri, 31 Jan 2014 23:27:43 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.183400.1391208027.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r674 - trunk/skel/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 22:40:27 -0000

Author: danydb
Date: 2014-01-31 23:27:43 +0100 (Fri, 31 Jan 2014)
New Revision: 674

Modified:
   trunk/skel/include/class_install_plugin.php
Log:
update skeleton


Modified: trunk/skel/include/class_install_plugin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/skel/include/class_install_plugin.php	2014-01-31 19:36:41 UTC (=
rev 673)
+++ trunk/skel/include/class_install_plugin.php	2014-01-31 22:27:43 UTC (=
rev 674)
@@ -21,63 +21,37 @@
=20
 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
=20
-/**\file
- * \brief this class manages the installation and the patch of the plugi=
n
- replace SKEL by the plugin schema
+/**
+ * @file
+ * @brief install the  ... (SKEL plugin)
+ *
  */
-
-class Install_Plugin
+class SKEL_Install
 {
=20
-	function __construct($p_cn)
-	{
-		$this->cn =3D $p_cn;
-	}
+    function __construct($cn)
+    {
+        $this->db =3D $cn;
+    }
=20
-	/**
-	 * @brief install the plugin, create all the needed schema, tables, pro=
c
-	 * in the database
-	 * @param $p_dossier is the dossier id
-	 */
-	function install()
-	{
-		$this->cn->start();
-		// create the schema
-		$this->create_schema();
-		// create table + put default values
-		$this->create_table_parameter();
-		$this->cn->commit();
-	}
+    function install()
+    {
+        $file =3D dirname(__FILE__);
+        $this->db->execute_script($file . '/../sql/install.sql');
+    }
=20
-	function create_schema()
-	{
-		$this->cn->exec_sql('create schema SKEL');
-	}
+    function upgrade($p_version)
+    {
+        global $cn;
+        $cur_version =3D $cn->get_value('select max(version_id) from ske=
l.version');
+        $cur_version++;
+        $file =3D dirname(__FILE__);
+        for ($e =3D $cur_version; $e <=3D $p_version; $e++)
+        {
+            $this->db->execute_script($file . '/../sql/upgrade' . $e . '=
.sql');
+        }
+    }
=20
-	function create_table_parameter()
-	{
-		$sql =3D <<<EOF
-CREATE TABLE SKEL.parameter
-(
-  pr_id text NOT NULL,
-  pr_value text,
-  CONSTRAINT SKEL_parameter_pkey PRIMARY KEY (pr_id)
- );
-EOF;
-		$this->cn->exec_sql($sql);
-// load default value
-		$array =3D array(
-			'GRIL00' =3D> array('6'),
-			'GRIL01' =3D> array('3'),
-			'GRIL02' =3D> array('2', ''),
-
-		);
-
-		foreach ($array as $code =3D> $value)
-		{
-			$this->cn->exec_sql('insert into SKEL.parameter(pr_id,pr_value,pr_oth=
er) values ($1,$2)', array($code, $value[0]));
-		}
-	}
-
 }
=20
+?>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Fri Jan 31 18:28:07 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1W9NVH-0003o8-Lg
	for mharc-phpcompta-dev@gnu.org; Fri, 31 Jan 2014 18:28:07 -0500
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sat,  1 Feb 2014 00:15:23 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 91.121.80.190
Message-ID: <mailman.183411.1391210886.10747.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r675 - in trunk/transform: . include sql unit-test
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 23:28:06 -0000

Author: danydb
Date: 2014-02-01 00:15:23 +0100 (Sat, 01 Feb 2014)
New Revision: 675

Added:
   trunk/transform/include/class_install_transform.php
   trunk/transform/include/class_transform_sql.php
   trunk/transform/include/intervat_listing_assujetti_step_1.inc.php
   trunk/transform/include/intervat_listing_assujetti_step_2.inc.php
   trunk/transform/include/intervat_listing_assujetti_step_3.inc.php
   trunk/transform/sql/
   trunk/transform/sql/install.sql
Modified:
   trunk/transform/include/class_transform_declarant.php
   trunk/transform/include/intervat_listing_assujetti.inc.php
   trunk/transform/index.php
   trunk/transform/unit-test/transform_IntervatTest.php
Log:

3 step for submiting a file + info for representative and declarant
add database script


Added: trunk/transform/include/class_install_transform.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/class_install_transform.php	                 =
       (rev 0)
+++ trunk/transform/include/class_install_transform.php	2014-01-31 23:15:=
23 UTC (rev 675)
@@ -0,0 +1,57 @@
+<?php
+
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+/* $Revision$ */
+
+// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
+
+/**
+ * @file
+ * @brief install the Transform (TRANSFORM plugin)
+ *
+ */
+class Install_Transform
+{
+
+    function __construct($cn)
+    {
+        $this->db =3D $cn;
+    }
+
+    function install()
+    {
+        $file =3D dirname(__FILE__);
+        $this->db->execute_script($file . '/../sql/install.sql');
+    }
+
+    function upgrade($p_version)
+    {
+        global $cn;
+        $cur_version =3D $cn->get_value('select max(version_id) from tra=
nsform.version');
+        $cur_version++;
+        $file =3D dirname(__FILE__);
+        for ($e =3D $cur_version; $e <=3D $p_version; $e++)
+        {
+            $this->db->execute_script($file . '/../sql/upgrade' . $e . '=
.sql');
+        }
+    }
+
+}
+
+?>

Modified: trunk/transform/include/class_transform_declarant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/class_transform_declarant.php	2014-01-31 22:2=
7:43 UTC (rev 674)
+++ trunk/transform/include/class_transform_declarant.php	2014-01-31 23:1=
5:23 UTC (rev 675)
@@ -68,25 +68,25 @@
    var $vatnumber;
    function fromPost()
    {
-       $this->name=3DHtmlInput::default_value_post("p_name",null);
-       $this->street=3DHtmlInput::default_value_post("p_street",null);
-       $this->postcode=3DHtmlInput::default_value_post("p_postcode",null=
);
-       $this->city=3DHtmlInput::default_value_post("p_city",null);
-       $this->countrycode=3DHtmlInput::default_value_post("p_countrycode=
",null);
-       $this->email=3DHtmlInput::default_value_post("p_email",null);
-       $this->phone=3DHtmlInput::default_value_post("p_phone",null);
-       $this->vatnumber=3DHtmlInput::default_value_post("p_vatnumber",nu=
ll);
+       $this->name=3DHtmlInput::default_value_post("p_dec_name",null);
+       $this->street=3DHtmlInput::default_value_post("p_dec_street",null=
);
+       $this->postcode=3DHtmlInput::default_value_post("p_dec_postcode",=
null);
+       $this->city=3DHtmlInput::default_value_post("p_dec_city",null);
+       $this->countrycode=3DHtmlInput::default_value_post("p_dec_country=
code",null);
+       $this->email=3DHtmlInput::default_value_post("p_dec_email",null);
+       $this->phone=3DHtmlInput::default_value_post("p_dec_phone",null);
+       $this->vatnumber=3DHtmlInput::default_value_post("p_dec_vatnumber=
",null);
    }
    function input()
    {
-       $h_name=3Dnew IText('p_name',$this->name);
-       $h_vatnumber=3Dnew IText('p_vatnumber',$this->vatnumber);
-       $h_street=3Dnew IText('p_street',$this->street);
-       $h_postcode=3Dnew IText('p_postcode',$this->postcode);
-       $h_city=3Dnew IText('p_city',$this->city);
-       $h_countrycode=3Dnew IText('p_countrycode',$this->countrycode);
-       $h_email=3Dnew IText('p_email',$this->email);
-       $h_phone=3Dnew IText('p_phone',$this->phone);
+       $h_name=3Dnew IText('p_dec_name',$this->name);
+       $h_vatnumber=3Dnew IText('p_dec_vatnumber',$this->vatnumber);
+       $h_street=3Dnew IText('p_dec_street',$this->street);
+       $h_postcode=3Dnew IText('p_dec_postcode',$this->postcode);
+       $h_city=3Dnew IText('p_dec_city',$this->city);
+       $h_countrycode=3Dnew IText('p_dec_countrycode',$this->countrycode=
);
+       $h_email=3Dnew IText('p_dec_email',$this->email);
+       $h_phone=3Dnew IText('p_dec_phone',$this->phone);
        require_once 'template/listing_assujetti_declarant.php';
=20
    }

Added: trunk/transform/include/class_transform_sql.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/class_transform_sql.php	                     =
   (rev 0)
+++ trunk/transform/include/class_transform_sql.php	2014-01-31 23:15:23 U=
TC (rev 675)
@@ -0,0 +1,290 @@
+<?php
+
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+
+/**
+ * @file
+ * @brief Manage the tables of  transform schema
+ *
+ */
+require_once('class_phpcompta_sql.php');
+
+/**
+ * @brief Manage the table transform.request
+ */
+class Transform_Request_SQL extends Phpcompta_SQL
+{
+
+    //------ Attributes-----
+    var $r_id;
+    var $r_date;
+
+    /* example private $variable=3Darray("easy_name"=3D>column_name,"ema=
il"=3D>"column_name_email","val3"=3D>0); */
+
+    function __construct($p_id =3D -1)
+    {
+
+
+        $this->table =3D "transform.request";
+        $this->primary_key =3D "r_id";
+
+        $this->name =3D array(
+            "r_id" =3D> "r_id",
+            "r_date" =3D> "r_date"
+        );
+
+        $this->type =3D array(
+            "r_id" =3D> "numeric",
+            "r_date" =3D> "date"
+        );
+
+        $this->default =3D array(
+            "r_id" =3D> "auto"
+            ,"r_date"=3D>"auto"
+        );
+        global $cn;
+        $this->date_format =3D "DD.MM.YYYY";
+        parent::__construct($cn, $p_id);
+    }
+
+    /**
+     * @brief Add here your own code: verify is always call BEFORE inser=
t or update
+     */
+    public function verify()
+    {
+        parent::verify();
+    }
+
+}
+
+/**
+ * @brief Manage the table transform.intervat_representative
+ */
+class Intervat_Representative_SQL extends Phpcompta_SQL
+{
+
+    //------ Attributes-----
+    var $rp_id;
+    var $r_id;
+    var $rp_listing_id;
+    var $rp_issued;
+    var $rp_type;
+    var $rp_name;
+    var $rp_street;
+    var $rp_postcode;
+    var $rp_city;
+    var $rp_email;
+    var $rp_phone;
+    var $rp_countrycode;
+
+    /* example private $variable=3Darray("easy_name"=3D>column_name,"ema=
il"=3D>"column_name_email","val3"=3D>0); */
+
+    function __construct($p_id =3D -1)
+    {
+
+
+        $this->table =3D "transform.intervat_representative";
+        $this->primary_key =3D "rp_id";
+
+        $this->name =3D array(
+            "rp_id" =3D> "rp_id"
+            , "r_id" =3D> "r_id"
+            , "rp_listing_id" =3D> "rp_listing_id"
+            , "rp_issued" =3D> "rp_issued"
+            , "rp_type" =3D> "rp_type"
+            , "rp_name" =3D> "rp_name"
+            , "rp_street" =3D> "rp_street"
+            , "rp_postcode" =3D> "rp_postcode"
+            , "rp_city" =3D> "rp_city"
+            , "rp_email" =3D> "rp_email"
+            , "rp_phone" =3D> "rp_phone"
+            , "rp_countrycode" =3D> "rp_countrycode"
+        );
+
+        $this->type =3D array(
+            "rp_id" =3D> "numeric"
+            , "r_id" =3D> "numeric"
+            , "rp_listing_id" =3D> "text"
+            , "rp_issued" =3D> "text"
+            , "rp_type" =3D> "text"
+            , "rp_name" =3D> "text"
+            , "rp_street" =3D> "text"
+            , "rp_postcode" =3D> "text"
+            , "rp_city" =3D> "text"
+            , "rp_email" =3D> "text"
+            , "rp_phone" =3D> "text"
+            , "rp_countrycode" =3D> "text"
+        );
+
+        $this->default =3D array(
+            "rp_id" =3D> "auto"
+        );
+        global $cn;
+        $this->date_format =3D "DD.MM.YYYY";
+        parent::__construct($cn, $p_id);
+    }
+
+    /**
+     * @brief Add here your own code: verify is always call BEFORE inser=
t or update
+     */
+    public function verify()
+    {
+        parent::verify();
+    }
+
+}
+
+/**
+ * @brief Manage the table transform.intervat_declarant
+ */
+class Intervat_Declarant_SQL extends Phpcompta_SQL
+{
+
+    //------ Attributes-----
+    var $d_id;
+    var $r_id;
+    var $d_name;
+    var $d_street;
+    var $d_postcode;
+    var $d_city;
+    var $d_email;
+    var $d_phone;
+    var $d_vat_number;
+    var $d_countrycode;
+    var $d_periode;
+
+    /* example private $variable=3Darray("easy_name"=3D>column_name,"ema=
il"=3D>"column_name_email","val3"=3D>0); */
+
+    function __construct($p_id =3D -1)
+    {
+
+
+        $this->table =3D "transform.intervat_declarant";
+        $this->primary_key =3D "d_id";
+
+        $this->name =3D array(
+            "d_id" =3D> "d_id"
+            , "r_id" =3D> "r_id"
+            , "d_name" =3D> "d_name"
+            , "d_street" =3D> "d_street"
+            , "d_postcode" =3D> "d_postcode"
+            , "d_city" =3D> "d_city"
+            , "d_email" =3D> "d_email"
+            , "d_phone" =3D> "d_phone"
+            , "d_vat_number" =3D> "d_vat_number"
+            , "d_countrycode" =3D> "d_countrycode"
+            , "d_periode" =3D> "d_periode"
+        );
+
+        $this->type =3D array(
+            "d_id" =3D> "numeric"
+            , "r_id" =3D> "numeric"
+            , "d_name" =3D> "text"
+            , "d_street" =3D> "text"
+            , "d_postcode" =3D> "text"
+            , "d_city" =3D> "text"
+            , "d_email" =3D> "text"
+            , "d_phone" =3D> "text"
+            , "d_vat_number" =3D> "text"
+            , "d_countrycode" =3D> "text"
+            , "d_periode" =3D> "text"
+        );
+
+        $this->default =3D array(
+            "d_id" =3D> "auto"
+        );
+        global $cn;
+        $this->date_format =3D "DD.MM.YYYY";
+        parent::__construct($cn, $p_id);
+    }
+
+    /**
+     * @brief Add here your own code: verify is always call BEFORE inser=
t or update
+     */
+    public function verify()
+    {
+        parent::verify();
+    }
+
+}
+/**
+ * @brief Manage the table transform.intervat_client
+ */
+class Intervat_Client_SQL extends Phpcompta_SQL
+{
+
+    //------ Attributes-----
+    var $c_id;
+    var $d_id;
+    var $c_name;
+    var $c_vatnumber;
+    var $c_amount_vat;
+    var $c_amount_novat;
+    var $c_issuedby;
+
+    /* example private $variable=3Darray("easy_name"=3D>column_name,"ema=
il"=3D>"column_name_email","val3"=3D>0); */
+
+    function __construct($p_id =3D -1)
+    {
+
+
+        $this->table =3D "transform.intervat_client";
+        $this->primary_key =3D "c_id";
+
+        $this->name =3D array(
+            "c_id" =3D> "c_id"
+            , "d_id" =3D> "d_id"
+            , "c_name" =3D> "c_name"
+            , "c_vatnumber" =3D> "c_vatnumber"
+            , "c_amount_vat" =3D> "c_amount_vat"
+            , "c_amount_novat" =3D> "c_amount_novat"
+            , "c_issuedby" =3D> "c_issuedby"
+        );
+
+        $this->type =3D array(
+            "c_id" =3D> "numeric"
+            , "d_id" =3D> "numeric"
+            , "c_name" =3D> "text"
+            , "c_vatnumber" =3D> "text"
+            , "c_amount_vat" =3D> "text"
+            , "c_amount_novat" =3D> "text"
+            , "c_issuedby" =3D> "text"
+        );
+
+        $this->default =3D array(
+            "c_id" =3D> "auto"
+        );
+        global $cn;
+        $this->date_format =3D "DD.MM.YYYY";
+        parent::__construct($cn, $p_id);
+    }
+
+    /**
+     * @brief Add here your own code: verify is always call BEFORE inser=
t or update
+     */
+    public function verify()
+    {
+        parent::verify();
+    }
+
+}
+
+?>
\ No newline at end of file

Modified: trunk/transform/include/intervat_listing_assujetti.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/intervat_listing_assujetti.inc.php	2014-01-31=
 22:27:43 UTC (rev 674)
+++ trunk/transform/include/intervat_listing_assujetti.inc.php	2014-01-31=
 23:15:23 UTC (rev 675)
@@ -18,32 +18,21 @@
  */
=20
 // Copyright Author Dany De Bontridder danydb@aevalys.eu
-require_once 'class_transform_representative.php';
-require_once 'class_transform_declarant.php';
-$representative=3Dnew Transform_Representative();
-$declarant=3Dnew Transform_Declarant();
 ?>
 <h1>Listing Assujetti Intervat </h1>
-
-<form method=3D"post" enctype=3D"multipart/form-data">
-    <h2><?php echo _('Mandataire');?></h2>
 <?php
-$representative->input();
-?>
-    <h2><?php echo _('D=C3=A9clarant');?></h2>
-<?php
-$declarant->input();
-?>
-    <p>
-    <?php
-    $file =3D new IFile('client_assujetti');
-    echo $file->input();
-    ?>
-    </p>
-    <p>
-        <?php
-        echo HtmlInput::request_to_hidden(array('gDossier', 'ac', 'plugi=
n_code', 'sa'));
-        echo HtmlInput::submit('send_list', 'Valider');
-        ?>
-    </p>
-</form>   =20
+$step=3DHtmlInput::default_value_request('st_transf',0);
+
+if ($step =3D=3D 0 )
+{
+    require 'intervat_listing_assujetti_step_1.inc.php';
+}
+if ($step =3D=3D 1 )
+{
+    require 'intervat_listing_assujetti_step_2.inc.php';
+}
+if ($step =3D=3D 2 )
+{
+    require 'intervat_listing_assujetti_step_3.inc.php';
+}
+?>
\ No newline at end of file

Added: trunk/transform/include/intervat_listing_assujetti_step_1.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/intervat_listing_assujetti_step_1.inc.php	   =
                     (rev 0)
+++ trunk/transform/include/intervat_listing_assujetti_step_1.inc.php	201=
4-01-31 23:15:23 UTC (rev 675)
@@ -0,0 +1,50 @@
+<?php
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+*/
+
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+
+require_once 'class_transform_representative.php';
+require_once 'class_transform_declarant.php';
+$representative=3Dnew Transform_Representative();
+$declarant=3Dnew Transform_Declarant();
+?>
+
+<form method=3D"post" enctype=3D"multipart/form-data">
+    <h2><?php echo _('Mandataire');?></h2>
+<?php
+$representative->input();
+?>
+    <h2><?php echo _('D=C3=A9clarant');?></h2>
+<?php
+$declarant->input();
+?>
+    <p>
+    <?php
+    $file =3D new IFile('client_assujetti');
+    echo $file->input();
+    ?>
+    </p>
+    <p>
+        <?php
+        echo HtmlInput::request_to_hidden(array('gDossier', 'ac', 'plugi=
n_code', 'sa'));
+        echo HtmlInput::hidden('st_transf',1);
+        echo HtmlInput::submit('send_list', 'Valider');
+        ?>
+    </p>
+</form>   =20

Added: trunk/transform/include/intervat_listing_assujetti_step_2.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/intervat_listing_assujetti_step_2.inc.php	   =
                     (rev 0)
+++ trunk/transform/include/intervat_listing_assujetti_step_2.inc.php	201=
4-01-31 23:15:23 UTC (rev 675)
@@ -0,0 +1,97 @@
+<?php
+
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+ */
+
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+var_dump($_POST);
+/**
+ * save data into db and display them before creating the XML
+ */
+global $cn;
+require_once 'class_transform_sql.php';
+/**
+ * Save a new request
+ */
+$request =3D new Transform_Request_SQL();
+$request->insert();
+
+$representative =3D new Transform_Representative();
+$representative->data->r_id =3D $request->r_id;
+$representative->fromPost();
+$representative->insert();
+
+$declarant =3D new Transform_Declarant();
+$declarant->data->r_id =3D $request->r_id;
+$declarant->fromPost();
+$declarant->insert();
+
+/*
+ * Save the file
+ */
+if (count($_FILES) =3D=3D 0)
+    throw new Exception(_('Aucun fichier donn=C3=A9'), 1);
+
+$name =3D $_FILES['client_assujetti']['name'];
+
+if (strlen($_FILES['client_assujetti']['tmp_name'][0]) !=3D 0)
+{
+    $new_name =3D tempnam($_ENV['TMP'], 'client_assujetti');
+    if (!move_uploaded_file($_FILES['file_upload']['tmp_name'][$i], $new=
_name))
+    {
+        throw new Exception(_('Impossible de sauver ce fichier'), 2);
+    }
+    $file =3D fopen($new_name, "r");
+    $i =3D 0;
+    $o_data=3Darray();
+    try
+    {
+        $cn->start();
+        while ($data =3D fgetcsv($file, 0, ";"))
+        {
+            $i++;
+            if (count($data) !=3D 4)
+            {
+                $o_data[$i]=3D _('Ligne non import=C3=A9e'). join(' - ',=
 $data);
+                continue;
+            }
+            /*
+             * insert into transform.intervat_client
+             */
+            $o_data[$i] =3D new Intervat_Client_SQL();
+            $o_data[$i]->d_id =3D $declarant->data->d_id;
+            $o_data[$i]->c_name =3D $data[0];
+            $o_data[$i]->c_issuedby =3D "BE";
+            $o_data[$i]->c_vatnumber =3D $data[1];
+            $o_data[$i]->c_amount_vat =3D $data[2];
+            $o_data[$i]->c_amount_novat =3D $data[3];
+            $o_data[$i]->insert();
+        }
+        $cn->commit();
+    } catch (Exception $ex)
+    {
+        $cn->rollback();
+        throw new Exception(_('Ne peut pas ajouter ').h($o_data[$i]->c_n=
ame).'-'.h($o_data[$i]->c_vatnumber),3);
+    }
+   =20
+}
+/**
+ * Show the result=20
+ */
+?>
+

Added: trunk/transform/include/intervat_listing_assujetti_step_3.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/include/intervat_listing_assujetti_step_3.inc.php	   =
                     (rev 0)
+++ trunk/transform/include/intervat_listing_assujetti_step_3.inc.php	201=
4-01-31 23:15:23 UTC (rev 675)
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ *   This file is part of NOALYSS.
+ *
+ *   NOALYSS is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published b=
y
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   NOALYSS is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with NOALYSS; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-130=
7  USA
+*/
+
+// Copyright Author Dany De Bontridder danydb@aevalys.eu
+
+
+

Modified: trunk/transform/index.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/index.php	2014-01-31 22:27:43 UTC (rev 674)
+++ trunk/transform/index.php	2014-01-31 23:15:23 UTC (rev 675)
@@ -18,7 +18,25 @@
 */
=20
 // Copyright Author Dany De Bontridder danydb@aevalys.eu
+global $version_plugin;
+$version_plugin=3DSVNINFO;
+Extension::check_version(4400);
+$cn=3Dnew Database(dossier::id());
+$transform_version=3D1;
=20
+if ( $cn->exist_schema('transform') =3D=3D false)
+  {
+    require_once('include/class_install_transform.php');
+
+    $iplugn=3Dnew Install_Transform($cn);
+    $iplugn->install();
+ }
+ if ( $cn->get_value('select max(version_id) from transform.version') < =
$transform_version)
+{
+	require_once('include/class_rapav_install.php');
+	$iplugn =3D new Rapav_Install($cn);
+	$iplugn->upgrade($rapav_version);
+}
 echo '<div style=3D"float:right"><a class=3D"mtitle" style=3D"font-size:=
140%" href=3D"http://wiki.phpcompta.eu/doku.php?id=3Dtransformateur" targ=
et=3D"_blank">Aide</a>'.
 '<span style=3D"font-size:0.8em;color:red;display:inline">vers:SVNINFO</=
span>'.
 '</div>';

Added: trunk/transform/sql/install.sql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/sql/install.sql	                        (rev 0)
+++ trunk/transform/sql/install.sql	2014-01-31 23:15:23 UTC (rev 675)
@@ -0,0 +1,49 @@
+create schema transform;
+
+create table transform.request(
+	r_id bigserial primary key,
+        r_date timestamp default now()
+);
+create table transform.version(
+	v_id bigint primary key,
+	v_note text);
+create table transform.intervat_representative=09
+(
+	rp_id bigserial primary key,
+	r_id bigint references transform.request(r_id) on update cascade on del=
ete cascade,
+	rp_listing_id text,
+	rp_issued text,
+	rp_type text
+	rp_name text,
+	rp_street text,
+	rp_postcode text,
+	rp_city text,
+	rp_email text,
+	rp_phone text,
+	rp_countrycode char(2) not null
+
+);
+create table transform.intervat_declarant
+(
+	d_id bigserial primary key,
+	r_id bigint references transform.request(r_id) on update cascade on del=
ete cascade,
+	d_name text,
+	d_street text,
+	d_postcode text,
+	d_city text,
+	d_email text,
+	d_phone text,
+	d_vat_number text,
+	d_countrycode char(2) not null,
+	d_periode text
+);
+create table transform.intervat_client
+(
+	c_id bigserial primary key,
+	d_id bigint references transform.intervat_declarant on update cascade o=
n delete cascade,
+	c_name text,
+	c_vatnumber text,
+	c_amount_vat text,
+	c_amount_novat text,
+	c_issuedby char(2) default 'BE'
+);
\ No newline at end of file

Modified: trunk/transform/unit-test/transform_IntervatTest.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/transform/unit-test/transform_IntervatTest.php	2014-01-31 22:27=
:43 UTC (rev 674)
+++ trunk/transform/unit-test/transform_IntervatTest.php	2014-01-31 23:15=
:23 UTC (rev 675)
@@ -3,7 +3,7 @@
 /**
  * Testing of class_intervat
  *  phpunit-skelgen --bootstrap bootstrap.php --test -- Intervat ../incl=
ude/class_transform_intervat.php
- * phpunit --bootstrap bootstrap.php transform_IntervatTest.php=20
+ * phpunit  --colors --bootstrap bootstrap.php transform_IntervatTest.ph=
p=20
  * @author dany
  * Expected result
  * @code
@@ -187,10 +187,26 @@
     public function testAppend_declarant()
     {
         $this->object->append_root();
-        $this->object->append_representative($this->representative);
-        $this->object->append_client_listing($this->declarant,array());
+        $dom=3D$this->object->domdoc->createElement("Listing");
+        $this->object->append_declarant($dom,$this->declarant,array());
+        $this->object->domdoc->appendChild($dom);
         $result =3D $this->object->domdoc->saveXML();
-        $this->assertEquals($this->result, $result);
+        $expected=3D'<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
+<ns2:ClientListingConsignment xmlns:ns2=3D"http://www.minfin.fgov.be/Cli=
entListingConsignment" xmlns=3D"http://www.minfin.fgov.be/InputCommon" Cl=
ientListingsNbr=3D"1"/>
+<Listing xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingConsignment=
">
+  <ns2:Declarant xmlns:ns2=3D"http://www.minfin.fgov.be/ClientListingCon=
signment">
+    <VATNumber>0000000097</VATNumber>
+    <Name>Nom Declarant</Name>
+    <Street>Rue du declarant</Street>
+    <PostCode>9999</PostCode>
+    <City>TESTCITY</City>
+    <CountryCode>BE</CountryCode>
+    <EmailAddress>dany@alch.be</EmailAddress>
+    <Phone>000000000</Phone>
+  </ns2:Declarant>
+</Listing>
+';
+        $this->assertEquals($expected, $result);
     }
=20
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


