Adding Digital Signature Tags

Note:

To access the LATAM E-Document Certification SuiteApp documentation in Brazilian Portuguese (Português do Brasil), see LATAM E-Document Certification.

In general, tax authorities define one or multiple tags in which the signature of a digital certificate should be placed in an e-document template. To ensure that NetSuite signs the correct tags on your e-documents, you must add the tags the tax authority requires you to sign.

The tag records are associated with the certification service operation record, which in turn is associated with the e-document template.

You can define the order in which NetSuite signs each tag, according to the tax authority’s requirements. You must create a digital signature tags record for each set of signature reference and signature entry tags that you sign.

To add a digital signature tag:

  1. Go to Setup > E-Document Certification > Tax Authority Certification Service.

  2. Click View next to the tax authority certification service you want.

  3. Click the Operations subtab.

  4. Click Edit next to the certification service operation record you want.

  5. Click the Digital Signature subtab.

  6. Click New Digital Signature Tags.

    A new digital signature tags record opens.

  7. In the Signature Order field, enter a number to indicate the order you want NetSuite to process the digital signature tag.

    The signing sequence starts with the number 1.

  8. In the Signature Reference Tag field, enter the tag from the e-document template that NetSuite must sign with the digital certificate.

    When entering the tag name, do not use angled brackets (<>). tags are case sensitive.

  9. In the Signature Entry Tag field, enter the tag from the e-document template in which NetSuite should insert the digital signature.

    When entering the tag name, do not use angled brackets (<>). Tags are case sensitive.

    See the following sample code of a Brazilian electronic invoice for more information about the reference and entry tags. In the sample, the ns1:ReqEnvioLoteRPS tag is the signature entry tag, and the Lote Id="1" tag is the signature reference tag.

                    <!--This is the signature entry tag-->
    <ns1:ReqEnvioLoteRPS xmlns:ns1="http://localhost:8080/WsNFe2/lote" xmlns:tipos="http://localhost:8080/WsNFe2/tp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://localhost:8080/WsNFe2/lote http://localhost:8080/WsNFe2/xsd/ReqEnvioLoteRPS.xsd">
       <Cabecalho xmlns="">
          <ecsCategoryType>Service</ecsCategoryType>
          <ecsOperationType>Send E-Document</ecsOperationType>
          <CodCidade>5403</CodCidade>
          <CPFCNPJRemetente>12345678901234</CPFCNPJRemetente>
          <RazaoSocialRemetente>Test Company Ltda.</RazaoSocialRemetente>
          <transacao>true</transacao>
          <dtInicio>2021-03-29</dtInicio>
          <dtFim>2021-03-29</dtFim>
          <QtdRPS>1</QtdRPS>
          <ValorTotalServicos>297.00</ValorTotalServicos>
          <ValorTotalDeducoes>0.00</ValorTotalDeducoes>
          <Versao>1</Versao>
          <MetodoEnvio>WS</MetodoEnvio>
       </Cabecalho>
    <!--This is the signature reference tag-->
       <Lote Id="1"> 
          <RPS Id="1">
             <Assinatura>e3d6009ce70acec235db9c752099a45e6d3ec691</Assinatura>
             <InscricaoMunicipalPrestador>12312312</InscricaoMunicipalPrestador>
             <RazaoSocialPrestador>Test Company Ltda.</RazaoSocialPrestador>
             <TipoRPS>RPS</TipoRPS>
             <SerieRPS>NF</SerieRPS>
             <NumeroRPS>123</NumeroRPS>
             <DataEmissaoRPS>2021-03-29T15:39:07</DataEmissaoRPS>
             <SituacaoRPS>N</SituacaoRPS>
             <SeriePrestacao>99</SeriePrestacao>
             <InscricaoMunicipalTomador/>
             <CPFCNPJTomador>09550523548719</CPFCNPJTomador>
             <RazaoSocialTomador>Caburai Transportes Ltda</RazaoSocialTomador>
             <TipoLogradouroTomador>Avenida</TipoLogradouroTomador>
             <LogradouroTomador>Das Guianas</LogradouroTomador>
             <NumeroEnderecoTomador>1523</NumeroEnderecoTomador>
             <ComplementoEnderecoTomador>Box 10 Rodoviaria</ComplementoEnderecoTomador>
             <TipoBairroTomador>Bairro</TipoBairroTomador>
             <BairroTomador>Treze de Setembro</BairroTomador>
             <CidadeTomador>301</CidadeTomador>
             <CidadeTomadorDescricao>Boa Vista</CidadeTomadorDescricao>
             <CEPTomador>69308160</CEPTomador>
             <EmailTomador>-</EmailTomador>
             <CodigoAtividade>620310001</CodigoAtividade>
             <AliquotaAtividade>2</AliquotaAtividade>
             <TipoRecolhimento>A</TipoRecolhimento>
             <MunicipioPrestacao>5403</MunicipioPrestacao>
             <MunicipioPrestacaoDescricao>Uberlândia</MunicipioPrestacaoDescricao>
             <Operacao>A</Operacao>
             <Tributacao>T</Tributacao>
             <ValorPIS>1.93</ValorPIS>
             <ValorCOFINS>8.91</ValorCOFINS>
             <ValorINSS>0.00</ValorINSS>
             <ValorIR>0.00</ValorIR>
             <ValorCSLL>2.97</ValorCSLL>
             <AliquotaPIS>0.65</AliquotaPIS>
             <AliquotaCOFINS>3.00</AliquotaCOFINS>
             <AliquotaINSS>0.00</AliquotaINSS>
             <AliquotaIR>0.00</AliquotaIR>
             <AliquotaCSLL>1.00</AliquotaCSLL>
             <DescricaoRPS>REFERENTE AO SERVICO X</DescricaoRPS>
             <DDDPrestador/>
             <TelefonePrestador/>
             <DDDTomador/>
             <TelefoneTomador/>
             <Itens>
                <Item>
                   <DiscriminacaoServico>SERVICO X</DiscriminacaoServico>
                   <Quantidade>1</Quantidade>
                   <ValorUnitario>297</ValorUnitario>
                   <ValorTotal>297</ValorTotal>
                   <Tributavel>S</Tributavel>
                </Item>
             </Itens>
          </RPS>
       </Lote>
    </ns1:ReqEnvioLoteRPS> 
    
                  
  10. Click Save.

    Repeat the previous steps to enter each tag that NetSuite must sign on the tax authority’s e-document template.

Related Topics

Creating a Tax Authority Certification Service Record
Creating Certification Service Operations
Setting Up XSD Validation
Adding Certification Service URLs
Defining E-Document Certification Settings
Adding Custom Fields for Certification
Creating E-Document Series
Defining E-Document Sending Preferences
Adding Municipal Taxation Codes

General Notices