{"id":716,"date":"2016-10-04T07:19:50","date_gmt":"2017-08-01T00:00:00","guid":{"rendered":"https:\/\/bc.novooobj.xyz\/rejeicao-252-ambiente-informado-diverge-do-ambiente-de-recebimento-como-resolver\/"},"modified":"2016-10-04T07:19:50","modified_gmt":"2017-08-01T00:00:00","slug":"rejeicao-252-como-resolver","status":"publish","type":"post","link":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/","title":{"rendered":"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver?"},"content":{"rendered":"\n<p>Quando for emitido um CTe ou MDFe com Tipo de Ambiente como Homologa\u00e7\u00e3o e o Lote do CTe ou MDFe for enviado ao WebService do Ambiente Autorizador de Produ\u00e7\u00e3o, ou vice-versa, ser\u00e1 retornado a rejei\u00e7\u00e3o &#8220;252 &#8211; Ambiente informado diverge do Ambiente de recebimento&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"exemplo\"><a href=\"#exemplo\">Exemplo<\/a><\/h2>\n\n\n\n<p>Foi emitido um CTe com o Tipo de Ambiente de Homologa\u00e7\u00e3o, por\u00e9m, por uma falha no Sistema Emissor, o CTe foi enviado para o Ambiente de Produ\u00e7\u00e3o da Sefaz. Nessa situa\u00e7\u00e3o, o CTe ser\u00e1 rejeitado pelo motivo 252.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"regra-de-validacao-da-sefaz\"><a href=\"#regra-de-validacao-da-sefaz\">Regra de valida\u00e7\u00e3o da Sefaz <\/a><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"para-cte\"><a href=\"#para-cte\">Para CTe<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>#<\/td><td>Regra de Valida\u00e7\u00e3o<\/td><td>Aplic.<\/td><td>Msg<\/td><td>Efeito<\/td><td>Descri\u00e7\u00e3o Erro<\/td><\/tr><tr><td>L01<\/td><td>Tipo do ambiente informado difere do ambiente do<br \/>Web Service<\/td><td>Obrig.<\/td><td>252<\/td><td>Rej.<\/td><td>Rejei\u00e7\u00e3o: Ambiente informado diverge do<br \/>Ambiente de recebimento<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">MOC CTe &#8211; Padr\u00f5es T\u00e9cnicos de Comunica\u00e7\u00e3o do CTe &#8211; Vers\u00e3o 4.00 \u2013 agosto 2022 \u2013 4.5.5 Valida\u00e7\u00e3o das Regras de Neg\u00f3cio da Consulta Situa\u00e7\u00e3o<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"para-mdfe\"><a href=\"#para-mdfe\">Para MDFe<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>#<\/td><td>Regra de Valida\u00e7\u00e3o<\/td><td>Aplic.<\/td><td>Msg<\/td><td>Efeito<\/td><td>Descri\u00e7\u00e3o Erro<\/td><\/tr><tr><td>G01<\/td><td>Tipo do ambiente informado difere do ambiente do<br \/>Web Service<\/td><td>Obrig.<\/td><td>252<\/td><td>Rej.<\/td><td>Rejei\u00e7\u00e3o: Ambiente informado diverge do<br \/>Ambiente de recebimento<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">MOC MDFe &#8211; Padr\u00f5es T\u00e9cnicos de Comunica\u00e7\u00e3o do MDFe &#8211; Vers\u00e3o 3.00b &#8211; agosto 2022 \u2013 4.5.5 Valida\u00e7\u00e3o das Regras de Neg\u00f3cio da Consulta Situa\u00e7\u00e3o<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"como-resolver\"><a href=\"#como-resolver\">Como resolver<\/a><\/h2>\n\n\n\n<p>Caso observe essa rejei\u00e7\u00e3o para um de seus CTes ou MDFes, entre em contato com o suporte do seu Sistema Emissor, pois o envio n\u00e3o ocorreu de acordo com o Tipo de Ambiente (tpAmb) informado no CTe ou MDFe. N\u00e3o h\u00e1 nenhuma altera\u00e7\u00e3o no documento que possa corrigir esse problema.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"referencia\"><a href=\"#referencia\">Refer\u00eancia<\/a><\/h2>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-9b875d62-85a9-4f0a-931e-ec7aed9bc8fe\" href=\"https:\/\/oobj.com.br\/bc\/\/wp-content\/uploads\/2016\/10\/MOC-CTe-VisaoGeral-v4.00.pdf\">Manual de Orienta\u00e7\u00e3o ao Contribuinte CTe &#8211; Visao Geral &#8211; v4.00<\/a><a href=\"https:\/\/oobj.com.br\/bc\/\/wp-content\/uploads\/2016\/10\/MOC-CTe-VisaoGeral-v4.00.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-9b875d62-85a9-4f0a-931e-ec7aed9bc8fe\">Baixar<\/a><\/div>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-e68b60d2-ace0-4d63-8e03-89278eccb855\" href=\"https:\/\/oobj.com.br\/bc\/\/wp-content\/uploads\/2016\/10\/MOC-MDFe-VisaoGeral-v3.00b.pdf\">Manual de Orienta\u00e7\u00e3o ao Contribuinte MDFe &#8211; Visao Geral &#8211; v3.00b<\/a><a href=\"https:\/\/oobj.com.br\/bc\/\/wp-content\/uploads\/2016\/10\/MOC-MDFe-VisaoGeral-v3.00b.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-e68b60d2-ace0-4d63-8e03-89278eccb855\">Baixar<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"Saiba porque a rejei\u00e7\u00e3o &#8220;252 &#8211; Ambiente informado diverge do Ambiente de recebimento&#8221; ocorre e como resolver.","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ub_ctt_via":"","footnotes":""},"categories":[144],"tags":[],"class_list":["post-716","post","type-post","status-publish","format-standard","hentry","category-rejeicoes"],"acf":[],"featured_image_src":null,"author_info":{"display_name":"Malu Duarte","author_link":"https:\/\/oobj.com.br\/bc\/author\/malu-duarte\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver? - Base de Conhecimento - Oobj<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver? - Base de Conhecimento - Oobj\" \/>\n<meta property=\"og:description\" content=\"Saiba porque a rejei\u00e7\u00e3o &quot;252 - Ambiente informado diverge do Ambiente de recebimento&quot; ocorre e como resolver.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/\" \/>\n<meta property=\"og:site_name\" content=\"Base de Conhecimento - Oobj\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/oobjti\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-01T00:00:00+00:00\" \/>\n<meta name=\"author\" content=\"Malu Duarte\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Malu Duarte\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/\"},\"author\":{\"name\":\"Malu Duarte\",\"@id\":\"https:\/\/oobj.com.br\/bc\/#\/schema\/person\/d5b05a7bbe2be07843923019324402ad\"},\"headline\":\"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver?\",\"datePublished\":\"2017-08-01T00:00:00+00:00\",\"dateModified\":\"2017-08-01T00:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/\"},\"wordCount\":311,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/oobj.com.br\/bc\/#organization\"},\"articleSection\":[\"Rejei\u00e7\u00f5es\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/\",\"url\":\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/\",\"name\":\"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver? - Base de Conhecimento - Oobj\",\"isPartOf\":{\"@id\":\"https:\/\/oobj.com.br\/bc\/#website\"},\"datePublished\":\"2017-08-01T00:00:00+00:00\",\"dateModified\":\"2017-08-01T00:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/oobj.com.br\/bc\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/oobj.com.br\/bc\/#website\",\"url\":\"https:\/\/oobj.com.br\/bc\/\",\"name\":\"Base de Conhecimento - Oobj\",\"description\":\"Aprenda tudo sobre nossas solu\u00e7\u00f5es, desde o que significa um \u00edcone na tela at\u00e9 como completar uma tarefa.\",\"publisher\":{\"@id\":\"https:\/\/oobj.com.br\/bc\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/oobj.com.br\/bc\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/oobj.com.br\/bc\/#organization\",\"name\":\"Oobj Tecnologia da Informa\u00e7\u00e3o\",\"url\":\"https:\/\/oobj.com.br\/bc\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/oobj.com.br\/bc\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/oobj.com.br\/bc\/wp-content\/uploads\/2024\/10\/logo.png\",\"contentUrl\":\"https:\/\/oobj.com.br\/bc\/wp-content\/uploads\/2024\/10\/logo.png\",\"width\":512,\"height\":168,\"caption\":\"Oobj Tecnologia da Informa\u00e7\u00e3o\"},\"image\":{\"@id\":\"https:\/\/oobj.com.br\/bc\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/oobjti\",\"https:\/\/www.instagram.com\/oobjti\",\"https:\/\/www.linkedin.com\/company\/oobjti\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/oobj.com.br\/bc\/#\/schema\/person\/d5b05a7bbe2be07843923019324402ad\",\"name\":\"Malu Duarte\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/oobj.com.br\/bc\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/oobj.com.br\/bc\/wp-content\/uploads\/nsl_avatars\/454927dc8b9b69d69aaf0b3bee9c909b.png\",\"contentUrl\":\"https:\/\/oobj.com.br\/bc\/wp-content\/uploads\/nsl_avatars\/454927dc8b9b69d69aaf0b3bee9c909b.png\",\"caption\":\"Malu Duarte\"},\"url\":\"https:\/\/oobj.com.br\/bc\/author\/malu-duarte\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver? - Base de Conhecimento - Oobj","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/","og_locale":"pt_BR","og_type":"article","og_title":"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver? - Base de Conhecimento - Oobj","og_description":"Saiba porque a rejei\u00e7\u00e3o \"252 - Ambiente informado diverge do Ambiente de recebimento\" ocorre e como resolver.","og_url":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/","og_site_name":"Base de Conhecimento - Oobj","article_publisher":"https:\/\/www.facebook.com\/oobjti","article_published_time":"2017-08-01T00:00:00+00:00","author":"Malu Duarte","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Malu Duarte","Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/#article","isPartOf":{"@id":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/"},"author":{"name":"Malu Duarte","@id":"https:\/\/oobj.com.br\/bc\/#\/schema\/person\/d5b05a7bbe2be07843923019324402ad"},"headline":"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver?","datePublished":"2017-08-01T00:00:00+00:00","dateModified":"2017-08-01T00:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/"},"wordCount":311,"commentCount":0,"publisher":{"@id":"https:\/\/oobj.com.br\/bc\/#organization"},"articleSection":["Rejei\u00e7\u00f5es"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/","url":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/","name":"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver? - Base de Conhecimento - Oobj","isPartOf":{"@id":"https:\/\/oobj.com.br\/bc\/#website"},"datePublished":"2017-08-01T00:00:00+00:00","dateModified":"2017-08-01T00:00:00+00:00","breadcrumb":{"@id":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/oobj.com.br\/bc\/rejeicao-252-como-resolver\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/oobj.com.br\/bc\/"},{"@type":"ListItem","position":2,"name":"Rejei\u00e7\u00e3o 252: Ambiente informado diverge do Ambiente de recebimento - Como resolver?"}]},{"@type":"WebSite","@id":"https:\/\/oobj.com.br\/bc\/#website","url":"https:\/\/oobj.com.br\/bc\/","name":"Base de Conhecimento - Oobj","description":"Aprenda tudo sobre nossas solu\u00e7\u00f5es, desde o que significa um \u00edcone na tela at\u00e9 como completar uma tarefa.","publisher":{"@id":"https:\/\/oobj.com.br\/bc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oobj.com.br\/bc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/oobj.com.br\/bc\/#organization","name":"Oobj Tecnologia da Informa\u00e7\u00e3o","url":"https:\/\/oobj.com.br\/bc\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/oobj.com.br\/bc\/#\/schema\/logo\/image\/","url":"https:\/\/oobj.com.br\/bc\/wp-content\/uploads\/2024\/10\/logo.png","contentUrl":"https:\/\/oobj.com.br\/bc\/wp-content\/uploads\/2024\/10\/logo.png","width":512,"height":168,"caption":"Oobj Tecnologia da Informa\u00e7\u00e3o"},"image":{"@id":"https:\/\/oobj.com.br\/bc\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/oobjti","https:\/\/www.instagram.com\/oobjti","https:\/\/www.linkedin.com\/company\/oobjti\/"]},{"@type":"Person","@id":"https:\/\/oobj.com.br\/bc\/#\/schema\/person\/d5b05a7bbe2be07843923019324402ad","name":"Malu Duarte","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/oobj.com.br\/bc\/#\/schema\/person\/image\/","url":"https:\/\/oobj.com.br\/bc\/wp-content\/uploads\/nsl_avatars\/454927dc8b9b69d69aaf0b3bee9c909b.png","contentUrl":"https:\/\/oobj.com.br\/bc\/wp-content\/uploads\/nsl_avatars\/454927dc8b9b69d69aaf0b3bee9c909b.png","caption":"Malu Duarte"},"url":"https:\/\/oobj.com.br\/bc\/author\/malu-duarte\/"}]}},"_links":{"self":[{"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/posts\/716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/comments?post=716"}],"version-history":[{"count":0,"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/posts\/716\/revisions"}],"wp:attachment":[{"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/media?parent=716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/categories?post=716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oobj.com.br\/bc\/wp-json\/wp\/v2\/tags?post=716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}