for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NFePHP\EFD\Elements\ICMSIPI;
use NFePHP\EFD\Common\Element;
use NFePHP\EFD\Common\ElementInterface;
use \stdClass;
/**
* REGISTRO C595:INFORMAÇÕES DO FUNDO DE COMBATE À POBREZA – FCP NA NF3e (CÓDIGO 66)
* @package NFePHP\EFD\Elements\ICMSIPI
*/
class C595 extends Element implements ElementInterface
{
const REG = 'C595';
const LEVEL = 3;
const PARENT = 'C500';
protected $parameters = [
'COD_OBS' => [
'type' => 'string',
'regex' => '^[0-9]{6}$',
'required' => true,
'info' => 'Código da observação do lançamento fiscal (campo 02 do Registro 0460)',
'format' => ''
],
'TXT_COMPL' => [
'regex' => '^[0-9]{0}$',
'info' => 'Descrição complementar do código de observação.',
]
];
* Constructor
* @param \stdClass $std
public function __construct(\stdClass $std)
parent::__construct(self::REG);
$this->std = $this->standarize($std);
}