diff --git a/src/main/resources/xslt/zugferd2p0_en16931.xslt b/src/main/resources/xslt/zugferd2p0_en16931.xslt index fc58d90..4eff1e1 100644 --- a/src/main/resources/xslt/zugferd2p0_en16931.xslt +++ b/src/main/resources/xslt/zugferd2p0_en16931.xslt @@ -12799,10 +12799,10 @@ - + + test="(ram:TaxBasisTotalAmount = (round(ram:LineTotalAmount*100 - ram:AllowanceTotalAmount*100 + ram:ChargeTotalAmount*100) div 100)) or ((ram:TaxBasisTotalAmount = (round(ram:LineTotalAmount*100 - ram:AllowanceTotalAmount*100) div 100)) and not (ram:ChargeTotalAmount)) or ((ram:TaxBasisTotalAmount = (round(ram:LineTotalAmount*100 + ram:ChargeTotalAmount*100) div 100)) and not (ram:AllowanceTotalAmount)) or ((ram:TaxBasisTotalAmount = (round( ram:LineTotalAmount * 100) div 100) ) and not (ram:ChargeTotalAmount) and not (ram:AllowanceTotalAmount))"> diff --git a/src/main/resources/zugferd2p0_en16931.sch b/src/main/resources/zugferd2p0_en16931.sch index 9cb4f8a..99e0f0a 100755 --- a/src/main/resources/zugferd2p0_en16931.sch +++ b/src/main/resources/zugferd2p0_en16931.sch @@ -364,7 +364,7 @@ Der Inhalt des Elementes „Sum of allowances on document level“ (BT-107) entspricht der Summe aller Inhalte der Elemente „Document level allowance amount“ (BT-92). Der Inhalt des Elementes „Sum of charges on document level“ (BT-108) entspricht der Summe aller Inhalte der Elemente „Document level charge amount“ (BT-99). - + Der Inhalt des Elementes „Invoice total amount without VAT“ (BT-109) entspricht der Summe aller Inhalte der Elemente „Invoice line net amount“ (BT-131) abzüglich der Summe aller in der Rechnung enthaltenen Nachlässe der Dokumentenebene „Sum of allowances on document level“ (BT-107) zuzüglich der Summe aller in der Rechnung enthaltenen Abgaben der Dokumentenebene „Sum of charges on document level“ (BT-108). Der Inhalt des Elementes „Invoice total amount with VAT“ (BT-112) entspricht der Summe des Inhalts des Elementes „Invoice total amount without VAT“ (BT-109) und des Elementes „Invoice total VAT amount“ (BT-110).