Reference
Markdown exportBR-DE-12 Invoice must have at least one invoice line
An invoice must have at least one invoice line.
Problem Description
An invoice must have at least one invoice line.
ERROR
XRechnung 3.0
Context and Significance
An invoice without line items cannot be validated consistently and does not represent billable goods/services. Even if you invoice a single total, provide at least one line with the billed item or service.
Solution
Add at least one invoice line to the invoice.
Valid Examples
Use these points as the practical checks for this section.
- One InvoiceLine representing a service fee
- Multiple lines with items/services
Invalid Examples
Use these points as the practical checks for this section.
- No <cac:InvoiceLine> elements at all
Code Examples
Valid XML
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="C62">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
<cac:Item><cbc:Name>Service fee</cbc:Name></cac:Item>
<cac:Price><cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount></cac:Price>
</cac:InvoiceLine>Invalid XML
<!-- Missing cac:InvoiceLine -->Technical Details
Affected Fields
Invoice Lines