FeatureFuel
1

Feature request: show e-invoice line fields (e.g. Line order reference) as product table columns on the PDF

Source: invoiceninja/invoiceninja#13559 · opened by @safrandee
Follow-up to #13331. Thanks for shipping the e-invoice line fields in 5.14.1! The *Line order reference* now ends up in the ZUGFeRD XML as BuyerOrderReferencedDocument/LineID (BT-132), and that works fine. Problem These line values only exist in the XML. They can't be shown on the PDF: • The product table columns (pdf_variables.product_columns) only offer the $product.* values. None of them maps to e_invoice.Invoice.InvoiceLine[i]. • In normal designs, Twig inside <ninja> only gets the flat entity.* HtmlEngine values. It doesn't see the line items or their e-invoice data. Many buyers want the order line number printed next to each position on the PDF as well, not just in the XML. Right now that means entering it twice: once in a product custom field for the PDF, once in the e-invoice line field for the XML. The two can drift apart, and then the PDF and the embedded XML of the same invoice disagree. Proposal Expose the configured e-invoice line fields as…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests