What is a ZUGFeRD invoice?

A readable document with the invoice data inside it: how the hybrid file is built, which of the six profiles count as an invoice in Germany and why the embedded XML now decides.