Formularz: RK-AdOPP e-file Raport końcowy AdOPP e-file

Pola

  • Pola typu String: dowolny ciąg znaków, znaki specjalne powinny być zapisane za pomocą encji HTML (np znaki < > to odpowiednio < oraz >
  • Pola typu Number: dozwolone znaki to cyfry 0-9 oraz separator dziesiętny (kropka)
  • Pola typu Boolean: wartości logiczne true/false
  • Pola daty: data zapisana w formacie timestamp w milisekundach lub w formacie rrrr-mm-dd, na przykład 1976-11-10.
  • Format znaków to UTF-8

Bazy kodów

Tabele kodów krajów, US etc.

Podstawowa struktura:

Wzór pliku:

<data type="com.efile.importer.ImportData">
  <Profiles type="Array">
    <item type="com.efile.data.DBProfile">
      <FormsList type="Array">
        <item type="com.efile.data.DBForm">
          <title>[nazwa formularza na liście moich formularzy]</title>
          <id>[opcjonalne: id wypełnionego formularza, jeśli będzie już taki wpisany w profilu to zostanie nadpisany, musi być unikalny w zakresie profilu, do którego jest importowany]</id>
          <forms type="Array">
            <item type="com.efile.data.FormFields">
              <typ>34540544</typ>
              <dataDod>[opcjonalne: data dodania jako timestamp w milisekundach]</dataDod>
              <dataMod>[opcjonalne: data modyfikacji jako timestamp w milisekundach]</dataMod>
              <supplier_name>[Pole tekstowe]</supplier_name>
              <customer_name>[pole wielowierszowe]</customer_name>
              <supplier_street_building>[Pole tekstowe]</supplier_street_building>
              <supplier_postal_city>[Pole tekstowe]</supplier_postal_city>
              <customer_street_building>[Pole tekstowe]</customer_street_building>
              <supplier_vat_no>[Pole tekstowe]</supplier_vat_no>
              <customer_postal_city>[Pole tekstowe]</customer_postal_city>
              <supplier_email>[Pole tekstowe]</supplier_email>
              <customer_vat_no>[Pole tekstowe]</customer_vat_no>
              <customer_krs>[Pole tekstowe]</customer_krs>
              <year>[Pole tekstowe]</year>
              <sum_payments>[Pole kwoty]</sum_payments>
              <sum_costs>[Pole kwoty]</sum_costs>
              <payback_amount>[Pole kwoty]</payback_amount>
              <send_count>[Pole integer - wartość liczbowa]</send_count>
              <revenue_amount>[Pole kwoty]</revenue_amount>
              <revenue_percent>[Pole kwoty]</revenue_percent>

            </item>
          </forms>
        </item>
        <item type="com.efile.data.DBForm">
          <forms type="Array">
            <item type="com.efile.data.FormFields">
              [... kolejny formularz ...]
            </item>
          </forms>
          <title>[nazwa formularza na liście moich formularzy]</title>
        </item>
    
      </FormsList>
    </item>
  </Profiles>
</data>

Przykład pliku:

<data type="com.efile.importer.ImportData">
  <Profiles type="Array">
    <item type="com.efile.data.DBProfile">
      <FormsList type="Array">
        <item type="com.efile.data.DBForm">
          <title>RK-AdOPP e-file</title>
          <id>647394756</id>
          <forms type="Array">
            <item type="com.efile.data.FormFields">
              <typ>34540544</typ>
              <dataDod>1374565725382</dataDod>
              <dataMod>1374565725382</dataMod>
              <supplier_name>test pola tekstowego</supplier_name>
              <customer_name>to jest pole wielowierszowe</customer_name>
              <supplier_street_building>test pola tekstowego</supplier_street_building>
              <supplier_postal_city>test pola tekstowego</supplier_postal_city>
              <customer_street_building>test pola tekstowego</customer_street_building>
              <supplier_vat_no>test pola tekstowego</supplier_vat_no>
              <customer_postal_city>test pola tekstowego</customer_postal_city>
              <supplier_email>test pola tekstowego</supplier_email>
              <customer_vat_no>test pola tekstowego</customer_vat_no>
              <customer_krs>test pola tekstowego</customer_krs>
              <year>test pola tekstowego</year>
              <sum_payments>10</sum_payments>
              <sum_costs>10</sum_costs>
              <payback_amount>10</payback_amount>
              <send_count>10</send_count>
              <revenue_amount>10</revenue_amount>
              <revenue_percent>10</revenue_percent>

            </item>
          </forms>
        </item>    
      </FormsList>
    </item>
  </Profiles>
</data>