Legacy notice!

iText 5 is the previous major version of iText’s leading PDF SDK. iText 5 is EOL, and is no longer developed, although we still provide support and security fixes. Switch your project to iText 8, our latest version which supports the latest PDF standards and technologies.
Check related iText 8 content!

In the context of the book ZUGFeRD: The Future of Invoicing, we need a simple invoice database. This database has the following four tables:

We'll write a POJO for each of these four tables and we'll create a POJO factory to access the database.

invoice

customer

item

product

pojofactory

Resources

invoices.script

images

https://itextpdf.com/sites/default/files/C3F1_0.png