You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
1.5 KiB
97 lines
1.5 KiB
MODELO - EMITENTE
|
|
=================
|
|
|
|
Modelo das entidades e como elas se relacionam.
|
|
|
|
Nenhum dos campos deve permitir acentos e/ou cedilhas.
|
|
|
|
>>> from pynfe.entidades import Emitente
|
|
|
|
Campos:
|
|
- Dados do Emitente
|
|
- Nome/Razao Social (obrigatorio)
|
|
|
|
>>> hasattr(Emitente, 'razao_social')
|
|
True
|
|
|
|
- Nome Fantasia
|
|
|
|
>>> hasattr(Emitente, 'nome_fantasia')
|
|
True
|
|
|
|
- CNPJ (obrigatorio)
|
|
|
|
>>> hasattr(Emitente, 'cnpj')
|
|
True
|
|
|
|
- Inscricao Estadual (obrigatorio)
|
|
|
|
>>> hasattr(Emitente, 'inscricao_estadual')
|
|
True
|
|
|
|
- CNAE Fiscal
|
|
|
|
>>> hasattr(Emitente, 'cnae_fiscal')
|
|
True
|
|
|
|
- Inscricao Municipal
|
|
|
|
>>> hasattr(Emitente, 'inscricao_municipal')
|
|
True
|
|
|
|
- Inscricao Estadual (Subst. Tributario)
|
|
|
|
>>> hasattr(Emitente, 'inscricao_estadual_subst_tributaria')
|
|
True
|
|
|
|
- Endereco
|
|
- Logradouro (obrigatorio)
|
|
|
|
>>> hasattr(Emitente, 'endereco_logradouro')
|
|
True
|
|
|
|
- Numero (obrigatorio)
|
|
|
|
>>> hasattr(Emitente, 'endereco_numero')
|
|
True
|
|
|
|
- Complemento
|
|
|
|
>>> hasattr(Emitente, 'endereco_complemento')
|
|
True
|
|
|
|
- Bairro (obrigatorio)
|
|
|
|
>>> hasattr(Emitente, 'endereco_bairro')
|
|
True
|
|
|
|
- CEP
|
|
|
|
>>> hasattr(Emitente, 'endereco_cep')
|
|
True
|
|
|
|
- Pais (aceita somente Brasil)
|
|
|
|
>>> hasattr(Emitente, 'endereco_pais')
|
|
True
|
|
|
|
- UF (obrigatorio)
|
|
|
|
>>> hasattr(Emitente, 'endereco_uf')
|
|
True
|
|
|
|
- Municipio (obrigatorio)
|
|
|
|
>>> hasattr(Emitente, 'endereco_municipio')
|
|
True
|
|
|
|
- Telefone
|
|
|
|
>>> hasattr(Emitente, 'endereco_telefone')
|
|
True
|
|
|
|
- Logotipo
|
|
|
|
>>> hasattr(Emitente, 'logotipo')
|
|
True
|
|
|