UBL21: add VATEX code
This commit is contained in:
parent
b7bdad4bf1
commit
b3215890d0
1 changed files with 7 additions and 2 deletions
|
|
@ -171,8 +171,13 @@ class XMLInvoice_Reader extends XML_Reader
|
|||
}else {
|
||||
$row ['name'] ="";
|
||||
}
|
||||
|
||||
$result[] = $row;
|
||||
if ( isset ($xml->xpath("//cbc:TaxExemptionReasonCode")[$e]))
|
||||
{
|
||||
$row['vatex']=$xml->xpath("//cbc:TaxExemptionReasonCode")[$e];
|
||||
}else {
|
||||
$row['vatex']="";
|
||||
}
|
||||
$result[] = $row;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue