diff --git a/app/DataMapper/Tax/DE/Rule.php b/app/DataMapper/Tax/DE/Rule.php index d1a6a9e12458..1c251a6713a4 100644 --- a/app/DataMapper/Tax/DE/Rule.php +++ b/app/DataMapper/Tax/DE/Rule.php @@ -11,6 +11,7 @@ namespace App\DataMapper\Tax\DE; +use App\DataMapper\InvoiceItem; use App\DataMapper\Tax\BaseRule; use App\DataMapper\Tax\RuleInterface; use App\Models\Product; @@ -63,7 +64,7 @@ class Rule extends BaseRule implements RuleInterface public function taxByType($item): self { - if ($this->client->is_tax_exempt || !property_exists($item, 'tax_id')) { + if ($this->client->is_tax_exempt || !property_exists($item, 'tax_id') || (isset($item->type_id) && $item->type_id == '5')) { return $this->taxExempt($item); }