private static IElement GetInvoiceLinesPart(Invoice invoice)
    {
        var table = new PdfPTable(7)
        {
            HorizontalAlignment = Element.ALIGN_LEFT, WidthPercentage = 100
        };

        table.SetWidths(new float[] { 52, 1, 15, 1, 15, 1, 15 });

        table.AddCell(PdfHelper.GetTitleCell("Omschrijving"));
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetTitleCell("Aantal").AlignRight());
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetTitleCell("Prijs").AlignRight());
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetTitleCell("Totaal").AlignRight());

        foreach (var invoiceLine in invoice.InvoiceLines)
        {
            table.AddCell(PdfHelper.GetCell(invoiceLine.Description));
            table.AddCell(PdfHelper.GetSpacerCell());
            table.AddCell(PdfHelper.GetCell(invoiceLine.Amount.ToString("F2")).AlignRight());
            table.AddCell(PdfHelper.GetSpacerCell());
            table.AddCell(PdfHelper.GetCell(invoiceLine.Price.ToString("C2")).AlignRight());
            table.AddCell(PdfHelper.GetSpacerCell());
            table.AddCell(PdfHelper.GetCell(invoiceLine.TotalExclVat.ToString("C2")).AlignRight());
        }
        PdfHelper.BorderBottomRow(table.Rows.OfType <PdfPRow>().Last());

        table.AddCell(PdfHelper.GetCell("Totaal Excl. BTW", PdfHelper.BoldFont));
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell("").AlignRight());
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell("").AlignRight());
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell(invoice.TotalExclVat.ToString("C2"), PdfHelper.BoldFont).AlignRight());

        table.AddCell(PdfHelper.GetCell("BTW 21%"));
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell("").AlignRight());
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell("").AlignRight());
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell(invoice.Vat21.ToString("C2")).AlignRight());
        PdfHelper.BorderBottomRow(table.Rows.OfType <PdfPRow>().Last());

        table.AddCell(PdfHelper.GetCell("Totaal", PdfHelper.BoldFont));
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell("").AlignRight());
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell("").AlignRight());
        table.AddCell(PdfHelper.GetSpacerCell());
        table.AddCell(PdfHelper.GetCell(invoice.Total.ToString("C2"), PdfHelper.BoldFont).AlignRight());

        return(table);
    }