-----------------------------------------------------------------------------
  DATE: 24/06/2024      TIME: 10:17                                  PAGE:  1
  FILE DEFINITION FOR FILE: RPS_V2 (# 8)
-----------------------------------------------------------------------------
  DRIVER NAME               : DATAFLEX
  FILE ROOT NAME            : RPS_V2
  USER DISPLAY NAME         : RPS_V2
  DATAFLEX FILE NAME        : RPS_V2
-----------------------------------------------------------------------------
  RECORD LENGTH             : 8320      ( USED: 8063 )
  MAX NUMBER OF RECORDS     : 10000     ( USED: 4 )
  FILE COMPRESSION          : NONE
  RE-USE DELETED SPACE      : YES
  LOCKING TYPE              : FILE
  HEADER INTEGRITY CHECKING : YES
  TRANSACTION TYPE          : CLIENT ATOMIC
  RECORD IDENTITY INDEX     : 0 ( 0 , 0 )
  FILE LOGIN PARAMETER      : 
  SYSTEM FILE               : NO 
-----------------------------------------------------------------------------

NUM  FIELD NAME       TYPE SIZE  OFFST IX   RELATES TO FILE.FIELD
---  ---------------  ---- ----- ----- --   ---------------------------------
  1  iIdRPS_V2        NUM    8.0     1  1   
  2  iNrLote          NUM    8.0     5  2   
  3  nNrRPS           NUM   14.0     9  3   
  4  sSerie           ASC      5    16  3   
  5  sTipoLote        ASC      1    21      
  6  sTipo            ASC      1    22      
  7  sDataEmissao     ASC     19    23  4   
  8  sStatus          ASC      1    42      
  9  nNrRPSSubstituto  NUM   14.0    43      
 10  sSerieRPSSubstituto  ASC      5    50      
 11  sTipoRPSSubstituto  ASC      1    55      
 12  dCompetencia     DAT      6    56      
 13  nValorServicos   NUM   14.2    59      
 14  nValorDeducoes   NUM   14.2    67      
 15  nValorPIS        NUM   14.2    75      
 16  nValorCOFINS     NUM   14.2    83      
 17  nValorINSS       NUM   14.2    91      
 18  nValorIR         NUM   14.2    99      
 19  nValorCSLL       NUM   14.2   107      
 20  nOutrasRetencoes  NUM   14.2   115      
 21  nValorISS        NUM   14.2   123      
 22  nAliquota        NUM    2.4   131      
 23  nDescontoIncondicionado  NUM   14.2   134      
 24  nDescontoCondicionado  NUM   14.2   142      
 25  iISSRetido       NUM    2.0   150      
 26  sResponsavelRetencao  ASC      1   151      
 27  sItemListaServico  ASC      5   152      
 28  iCodigoCNAE      NUM    8.0   157      
 29  sCodigoTributacaoMunicipio  ASC     20   161      
 30  sDiscriminacao   TEX   2000   181      
 31  iCodigoMunicipioServico  NUM    8.0  2181      
 32  iCodigoPaisServico  NUM    4.0  2185      
 33  iExigibilidadeISS  NUM    2.0  2187      
 34  iCodigoMunicipioIncidencia  NUM    8.0  2188      
 35  sNumeroProcesso  ASC     30  2192      
 36  sCNPJPrestador   ASC     14  2222  2   
 37  sIncricaoMunicipalPrestador  ASC     15  2236      
 38  iCodigoMunicipioPrestador  NUM    8.0  2251      
 39  sCNPJCPFTomador  ASC     14  2255      
 40  sIncricaoMunicipalTomador  ASC     15  2269      
 41  sRazaoSocialTomador  ASC    150  2284      
 42  sEnderecoTomador  ASC    125  2434      
 43  sNumeroTomador   ASC     10  2559      
 44  sComplementoTomador  ASC     60  2569      
 45  sBairroTomador   ASC     60  2629      
 46  iCodigoMunicipioTomador  NUM    8.0  2689      
 47  sUFTomador       ASC      2  2693      
 48  iCodigoPaisTomador  NUM    4.0  2695      
 49  sCEPTomador      ASC      8  2697      
 50  sTelefoneTomador  ASC     20  2705      
 51  sEmailTomador    ASC     80  2725      
 52  sCNPJCPFIntermediario  ASC     14  2805      
 53  sIncricaoMunicipalIntermediario  ASC     15  2819      
 54  sRazaoSocialIntermediario  ASC    150  2834      
 55  sCodigoObra      ASC     15  2984      
 56  sArt             ASC     15  2999      
 57  sRegimeEspecialTributacao  ASC      1  3014      
 58  sOptanteSimplesNacional  ASC      1  3015      
 59  sIncentivoFiscal  ASC      1  3016      
 60  iSituacao        NUM    2.0  3017      
 61  sUltimaOperacao  TEX   5008  3018      
 62  sCdVerificacaoNFSe  ASC      9  8026      
 63  sNrNFSe          ASC     15  8035      
 64  sVersao          ASC      4  8050      
 65  sProvedor        ASC     10  8054      


INDEX# FIELDS          DES U/C    LENGTH LEVELS SEGMENTS MODE
------ --------------- --- ---    ------ ------ -------- -------
  1    iIdRPS_V2       NO  NO       4      2       1     ON-LINE

  2    iNrLote         NO  NO       18     3       2     ON-LINE
       sCNPJPrestador  NO  YES

  3    nNrRPS          NO  NO       26     4       3     ON-LINE
       sSerie          NO  YES
       sCNPJPrestador  NO  YES

  4    sDataEmissao    NO  YES      31     4       3     ON-LINE
       nNrRPS          NO  NO 
       sSerie          NO  YES

