Brazil is often viewed as one of the most complex tax jurisdictions in the world. But, at the same time, it has been very successful in automating tax authority controls, and in doing so has replaced paper invoices with electronic invoices automating their exchange through clearance platforms.
Source Sovos