Legacy notice!

iText 5 is the previous major version of iText's leading PDF SDK. iText 5 has been EOL, and is no longer developed. Switch your project to iText 7, integrating the latest developments.
Check related iText 7 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