Skip to main content
Skip table of contents

Fill database interface with your data

If you want to create ZUGFeRD PDF Files, then fill the Tables below with your data. If you need help filling the Tables, please contact our Support.


ZUGFeRD Codelist is required!

Some table columns require codes from the ZUGFeRD Codeliste, please use the ZUGFeRD-Format-Codelist.pdf.

Table ZFINVOICHT , Header Information

Column name

Column definitionColumn description
HTKEYVARCHAR(15)Internal Pagination Number
HTLFD GENERATED ALWAYS AS IDENTITY 
HTPDFVARCHAR(200)PDF Name
HTNTESTCHVARCHAR(10)Test indicator
HTNPROCESSVARCHAR(255)Process type
HTNAPPREFVARCHAR(255)Application reference
HTLLNGVARCHAR(3)

Language key,

de = German

fr = French

en = English

es = Spanish

HTNDOCNRVARCHAR(35)Document number
HTNDOCTCVARCHAR(255)Document Type(Free text)
HTNDOCTVARCHAR(35)

 Document type (Code),

        380 = Commercial invoice    

   381 = Credit note display

83  = Value credit     

84  = Value exposure

HTNDOCDDATE '0001-01-01'

Document date

HTNMSGFUNCVARCHAR(1)

Indicator Original/Copy

7 = Copy

9 = Original

