<?xml version="1.0" encoding="UTF-8"?>
<clientes>
    <cliente>
        <codigo required="S" type="int(11)"/>
        <nombre required="S" type="char(50)"/>
        <grupo required="S" type="char(30)"/>
        <nombre_comercial type="char(40)"/>
        <direccion type="char(100)"/>
        <poblacion type="char(50)"/>
        <provincia type="char(20)"/>
        <pais defaultValue="España" type="char(30)"/>
        <cod_postal type="char(10)"/>
        <nif type="char(30)"/>
        <tlf1 type="char(20)"/>
        <tlf2 type="char(20)"/>
        <fax type="char(20)"/>
        <email type="char(60)"/>
        <persona_contacto type="char(30)"/>
        <observaciones type="char(255)"/>
        <responsable type="char(50)"/>
        <forma_pago type="char(15)"/>
        <dia_pago_1 type="smallint(6)"/>
        <dia_pago_2 type="smallint(6)"/>
        <dia_pago_3 type="smallint(6)"/>
        <dto_especial defaultValue="0.00" type="double(5,2) porcentual dos decimales"/>
        <dto_pronto_pago defaultValue="0.00" type="double(5,2) porcentual dos decimales"/>
        <tipo_dto defaultValue="0" type="smallint(6) 0 a 6 uno de los 6 descuentos previamente definidos en articulos"/>
        <divisa defaultValue="EUR" type="char(20)"/>
        <riesgo_maximo defaultValue="0.00" type="double(12,3)"/>
        <riesgo_alcanzado defaultValue="0.00" type="double(12,3)"/>
        <euros_impagados defaultValue="0.00" type="double(12,3)"/>
        <num_copias_factura defaultValue="0" type="smallint(6)"/>
        <serie_facturas type="char(10)"/>
        <tipo_rappel type="char(3)"/>
        <cuenta_remesas type="char(2)"/>
        <regimen_iva defaultValue="General" type="char(13)"/>
        <transportista type="char(50)"/>
        <check_recargo_equiv defaultValue="N" type="char(1)"/>
        <check_fac_iva_incluido defaultValue="N" type="char(1)"/>
        <check_precio_mayorista defaultValue="N" type="char(1)"/>
        <subcuenta type="char(14)"/>
        <cuenta_ventas type="char(14)"/>
        <cuenta_ventas_servicios type="char(10)"/>
        <zona type="char(50)"/>
        <ruta type="char(20)"/>
        <franquicia type="varchar(50)"/>
        <valoracion type="varchar(20)"/>
        <activo defaultValue="SI" type="varchar(2)"/>
        <intranet_acceso defaultValue="SI" type="varchar(2)"/>
        <intranet_password type="varchar(30)"/>
        <notas type="varchar(255)"/>
        <api_codigo_cliente type="char(10)"/>
        <api_origen_cliente type="char(10)"/>
        <fecha_alta defaultValue="currentDate()" required="S" type="date"/>
        <mandato type="char(35)"/>
        <mandato_fecha type="date"/>
        <tipo_documento type="varchar(20)"/>
        <check_facturas_simplificadas defaultValue="N" type="char(1)"/>
    </cliente>
</clientes>
