Official PEN/USD exchange rate (SUNAT)
peru_exchange_rateToday's official SUNAT exchange rate between the Peruvian sol (PEN) and the US dollar (USD), the rate used for
tax and accounting purposes in Peru. Optionally converts amount from from_currency ("USD" or "PEN").
SUNAT convention: assets and sales use the buy rate, liabilities and purchases use the sell rate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "peru_exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| from_currency | No | USD |