diff --git a/examples/nfe/fixtures/NFCeProd1.xml b/examples/nfe/fixtures/NFCeProd1.xml index ecbc6d6f..af29e019 100755 --- a/examples/nfe/fixtures/NFCeProd1.xml +++ b/examples/nfe/fixtures/NFCeProd1.xml @@ -208,21 +208,6 @@ 19 0.94 - - 0 - 02 - 10.94 - - - 0 - 03 - 20.94 - - - 0 - 04 - 20.94 - Valor aproximado de tributos R$ 1,41 (14.24%) - Fonte IBPT diff --git a/src/NFe/Traits/TraitBlocoV.php b/src/NFe/Traits/TraitBlocoV.php index ae344dd6..6fd3c649 100644 --- a/src/NFe/Traits/TraitBlocoV.php +++ b/src/NFe/Traits/TraitBlocoV.php @@ -25,7 +25,7 @@ protected function blocoV($y) } } else { $tipo = $this->pagType((int) $this->getTagValue($this->pag, 'tPag')); - $valor = number_format((float) $this->getTagValue($pgto, 'vPag'), 2, ',', '.'); + $valor = number_format((float) $this->getTagValue($this->pag, 'vPag'), 2, ',', '.'); $arpgto[] = [ 'tipo' => $tipo, 'valor' => $valor