.. _lvcontact-ext: LvContact extension =================== The extension defines two new fields for contact objects (they are required only if contact is used as a *registrant* for any domain name). .. _lvcontact_field_regNr: * ``lvcontact:regNr``: for private persons, residents of Latvia, holds their person code (Latvian identification number for individuals); for companies and other legal entities, registered in Latvia keeps registration number issued by the `Latvian Register of Enterprises `_. .. _lvcontact_field_vatNr: * ``lvcontact:vatNr``: VAT number for foreign legal entities registered within European Union countries (this includes also Latvian companies). Contact command ---------------------- Server response MAY have an additional ```` element inside the ```` element if LvContact extension is chosen for the session. ``lvcontact:infData`` will contain one or both of ``lvcontact:vatNr`` / ``lvcontact:regNr`` elements containing person code/registration number and VAT number of the contact respectively. Example of response to command with an ```` element: .. code-block :: xml testholder-12345 CNT-testholder-LVNIC niceppuser +371.12345678 +371.12345678 test.holder@enterprise.lv Gundars Kalns The Latvian Enterprise, LTD Brīvības st.333-1 Rīga LV-1111 LV niceppuser 2011-05-16T13:42:39+03:00 222212222112 LV222212222112 Command completed successfully aWlMyaFZ9aHUwWYabU4N LVNIC-20110517-910b427b21464a07f29393b6cf9721a0-6 Contact command ------------------------ When creating a new person, request frame MAY contain ```` element inside ````. Example below contains field ````. This field is required in order to create LV legal or private person (LV private person is created if field ```` is not present; otherwise a legal person is assumed). Request example: .. code-block :: xml LV5dd5415175896 Person name Organization Inc. Address 1 City lv-1001 LV +31.61234567890 test@test.com 40003014197 5dd541517589a .. note: ``lvcontact:regNr`` can be set only for legal and private persons, registered in Latvia. ``lvcontact:vatNr`` is available only for legal entities. Contact command ------------------------ In a situation where a company should be updated with a VAT number, it can be added via ```` as shown in the example below. Request example: .. code-block :: xml LV5dd5415175896 LV40003014197 5dd5415188f8a Formal specification (XML schema) --------------------------------- The most up to date version of the schema is always available at https://www.nic.lv/epp/schemas/lvcontact-ext-1.0.xsd .. code-block :: xml Extensible Provisioning Protocol v1.0 Extensions for .LV