Add catch for vat not registered users
This commit is contained in:
parent
b1eb44eda5
commit
70cb694bb2
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue