Expected total amount without VAT = Expected total sum of line amounts - Sum of allowances on document level + Sum of charges on document level
cac:AnticipatedMonetaryTotal
$taxexclusiveAmount = $lineEtensionAmount - $allowanceTotalAmount + $chargeTotalAmount