From 3816d7f96028e681ea5f747f898e743f811afa5e Mon Sep 17 00:00:00 2001 From: Mauricio Dantas Date: Fri, 15 Mar 2024 10:47:34 -0300 Subject: [PATCH] =?UTF-8?q?Atualizar=20m=C3=A9todo=20isDuplicado=20para=20?= =?UTF-8?q?considerar=20c=C3=B3digo=20204=20como=20duplicado.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../documentofiscal/nfe310/classes/NFRetornoStatus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/fincatto/documentofiscal/nfe310/classes/NFRetornoStatus.java b/src/main/java/com/fincatto/documentofiscal/nfe310/classes/NFRetornoStatus.java index 5f828b0a5..0190a8778 100644 --- a/src/main/java/com/fincatto/documentofiscal/nfe310/classes/NFRetornoStatus.java +++ b/src/main/java/com/fincatto/documentofiscal/nfe310/classes/NFRetornoStatus.java @@ -527,7 +527,7 @@ public boolean isRejeitado() { } public boolean isDuplicado() { - return CODIGO_539.getCodigo() == this.codigo; + return CODIGO_539.getCodigo() == this.codigo || CODIGO_204.getCodigo() == this.codigo; } public int getCodigo() {