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;
class D195 extends Element implements ElementInterface
{
const REG = 'D195';
const LEVEL = 3;
const PARENT = '';
protected $parameters = [
'COD_OBS' => [
'type' => 'string',
'regex' => '^.{1,6}$',
'required' => true,
'info' => 'Código da observação do lançamento fiscal (campo 02 do Registro 0460)',
'format' => ''
],
'TXT_COMPL' => [
'regex' => '^.{1,255}$',
'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);
}