thiagosalvatore / correpy

CorrePy (Corretagem Python) é uma lib responsável por parsear notas de corretagem no padrão B3 e retornar os dados no formato JSON.
Apache License 2.0
44 stars 13 forks source link

Parse IRRF from brokerage notes #10

Closed thiagosalvatore closed 9 months ago

thiagosalvatore commented 9 months ago

We weren't parsing the IRRF returned by the brokers. This PR adds this feature by allowing us to extract it.

It also updates the extract value from line to take the last item from the matches instead of the first one. It works for sinacor notes.