diff --git a/app/Services/Invoice/EInvoice/ZugferdEInvoice.php b/app/Services/Invoice/EInvoice/ZugferdEInvoice.php index 51d8791ab713..af01c174ea15 100644 --- a/app/Services/Invoice/EInvoice/ZugferdEInvoice.php +++ b/app/Services/Invoice/EInvoice/ZugferdEInvoice.php @@ -231,7 +231,7 @@ class ZugferdEInvoice extends AbstractService return $tax_type; } private function addtoTaxMap(string $taxtype, float $netamount, float $taxrate){ - $hash = hash("md5", $taxtype."-".$taxrate, true); + $hash = hash("md5", $taxtype."-".$taxrate); if (array_key_exists($hash, $this->tax_map)){ $this->tax_map[$hash]["net_amount"] += $netamount; }