SAP Knowledge Base Article - Preview

3801721 - Brazil TDF - Warning MS0013 "NI de contribuinte diferente do NI do contribuinte do lote" displayed when sending EFD-Reinf events via PI communication

Symptom

When submitting EFD-Reinf events via PI communication, the government returns the following warning in the XML response (government code MS0013):

"Após a data 01/11/2026 não será mais permitido o envio de eventos com NI de contribuinte diferente do NI do contribuinte do lote."

The warning does not appear when submitting via HTTP communication. It is visible in XML file from the government response with <codResp>MS0013</codResp> and <tpOcorr>2</tpOcorr> (warning type).

The root indicator: the Batch Sender Number shown in the batch details differs from the Registration Number (CNPJ Root). For example:

  • Registration Number: 1 - 74544297 (CNPJ Root, 8 digits)
  • Batch Sender Number: 1 - 74544297000192 (full CNPJ, 14 digits)

After 01/11/2026, the government will reject — not just warn — submissions where these two values differ.

Images/data in this KBA are from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • TDF REINF App
  • TDF Messaging Framework
  • SAP Tax Declaration Framework for Brazil
  • SAP ERP
  • SAP ERP Central Component
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA
  • SAP S/4HANA Finance
  • SAP S/4HANA Cloud Private Edition
  • SAP Fiori for SAP S/4HANA
  • SAP Fiori for SAP S/4HANA Finance
  • SAP Fiori for SAP S/4HANA Cloud Private Edition

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP Fiori for SAP S/4HANA Cloud Private Edition all versions ; SAP Fiori for SAP S/4HANA Finance all versions ; SAP Fiori for SAP S/4HANA all versions ; SAP S/4HANA Cloud Private Edition all versions ; SAP S/4HANA Finance all versions ; SAP S/4HANA all versions ; SAP Tax Declaration Framework for Brazil all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

EFD-Reinf, REINF, NR_INSC, NR_INSCRICAO_TRANSM, NR_INSCRICAO_EVT, NR_INSC_TRANSM, CNPJ Root, NI de contribuinte, NI do contribuinte do lote, batch sender, PI communication, HTTP, MS0013, warning MS0013, /TMF/CL_MF_GOVERNMENT_COMM_REI, GENERATE_SEND_PARAMETERS_211, /TMF/CL_MF_GOV_HTTP_COMM_REI, GENERATE_SEND_PARAMETERS, /TMF/MD_CERTCFG, CNPJ_ROOT, NR_INSC_TRANSM, TP_INSC_TRANSM, IDE_CONTRIBUINTE, /TMF/R0X9_REINF1, EFD-Reinf Report_V2, legalIdentificationNumber, 01/11/2026, Brazil TDF, FIN-TMF-BR-ESO , KBA , FIN-TMF-BR-ESO , Tax Management Framework Brazil - eSocial , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.