Пример #1
0
 public function testGerarCodigoNumerico()
 {
     $nfe = new \Sped\Schemas\V200\DocumentNFe();
     $nfe->load('samples/35101158716523000119550010000000011003000000-nfe.xml');
     var_dump($this->object->gerarCodigoNumerico($nfe));
     $nfe = new \Sped\Schemas\V200\DocumentNFe();
     $nfe->load('samples/11101284613439000180550010000004881093997017-nfe.xml');
     var_dump($this->object->gerarCodigoNumerico($nfe));
 }
Пример #2
0
 /**
  * @todo Implement testValidate().
  */
 public function testValidate()
 {
     $this->assertTrue($this->object->validate('NFe11101284613439000180550010000004881093997017'));
 }