At December 31, 2016 and 2017, the maximum exposure to credit risk for trade accounts receivable by type of counterparty was as follows:
Year ended December 31, | ||||||||||||
2016 | 2017 | 2017 | ||||||||||
BRL | BRL | USD | ||||||||||
Credit card operations |
R$ | 162,915 | R$ | 87,983 | US$ | 26,597 | ||||||
B2B customers |
52,801 | 46,056 | 13,922 | |||||||||
|
|
|
|
|
|
|||||||
Total trade accounts receivable |
R$ | 215,716 | R$ | 134,039 | US$ | 40,519 | ||||||
Allowance for doubtful accounts |
(1,722 | ) | (20,871 | ) | (6,309 | ) | ||||||
|
|
|
|
|
|
|||||||
Trade accounts receivable, net |
R$ | 213,994 | R$ | 113,168 | US$ | 34,210 | ||||||
|
|
|
|
|
|