Invoice Sections

An InvoiceDocument is composed of sections. There are 9 sealed section types, and renderers handle each with exhaustive when blocks.

Section Purpose Status
Header Branding, invoice number, dates Recommended
BillFrom / BillTo Sender and recipient contact info Optional
LineItems Itemized charges with quantities and rates Recommended
Summary Subtotal, adjustments, and total Recommended
PaymentInfo Bank details, payment links Optional
Footer Notes and terms Optional
MetaBlock Key-value metadata (PO numbers, etc.) Optional
Custom Freeform content from element primitives Optional

No section is strictly required at the IR level, but a practical invoice typically includes at least a Header, LineItems, and Summary. All other sections are optional and can be added in any order.

For logo configuration and dual-brand layouts, see Branding & Logos.


Table of contents


Back to top

Copyright © 2026 Christopher Jenkins. Licensed under Apache 2.0.