UBL21: add VATEX code

This commit is contained in:
sparkyx 2025-12-17 12:39:30 +01:00
parent b7bdad4bf1
commit b3215890d0

View file

@ -171,7 +171,12 @@ class XMLInvoice_Reader extends XML_Reader
}else {
$row ['name'] ="";
}
if ( isset ($xml->xpath("//cbc:TaxExemptionReasonCode")[$e]))
{
$row['vatex']=$xml->xpath("//cbc:TaxExemptionReasonCode")[$e];
}else {
$row['vatex']="";
}
$result[] = $row;
}
return $result;