i-effect Manual
German English
German English

Database structure

The tables of the database structure for e-invoices are structured as follows in i-effect. Based on the header information of an invoice document, the following structures can be found at the respective levels.

Main level

Subordinate level 1

Subordinate level 2

Description

ZF23INVHT



Header data of the invoice


ZF23INVTX


Texts for the document header (TXREF = 0)


ZF23INVID


Identifications of the partners involved (IDREF = 0)


ZF23INVPD


Previous documents of the invoice (PDKEY = ZF23INVHT.HTKEY and PDTYPE = 0 and PDREF = 0)


ZF23INVDP


Details on the partners involved (DPREF = 0)


ZF23INVAI


Addresses of participating partners (AIREF = 0)


ZF23INVAC


Surcharges and discounts to the document header (ACREF =0)


ZF23INVDR


Document references at header level (DRREF = 0)


ZF23INVIDT


Tax identifications (IDTREF = 0)


ZF23INVBR


Header-level booking reference (BRREF = 0)


ZF23INVAP


Advance payments (APKEY = ZF23INVHT.HTKEY, sorted by APREF)



ZF23INVPD

Invoice of the advance payment (PDKEY = ZF23INVHT.HTKEY and PDTYPE = 1 and PDREF = sequence number of the advance payment: 1, 2, 3 … in the order of APREF)



ZF23INVTI

Taxes of the advance payment (TIKEY = ZF23INVHT.HTKEY and TITYPE = 3 and TIREF = sequence number of the advance payment)


ZF23INVDM


Shipping methods


ZF23INVPIR


Previous invoices (PIRREF = 0)


ZF23INVPT


Payment methods


ZF23INVSC


Service charges


ZF23INVTP


Terms of payment


ZF23INVTPC


Third party charges, from ZUGFeRD 2.5 (TPCKEY = ZF23INVHT.HTKEY)


ZF23INVTPP


Payments


ZF23INVUDR


Order references at header level (UDRREF = 0)


ZF23INVPI


Position data



ZF23INVTX

Texts for document item (TXKEY = ZF23INVHT.HTKEY and TXREF = ZF23INVPI.PILFD)



ZF23INVPP

Product Characteristics (PPKEY = ZF23INVHT.HTKEY and PPREF = ZF23INVPI.PILFD)



ZF23INVPC

Product Classification (PCKEY = ZF23INVHT.HTKEY and PCREF = ZF23INVPI.PILFD)



ZF23INVAC

Surcharges and discounts for document items (ACKEY = ZF23INVHT.HTKEY and ACREF = ZF23INVPI.PILFD and ACTYPE = 2)



ZF23INVAC

Surcharges and discounts for document items (ACKEY = ZF23INVHT.HTKEY and ACREF = ZF23INVPI.PILFD and ACTYPE = 1)



ZF23INVTI

Taxes on document item (TIKEY = ZF23INVHT.HTKEY and TIREF = ZF23INVPI.PILFD)



ZF23INVDR

Document references at item level (DRKEY = ZF23INVHT.HTKEY and DRREF = ZF23INVPI.PILFD and DRTYPE = 2)



ZF23INVBR

Booking reference at item level (BRKEY = ZF23INVHT.HTKEY and BRREF = ZF23INVPI.PILFD)



ZF23INVIP

Products included (IPKEY = ZF23INVHT.HTKEY and IPREF = ZF23INVPI.PILFD)



ZF23INVUDR

Order references at item level (UDRKEY = ZF23INVHT.HTKEY and UDRREF = ZF23INVPI.PILFD)



ZF23INVPN

Product instances: batch ID and serial number, from i-effect 3.1.19 (PNKEY = ZF23INVHT.HTKEY and PNREF = ZF23INVPI.PILFD)