diff --git a/app/Services/EDocument/Standards/ZugferdEDocument.php b/app/Services/EDocument/Standards/ZugferdEDocument.php index 39e64fe26d..e13b576399 100644 --- a/app/Services/EDocument/Standards/ZugferdEDocument.php +++ b/app/Services/EDocument/Standards/ZugferdEDocument.php @@ -147,7 +147,7 @@ class ZugferdEDocument extends AbstractService */ private function setDocumentTaxes(): self { - if ($this->document->total_taxes == 0) { + if ((string) $this->document->total_taxes == '0') { $base_amount = 0; $tax_amount = 0;