Formularz: F-AdOPP e-file Faktura 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>34520427</typ>
              <dataDod>[opcjonalne: data dodania jako timestamp w milisekundach]</dataDod>
              <dataMod>[opcjonalne: data modyfikacji jako timestamp w milisekundach]</dataMod>
              <invoice_number>[Pole tekstowe]</invoice_number>
              <issue_city>[Miejscowość wypełnienia]</issue_city>
              <issue_date>[Data wypełnienia]</issue_date>
              <delivery_date>[data]</delivery_date>
              <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>
              <invoice_title>[Pole tekstowe]</invoice_title>
              <brutto_amount>[Pole kwoty]</brutto_amount>
              <netto_amount>[Pole kwoty]</netto_amount>
              <vat_amount>[Pole kwoty]</vat_amount>
              <payee_bank_name>[Pole tekstowe]</payee_bank_name>
              <payee_account>[Pole tekstowe]</payee_account>
              <desc>[Pole tekstowe]</desc>

            </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>F-AdOPP e-file</title>
          <id>647394756</id>
          <forms type="Array">
            <item type="com.efile.data.FormFields">
              <typ>34520427</typ>
              <dataDod>1374565725382</dataDod>
              <dataMod>1374565725382</dataMod>
              <invoice_number>test pola tekstowego</invoice_number>
              <issue_city>Poznań</issue_city>
              <issue_date>30-10-2014</issue_date>
              <delivery_date>30-10-1990</delivery_date>
              <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>
              <invoice_title>test pola tekstowego</invoice_title>
              <brutto_amount>10</brutto_amount>
              <netto_amount>10</netto_amount>
              <vat_amount>10</vat_amount>
              <payee_bank_name>test pola tekstowego</payee_bank_name>
              <payee_account>test pola tekstowego</payee_account>
              <desc>test pola tekstowego</desc>

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