Germany: Sub-Invoice Lines

These lines are a group of recursive information elements that contains information about individual subordinate invoice line items.

This allows invoices to be issued with a hierarchical structure in which any number of sub-items can be assigned to an item. For example, for building and construction related Documents in Germany.

Use the SubInvoiceLine sub-element of the InvoiceLine element to model this information.

The sub-elements of the SubInvoiceLine element group mirrors the InvoiceLine sub-elements such ID,InvoicedQuantity and so on.

Elements

ElementDescription
Invoice/cac:InvoiceLine/SubInvoiceLineSpecify the elements of the sub-invoice lines.

Restrictions

  • This element is used for B2G invoices that are related to the building and construction industry.

Example

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:InvoiceLine>
        <cbc:ID>1</cbc:ID>
        <!-- Code omitted for clarity -->
    	<cac:SubInvoiceLine>
			<cbc:ID>1 1</cbc:ID>
			<cbc:InvoicedQuantity unitCode="MTR">32.50</cbc:InvoicedQuantity>
			<cbc:LineExtensionAmount currencyID="EUR">48.75</cbc:LineExtensionAmount>
			<cac:Item>
				<cbc:Name>Demontage SML DN 100</cbc:Name>
				<cac:ClassifiedTaxCategory>
					<cbc:ID>S</cbc:ID>
					<cbc:Percent>19</cbc:Percent>
					<cac:TaxScheme>
						<cbc:ID>VAT</cbc:ID>
					</cac:TaxScheme>
				</cac:ClassifiedTaxCategory>
			</cac:Item>
			<cac:Price>
				<cbc:PriceAmount currencyID="EUR">1.50</cbc:PriceAmount>
				<cbc:BaseQuantity unitCode="MTR">1</cbc:BaseQuantity>
			</cac:Price>
		</cac:SubInvoiceLine>
    </cac:InvoiceLine>
    <!-- Code omitted for clarity -->
</ubl:Invoice>