cancel
Showing results for 
Search instead for 
Did you mean: 

Retenção PIS/COFINS CSLL na MIRO com valor maior que 10,00 reais

Former Member
0 Kudos

Após aplicar as instruções da nota 2196998 - Lei 13.137/2015- Pis, Cofins, CSLL (ECC 6.0, TAXBRJ), quando efetuo lançamento pela MIRO não está gerando retenção dos impostos com valores maior que 10,00 reais. No mestre de fornecedor na visão de imposto ret.na fonte estão cadastrados.

Alguém sabe informar se preciso configurar ou alterar alguma outra(s) configuração na SPRO, além do que foi informado na nota 2235248, conforme instrução abaixo ?

1. Define withholding tax type for payment posting. You do this in Customizing for Financial Accounting, under Financial Accounting Global Settings -> Withholding Tax -> Extended Withholding Tax -> Calculation -> Withholding Tax Type -> Define Withholding Tax Type for Payment Posting. Execute the activity and enter BR as the country key. In the Accumulation type group box, select the Daily accumulation checkbox.

2. Define the minimum threshold tax amount. You do this by using the FIWTBRV_TDS_THR view. Execute this view using transaction SM30 and enter BR as the country key. For each combination of withholding tax type and withholding tax code, enter the minimum withholding tax amount.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Prezados,

Há algo estranho nessa nota ou perdi alguma atualização, pode me ajudar?

Plela lógica dele teríamos três condições básicas,

1 Ser retenção diária,

2 Ser entrada de fatura(Postm = 1) e

3) Ser no pagamento(post = 2).

Este IF ls_t059p-j_daily_acc = 'X' AND ls_t059p-wt_postm = 2. tem que ser aninhado com o outro if desta decisão: ELSEIF ls_t059p-j_daily_acc = 'X' AND ls_t059p-wt_postm = 1. Porém, verifico que o IF da tabela BKPF(IF lt_bkpf IS NOT INITIAL.) está desalinhando a lógica completamente, pois ele não é fechado, apenas lá pelo final da rotina.

Pelo que compreendo ele verifica se é retenção diária, pagamento apenas, e só iria verificar se é enrrada de merecadoria com retenção diária, se e somente se a BKPF estiver vazia e como ele seleciona dados da BKPF apenas quando for pagamento, ele nunca entrará na rotina de entrada de mercadorias.

A de vocês está dessa forma? Tem alguma outra not que conheçam que corrige isso?

Obrigado.

IF ls_t059p-j_daily_acc = 'X' AND ls_t059p-wt_postm = 2.

"read all the documents posted on the same date.
SELECT * FROM bkpf INTO TABLE lt_bkpf WHERE bukrs = ia_with_item-bukrs
AND gjahr = ia_with_item-gjahr
AND budat = i_budat.
IF lt_bkpf IS NOT INITIAL.

"read all the payment documents posted on the same date for same vendor/customer.
SELECT * FROM bseg INTO TABLE lt_bseg_temp FOR ALL ENTRIES IN lt_bkpf
WHERE bukrs = lt_bkpf-bukrs
AND belnr = lt_bkpf-belnr
AND gjahr = lt_bkpf-gjahr
AND ( lifnr = ia_with_item-wt_acco OR
kunnr = ia_with_item-wt_acco )
AND xzahl = 'X'.
APPEND LINES OF lt_bseg_temp TO lt_bseg.
CLEAR : lt_bseg_temp.

"read all the down payment documents posted on the same date for same vendor/customer.
SELECT * FROM bseg INTO TABLE lt_bseg_temp FOR ALL ENTRIES IN lt_bkpf
WHERE bukrs = lt_bkpf-bukrs
AND belnr = lt_bkpf-belnr
AND gjahr = lt_bkpf-gjahr
AND ( lifnr = ia_with_item-wt_acco OR
kunnr = ia_with_item-wt_acco )
AND umsks = 'A'.
APPEND LINES OF lt_bseg_temp TO lt_bseg.
CLEAR : lt_bseg_temp.

"read all the partial payment documents posted on the same date for same vendor/customer.
SELECT * FROM bseg INTO TABLE lt_bseg_temp FOR ALL ENTRIES IN lt_bkpf
WHERE bukrs = lt_bkpf-bukrs
AND belnr = lt_bkpf-belnr
AND gjahr = lt_bkpf-gjahr
AND ( lifnr = ia_with_item-wt_acco OR
kunnr = ia_with_item-wt_acco )
AND rebzg <> ' '
AND ( rebzt = 'Z' OR rebzt = 'P' ).
APPEND LINES OF lt_bseg_temp TO lt_bseg.
CLEAR : lt_bseg_temp.
ELSEIF ls_t059p-j_daily_acc = 'X' AND ls_t059p-wt_postm = 1.

Former Member
0 Kudos

Prezado Sérgio,

Descobriu a solução para o seu problema?

Att.

Davi Ribeiro