FX rates in the shape expense-tracker wants
fx_rates_forRetrieves current exchange rates for specified currencies against a target currency, providing the rate date to use when invoicing across multiple currencies.
Instructions
Call this tool when a rebill or an invoice spans more than one currency, instead of asking the user for rates. Returns the fx_rates object expense_to_invoice takes, plus the rate date to write on the invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | The currency the invoice will be issued in; defaults to the shared business profile's default_currency. Pass it on as target_currency alongside the fx_rates object | |
| currencies | Yes | The other currencies present, e.g. ["EUR", "GBP"]. Direction: each returned rate means 1 unit of that key = X units of the target, so {"EUR": 1.08} is 1 EUR = 1.08 of the target. The target needs no rate of its own |