Hello Pierre, 

great! Below you find my data for TA and TA parties.

The thinking beind the partyId, is that I used the GeoId as prefix. With
that way I can find the corresponding tax authority party Id with the
country the customer choosed within the registration, and than I add simply
the suffix. on the fly that was the only possibility I saw to find the
connection to the tax authority party Id, because it can happen that for one
country more than one authorities are available. another possibility would
be a mapping with a property file, but I wanted a fast solution for testing
:)

data:

<PartyRole partyId="EST_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="EST_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="EST" taxIdFormatPattern=""/>

<Party partyId="FRA_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="FRA_VAT_AGEN" groupName="Steuerbehörde FR"/>
<PartyRole partyId="FRA_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="FRA_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="FRA" taxIdFormatPattern=""/>

<Party partyId="GRC_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="GRC_VAT_AGEN" groupName="Steuerbehörde EL
(Griechenland)"/>
<PartyRole partyId="GRC_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="GRC_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="GRC" taxIdFormatPattern=""/>

<Party partyId="IRL_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="IRL_VAT_AGEN" groupName="Steuerbehörde IE"/>
<PartyRole partyId="IRL_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="IRL_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="IRL" taxIdFormatPattern=""/>

<Party partyId="ITA_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="ITA_VAT_AGEN" groupName="Steuerbehörde IT"/>
<PartyRole partyId="ITA_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="ITA_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="ITA" taxIdFormatPattern=""/>

<Party partyId="HRV_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="HRV_VAT_AGEN" groupName="Steuerbehörde HR (Kroatien)"/>
<PartyRole partyId="HRV_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="HRV_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="HRV" taxIdFormatPattern=""/>

<Party partyId="LVA_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="LVA_VAT_AGEN" groupName="Steuerbehörde LV (Lettland)"/>
<PartyRole partyId="LVA_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="LVA_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="LVA" taxIdFormatPattern=""/>

<Party partyId="LTU_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="LTU_VAT_AGEN" groupName="Steuerbehörde LT (Litauen)"/>
<PartyRole partyId="LTU_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="LTU_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="LTU" taxIdFormatPattern=""/>

<Party partyId="LUX_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="LUX_VAT_AGEN" groupName="Steuerbehörde LU"/>
<PartyRole partyId="LUX_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="LUX_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="LUX" taxIdFormatPattern=""/>

<Party partyId="MLT_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="MLT_VAT_AGEN" groupName="Steuerbehörde MT (Malta)"/>
<PartyRole partyId="MLT_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="MLT_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="MLT" taxIdFormatPattern=""/>

<Party partyId="POL_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="POL_VAT_AGEN" groupName="Steuerbehörde PL"/>
<PartyRole partyId="POL_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="POL_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="POL" taxIdFormatPattern=""/>

<Party partyId="PRT_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="PRT_VAT_AGEN" groupName="Steuerbehörde PT (Portugal)"/>
<PartyRole partyId="PRT_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="PRT_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="PRT" taxIdFormatPattern=""/>

<Party partyId="ROU_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="ROU_VAT_AGEN" groupName="Steuerbehörde RO"/>
<PartyRole partyId="ROU_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="ROU_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="ROU" taxIdFormatPattern=""/>

<Party partyId="SWE_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="SWE_VAT_AGEN" groupName="Steuerbehörde SE"/>
<PartyRole partyId="SWE_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="SWE_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="SWE" taxIdFormatPattern=""/>

<Party partyId="SVK_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="SVK_VAT_AGEN" groupName="Steuerbehörde SK"/>
<PartyRole partyId="SVK_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="SVK_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="SVK" taxIdFormatPattern=""/>

<Party partyId="SVN_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="SVN_VAT_AGEN" groupName="Steuerbehörde SI
(Slowenien)"/>
<PartyRole partyId="SVN_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="SVN_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="SVN" taxIdFormatPattern=""/>

<Party partyId="ESP_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="ESP_VAT_AGEN" groupName="Steuerbehörde ES"/>
<PartyRole partyId="ESP_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="ESP_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="ESP" taxIdFormatPattern=""/>

<Party partyId="CZE_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="CZE_VAT_AGEN" groupName="Steuerbehörde CZ"/>
<PartyRole partyId="CZE_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="CZE_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="CZE" taxIdFormatPattern=""/>

<Party partyId="HUN_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="HUN_VAT_AGEN" groupName="Steuerbehörde HU"/>
<PartyRole partyId="HUN_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="HUN_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="HUN" taxIdFormatPattern=""/>

<Party partyId="CYP_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="CYP_VAT_AGEN" groupName="Steuerbehörde CY"/>
<PartyRole partyId="CYP_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="CYP_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="CYP" taxIdFormatPattern=""/>

<Party partyId="FIN_VAT_AGEN" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="EUR" statusId="PARTY_ENABLED"
createdDatetime="2013-07-12 00:00:00.000"/>
<PartyGroup partyId="FIN_VAT_AGEN" groupName="Steuerbehörde FI"/>
<PartyRole partyId="FIN_VAT_AGEN" roleTypeId="TAX_AUTHORITY"/>
<TaxAuthority taxAuthPartyId="FIN_VAT_AGEN" includeTaxInPrice="N"
requireTaxIdForExemption="Y" taxAuthGeoId="FIN" taxIdFormatPattern=""/>





--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/German-store-with-vat-selling-to-europe-and-other-countries-without-Vat-tp4642750p4642785.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to