When having a SubInvoiceLine, with InvoicedQuantity = 0 and therefore LineExtensionAmount = 0, the validator returns a [BR-DEX-02].
[BR-DEX-02] Der Wert von "Invoice line net amount" (BT-131) einer "INVOICE LINE" (BG-25) oder einer "SUB INVOICE LINE" (BG-DEX-01) soll der Summe der "Invoice line net amount" (BT-131) der direkt darunterliegenden "SUB INVOICE LINE" (BG-DEX-01) entsprechen.
As far as I understand, the LineExtensionAmount (=0) should not affect other LineExtensionAmounts. Therefore, this warning shouldn't be triggered. There should rather be a warning that there must not be any SubInvoiceLine with LineExtensionAmount = 0.
The Problem
When having a SubInvoiceLine, with InvoicedQuantity = 0 and therefore LineExtensionAmount = 0, the validator returns a [BR-DEX-02].
[BR-DEX-02] Der Wert von "Invoice line net amount" (BT-131) einer "INVOICE LINE" (BG-25) oder einer "SUB INVOICE LINE" (BG-DEX-01) soll der Summe der "Invoice line net amount" (BT-131) der direkt darunterliegenden "SUB INVOICE LINE" (BG-DEX-01) entsprechen.
Example for a SubInvoiceLine:
As far as I understand, the LineExtensionAmount (=0) should not affect other LineExtensionAmounts. Therefore, this warning shouldn't be triggered. There should rather be a warning that there must not be any SubInvoiceLine with LineExtensionAmount = 0.
TestXRechnung.zip