tagdest
Identificação do Destinatário da NF-e E01 pai A01
tag NFe/infNFe/dest (opcional para modelo 65)
public tagdest ( string $cnpj = '', string $cpf = '', string $idEstrangeiro = '', string $xNome = '', string $indIEDest = '', string $numIE = '', string $isUF = '', string $numIM = '', string $email = '' ) : DOMElement | ||
$cnpj | string | |
$cpf | string | |
$idEstrangeiro | string | |
$xNome | string | |
$indIEDest | string | |
$numIE | string | |
$isUF | string | |
$numIM | string | |
string | ||
Résultat | DOMElement |
/** * zLinhaEEntity * Cria a tag dest * * @param array $aCampos */ protected function zLinhaEEntity($aCampos) { //Exx|xNome|indIEDest|IE|ISUF|IM|email|CNPJ/CPF/idExtrangeiro $this->make->tagdest($aCampos[7], $aCampos[8], $aCampos[9], $aCampos[1], $aCampos[2], $aCampos[3], $aCampos[4], $aCampos[5], $aCampos[6]); }
$CEP = '04207040'; $cPais = '1058'; $xPais = 'BRASIL'; $fone = '1120677300'; $resp = $nfe->tagenderEmit($xLgr, $nro, $xCpl, $xBairro, $cMun, $xMun, $UF, $CEP, $cPais, $xPais, $fone); //destinatário $CNPJ = '10702368000155'; $CPF = ''; $idEstrangeiro = ''; $xNome = 'M R SANTOS DE PAULA TECIDOS ME'; $indIEDest = '1'; $IE = '244827055110'; $ISUF = ''; $IM = ''; $email = '*****@*****.**'; $resp = $nfe->tagdest($CNPJ, $CPF, $idEstrangeiro, $xNome, $indIEDest, $IE, $ISUF, $IM, $email); //Endereço do destinatário $xLgr = 'AV GASPAR RICARDO'; $nro = '471'; $xCpl = ''; $xBairro = 'CENTRO'; $cMun = '4115200'; $xMun = 'Maringa'; $UF = 'PR'; $CEP = '87040365'; $cPais = '1058'; $xPais = 'BRASIL'; $fone = '4430330100'; $resp = $nfe->tagenderDest($xLgr, $nro, $xCpl, $xBairro, $cMun, $xMun, $UF, $CEP, $cPais, $xPais, $fone); //Identificação do local de retirada (se diferente do emitente) //$CNPJ = '12345678901234';