HTNPAYDDATE '0001-01-01'Payment date
HTGBYREFVARCHAR(35)Buyer reference
HTGSEIDVARCHAR(35)Identifier of the Seller
HTGSEGLNVARCHAR(35)Global identifier of the Seller
HTGSENAMEVARCHAR(255)Company/Name of the Seller
HTGSECTVARCHAR(50)Contact Name of the Seller
HTGSECTDVARCHAR(50)Department name of the Seller
HTGSETEVARCHAR(50)Phone number of the Seller
HTGSEFXVARCHAR(50)Fax number of the Seller
HTGSEEMVARCHAR(200)Mail adress of the Seller
HTGSEZIPVARCHAR(10)ZIP Code of the Seller
HTGSEAD1VARCHAR(50)Adress line 1 of the Seller
HTGSEAD2VARCHAR(50)Adress line 2 of the Seller
HTGSELCVARCHAR(50)City of the Seller
HTGSECRVARCHAR(3)Country ISO of the Seller
HTGSETAXVARCHAR(35)Taxnumber of the Seller
HTGSETAXTVARCHAR(35)USTid of the Seller
HTGBYIDVARCHAR(35)Identifier of the Buyer
HTGBYGLNVARCHAR(35)Global identifier of the Buyer
HTGBYNAMEVARCHAR(255)Company/Name of the Buyer
HTGBYCTVARCHAR(50)Contact Name of the Buyer
HTGBYCTDVARCHAR(50)Department name of the Buyer
HTGBYTEVARCHAR(50)Phone number of the Buyer
HTGBYFXVARCHAR(50)Fax number of the Buyer
HTGBYEMVARCHAR(200)Mail adress of the Buyer
HTGBYZIPVARCHAR(10)ZIP Code of the Buyer
HTGBYAD1VARCHAR(50)Adress line 1 of the Buyer
HTGBYAD2VARCHAR(50)Adress line 2 of the Buyer
HTGBYLCVARCHAR(50)City of the Buyer
HTGBYCRVARCHAR(3)Country ISO of the Buyer
HTGBYTAXVARCHAR(35)Taxnumber of the Buyer
HTGBYTAXTVARCHAR(35)USTid of the Buyer
HTGUDIDVARCHAR(35)Identifier of the deviating end user
HTGUDGLNVARCHAR(35)Global identifier of the deviating end user
HTGUDNAMEVARCHAR(255)Company/Name of the deviating end user
HTGUDCTVARCHAR(50)Contact Name of the deviating end user
HTGUDCTDVARCHAR(50)Department name of the deviating end user
HTGUDTEVARCHAR(50)Phone number of the deviating end user
HTGUDFXVARCHAR(50)Fax number of the deviating end user
HTGUDEMVARCHAR(200)Mail adress of the deviating end user
HTGUDZIPVARCHAR(10)ZIP Code of the deviating end user
HTGUDAD1VARCHAR(50)Adress line 1 of the deviating end user
HTGUDAD2VARCHAR(50)Adress line 2 of the deviating end user
HTGUDLCVARCHAR(50)City of the deviating end user
HTGUDCRVARCHAR(4)Country ISO of the deviating end user
HTGUDTAXVARCHAR(35)Taxnumber of the deviating end user
HTGUDTAXTVARCHAR(35)USTid of the deviating end user
HTGDPTERMVARCHAR(3)Delivery Conditions (CODE)
HTGORDERDTIMESTAMPDate of order
HTGORDERNRVARCHAR(35)Order number
HTGCONTRDTIMESTAMPDate of agreement
HTGCONTRNRVARCHAR(35)Agreement number
HTGDOCDTIMESTAMPDate of Document
HTGDOCTCVARCHAR(3)Type of referenced Document
HTGDOCNRVARCHAR(35)Document number
HTGCORDDTIMESTAMPDate of Costumer order
HTGCORDNRVARCHAR(35)Customer order number
HTLSHIPTVARCHAR(3)Delivery service (Code)
HTLSHIPNRVARCHAR(35)Shipment load reference number
HTLSHIPNRTVARCHAR(10)Type of identification number
HTLWRDIDVARCHAR(35)Identifier of the were recipients
HTLWRDGLNVARCHAR(35)Global identifier of the were recipients
HTLWRDRECVARCHAR(255)Company/Name of the were recipients
HTLWRDCNVARCHAR(50)Contact Name of the were recipients
HTLWRDDNVARCHAR(50)Department name of the were recipients
HTLWRDTELVARCHAR(50)Phone number of the were recipients
HTLWRDFAXVARCHAR(50)Fax number of the were recipients
HTLWRDMAILVARCHAR(200)Mail adress of the were recipients
HTLWRDPLZVARCHAR(10)ZIP Code of the were recipients
HTLWRDAD1VARCHAR(50)Adress line 1 of the were recipients
HTLWRDAD2VARCHAR(50)Adress line 2 of the were recipients
HTLWRDCITYVARCHAR(50)City of the were recipients
HTLWRDLCVARCHAR(4)Country ISO of the were recipients
HTLWRDSNRVARCHAR(35)Taxnumber of the were recipients
HTLWRDASNRVARCHAR(35)USTid of the were recipients
HTLFRDIDVARCHAR(35)Identifier of the final recipient
HTLFRDGLNVARCHAR(35)Global identifier of the final recipient
HTLFRDRECVARCHAR(255)Company/Name of the final recipient
HTLFRDCNVARCHAR(50)Contact Name of the final recipient
HTLFRDDNVARCHAR(50)Department name of the final recipient
HTLFRDTELVARCHAR(50)Phone number of the final recipient
HTLFRDFAXVARCHAR(50)Fax number of the final recipient
HTLFRDMAILVARCHAR(200)Mail adress of the final recipient
HTLFRDPLZVARCHAR(10)ZIP Code of the final recipient
HTLFRDAD1VARCHAR(50)Adress line 1 of the final recipient
HTLFRDAD2VARCHAR(50)Adress line 2 of the final recipient
HTLFRDCITYVARCHAR(50)City of the final recipient
HTLFRDLCVARCHAR(4)Country ISO of the final recipient
HTLFRDSNRVARCHAR(35)Taxnumber of the final recipient
HTLFRDASNRVARCHAR(35)USTid of the final recipient
HTLCDIDVARCHAR(35)Identifier of the consignor
HTLCDGLNVARCHAR(35)Global identifier of the consignor
HTLCDRECVARCHAR(255)Company/Name of the consignor
HTLCDCNVARCHAR(50)Contact Name of the consignor
HTLCDDNVARCHAR(50)Department name of the consignor
HTLCDTELVARCHAR(50)Phone number of the consignor
HTLCDFAXVARCHAR(50)Fax number of the consignor
HTLCDMAILVARCHAR(200)Mail adress of the consignor
HTLCDPLZVARCHAR(10)ZIP Code of the consignor
HTLCDAD1VARCHAR(50)Adress line 1 of the consignor
HTLCDAD2VARCHAR(50)Adress line 2 of the consignor
HTLCDCITYVARCHAR(50)City of the consignor
HTLCDLCVARCHAR(4)Country ISO of the consignor
HTLCDSNRVARCHAR(35)Taxnumber of the consignor
HTLCDASNRVARCHAR(35)USTid of the consignor
HTLDTDDATE '0001-01-01'Actual Delivery Time
HTLDALDTIMESTAMPDate of Despatch advice
HTLDANRVARCHAR(25)Despatch advice number
HTLDLSDTIMESTAMPDate of Delivery Note
HTLDLSNRVARCHAR(35)Delivery Note number
HTZGPZRVARCHAR(200)Intended purpose
HTZGPCVARCHAR(5)Currency
HTZIRDREIDVARCHAR(35)Identifier of the Invoice recipient
HTZIRDGLNVARCHAR(35)Global identifier of the Invoice recipient
HTZIRDRECVARCHAR(255)Company/Name of the Invoice recipient
HTZIRDCNVARCHAR(50)Contact Name of the Invoice recipient
HTZIRDDNVARCHAR(50)Department name of the Invoice recipient
HTZIRDTELVARCHAR(50)Phone number of the Invoice recipient
HTZIRDFAXVARCHAR(50)Fax number of the Invoice recipient
HTZIRDMAILVARCHAR(200)Mail adress of the Invoice recipient
HTZIRDEPLZVARCHAR(10)ZIP Code of the Invoice recipient
HTZIRDAD1VARCHAR(50)Adress line 1 of the Invoice recipient
HTZIRDAD2VARCHAR(50)Adress line 2 of the Invoice recipient
HTZIRDCITYVARCHAR(50)City of the Invoice recipient
HTZIRDLLCVARCHAR(4)Country ISO of the Invoice recipient
HTZIRDSNRVARCHAR(35)Taxnumber of the Invoice recipient
HTZIRDASNRVARCHAR(35)USTid of the Invoice recipient
HTZPRDREIDVARCHAR(35)Identifier of the Payment Receiver
HTZPRDGLNVARCHAR(35)Global identifier of the Payment Receiver
HTZPRDRECVARCHAR(255)Company/Name of the Payment Receiver
HTZPRDCNVARCHAR(50)Contact Name of the Payment Receiver
HTZPRDDNVARCHAR(50)Department name of the Payment Receiver
HTZPRDTELVARCHAR(50)Phone number of the Payment Receiver
HTZPRDFAXVARCHAR(50)Fax number of the Payment Receiver
HTZPRDMAILVARCHAR(200)Mail adress of the Payment Receiver
HTZPRDPLZVARCHAR(10)ZIP Code of the Payment Receiver
HTZPRDAD1VARCHAR(50)Adress line 1 of the Payment Receiver
HTZPRDAD2VARCHAR(50)Adress line 2 of the Payment Receiver
HTZPRDCITYVARCHAR(50)City of the Payment Receiver
HTZPRDLLCVARCHAR(4)Country ISO of the Payment Receiver
HTZPRDSNRVARCHAR(35)Taxnumber of the Payment Receiver
HTZPRDASNRVARCHAR(35)USTid of the Payment Receiver
HTZPAYTYPVARCHAR(5)Payment Type
HTZPAYFTVARCHAR(200)Free text for payment method
HTZPAYMIDVARCHAR(15)mandate reference
HTZPAYGIDVARCHAR(15)Creditor ID
HTZBUYIBANVARCHAR(25)IBAN
HTZBUYFANRVARCHAR(25)Account number
HTZSELIBANVARCHAR(45)IBAN
HTZSELFANVARCHAR(25)Account name
HTZSELFANRVARCHAR(25)Account number
HTZBUYBBICVARCHAR(15)BIC
HTZBUYBLZVARCHAR(15)Bank identification code
HTZBUYBNVARCHAR(50)Bank name
HTZSELBBICVARCHAR(15)BIC
HTZSELBLZVARCHAR(15)Bank identification code
HTZSELBNVARCHAR(50)Bank name
HTZBILLBPVARCHAR(15)Beginning of the accounting period
HTZBILLBPFVARCHAR(3)Date Format
HTZBILLEPVARCHAR(15)End of the accounting period
HTZBILLEPFVARCHAR(3)Date Format
HTZSERVIVARCHAR(200)Identification of the Service charge
HTZSERVFDECIMAL(15, 2)Amount of the Service charge
HTZSERVTKVARCHAR(5)Type of Tax (Code)
HTZSERVTCAVARCHAR(2)Tax category
HTZSERVTCUDECIMAL(6, 2)Tax rate
HTZPATFTVARCHAR(200)Freetext of the terms of payment
HTZPAMDDATE '0001-01-01'Due Date
HTZPAHADECIMAL(15, 2)Amount of instalment
HTZPAPTDDATE '0001-01-01'Refernce Date of maturity
HTZPAPTMPINTMaturity period
HTZPAPTMPUVARCHAR(10)Maturity period, (Unit)
HTZPAPTBADECIMAL(15, 2)Basic amount of Payment surcharge
HTZPAPTPVDECIMAL(6, 2)Percentage of payment surcharge
HTZPAPTAPMDECIMAL(15, 2)Amount of Payment surcharge
HTZPADTDDATE '0001-01-01'Refernce Date of maturity
HTZPADTMPINTMaturity period
HTZPADTMPUVARCHAR(10)Maturity period, (Unit)
HTZPADTBADECIMAL(15, 2)Basic amount of Payment surcharge
HTZPADTPVINTPercentage of payment surcharge
HTZPADTAPMDECIMAL(15, 2)Amount of Payment surcharge
HTZTSMSLTDECIMAL(15, 2)Total amount of positions
HTZTSMSCTDECIMAL(15, 2)Total amount of surcharges
HTZTSMSATDECIMAL(15, 2)Total amounts of discounts
HTZTSMSTBTDECIMAL(15, 2)Tax basic amount
HTZTSMSTTDECIMAL(15, 2)Tax total amount
HTZTSMSGTDECIMAL(15, 2)Gross amount
HTZTSMSTPDECIMAL(15, 2)Deposit amount
HTZTSMSDPDECIMAL(15, 2)Payment amount
HTZTAAIIVARCHAR(25)Booking reference
HTSTATEVARCHAR(1)

State of Order

Emty String = Not Finished

1 = Finished

 

Table ZFINVOICTX , Bill Texts(Head / Positions)


Column nameColumn definitionColumn description
TXKEYVARCHAR(15)Internal pagination number
TXLFDDECIMAL(5, 0)

Current Number

   0 = Belegkopf/Fuss

TXPOSDECIMAL(5, 0)

Textline number

TXQKEYVARCHAR(3)

Qualification of the text

TXTEXTVARCHAR(255)Free text
TXQKEYTVARCHAR(3)Qualification of text type


Table ZFINVOICAC , Surcharges/Deductions(Head / Positions)

Column nameColumn definitionColumn description
ACKEYVARCHAR(15)Internal pagination number
ACLFDDECIMAL(5, 0)

Current Number

   0 = Belegkopf/Fuss

ACPOSDECIMAL(5, 0)Line Number
ACATAXCVARCHAR(5)Allowance Charge Identifier for Gross or Net Price
ACTACIVARCHAR(5)Switch for Sur/deduction
ACTACSVARCHAR(1)Calculation Order
ACTACPDECIMAL(6, 2)Discount Percentage
ACTACBADDECIMAL(15, 4)Basic amount of discount
ACTACBQDECIMAL(15, 4)Base quantity of discount
ACTTEACBPUVARCHAR(10)UNIT pricing Base
ACTACBADECIMAL(15, 2)Amount of Sur/deduction
ACTACRCVARCHAR(5)Reason of Sur/deduction(Code)
ACTACRFVARCHAR(200)Reason of Sur/deduction(Free text)
ACTRATKVARCHAR(5)Tax type(Code)
ACTRATCVARCHAR(2)Tax category
ACTRATPCDECIMAL(6, 2)Percentage


Table ZFINVOICPI , Positions

Column nameColumn definitionColumn description
PIKEYVARCHAR(15)

Internal pagination number

PILFDDECIMAL(5, 0)Position number
PIDOIDTOTIMESTAMPOrder date
PIDOLIOINTOrder position
PIDOIIOVARCHAR(35)Order number
PICOIDTCTIMESTAMPContract date
PICOLICINTContract position
PICOIICVARCHAR(5)Contract number
PIGPCADECIMAL(15, 4)Gross price
PIGPBQINTPrice base amount
PIGPBQUVARCHAR(35)Type of Price base amount
PINPCADECIMAL(15, 4)Net price
PINPBQINTPrice base amount
PINPBQUVARCHAR(5)Type of Price base amount
PIDOIDECTIMESTAMPOrder date
PIDOLICEINTOrder position
PIDOIICEVARCHAR(35)Order number
PIDPTDBQDECIMAL(15, 4)Amount, calculated
PIDPTDBQUVARCHAR(5)Unit of measurement
PIDPTDCFQDECIMAL(15, 4)Amount, not calculated
PIDPTDCFQUVARCHAR(5)Unit of measurement
PIDPTDPQINTNumber of packages
PIDPTDPQUVARCHAR(5)Unit of measurement
PIWRDIDVARCHAR(35)Identifier of the were recipients
PIWRDGLNVARCHAR(35)Global identifier of the were recipients
PIWRDRECVARCHAR(255)Company/Name of the were recipients
PIWRDCNVARCHAR(50)Contact Name of the were recipients
PIWRDDNVARCHAR(50)Department name of the were recipients
PIWRDTELVARCHAR(50)Phone number of the were recipients
PIWRDFAXVARCHAR(50)Fax number of the were recipients
PIWRDMAILVARCHAR(200)Mail adress of the were recipients
PIWRDPLZVARCHAR(10)ZIP Code of the were recipients
PIWRDAD1VARCHAR(50)Adress line 1 of the were recipients
PIWRDAD2VARCHAR(50)Adress line 2 of the were recipients
PIWRDCITYVARCHAR(50)City of the were recipients
PIWRDLCVARCHAR(4)Country ISO of the were recipients
PIWRDSNRVARCHAR(35)Taxnumber of the were recipients
PIWRDASNRVARCHAR(35)USTid of the were recipients
PIFRDIDVARCHAR(35)Identifier of the final recipient
PIFRDGLNVARCHAR(35)Global identifier of the final recipient
PIFRDRECVARCHAR(255)Company/Name of the final recipient
PIFRDCNVARCHAR(50)Contact Name of the final recipient
PIFRDDNVARCHAR(50)Department name of the final recipient
PIFRDTELVARCHAR(50)Phone number of the final recipient
PIFRDFAXVARCHAR(50)Fax number of the final recipient
PIFRDMAILVARCHAR(200)Mail adress of the final recipient
PIFRDPLZVARCHAR(10)ZIP Code of the final recipient
PIFRDAD1VARCHAR(50)Adress line 1 of the final recipient
PIFRDAD2VARCHAR(50)Adress line 2 of the final recipient
PIFRDCITYVARCHAR(50)City of the final recipient
PIFRDLCVARCHAR(4)Country ISO of the final recipient
PIFRDSNRVARCHAR(35)Taxnumber of the final recipient
PIFRDASNRVARCHAR(35)USTid of the final recipient
PIDELTDDATE '0001-01-01'Actual Delivery Time
PIDALDTIMESTAMPDate of Despatch advice
PIDALIINTDespatch advice position
PIDANRVARCHAR(35)Despatch advice number
PIGRIDCTIMESTAMPGood receipt date
PIGRDLIINTGood receipt positon
PIGRIIVARCHAR(35)Good receipt number
PIDNIDCTIMESTAMPDate of Delivery Note
PIDNDLIINTDelivery Note position
PIDNDIIVARCHAR(35)Delivery Note number
PITAXCADECIMAL(15, 2)Tax amount
PITAXTCVARCHAR(5)Type of Tax
PITAXERTVARCHAR(255)Reason for tax exemption
PITAXCCVARCHAR(2)Tax category
PITAXAPDECIMAL(6, 2)Tax percent
PIAPSDTVARCHAR(15)Beginning of the accounting period
PIAPSDTFVARCHAR(3)Date Format
PIAPEDTVARCHAR(15)End of the accounting period
PIAPEDTFVARCHAR(3)Date Format
PIBRVARCHAR(35)Booking reference
PIPSTADECIMAL(15, 2)Total amount of position
PIPSTACADECIMAL(15, 2)Total amount of position increases and reductions
PIPPPGICVARCHAR(35)Global identifier of the Product
PIPPPSAIIVARCHAR(35)Product number of the Seller
PIPPPBAIIVARCHAR(35)Product number of the Buyer
PIPPPNTVARCHAR(255)Product name
PIPPPDTVARCHAR(255)Product description
PIPHCIICVARCHAR(3)Country of product origin (Code)

