cambio_dolar
Retrieve the official PTAX USD/BRL exchange rate from the Brazilian Central Bank for accurate currency conversions and tax calculations. Returns the reference rate for the current or last business day.
Instructions
Retorna a cotação PTAX oficial do dólar americano (USD/BRL).
Fonte: Banco Central do Brasil (API Olinda/PTAX). PTAX é a taxa de câmbio de referência oficial para contratos e conversões tributárias. Em fins de semana e feriados, retorna o último dia útil.
Returns: Dicionário com: fonte, moeda_origem (USD), moeda_destino (BRL), compra, venda, data_hora_cotacao, data_consulta, cache_hit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||