E-invoice error explained
Every EN 16931 e-invoice needs at least one line.
Every EN 16931 e-invoice needs at least one line. An invoice that only states a total in the header is not allowed. This also applies to down payment invoices and credit notes.
An Invoice shall have at least one Invoice line (BG-25).
Source: KoSIT configuration XRechnung 3.0.2 (31 Jan 2026).
Write at least one ram:IncludedSupplyChainTradeLineItem with quantity, net price, VAT category and line amount. For a down payment invoice one line for the down payment itself is enough, for example "Down payment 30 % for order A-4711".
Wrong (CII)
<rsm:SupplyChainTradeTransaction>
<ram:ApplicableHeaderTradeAgreement>...</ram:ApplicableHeaderTradeAgreement>
<ram:ApplicableHeaderTradeDelivery/>
<ram:ApplicableHeaderTradeSettlement>...</ram:ApplicableHeaderTradeSettlement>
</rsm:SupplyChainTradeTransaction>Right (CII)
<rsm:SupplyChainTradeTransaction>
<ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument><ram:LineID>1</ram:LineID></ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct><ram:Name>Anzahlung 30 %</ram:Name></ram:SpecifiedTradeProduct>
<!-- agreement, delivery (quantity), settlement (tax, line amount) -->
</ram:IncludedSupplyChainTradeLineItem>
<ram:ApplicableHeaderTradeAgreement>...</ram:ApplicableHeaderTradeAgreement>
<ram:ApplicableHeaderTradeDelivery/>
<ram:ApplicableHeaderTradeSettlement>...</ram:ApplicableHeaderTradeSettlement>
</rsm:SupplyChainTradeTransaction>Sales / Project Operations: Sales and Project Operations have no e-invoice output out of the box. In the WBS Invoice Accelerator for Dynamics 365 the lines come from the Invoice lines tab or the editor. For down payment invoices the Accelerator writes one line for the down payment.
Check your invoice for free. The validator shows every finding with an explanation and its location in the XML.