<?xml version="1.0" encoding="UTF-8" ?>

<contentDocument>

	<element location="B1" type="fill">
		<field base="Common" table="SOCIETE_COMMON" name="TYPE" />
		<field base="Common" table="SOCIETE_COMMON" name="NOM" />
	</element>

	<element location="B2" type="fill">
		<field base="Common" table="SOCIETE_COMMON" name="ID_ADRESSE_COMMON">
			<field base="Common" name="RUE" />
		</field>
	</element>

	<element location="B3" type="fill">
		<field base="Common" table="SOCIETE_COMMON" name="ID_ADRESSE_COMMON">
			<field base="Common" name="VILLE" type="villeCP" />
			<field base="Common" name="VILLE" type="ville" />
		</field>
	</element>
	
	<element location="B5" type="fill">
		<field base="Common" table="SOCIETE_COMMON" name="TYPE"/>
		<field base="Common" table="SOCIETE_COMMON" name="CAPITAL" prefix=" au capital de " suffix="€"/>
	</element>

	<element location="B6" type="fill">
		<field base="Common" table="SOCIETE_COMMON" name="NUM_SIRET" prefix="N° de SIRET "/>
	</element>


	<element location="B7" type="replace" replacePattern="_">
		<field base="Common" table="SOCIETE_COMMON" name="NUM_NII" />
	</element>

	<element location="B8" type="replace" replacePattern="_">
		<field base="Common" table="SOCIETE_COMMON" name="NUM_TEL" />
	</element>

	<element location="B9" type="replace" replacePattern="_">
		<field base="Common" table="SOCIETE_COMMON" name="NUM_FAX" />
	</element>

	<element location="B10" type="replace" replacePattern="_">
		<field base="Common" table="SOCIETE_COMMON" name="MAIL" />
	</element>

	<element location="B13" type="fill">
		<field name="NUMERO" />
	</element>

	<element location="C13" type="fill">
		<field name="DATE" />
	</element>

	<element location="B16" type="fill">
		<field name="NOM" />
	</element>

	<element location="H10" type="fill">
		<field name="ID_CLIENT">
			<field name="FORME_JURIDIQUE" />
			<field name="NOM" />
		</field>
	</element>

	<element location="H11" type="address.customer.invoice.full">
	</element>

	<element location="L63" type="fill">
		<field name="MONTANT_HT" type="devise" />
	</element>

	<element location="L64" type="fill">
		<field name="MONTANT_TVA" type="devise" />
	</element>

	<element location="L65" type="fill">
		<field name="MONTANT_TTC" type="devise" />
	</element>

	<element location="B63" type="fill">
		<field name="ID_MODE_REGLEMENT">
			<field name="ID_TYPE_REGLEMENT">
				<field name="NOM" prefix="Paiement par " valuesExpected="Indéfini" />
			</field>
		</field>
	</element>

	<element location="B64" type="fill">
		<field name="ID_MODE_REGLEMENT">
			<field name="AJOURS" prefix="A " suffix=" jours " valuesExpected="0" />
			<field name="LENJOUR" prefix="Le " valuesExpected="0" type="jour" />
		</field>
	</element>

	<element location="B65" type="fill">
		<field name="DATE" type="DateEcheance" prefix="Réglement de cette facture au plus tard le " valuesExpected=" " />
	</element>

	<table endPageLine="66" firstLine="20" endLine="60" blankLineBeforeStyle="Titre 1" lastColumn="K" base="Societe"
		table="AVOIR_CLIENT_ELEMENT">
		<element location="B" type="fill" cellSize="60">
			<field name="NOM" />
		</element>		

		<element location="I" type="fill">
			<field name="PV_HT" type="devise">
				<exclude value="0.000000"/>
			</field>
		</element>

		<element location="J" type="supplychain.element.qtyunit.short">
		</element>

		<element location="K" type="fill">
			<field name="ID_TAXE" conditionField="PV_HT" conditionExpValue="0.000000">
				<field table="TAXE" name="TAUX" op="/" number="100.0" />
			</field>
		</element>

		<element location="L" type="fill">
			<field name="T_PV_HT" type="devise">
				<exclude value="0.000000"/>
			</field>
		</element>
	</table>
</contentDocument>