Base de Conhecimentos
Nota rejeitada na monitoração – Status 999 Motivo: (null: 1, 724)
Descrição:
Retorno SEFAZ -> Status: 999 Motivo: (null: 1, 724): cvc-pattern-valid: Value '912' is not facet-valid with respect to pattern '[0-9]{2}[0]{1}[1-9]{1} [pipe] [0-9]{2}[1]{1}[0-2]{1}' for type '#AnonType_AAMMrefNFPNFrefideinfNFeTNFe'. [quebra] (null: 1, 724): cvc-type.3.1.3: The value '912' of element 'AAMM' is not valid. [quebra] (null: 1, 774): cvc-enumeration-valid: Value '1' is not facet-valid with respect to enumeration '[01, 04]'. It must be a value from the enumeration. [quebra] (null: 1, 774): cvc-type.3.1.3: The value '1' of element 'mod' is not valid. [quebra] (null: 1, 794): cvc-pattern-valid: Value '25829' is not facet-valid with respect to pattern '0 [pipe] [1-9]{1}[0-9]{0,2}' for type 'TSerie'. [quebra] (null: 1, 794): cvc-type.3.1.3: The value '25829' of element 'serie' is not valid. [quebra] (null: 1, 803): cvc-complex-type.2.4.b: The content of element 'refNFP' is not complete. One of '{"http://www.portalfiscal.inf.br/nfe":nNF}' is expected. [quebra]
O problema ocorre quando é referenciada na nota fiscal eletrônica uma nota de modelo 1, ou seja, não eletrônica, e é preenchido indevidamente / inadequadamente o campo TNOT_NOTA_CPF_CNPJ_ORIGEM, quando já preenchido as informações do documento de origem na coluna TNOT_NF_ORIGEM, não carecendo assim do preenchimento da coluna TNOT_NOTA_CPF_CNPJ_ORIGEM
Resolução:
Acesse o pl/SQL como appuser e aplique o comando abaixo:
select t.tnot_unidade_fk_pk,t.tnot_nota_pk,t.tnot_nf_origem,t.tnot_nota_cpf_cnpj_origem from tnot_nota_nfe t where t.tnot_unidade_fk_pk=&und and t.tnot_nota_pk=¬a
Coloque a unidade e o controle da nota, verifique se o campo TNOT_NF_ORIGEM está preenchido, se estiver, apague o conteúdo do campo TNOT_NOTA_CPF_CNPJ_ORIGEM, depois re-envie a nota.