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 {
|
}else {
|
||||||
$row ['name'] ="";
|
$row ['name'] ="";
|
||||||
}
|
}
|
||||||
|
if ( isset ($xml->xpath("//cbc:TaxExemptionReasonCode")[$e]))
|
||||||
$result[] = $row;
|
{
|
||||||
|
$row['vatex']=$xml->xpath("//cbc:TaxExemptionReasonCode")[$e];
|
||||||
|
}else {
|
||||||
|
$row['vatex']="";
|
||||||
|
}
|
||||||
|
$result[] = $row;
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue