UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4140287, 1, 4140284, 9772, '2019-08-06', 'D', 11, '0000000015', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000015', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-06 12:11:43', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4140288, 1, 4140284, 9771, '2019-08-06', 'C', 11, '0000000015', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000015', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-06 12:11:43', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4140289, 1, 4140284, 6218, '2019-08-06', 'D', 11, '0000000015', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000015', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-06 12:11:43', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4140290, 1, 4140284, 6005, '2019-08-06', 'C', 11, '0000000015', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000015', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-06 12:11:43', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137459, 1, 4137456, 9772, '2019-08-01', 'D', 4, '0000000007', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000007', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137460, 1, 4137456, 9771, '2019-08-01', 'C', 4, '0000000007', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000007', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137461, 1, 4137456, 6218, '2019-08-01', 'D', 4, '0000000007', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000007', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137462, 1, 4137456, 6005, '2019-08-01', 'C', 4, '0000000007', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000007', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137472, 1, 4137469, 9772, '2019-08-01', 'D', 6, '0000000010', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000010', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137473, 1, 4137469, 9771, '2019-08-01', 'C', 6, '0000000010', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000010', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137474, 1, 4137469, 6218, '2019-08-01', 'D', 6, '0000000010', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000010', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137475, 1, 4137469, 6005, '2019-08-01', 'C', 6, '0000000010', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000010', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137485, 1, 4137482, 9772, '2019-08-03', 'D', 9, '0000000013', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000013', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137486, 1, 4137482, 9771, '2019-08-03', 'C', 9, '0000000013', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000013', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137487, 1, 4137482, 6218, '2019-08-03', 'D', 9, '0000000013', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000013', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137488, 1, 4137482, 6005, '2019-08-03', 'C', 9, '0000000013', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000013', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137498, 1, 4137495, 9772, '2019-08-02', 'D', 7, '0000000011', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000011', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137499, 1, 4137495, 9771, '2019-08-02', 'C', 7, '0000000011', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000011', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137500, 1, 4137495, 6218, '2019-08-02', 'D', 7, '0000000011', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000011', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137501, 1, 4137495, 6005, '2019-08-02', 'C', 7, '0000000011', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000011', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137511, 1, 4137508, 9772, '2019-08-03', 'D', 10, '0000000014', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000014', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137512, 1, 4137508, 9771, '2019-08-03', 'C', 10, '0000000014', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000014', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137513, 1, 4137508, 6218, '2019-08-03', 'D', 10, '0000000014', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000014', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137514, 1, 4137508, 6005, '2019-08-03', 'C', 10, '0000000014', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000014', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137524, 1, 4137521, 9772, '2019-08-02', 'D', 8, '0000000012', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000012', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137525, 1, 4137521, 9771, '2019-08-02', 'C', 8, '0000000012', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000012', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137526, 1, 4137521, 6218, '2019-08-02', 'D', 8, '0000000012', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000012', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4137527, 1, 4137521, 6005, '2019-08-02', 'C', 8, '0000000012', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000012', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-05 07:35:47', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141632, 1, 4141629, 9772, '2019-08-07', 'D', 12, '0000000016', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000016', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-07 12:25:33', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141633, 1, 4141629, 9771, '2019-08-07', 'C', 12, '0000000016', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000016', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-07 12:25:33', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141634, 1, 4141629, 6218, '2019-08-07', 'D', 12, '0000000016', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000016', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-07 12:25:33', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141635, 1, 4141629, 6005, '2019-08-07', 'C', 12, '0000000016', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000016', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-07 12:25:33', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141645, 1, 4141642, 9772, '2019-08-07', 'D', 13, '0000000017', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000017', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-07 12:25:33', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141646, 1, 4141642, 9771, '2019-08-07', 'C', 13, '0000000017', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000017', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-07 12:25:33', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141647, 1, 4141642, 6218, '2019-08-07', 'D', 13, '0000000017', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000017', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-07 12:25:33', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141648, 1, 4141642, 6005, '2019-08-07', 'C', 13, '0000000017', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000017', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-07 12:25:33', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141684, 1, 4141681, 9772, '2019-08-07', 'D', 14, '0000000018', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000018', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-07 13:15:41', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141685, 1, 4141681, 9771, '2019-08-07', 'C', 14, '0000000018', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000018', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-07 13:15:41', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141686, 1, 4141681, 6218, '2019-08-07', 'D', 14, '0000000018', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000018', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-07 13:15:41', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4141687, 1, 4141681, 6005, '2019-08-07', 'C', 14, '0000000018', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000018', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-07 13:15:41', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142948, 1, 4142945, 9772, '2019-08-08', 'D', 15, '0000000019', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000019', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-08 11:51:13', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142949, 1, 4142945, 9771, '2019-08-08', 'C', 15, '0000000019', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000019', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-08 11:51:13', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142950, 1, 4142945, 6218, '2019-08-08', 'D', 15, '0000000019', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000019', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-08 11:51:13', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142951, 1, 4142945, 6005, '2019-08-08', 'C', 15, '0000000019', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000019', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-08 11:51:13', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142961, 1, 4142958, 9772, '2019-08-08', 'D', 16, '0000000020', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000020', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-08 12:21:19', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142962, 1, 4142958, 9771, '2019-08-08', 'C', 16, '0000000020', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000020', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-08 12:21:19', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142963, 1, 4142958, 6218, '2019-08-08', 'D', 16, '0000000020', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000020', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-08 12:21:19', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142964, 1, 4142958, 6005, '2019-08-08', 'C', 16, '0000000020', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000020', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-08 12:21:19', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142974, 1, 4142971, 9772, '2019-08-08', 'D', 17, '0000000021', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000021', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-08 12:41:23', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142975, 1, 4142971, 9771, '2019-08-08', 'C', 17, '0000000021', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000021', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-08 12:41:23', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142976, 1, 4142971, 6218, '2019-08-08', 'D', 17, '0000000021', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000021', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-08 12:41:23', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4142977, 1, 4142971, 6005, '2019-08-08', 'C', 17, '0000000021', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000021', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-08 12:41:23', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4143021, 1, 4143018, 9772, '2019-08-08', 'D', 19, '0000000024', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000024', NULL, '41100200011', 0, 'N', '0', '0', 1, '', '2019-08-08 13:21:33', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4143022, 1, 4143018, 9771, '2019-08-08', 'C', 19, '0000000024', 'CFI', 0, 'VR.ICMS ST S/VENDAS REF. Doc.Nr.0000000024', NULL, '21300600012', 0, 'N', '0', '0', 1, '', '2019-08-08 13:21:33', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4143023, 1, 4143018, 6218, '2019-08-08', 'D', 19, '0000000024', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000024', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-08 13:21:33', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4143024, 1, 4143018, 6005, '2019-08-08', 'C', 19, '0000000024', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000024', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-08 13:21:33', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4144521, 1, 4144516, 6218, '2019-08-09', 'D', 20, '0000000025', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000025', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-09 11:39:35', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4144522, 1, 4144516, 6005, '2019-08-09', 'C', 20, '0000000025', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000025', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-09 11:39:35', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4144532, 1, 4144527, 6218, '2019-08-09', 'D', 21, '0000000026', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000026', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-09 12:09:41', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4144533, 1, 4144527, 6005, '2019-08-09', 'C', 21, '0000000026', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000026', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-09 12:09:41', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4144543, 1, 4144538, 6218, '2019-08-09', 'D', 22, '0000000027', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000027', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-09 12:49:49', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4144544, 1, 4144538, 6005, '2019-08-09', 'C', 22, '0000000027', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000027', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-09 12:49:49', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4148929, 1, 4148924, 6218, '2019-08-15', 'D', 23, '0000000028', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000028', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-15 09:43:17', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4148930, 1, 4148924, 6005, '2019-08-15', 'C', 23, '0000000028', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000028', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-15 09:43:17', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4150476, 1, 4150471, 6218, '2019-08-16', 'D', 24, '0000000029', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000029', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-16 11:39:49', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4150477, 1, 4150471, 6005, '2019-08-16', 'C', 24, '0000000029', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000029', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-16 11:39:49', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4150487, 1, 4150482, 6218, '2019-08-16', 'D', 25, '0000000030', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000030', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-16 11:39:49', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4150488, 1, 4150482, 6005, '2019-08-16', 'C', 25, '0000000030', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000030', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-16 11:39:49', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4150498, 1, 4150493, 6218, '2019-08-16', 'D', 26, '0000000031', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000031', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-16 12:09:55', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4150499, 1, 4150493, 6005, '2019-08-16', 'C', 26, '0000000031', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000031', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-16 12:09:55', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4157250, 1, 4157245, 6218, '2019-08-21', 'D', 27, '0000000032', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000032', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-21 16:33:43', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4157251, 1, 4157245, 6005, '2019-08-21', 'C', 27, '0000000032', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000032', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-21 16:33:43', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4158582, 1, 4158577, 6218, '2019-08-22', 'D', 28, '0000000033', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000033', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-22 11:48:10', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4158583, 1, 4158577, 6005, '2019-08-22', 'C', 28, '0000000033', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000033', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-22 11:48:10', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4158748, 1, 4158743, 6218, '2019-08-22', 'D', 29, '0000000034', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000034', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-22 14:18:31', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4158749, 1, 4158743, 6005, '2019-08-22', 'C', 29, '0000000034', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000034', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-22 14:18:31', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4160212, 1, 4160207, 6218, '2019-08-23', 'D', 30, '0000000035', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000035', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-23 12:29:31', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4160213, 1, 4160207, 6005, '2019-08-23', 'C', 30, '0000000035', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000035', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-23 12:29:31', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4161794, 1, 4161789, 6218, '2019-08-26', 'D', 32, '0000000038', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000038', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-26 13:20:36', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4161795, 1, 4161789, 6005, '2019-08-26', 'C', 32, '0000000038', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000038', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-26 13:20:36', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4167061, 1, 4167056, 6218, '2019-08-29', 'D', 33, '0000000039', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000039', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-08-29 13:12:50', 2019, 8, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4167062, 1, 4167056, 6005, '2019-08-29', 'C', 33, '0000000039', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000039', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-08-29 13:12:50', 2019, 8, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4190608, 1, 4190603, 6218, '2019-09-12', 'D', 34, '0000000040', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000040', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-09-12 13:49:32', 2019, 9, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4190609, 1, 4190603, 6005, '2019-09-12', 'C', 34, '0000000040', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000040', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-09-12 13:49:32', 2019, 9, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4192137, 1, 4192132, 6218, '2019-09-13', 'D', 35, '0000000041', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000041', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-09-13 12:46:22', 2019, 9, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4192138, 1, 4192132, 6005, '2019-09-13', 'C', 35, '0000000041', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000041', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-09-13 12:46:22', 2019, 9, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4201859, 1, 4201854, 6218, '2019-09-20', 'D', 36, '0000000042', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000042', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-09-20 14:46:31', 2019, 9, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4201860, 1, 4201854, 6005, '2019-09-20', 'C', 36, '0000000042', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000042', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-09-20 14:46:31', 2019, 9, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4209888, 1, 4209883, 6218, '2019-09-27', 'D', 38, '0000000045', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000045', NULL, '41100200002', 0, 'N', '0', '0', 1, '', '2019-09-27 12:36:08', 2019, 9, 4, 41, 4110, 4110020, '')
                           MATCHING (ID);
UPDATE OR INSERT INTO TBMOVCONTABIL (ID, CODESTABELECIMENTO, IDCONTMOV, IDCONTA, DATA, NATUREZA, IDDOCUMENTO, DESCRICAO, CODORIGEM, IDHISTORICO, HISTORICO, GRUPOLALUR, CONTA, VALOR, TIPOLANC, SALDO, SITUACAO, FCONT, CCUSTO, DATAHORA, ANO, MES, CONTA_1, CONTA_2, CONTA_4, CONTA_7, HISTORICO_DRE)
                             VALUES (4209889, 1, 4209883, 6005, '2019-09-27', 'C', 38, '0000000045', 'CFI', 0, 'VR.IPI S/VENDAS REF. Doc.Nr.0000000045', NULL, '21300600002', 0, 'N', '0', '0', 1, '', '2019-09-27 12:36:08', 2019, 9, 2, 21, 2130, 2130060, '')
                           MATCHING (ID);

COMMIT WORK;