Table ZFINVOICDR , Document Referenz

Column nameColumn definitionColumn description
DRKEYVARCHAR(15)Internal pagination number
DRLFDDECIMAL(5, 0)Current Number
DRDOIDTDTIMESTAMPDocument date
DRDOLIDINTReferenced position
DRDOLICINTDocument number
DRDORTVARCHAR(10)Type of referenced Document


Table ZFINVOICPP , Article Properties

Column nameColumn definitionColumn description
PPKEYVARCHAR(15)Internal pagination number
PPLFDDECIMAL(5, 0)Position Number
PPPOSDECIMAL(5, 0)Line Number
PPCTCVARCHAR(35)Type of Product feature(Code)
PPCDTVARCHAR(200)Type of Product feature(free text)
PPCVMINTValue of Product property(numerical measured variable)
PPCVMCVARCHAR(3)Unit of measurement
PPCVTVARCHAR(200)Value of Product property(text)

Table ZFINVOICPC , Article Classification

Column nameColumn definitionColumn description
PCKEYVARCHAR(15)Internal pagination number
PCLFD DECIMAL(5, 0)Current Number
PCPOS DECIMAL(5, 0)Position Number
PCCCCVARCHAR(35)Classification of the Product(Code)
PCCCIVARCHAR(25)Name of Product Classification
PCCCVIVARCHAR(4)Version of Product Classification
PCCCNTVARCHAR(200)Classification of the Product(free text)


