From 70cb694bb2bc66a60923b6d0f819c964a8377fa9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 5 Mar 2025 08:06:23 +1100 Subject: [PATCH] Add catch for vat not registered users --- app/Services/EDocument/Standards/ZugferdEDocument.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Services/EDocument/Standards/ZugferdEDocument.php b/app/Services/EDocument/Standards/ZugferdEDocument.php index e1d5e0f7f6..3d904f3ec6 100644 --- a/app/Services/EDocument/Standards/ZugferdEDocument.php +++ b/app/Services/EDocument/Standards/ZugferdEDocument.php @@ -272,6 +272,10 @@ class ZugferdEDocument extends AbstractService $this->tax_code = ZugferdDutyTaxFeeCategories::VAT_EXEMPT_FOR_EEA_INTRACOMMUNITY_SUPPLY_OF_GOODS_AND_SERVICES; $this->exemption_reason_code = "VATEX-EU-IC"; } + else { + $this->tax_code = ZugferdDutyTaxFeeCategories::EXEMPT_FROM_TAX; + $this->exemption_reason_code = "VATNOTREG"; + } return $this;