Table ZFINVOICIP , Included Articles

Column nameColumn definitionColumn description
IPKEY VARCHAR(15)Internal pagination number
IPLFD DECIMAL(5, 0)Current Number
IPPOS DECIMAL(5, 0)Position Number
IPPGICVARCHAR(35)Global identifier of the Product
IPPSAICVARCHAR(35)SKU Seller
IPPBAICVARCHAR(35)SKU Buyer
IPPNTCVARCHAR(255)Product Name
IPPDTCVARCHAR(255)Product description
IPPUQCDECIMAL(15,4)Contained amount
IPPUQUCVARCHAR(5)Unit of measurement


Table ZFINVOICTI , Tax Information

Column nameColumn definitionColumn description
TIKEYVARCHAR(15)Internal pagination number
TIPOSDECIMAL(5, 0)Position Number
TITAXADECIMAL(15, 2)Tax amount
TITAXTVARCHAR(5)Type of Tax
TITAXFTVARCHAR(255)Reason for tax exemption
TITAXBADECIMAL(15, 2)Basic Amount for Tax calculation
TITAXGADECIMAL(15, 2) Goods amount of the Tax rate
TITAXCOMADECIMAL(15, 2)Total amount increases and reductions in the tax rate
TITAXCATVARCHAR(2)Tax category
TITAXPERDECIMAL(6, 2)Tax rate







JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.